Class NamespaceRegionStatus.Builder

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

public static final class NamespaceRegionStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder> implements NamespaceRegionStatusOrBuilder
Protobuf type temporal.api.cloud.namespace.v1.NamespaceRegionStatus
  • 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<NamespaceRegionStatus.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<NamespaceRegionStatus.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<NamespaceRegionStatus.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public NamespaceRegionStatus.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<NamespaceRegionStatus.Builder>
      Throws:
      IOException
    • getStateDeprecated

      @Deprecated public String getStateDeprecated()
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371
       The current state of the namespace region.
       Possible values: adding, active, passive, removing, failed.
       For any failed state, reach out to Temporal Cloud support for remediation.
       Deprecated: Not supported after v0.3.0 api version. Use state instead.
       temporal:versioning:max_version=v0.3.0
       
      string state_deprecated = 1 [deprecated = true];
      Specified by:
      getStateDeprecated in interface NamespaceRegionStatusOrBuilder
      Returns:
      The stateDeprecated.
    • getStateDeprecatedBytes

      @Deprecated public com.google.protobuf.ByteString getStateDeprecatedBytes()
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371
       The current state of the namespace region.
       Possible values: adding, active, passive, removing, failed.
       For any failed state, reach out to Temporal Cloud support for remediation.
       Deprecated: Not supported after v0.3.0 api version. Use state instead.
       temporal:versioning:max_version=v0.3.0
       
      string state_deprecated = 1 [deprecated = true];
      Specified by:
      getStateDeprecatedBytes in interface NamespaceRegionStatusOrBuilder
      Returns:
      The bytes for stateDeprecated.
    • setStateDeprecated

      @Deprecated public NamespaceRegionStatus.Builder setStateDeprecated(String value)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371
       The current state of the namespace region.
       Possible values: adding, active, passive, removing, failed.
       For any failed state, reach out to Temporal Cloud support for remediation.
       Deprecated: Not supported after v0.3.0 api version. Use state instead.
       temporal:versioning:max_version=v0.3.0
       
      string state_deprecated = 1 [deprecated = true];
      Parameters:
      value - The stateDeprecated to set.
      Returns:
      This builder for chaining.
    • clearStateDeprecated

      @Deprecated public NamespaceRegionStatus.Builder clearStateDeprecated()
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371
       The current state of the namespace region.
       Possible values: adding, active, passive, removing, failed.
       For any failed state, reach out to Temporal Cloud support for remediation.
       Deprecated: Not supported after v0.3.0 api version. Use state instead.
       temporal:versioning:max_version=v0.3.0
       
      string state_deprecated = 1 [deprecated = true];
      Returns:
      This builder for chaining.
    • setStateDeprecatedBytes

      @Deprecated public NamespaceRegionStatus.Builder setStateDeprecatedBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371
       The current state of the namespace region.
       Possible values: adding, active, passive, removing, failed.
       For any failed state, reach out to Temporal Cloud support for remediation.
       Deprecated: Not supported after v0.3.0 api version. Use state instead.
       temporal:versioning:max_version=v0.3.0
       
      string state_deprecated = 1 [deprecated = true];
      Parameters:
      value - The bytes for stateDeprecated to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       The current state of the namespace region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=state_deprecated
       
      .temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State state = 3;
      Specified by:
      getStateValue in interface NamespaceRegionStatusOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public NamespaceRegionStatus.Builder setStateValue(int value)
       The current state of the namespace region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=state_deprecated
       
      .temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State state = 3;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public NamespaceRegionStatus.State getState()
       The current state of the namespace region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=state_deprecated
       
      .temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State state = 3;
      Specified by:
      getState in interface NamespaceRegionStatusOrBuilder
      Returns:
      The state.
    • setState

       The current state of the namespace region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=state_deprecated
       
      .temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State state = 3;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public NamespaceRegionStatus.Builder clearState()
       The current state of the namespace region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=state_deprecated
       
      .temporal.api.cloud.namespace.v1.NamespaceRegionStatus.State state = 3;
      Returns:
      This builder for chaining.
    • getAsyncOperationId

      public String getAsyncOperationId()
       The id of the async operation that is making changes to where the namespace is available, if any.
       
      string async_operation_id = 2;
      Specified by:
      getAsyncOperationId in interface NamespaceRegionStatusOrBuilder
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      public com.google.protobuf.ByteString getAsyncOperationIdBytes()
       The id of the async operation that is making changes to where the namespace is available, if any.
       
      string async_operation_id = 2;
      Specified by:
      getAsyncOperationIdBytes in interface NamespaceRegionStatusOrBuilder
      Returns:
      The bytes for asyncOperationId.
    • setAsyncOperationId

      public NamespaceRegionStatus.Builder setAsyncOperationId(String value)
       The id of the async operation that is making changes to where the namespace is available, if any.
       
      string async_operation_id = 2;
      Parameters:
      value - The asyncOperationId to set.
      Returns:
      This builder for chaining.
    • clearAsyncOperationId

      public NamespaceRegionStatus.Builder clearAsyncOperationId()
       The id of the async operation that is making changes to where the namespace is available, if any.
       
      string async_operation_id = 2;
      Returns:
      This builder for chaining.
    • setAsyncOperationIdBytes

      public NamespaceRegionStatus.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
       The id of the async operation that is making changes to where the namespace is available, if any.
       
      string async_operation_id = 2;
      Parameters:
      value - The bytes for asyncOperationId to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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