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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingPullResponse.SubscriptionProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StreamingPullResponse.SubscriptionProperties build()
Returns
buildPartial()
public StreamingPullResponse.SubscriptionProperties buildPartial()
Returns
clear()
public StreamingPullResponse.SubscriptionProperties.Builder clear()
Returns
Overrides
clearExactlyOnceDeliveryEnabled()
public StreamingPullResponse.SubscriptionProperties.Builder clearExactlyOnceDeliveryEnabled()
True iff exactly once delivery is enabled for this subscription.
bool exactly_once_delivery_enabled = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public StreamingPullResponse.SubscriptionProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMessageOrderingEnabled()
public StreamingPullResponse.SubscriptionProperties.Builder clearMessageOrderingEnabled()
True iff message ordering is enabled for this subscription.
bool message_ordering_enabled = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingPullResponse.SubscriptionProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StreamingPullResponse.SubscriptionProperties.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExactlyOnceDeliveryEnabled()
public boolean getExactlyOnceDeliveryEnabled()
True iff exactly once delivery is enabled for this subscription.
bool exactly_once_delivery_enabled = 1;
Returns
Type | Description |
boolean | The exactlyOnceDeliveryEnabled.
|
getMessageOrderingEnabled()
public boolean getMessageOrderingEnabled()
True iff message ordering is enabled for this subscription.
bool message_ordering_enabled = 2;
Returns
Type | Description |
boolean | The messageOrderingEnabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(StreamingPullResponse.SubscriptionProperties other)
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(StreamingPullResponse.SubscriptionProperties other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.SubscriptionProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | boolean
The exactlyOnceDeliveryEnabled to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingPullResponse.SubscriptionProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | boolean
The messageOrderingEnabled to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingPullResponse.SubscriptionProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.SubscriptionProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides