Class RemoveSearchAttributesRequest.Builder

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

public static final class RemoveSearchAttributesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RemoveSearchAttributesRequest.Builder> implements RemoveSearchAttributesRequestOrBuilder
Protobuf type temporal.api.operatorservice.v1.RemoveSearchAttributesRequest
  • 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<RemoveSearchAttributesRequest.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<RemoveSearchAttributesRequest.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<RemoveSearchAttributesRequest.Builder>
    • getDefaultInstanceForType

      public RemoveSearchAttributesRequest 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 RemoveSearchAttributesRequest 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<RemoveSearchAttributesRequest.Builder>
    • setField

      public RemoveSearchAttributesRequest.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<RemoveSearchAttributesRequest.Builder>
    • clearField

      public RemoveSearchAttributesRequest.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<RemoveSearchAttributesRequest.Builder>
    • clearOneof

      public RemoveSearchAttributesRequest.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<RemoveSearchAttributesRequest.Builder>
    • setRepeatedField

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

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

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

      public RemoveSearchAttributesRequest.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<RemoveSearchAttributesRequest.Builder>
      Throws:
      IOException
    • getSearchAttributesList

      public com.google.protobuf.ProtocolStringList getSearchAttributesList()
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Specified by:
      getSearchAttributesList in interface RemoveSearchAttributesRequestOrBuilder
      Returns:
      A list containing the searchAttributes.
    • getSearchAttributesCount

      public int getSearchAttributesCount()
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Specified by:
      getSearchAttributesCount in interface RemoveSearchAttributesRequestOrBuilder
      Returns:
      The count of searchAttributes.
    • getSearchAttributes

      public String getSearchAttributes(int index)
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Specified by:
      getSearchAttributes in interface RemoveSearchAttributesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The searchAttributes at the given index.
    • getSearchAttributesBytes

      public com.google.protobuf.ByteString getSearchAttributesBytes(int index)
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Specified by:
      getSearchAttributesBytes in interface RemoveSearchAttributesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the searchAttributes at the given index.
    • setSearchAttributes

      public RemoveSearchAttributesRequest.Builder setSearchAttributes(int index, String value)
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Parameters:
      index - The index to set the value at.
      value - The searchAttributes to set.
      Returns:
      This builder for chaining.
    • addSearchAttributes

      public RemoveSearchAttributesRequest.Builder addSearchAttributes(String value)
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Parameters:
      value - The searchAttributes to add.
      Returns:
      This builder for chaining.
    • addAllSearchAttributes

      public RemoveSearchAttributesRequest.Builder addAllSearchAttributes(Iterable<String> values)
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Parameters:
      values - The searchAttributes to add.
      Returns:
      This builder for chaining.
    • clearSearchAttributes

      public RemoveSearchAttributesRequest.Builder clearSearchAttributes()
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Returns:
      This builder for chaining.
    • addSearchAttributesBytes

      public RemoveSearchAttributesRequest.Builder addSearchAttributesBytes(com.google.protobuf.ByteString value)
       Search attribute names to delete.
       
      repeated string search_attributes = 1;
      Parameters:
      value - The bytes of the searchAttributes to add.
      Returns:
      This builder for chaining.
    • getNamespace

      public String getNamespace()
      string namespace = 2;
      Specified by:
      getNamespace in interface RemoveSearchAttributesRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      string namespace = 2;
      Specified by:
      getNamespaceBytes in interface RemoveSearchAttributesRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public RemoveSearchAttributesRequest.Builder setNamespace(String value)
      string namespace = 2;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public RemoveSearchAttributesRequest.Builder clearNamespace()
      string namespace = 2;
      Returns:
      This builder for chaining.
    • setNamespaceBytes

      public RemoveSearchAttributesRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
      string namespace = 2;
      Parameters:
      value - The bytes for namespace to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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