public static final class InitialPartitionAssignmentRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder> implements InitialPartitionAssignmentRequestOrBuilder
The first request that must be sent on a newly-opened stream. The client must wait for the response before sending subsequent requests on the stream.Protobuf type
google.cloud.pubsublite.v1.InitialPartitionAssignmentRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InitialPartitionAssignmentRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InitialPartitionAssignmentRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InitialPartitionAssignmentRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder mergeFrom(InitialPartitionAssignmentRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public InitialPartitionAssignmentRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InitialPartitionAssignmentRequest.Builder>IOExceptionpublic String getSubscription()
The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>
string subscription = 1;getSubscription in interface InitialPartitionAssignmentRequestOrBuilderpublic com.google.protobuf.ByteString getSubscriptionBytes()
The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>
string subscription = 1;getSubscriptionBytes in interface InitialPartitionAssignmentRequestOrBuilderpublic InitialPartitionAssignmentRequest.Builder setSubscription(String value)
The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>
string subscription = 1;value - The subscription to set.public InitialPartitionAssignmentRequest.Builder clearSubscription()
The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>
string subscription = 1;public InitialPartitionAssignmentRequest.Builder setSubscriptionBytes(com.google.protobuf.ByteString value)
The subscription name. Structured like: projects/<project number>/locations/<zone name>/subscriptions/<subscription id>
string subscription = 1;value - The bytes for subscription to set.public com.google.protobuf.ByteString getClientId()
An opaque, unique client identifier. This field must be exactly 16 bytes long and is interpreted as an unsigned 128 bit integer. Other size values will be rejected and the stream will be failed with a non-retryable error. This field is large enough to fit a uuid from standard uuid algorithms like uuid1 or uuid4, which should be used to generate this number. The same identifier should be reused following disconnections with retryable stream errors.
bytes client_id = 2;getClientId in interface InitialPartitionAssignmentRequestOrBuilderpublic InitialPartitionAssignmentRequest.Builder setClientId(com.google.protobuf.ByteString value)
An opaque, unique client identifier. This field must be exactly 16 bytes long and is interpreted as an unsigned 128 bit integer. Other size values will be rejected and the stream will be failed with a non-retryable error. This field is large enough to fit a uuid from standard uuid algorithms like uuid1 or uuid4, which should be used to generate this number. The same identifier should be reused following disconnections with retryable stream errors.
bytes client_id = 2;value - The clientId to set.public InitialPartitionAssignmentRequest.Builder clearClientId()
An opaque, unique client identifier. This field must be exactly 16 bytes long and is interpreted as an unsigned 128 bit integer. Other size values will be rejected and the stream will be failed with a non-retryable error. This field is large enough to fit a uuid from standard uuid algorithms like uuid1 or uuid4, which should be used to generate this number. The same identifier should be reused following disconnections with retryable stream errors.
bytes client_id = 2;public final InitialPartitionAssignmentRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>public final InitialPartitionAssignmentRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.