Class StreamingPullResponse.SubscriptionProperties.Builder (1.129.6)

public static final class StreamingPullResponse.SubscriptionProperties.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingPullResponse.SubscriptionProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public StreamingPullResponse.SubscriptionProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingPullResponse.SubscriptionProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingPullResponse.SubscriptionProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingPullResponse.SubscriptionProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StreamingPullResponse.SubscriptionProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingPullResponse.SubscriptionProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StreamingPullResponse.SubscriptionProperties.Builder
Overrides