Class InitialPartitionAssignmentRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>
      • getDefaultInstanceForType

        public InitialPartitionAssignmentRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public InitialPartitionAssignmentRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public InitialPartitionAssignmentRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InitialPartitionAssignmentRequest.Builder>
      • getSubscriptionBytes

        public com.google.protobuf.ByteString getSubscriptionBytes()
         The subscription name. Structured like:
         projects/<project number>/locations/<zone name>/subscriptions/<subscription
         id>
         
        string subscription = 1;
        Specified by:
        getSubscriptionBytes in interface InitialPartitionAssignmentRequestOrBuilder
        Returns:
        The bytes for subscription.
      • setSubscription

        public InitialPartitionAssignmentRequest.Builder setSubscription​(String value)
         The subscription name. Structured like:
         projects/<project number>/locations/<zone name>/subscriptions/<subscription
         id>
         
        string subscription = 1;
        Parameters:
        value - The subscription to set.
        Returns:
        This builder for chaining.
      • clearSubscription

        public InitialPartitionAssignmentRequest.Builder clearSubscription()
         The subscription name. Structured like:
         projects/<project number>/locations/<zone name>/subscriptions/<subscription
         id>
         
        string subscription = 1;
        Returns:
        This builder for chaining.
      • setSubscriptionBytes

        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;
        Parameters:
        value - The bytes for subscription to set.
        Returns:
        This builder for chaining.
      • getClientId

        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;
        Specified by:
        getClientId in interface InitialPartitionAssignmentRequestOrBuilder
        Returns:
        The clientId.
      • setClientId

        public 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;
        Parameters:
        value - The clientId to set.
        Returns:
        This builder for chaining.
      • clearClientId

        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;
        Returns:
        This builder for chaining.