Class StreamingPullResponse.SubscriptionProperties.Builder (1.147.0)

public static final class StreamingPullResponse.SubscriptionProperties.Builder extends GeneratedMessage.Builder<StreamingPullResponse.SubscriptionProperties.Builder> implements StreamingPullResponse.SubscriptionPropertiesOrBuilder

Subscription properties sent as part of the response.

Protobuf type google.pubsub.v1.StreamingPullResponse.SubscriptionProperties

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public StreamingPullResponse.SubscriptionProperties build()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties

buildPartial()

public StreamingPullResponse.SubscriptionProperties buildPartial()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties

clear()

public StreamingPullResponse.SubscriptionProperties.Builder clear()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

clearExactlyOnceDeliveryEnabled()

public StreamingPullResponse.SubscriptionProperties.Builder clearExactlyOnceDeliveryEnabled()

Optional. True iff exactly once delivery is enabled for this subscription.

bool exactly_once_delivery_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

This builder for chaining.

clearMessageOrderingEnabled()

public StreamingPullResponse.SubscriptionProperties.Builder clearMessageOrderingEnabled()

Optional. True iff message ordering is enabled for this subscription.

bool message_ordering_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

This builder for chaining.

getDefaultInstanceForType()

public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
Returns
Type Description
StreamingPullResponse.SubscriptionProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExactlyOnceDeliveryEnabled()

public boolean getExactlyOnceDeliveryEnabled()

Optional. True iff exactly once delivery is enabled for this subscription.

bool exactly_once_delivery_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The exactlyOnceDeliveryEnabled.

getMessageOrderingEnabled()

public boolean getMessageOrderingEnabled()

Optional. True iff message ordering is enabled for this subscription.

bool message_ordering_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The messageOrderingEnabled.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

mergeFrom(StreamingPullResponse.SubscriptionProperties other)

public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(StreamingPullResponse.SubscriptionProperties other)
Parameter
Name Description
other StreamingPullResponse.SubscriptionProperties
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

setExactlyOnceDeliveryEnabled(boolean value)

public StreamingPullResponse.SubscriptionProperties.Builder setExactlyOnceDeliveryEnabled(boolean value)

Optional. True iff exactly once delivery is enabled for this subscription.

bool exactly_once_delivery_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The exactlyOnceDeliveryEnabled to set.

Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

This builder for chaining.

setMessageOrderingEnabled(boolean value)

public StreamingPullResponse.SubscriptionProperties.Builder setMessageOrderingEnabled(boolean value)

Optional. True iff message ordering is enabled for this subscription.

bool message_ordering_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The messageOrderingEnabled to set.

Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder

This builder for chaining.