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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The id of the async operation that is making changes to where the namespace is available, if any.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The current state of the namespace region.Deprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated.clone()The id of the async operation that is making changes to where the namespace is available, if any.com.google.protobuf.ByteStringThe id of the async operation that is making changes to where the namespace is available, if any.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetState()The current state of the namespace region.Deprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated.intThe current state of the namespace region.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(NamespaceRegionStatus other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAsyncOperationId(String value) The id of the async operation that is making changes to where the namespace is available, if any.setAsyncOperationIdBytes(com.google.protobuf.ByteString value) The id of the async operation that is making changes to where the namespace is available, if any.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The current state of the namespace region.setStateDeprecated(String value) Deprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated.setStateDeprecatedBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated.setStateValue(int value) The current state of the namespace region.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
setField
public NamespaceRegionStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
clearField
public NamespaceRegionStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
clearOneof
public NamespaceRegionStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
setRepeatedField
public NamespaceRegionStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
addRepeatedField
public NamespaceRegionStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceRegionStatus.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceRegionStatus.Builder>- Throws:
IOException
-
getStateDeprecated
Deprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371The 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:
getStateDeprecatedin interfaceNamespaceRegionStatusOrBuilder- Returns:
- The stateDeprecated.
-
getStateDeprecatedBytes
Deprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371The 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:
getStateDeprecatedBytesin interfaceNamespaceRegionStatusOrBuilder- Returns:
- The bytes for stateDeprecated.
-
setStateDeprecated
Deprecated.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371The 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.temporal.api.cloud.namespace.v1.NamespaceRegionStatus.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=371The 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=371The 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:
getStateValuein interfaceNamespaceRegionStatusOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
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
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:
getStatein interfaceNamespaceRegionStatusOrBuilder- 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
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
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:
getAsyncOperationIdin interfaceNamespaceRegionStatusOrBuilder- 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:
getAsyncOperationIdBytesin interfaceNamespaceRegionStatusOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
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
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
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-
mergeUnknownFields
public final NamespaceRegionStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceRegionStatus.Builder>
-