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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingPullResponse.SubscriptionProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamingPullResponse.SubscriptionProperties build()
buildPartial()
public StreamingPullResponse.SubscriptionProperties buildPartial()
clear()
public StreamingPullResponse.SubscriptionProperties.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public StreamingPullResponse.SubscriptionProperties.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingPullResponse.SubscriptionProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StreamingPullResponse.SubscriptionProperties.Builder clone()
Overrides
getDefaultInstanceForType()
public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(StreamingPullResponse.SubscriptionProperties other)
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(StreamingPullResponse.SubscriptionProperties other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.SubscriptionProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StreamingPullResponse.SubscriptionProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamingPullResponse.SubscriptionProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.SubscriptionProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides