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

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

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

        public RenameCustomSearchAttributeRequest 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<RenameCustomSearchAttributeRequest.Builder>
      • mergeFrom

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

        public RenameCustomSearchAttributeRequest.Builder setNamespace​(java.lang.String value)
         The namespace to rename the custom search attribute for.
         
        string namespace = 1;
        Parameters:
        value - The namespace to set.
        Returns:
        This builder for chaining.
      • setNamespaceBytes

        public RenameCustomSearchAttributeRequest.Builder setNamespaceBytes​(com.google.protobuf.ByteString value)
         The namespace to rename the custom search attribute for.
         
        string namespace = 1;
        Parameters:
        value - The bytes for namespace to set.
        Returns:
        This builder for chaining.
      • setExistingCustomSearchAttributeName

        public RenameCustomSearchAttributeRequest.Builder setExistingCustomSearchAttributeName​(java.lang.String value)
         The existing name of the custom search attribute to be renamed.
         
        string existing_custom_search_attribute_name = 2;
        Parameters:
        value - The existingCustomSearchAttributeName to set.
        Returns:
        This builder for chaining.
      • clearExistingCustomSearchAttributeName

        public RenameCustomSearchAttributeRequest.Builder clearExistingCustomSearchAttributeName()
         The existing name of the custom search attribute to be renamed.
         
        string existing_custom_search_attribute_name = 2;
        Returns:
        This builder for chaining.
      • setExistingCustomSearchAttributeNameBytes

        public RenameCustomSearchAttributeRequest.Builder setExistingCustomSearchAttributeNameBytes​(com.google.protobuf.ByteString value)
         The existing name of the custom search attribute to be renamed.
         
        string existing_custom_search_attribute_name = 2;
        Parameters:
        value - The bytes for existingCustomSearchAttributeName to set.
        Returns:
        This builder for chaining.
      • setNewCustomSearchAttributeName

        public RenameCustomSearchAttributeRequest.Builder setNewCustomSearchAttributeName​(java.lang.String value)
         The new name of the custom search attribute.
         
        string new_custom_search_attribute_name = 3;
        Parameters:
        value - The newCustomSearchAttributeName to set.
        Returns:
        This builder for chaining.
      • clearNewCustomSearchAttributeName

        public RenameCustomSearchAttributeRequest.Builder clearNewCustomSearchAttributeName()
         The new name of the custom search attribute.
         
        string new_custom_search_attribute_name = 3;
        Returns:
        This builder for chaining.
      • setNewCustomSearchAttributeNameBytes

        public RenameCustomSearchAttributeRequest.Builder setNewCustomSearchAttributeNameBytes​(com.google.protobuf.ByteString value)
         The new name of the custom search attribute.
         
        string new_custom_search_attribute_name = 3;
        Parameters:
        value - The bytes for newCustomSearchAttributeName to set.
        Returns:
        This builder for chaining.
      • getResourceVersion

        public java.lang.String getResourceVersion()
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 4;
        Specified by:
        getResourceVersion in interface RenameCustomSearchAttributeRequestOrBuilder
        Returns:
        The resourceVersion.
      • getResourceVersionBytes

        public com.google.protobuf.ByteString getResourceVersionBytes()
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 4;
        Specified by:
        getResourceVersionBytes in interface RenameCustomSearchAttributeRequestOrBuilder
        Returns:
        The bytes for resourceVersion.
      • setResourceVersion

        public RenameCustomSearchAttributeRequest.Builder setResourceVersion​(java.lang.String value)
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 4;
        Parameters:
        value - The resourceVersion to set.
        Returns:
        This builder for chaining.
      • clearResourceVersion

        public RenameCustomSearchAttributeRequest.Builder clearResourceVersion()
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 4;
        Returns:
        This builder for chaining.
      • setResourceVersionBytes

        public RenameCustomSearchAttributeRequest.Builder setResourceVersionBytes​(com.google.protobuf.ByteString value)
         The version of the namespace for which this update is intended for.
         The latest version can be found in the namespace status.
         
        string resource_version = 4;
        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, if not provided a random id will be generated.
         
        string async_operation_id = 5;
        Specified by:
        getAsyncOperationId in interface RenameCustomSearchAttributeRequestOrBuilder
        Returns:
        The asyncOperationId.
      • getAsyncOperationIdBytes

        public com.google.protobuf.ByteString getAsyncOperationIdBytes()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 5;
        Specified by:
        getAsyncOperationIdBytes in interface RenameCustomSearchAttributeRequestOrBuilder
        Returns:
        The bytes for asyncOperationId.
      • setAsyncOperationId

        public RenameCustomSearchAttributeRequest.Builder setAsyncOperationId​(java.lang.String value)
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 5;
        Parameters:
        value - The asyncOperationId to set.
        Returns:
        This builder for chaining.
      • clearAsyncOperationId

        public RenameCustomSearchAttributeRequest.Builder clearAsyncOperationId()
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 5;
        Returns:
        This builder for chaining.
      • setAsyncOperationIdBytes

        public RenameCustomSearchAttributeRequest.Builder setAsyncOperationIdBytes​(com.google.protobuf.ByteString value)
         The id to use for this async operation.
         Optional, if not provided a random id will be generated.
         
        string async_operation_id = 5;
        Parameters:
        value - The bytes for asyncOperationId to set.
        Returns:
        This builder for chaining.