Class StreamingPullResponse.SubscriptionProperties.Builder (1.117.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StreamingPullResponse.SubscriptionProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

build()

public StreamingPullResponse.SubscriptionProperties build()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties

buildPartial()

public StreamingPullResponse.SubscriptionProperties buildPartial()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties

clear()

public StreamingPullResponse.SubscriptionProperties.Builder clear()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

clearExactlyOnceDeliveryEnabled()

public StreamingPullResponse.SubscriptionProperties.Builder clearExactlyOnceDeliveryEnabled()

True iff exactly once delivery is enabled for this subscription.

bool exactly_once_delivery_enabled = 1;

Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StreamingPullResponse.SubscriptionProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

clearMessageOrderingEnabled()

public StreamingPullResponse.SubscriptionProperties.Builder clearMessageOrderingEnabled()

True iff message ordering is enabled for this subscription.

bool message_ordering_enabled = 2;

Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StreamingPullResponse.SubscriptionProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

clone()

public StreamingPullResponse.SubscriptionProperties.Builder clone()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

getDefaultInstanceForType()

public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExactlyOnceDeliveryEnabled()

public boolean getExactlyOnceDeliveryEnabled()

True iff exactly once delivery is enabled for this subscription.

bool exactly_once_delivery_enabled = 1;

Returns
TypeDescription
boolean

The exactlyOnceDeliveryEnabled.

getMessageOrderingEnabled()

public boolean getMessageOrderingEnabled()

True iff message ordering is enabled for this subscription.

bool message_ordering_enabled = 2;

Returns
TypeDescription
boolean

The messageOrderingEnabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

mergeFrom(StreamingPullResponse.SubscriptionProperties other)

public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(StreamingPullResponse.SubscriptionProperties other)
Parameter
NameDescription
otherStreamingPullResponse.SubscriptionProperties
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StreamingPullResponse.SubscriptionProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

setExactlyOnceDeliveryEnabled(boolean value)

public StreamingPullResponse.SubscriptionProperties.Builder setExactlyOnceDeliveryEnabled(boolean value)

True iff exactly once delivery is enabled for this subscription.

bool exactly_once_delivery_enabled = 1;

Parameter
NameDescription
valueboolean

The exactlyOnceDeliveryEnabled to set.

Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StreamingPullResponse.SubscriptionProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

setMessageOrderingEnabled(boolean value)

public StreamingPullResponse.SubscriptionProperties.Builder setMessageOrderingEnabled(boolean value)

True iff message ordering is enabled for this subscription.

bool message_ordering_enabled = 2;

Parameter
NameDescription
valueboolean

The messageOrderingEnabled to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StreamingPullResponse.SubscriptionProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
StreamingPullResponse.SubscriptionProperties.Builder
Overrides