Class UpdateNamespaceInfo.Builder

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

public static final class UpdateNamespaceInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceInfo.Builder> implements UpdateNamespaceInfoOrBuilder
Protobuf type temporal.api.namespace.v1.UpdateNamespaceInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceInfo.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceInfo.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateNamespaceInfo.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<UpdateNamespaceInfo.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<UpdateNamespaceInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public UpdateNamespaceInfo.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<UpdateNamespaceInfo.Builder>
      Throws:
      IOException
    • getDescription

      public String getDescription()
      string description = 1;
      Specified by:
      getDescription in interface UpdateNamespaceInfoOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      string description = 1;
      Specified by:
      getDescriptionBytes in interface UpdateNamespaceInfoOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public UpdateNamespaceInfo.Builder setDescription(String value)
      string description = 1;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public UpdateNamespaceInfo.Builder clearDescription()
      string description = 1;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public UpdateNamespaceInfo.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      string description = 1;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getOwnerEmail

      public String getOwnerEmail()
      string owner_email = 2;
      Specified by:
      getOwnerEmail in interface UpdateNamespaceInfoOrBuilder
      Returns:
      The ownerEmail.
    • getOwnerEmailBytes

      public com.google.protobuf.ByteString getOwnerEmailBytes()
      string owner_email = 2;
      Specified by:
      getOwnerEmailBytes in interface UpdateNamespaceInfoOrBuilder
      Returns:
      The bytes for ownerEmail.
    • setOwnerEmail

      public UpdateNamespaceInfo.Builder setOwnerEmail(String value)
      string owner_email = 2;
      Parameters:
      value - The ownerEmail to set.
      Returns:
      This builder for chaining.
    • clearOwnerEmail

      public UpdateNamespaceInfo.Builder clearOwnerEmail()
      string owner_email = 2;
      Returns:
      This builder for chaining.
    • setOwnerEmailBytes

      public UpdateNamespaceInfo.Builder setOwnerEmailBytes(com.google.protobuf.ByteString value)
      string owner_email = 2;
      Parameters:
      value - The bytes for ownerEmail to set.
      Returns:
      This builder for chaining.
    • getDataCount

      public int getDataCount()
      Description copied from interface: UpdateNamespaceInfoOrBuilder
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
      Specified by:
      getDataCount in interface UpdateNamespaceInfoOrBuilder
    • containsData

      public boolean containsData(String key)
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
      Specified by:
      containsData in interface UpdateNamespaceInfoOrBuilder
    • getData

      @Deprecated public Map<String,String> getData()
      Deprecated.
      Use getDataMap() instead.
      Specified by:
      getData in interface UpdateNamespaceInfoOrBuilder
    • getDataMap

      public Map<String,String> getDataMap()
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
      Specified by:
      getDataMap in interface UpdateNamespaceInfoOrBuilder
    • getDataOrDefault

      public String getDataOrDefault(String key, String defaultValue)
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
      Specified by:
      getDataOrDefault in interface UpdateNamespaceInfoOrBuilder
    • getDataOrThrow

      public String getDataOrThrow(String key)
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
      Specified by:
      getDataOrThrow in interface UpdateNamespaceInfoOrBuilder
    • clearData

      public UpdateNamespaceInfo.Builder clearData()
    • removeData

      public UpdateNamespaceInfo.Builder removeData(String key)
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
    • getMutableData

      @Deprecated public Map<String,String> getMutableData()
      Deprecated.
      Use alternate mutation accessors instead.
    • putData

      public UpdateNamespaceInfo.Builder putData(String key, String value)
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
    • putAllData

      public UpdateNamespaceInfo.Builder putAllData(Map<String,String> values)
       A key-value map for any customized purpose.
       If data already exists on the namespace,
       this will merge with the existing key values.
       
      map<string, string> data = 3;
    • getStateValue

      public int getStateValue()
       New namespace state, server will reject if transition is not allowed.
       Allowed transitions are:
        Registered -> [ Deleted | Deprecated | Handover ]
        Handover -> [ Registered ]
       Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
       
      .temporal.api.enums.v1.NamespaceState state = 4;
      Specified by:
      getStateValue in interface UpdateNamespaceInfoOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public UpdateNamespaceInfo.Builder setStateValue(int value)
       New namespace state, server will reject if transition is not allowed.
       Allowed transitions are:
        Registered -> [ Deleted | Deprecated | Handover ]
        Handover -> [ Registered ]
       Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
       
      .temporal.api.enums.v1.NamespaceState state = 4;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public NamespaceState getState()
       New namespace state, server will reject if transition is not allowed.
       Allowed transitions are:
        Registered -> [ Deleted | Deprecated | Handover ]
        Handover -> [ Registered ]
       Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
       
      .temporal.api.enums.v1.NamespaceState state = 4;
      Specified by:
      getState in interface UpdateNamespaceInfoOrBuilder
      Returns:
      The state.
    • setState

       New namespace state, server will reject if transition is not allowed.
       Allowed transitions are:
        Registered -> [ Deleted | Deprecated | Handover ]
        Handover -> [ Registered ]
       Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
       
      .temporal.api.enums.v1.NamespaceState state = 4;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public UpdateNamespaceInfo.Builder clearState()
       New namespace state, server will reject if transition is not allowed.
       Allowed transitions are:
        Registered -> [ Deleted | Deprecated | Handover ]
        Handover -> [ Registered ]
       Default is NAMESPACE_STATE_UNSPECIFIED which is do not change state.
       
      .temporal.api.enums.v1.NamespaceState state = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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