Class FailoverNamespaceRegionRequest.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<FailoverNamespaceRegionRequest.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<FailoverNamespaceRegionRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public FailoverNamespaceRegionRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                       int index,
                                                                       java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FailoverNamespaceRegionRequest.Builder>
      • isInitialized

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

        public FailoverNamespaceRegionRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FailoverNamespaceRegionRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public FailoverNamespaceRegionRequest.Builder setNamespace​(java.lang.String value)
         The namespace to failover.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public FailoverNamespaceRegionRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         The namespace to failover.
         
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • getRegion

        public java.lang.String getRegion()
         The id of the region to failover to.
         Must be a region that the namespace is currently available in.
         
        string region = 2;
        Specified by:
        getRegion in interface FailoverNamespaceRegionRequestOrBuilder
        Returns:
        The region.
      • getRegionBytes

        public com.google.protobuf.ByteString getRegionBytes()
         The id of the region to failover to.
         Must be a region that the namespace is currently available in.
         
        string region = 2;
        Specified by:
        getRegionBytes in interface FailoverNamespaceRegionRequestOrBuilder
        Returns:
        The bytes for region.
      • setRegion

        public FailoverNamespaceRegionRequest.Builder setRegion​(java.lang.String value)
         The id of the region to failover to.
         Must be a region that the namespace is currently available in.
         
        string region = 2;
        Parameters:
        value - The region to set.
        Returns:
        This builder for chaining.
      • clearRegion

        public FailoverNamespaceRegionRequest.Builder clearRegion()
         The id of the region to failover to.
         Must be a region that the namespace is currently available in.
         
        string region = 2;
        Returns:
        This builder for chaining.
      • setRegionBytes

        public FailoverNamespaceRegionRequest.Builder setRegionBytes​(com.google.protobuf.ByteString value)
         The id of the region to failover to.
         Must be a region that the namespace is currently available in.
         
        string region = 2;
        Parameters:
        value - The bytes for region to set.
        Returns:
        This builder for chaining.
      • setAsyncOperationId

        public FailoverNamespaceRegionRequest.Builder setAsyncOperationId​(java.lang.String value)
         The id to use for this async operation - optional.
         
        string async_operation_id = 3;
        Parameters:
        value - The asyncOperationId to set.
        Returns:
        This builder for chaining.
      • clearAsyncOperationId

        public FailoverNamespaceRegionRequest.Builder clearAsyncOperationId()
         The id to use for this async operation - optional.
         
        string async_operation_id = 3;
        Returns:
        This builder for chaining.
      • setAsyncOperationIdBytes

        public FailoverNamespaceRegionRequest.Builder setAsyncOperationIdBytes​(com.google.protobuf.ByteString value)
         The id to use for this async operation - optional.
         
        string async_operation_id = 3;
        Parameters:
        value - The bytes for asyncOperationId to set.
        Returns:
        This builder for chaining.