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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamingPullResponse.SubscriptionProperties.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamingPullResponse.SubscriptionProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
build()
public StreamingPullResponse.SubscriptionProperties build()
Type | Description |
StreamingPullResponse.SubscriptionProperties |
buildPartial()
public StreamingPullResponse.SubscriptionProperties buildPartial()
Type | Description |
StreamingPullResponse.SubscriptionProperties |
clear()
public StreamingPullResponse.SubscriptionProperties.Builder clear()
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
clearExactlyOnceDeliveryEnabled()
public StreamingPullResponse.SubscriptionProperties.Builder clearExactlyOnceDeliveryEnabled()
True iff exactly once delivery is enabled for this subscription.
bool exactly_once_delivery_enabled = 1;
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StreamingPullResponse.SubscriptionProperties.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
clearMessageOrderingEnabled()
public StreamingPullResponse.SubscriptionProperties.Builder clearMessageOrderingEnabled()
True iff message ordering is enabled for this subscription.
bool message_ordering_enabled = 2;
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamingPullResponse.SubscriptionProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
clone()
public StreamingPullResponse.SubscriptionProperties.Builder clone()
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
getDefaultInstanceForType()
public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
Type | Description |
StreamingPullResponse.SubscriptionProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExactlyOnceDeliveryEnabled()
public boolean getExactlyOnceDeliveryEnabled()
True iff exactly once delivery is enabled for this subscription.
bool exactly_once_delivery_enabled = 1;
Type | Description |
boolean | The exactlyOnceDeliveryEnabled. |
getMessageOrderingEnabled()
public boolean getMessageOrderingEnabled()
True iff message ordering is enabled for this subscription.
bool message_ordering_enabled = 2;
Type | Description |
boolean | The messageOrderingEnabled. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
mergeFrom(StreamingPullResponse.SubscriptionProperties other)
public StreamingPullResponse.SubscriptionProperties.Builder mergeFrom(StreamingPullResponse.SubscriptionProperties other)
Name | Description |
other | StreamingPullResponse.SubscriptionProperties |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.SubscriptionProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
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;
Name | Description |
value | boolean The exactlyOnceDeliveryEnabled to set. |
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)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
setMessageOrderingEnabled(boolean value)
public StreamingPullResponse.SubscriptionProperties.Builder setMessageOrderingEnabled(boolean value)
True iff message ordering is enabled for this subscription.
bool message_ordering_enabled = 2;
Name | Description |
value | boolean The messageOrderingEnabled to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.SubscriptionProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |