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()
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 |
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 |
clearExactlyOnceDeliveryEnabled()
public StreamingPullResponse.SubscriptionProperties.Builder clearExactlyOnceDeliveryEnabled()
True iff exactly once delivery is enabled for this subscription.
bool exactly_once_delivery_enabled = 1;
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 |
clearMessageOrderingEnabled()
public StreamingPullResponse.SubscriptionProperties.Builder clearMessageOrderingEnabled()
True iff message ordering is enabled for this subscription.
bool message_ordering_enabled = 2;
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 |
clone()
public StreamingPullResponse.SubscriptionProperties.Builder clone()
Returns | |
---|---|
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |
getDefaultInstanceForType()
public StreamingPullResponse.SubscriptionProperties getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StreamingPullResponse.SubscriptionProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
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 |
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 |
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 | |
---|---|
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 |
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 | |
---|---|
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamingPullResponse.SubscriptionProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StreamingPullResponse.SubscriptionProperties.Builder |