public static final class StreamingPullResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder> implements StreamingPullResponseOrBuilder
Response for the `StreamingPull` method. This response is used to stream messages from the server to the client.Protobuf type
google.pubsub.v1.StreamingPullResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StreamingPullResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StreamingPullResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StreamingPullResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder mergeFrom(StreamingPullResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public StreamingPullResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StreamingPullResponse.Builder>
IOException
public List<ReceivedMessage> getReceivedMessagesList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
getReceivedMessagesList
in interface StreamingPullResponseOrBuilder
public int getReceivedMessagesCount()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
getReceivedMessagesCount
in interface StreamingPullResponseOrBuilder
public ReceivedMessage getReceivedMessages(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
getReceivedMessages
in interface StreamingPullResponseOrBuilder
public StreamingPullResponse.Builder setReceivedMessages(int index, ReceivedMessage value)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder setReceivedMessages(int index, ReceivedMessage.Builder builderForValue)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder addReceivedMessages(ReceivedMessage value)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder addReceivedMessages(int index, ReceivedMessage value)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder addReceivedMessages(ReceivedMessage.Builder builderForValue)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder addReceivedMessages(int index, ReceivedMessage.Builder builderForValue)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder addAllReceivedMessages(Iterable<? extends ReceivedMessage> values)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder clearReceivedMessages()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public StreamingPullResponse.Builder removeReceivedMessages(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public ReceivedMessage.Builder getReceivedMessagesBuilder(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public ReceivedMessageOrBuilder getReceivedMessagesOrBuilder(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
getReceivedMessagesOrBuilder
in interface StreamingPullResponseOrBuilder
public List<? extends ReceivedMessageOrBuilder> getReceivedMessagesOrBuilderList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
getReceivedMessagesOrBuilderList
in interface StreamingPullResponseOrBuilder
public ReceivedMessage.Builder addReceivedMessagesBuilder()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public ReceivedMessage.Builder addReceivedMessagesBuilder(int index)
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public List<ReceivedMessage.Builder> getReceivedMessagesBuilderList()
Received Pub/Sub messages. This will not be empty.
repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;
public boolean hasAcknowledgeConfirmation()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
hasAcknowledgeConfirmation
in interface StreamingPullResponseOrBuilder
public StreamingPullResponse.AcknowledgeConfirmation getAcknowledgeConfirmation()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
getAcknowledgeConfirmation
in interface StreamingPullResponseOrBuilder
public StreamingPullResponse.Builder setAcknowledgeConfirmation(StreamingPullResponse.AcknowledgeConfirmation value)
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
public StreamingPullResponse.Builder setAcknowledgeConfirmation(StreamingPullResponse.AcknowledgeConfirmation.Builder builderForValue)
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
public StreamingPullResponse.Builder mergeAcknowledgeConfirmation(StreamingPullResponse.AcknowledgeConfirmation value)
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
public StreamingPullResponse.Builder clearAcknowledgeConfirmation()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
public StreamingPullResponse.AcknowledgeConfirmation.Builder getAcknowledgeConfirmationBuilder()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
public StreamingPullResponse.AcknowledgeConfirmationOrBuilder getAcknowledgeConfirmationOrBuilder()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation acknowledge_confirmation = 5;
getAcknowledgeConfirmationOrBuilder
in interface StreamingPullResponseOrBuilder
public boolean hasModifyAckDeadlineConfirmation()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
hasModifyAckDeadlineConfirmation
in interface StreamingPullResponseOrBuilder
public StreamingPullResponse.ModifyAckDeadlineConfirmation getModifyAckDeadlineConfirmation()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
getModifyAckDeadlineConfirmation
in interface StreamingPullResponseOrBuilder
public StreamingPullResponse.Builder setModifyAckDeadlineConfirmation(StreamingPullResponse.ModifyAckDeadlineConfirmation value)
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
public StreamingPullResponse.Builder setModifyAckDeadlineConfirmation(StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder builderForValue)
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
public StreamingPullResponse.Builder mergeModifyAckDeadlineConfirmation(StreamingPullResponse.ModifyAckDeadlineConfirmation value)
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
public StreamingPullResponse.Builder clearModifyAckDeadlineConfirmation()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
public StreamingPullResponse.ModifyAckDeadlineConfirmation.Builder getModifyAckDeadlineConfirmationBuilder()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
public StreamingPullResponse.ModifyAckDeadlineConfirmationOrBuilder getModifyAckDeadlineConfirmationOrBuilder()
This field will only be set if `enable_exactly_once_delivery` is set to `true`.
.google.pubsub.v1.StreamingPullResponse.ModifyAckDeadlineConfirmation modify_ack_deadline_confirmation = 3;
getModifyAckDeadlineConfirmationOrBuilder
in interface StreamingPullResponseOrBuilder
public boolean hasSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
hasSubscriptionProperties
in interface StreamingPullResponseOrBuilder
public StreamingPullResponse.SubscriptionProperties getSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
getSubscriptionProperties
in interface StreamingPullResponseOrBuilder
public StreamingPullResponse.Builder setSubscriptionProperties(StreamingPullResponse.SubscriptionProperties value)
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
public StreamingPullResponse.Builder setSubscriptionProperties(StreamingPullResponse.SubscriptionProperties.Builder builderForValue)
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
public StreamingPullResponse.Builder mergeSubscriptionProperties(StreamingPullResponse.SubscriptionProperties value)
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
public StreamingPullResponse.Builder clearSubscriptionProperties()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
public StreamingPullResponse.SubscriptionProperties.Builder getSubscriptionPropertiesBuilder()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
public StreamingPullResponse.SubscriptionPropertiesOrBuilder getSubscriptionPropertiesOrBuilder()
Properties associated with this subscription.
.google.pubsub.v1.StreamingPullResponse.SubscriptionProperties subscription_properties = 4;
getSubscriptionPropertiesOrBuilder
in interface StreamingPullResponseOrBuilder
public final StreamingPullResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
public final StreamingPullResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StreamingPullResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.