Class RenameCustomSearchAttributeRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RenameCustomSearchAttributeRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
io.temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RenameCustomSearchAttributeRequestOrBuilder, Cloneable
Enclosing class:
RenameCustomSearchAttributeRequest

public static final class RenameCustomSearchAttributeRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder> implements RenameCustomSearchAttributeRequestOrBuilder
Protobuf type temporal.api.cloud.cloudservice.v1.RenameCustomSearchAttributeRequest
  • Method Details

    • 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>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear 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

      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
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
    • setField

      public RenameCustomSearchAttributeRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
    • clearField

      public RenameCustomSearchAttributeRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
    • clearOneof

      public RenameCustomSearchAttributeRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
    • setRepeatedField

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

      public RenameCustomSearchAttributeRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RenameCustomSearchAttributeRequest.Builder>
    • mergeFrom

      public RenameCustomSearchAttributeRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RenameCustomSearchAttributeRequest.Builder>
    • mergeFrom

    • 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 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:
      IOException
    • getNamespace

      public String getNamespace()
       The namespace to rename the custom search attribute for.
       
      string namespace = 1;
      Specified by:
      getNamespace in interface RenameCustomSearchAttributeRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
       The namespace to rename the custom search attribute for.
       
      string namespace = 1;
      Specified by:
      getNamespaceBytes in interface RenameCustomSearchAttributeRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

       The namespace to rename the custom search attribute for.
       
      string namespace = 1;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

       The namespace to rename the custom search attribute for.
       
      string namespace = 1;
      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.
    • getExistingCustomSearchAttributeName

      public String getExistingCustomSearchAttributeName()
       The existing name of the custom search attribute to be renamed.
       
      string existing_custom_search_attribute_name = 2;
      Specified by:
      getExistingCustomSearchAttributeName in interface RenameCustomSearchAttributeRequestOrBuilder
      Returns:
      The existingCustomSearchAttributeName.
    • getExistingCustomSearchAttributeNameBytes

      public com.google.protobuf.ByteString getExistingCustomSearchAttributeNameBytes()
       The existing name of the custom search attribute to be renamed.
       
      string existing_custom_search_attribute_name = 2;
      Specified by:
      getExistingCustomSearchAttributeNameBytes in interface RenameCustomSearchAttributeRequestOrBuilder
      Returns:
      The bytes for existingCustomSearchAttributeName.
    • setExistingCustomSearchAttributeName

      public RenameCustomSearchAttributeRequest.Builder setExistingCustomSearchAttributeName(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.
    • getNewCustomSearchAttributeName

      public String getNewCustomSearchAttributeName()
       The new name of the custom search attribute.
       
      string new_custom_search_attribute_name = 3;
      Specified by:
      getNewCustomSearchAttributeName in interface RenameCustomSearchAttributeRequestOrBuilder
      Returns:
      The newCustomSearchAttributeName.
    • getNewCustomSearchAttributeNameBytes

      public com.google.protobuf.ByteString getNewCustomSearchAttributeNameBytes()
       The new name of the custom search attribute.
       
      string new_custom_search_attribute_name = 3;
      Specified by:
      getNewCustomSearchAttributeNameBytes in interface RenameCustomSearchAttributeRequestOrBuilder
      Returns:
      The bytes for newCustomSearchAttributeName.
    • setNewCustomSearchAttributeName

      public RenameCustomSearchAttributeRequest.Builder setNewCustomSearchAttributeName(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 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(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 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(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.
    • setUnknownFields

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

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