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

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

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

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

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

        public AddNamespaceRegionRequest.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<AddNamespaceRegionRequest.Builder>
      • addRepeatedField

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

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

        public AddNamespaceRegionRequest.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<AddNamespaceRegionRequest.Builder>
        Throws:
        java.io.IOException
      • setNamespace

        public AddNamespaceRegionRequest.Builder setNamespace​(java.lang.String value)
         The namespace to add the region to.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • clearNamespace

        public AddNamespaceRegionRequest.Builder clearNamespace()
         The namespace to add the region to.
         
        string namespace = 1;
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public AddNamespaceRegionRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         The namespace to add the region to.
         
        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 standby region to add to the namespace.
         The GetRegions API can be used to get the list of valid region ids.
         Example: "aws-us-west-2".
         
        string region = 2;
        Specified by:
        getRegion in interface AddNamespaceRegionRequestOrBuilder
        Returns:
        The region.
      • getRegionBytes

        public com.google.protobuf.ByteString getRegionBytes()
         The id of the standby region to add to the namespace.
         The GetRegions API can be used to get the list of valid region ids.
         Example: "aws-us-west-2".
         
        string region = 2;
        Specified by:
        getRegionBytes in interface AddNamespaceRegionRequestOrBuilder
        Returns:
        The bytes for region.
      • setRegion

        public AddNamespaceRegionRequest.Builder setRegion​(java.lang.String value)
         The id of the standby region to add to the namespace.
         The GetRegions API can be used to get the list of valid region ids.
         Example: "aws-us-west-2".
         
        string region = 2;
        Parameters:
        value - The region to set.
        Returns:
        This builder for chaining.
      • clearRegion

        public AddNamespaceRegionRequest.Builder clearRegion()
         The id of the standby region to add to the namespace.
         The GetRegions API can be used to get the list of valid region ids.
         Example: "aws-us-west-2".
         
        string region = 2;
        Returns:
        This builder for chaining.
      • setRegionBytes

        public AddNamespaceRegionRequest.Builder setRegionBytes​(com.google.protobuf.ByteString value)
         The id of the standby region to add to the namespace.
         The GetRegions API can be used to get the list of valid region ids.
         Example: "aws-us-west-2".
         
        string region = 2;
        Parameters:
        value - The bytes for region to set.
        Returns:
        This builder for chaining.
      • getResourceVersion

        public java.lang.String getResourceVersion()
         The version of the namespace for which this add region operation is intended for.
         The latest version can be found in the GetNamespace operation response.
         
        string resource_version = 3;
        Specified by:
        getResourceVersion in interface AddNamespaceRegionRequestOrBuilder
        Returns:
        The resourceVersion.
      • getResourceVersionBytes

        public com.google.protobuf.ByteString getResourceVersionBytes()
         The version of the namespace for which this add region operation is intended for.
         The latest version can be found in the GetNamespace operation response.
         
        string resource_version = 3;
        Specified by:
        getResourceVersionBytes in interface AddNamespaceRegionRequestOrBuilder
        Returns:
        The bytes for resourceVersion.
      • setResourceVersion

        public AddNamespaceRegionRequest.Builder setResourceVersion​(java.lang.String value)
         The version of the namespace for which this add region operation is intended for.
         The latest version can be found in the GetNamespace operation response.
         
        string resource_version = 3;
        Parameters:
        value - The resourceVersion to set.
        Returns:
        This builder for chaining.
      • clearResourceVersion

        public AddNamespaceRegionRequest.Builder clearResourceVersion()
         The version of the namespace for which this add region operation is intended for.
         The latest version can be found in the GetNamespace operation response.
         
        string resource_version = 3;
        Returns:
        This builder for chaining.
      • setResourceVersionBytes

        public AddNamespaceRegionRequest.Builder setResourceVersionBytes​(com.google.protobuf.ByteString value)
         The version of the namespace for which this add region operation is intended for.
         The latest version can be found in the GetNamespace operation response.
         
        string resource_version = 3;
        Parameters:
        value - The bytes for resourceVersion to set.
        Returns:
        This builder for chaining.
      • getAsyncOperationId

        public java.lang.String getAsyncOperationId()
         The id to use for this async operation - optional.
         
        string async_operation_id = 4;
        Specified by:
        getAsyncOperationId in interface AddNamespaceRegionRequestOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id to use for this async operation - optional.
         
        string async_operation_id = 4;
        Specified by:
        getAsyncOperationIdBytes in interface AddNamespaceRegionRequestOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • setAsyncOperationId

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

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

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

        public final AddNamespaceRegionRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddNamespaceRegionRequest.Builder>
      • mergeUnknownFields

        public final AddNamespaceRegionRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddNamespaceRegionRequest.Builder>