Class Namespace.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
- io.temporal.api.cloud.namespace.v1.Namespace.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NamespaceOrBuilder,java.lang.Cloneable
- Enclosing class:
- Namespace
public static final class Namespace.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder> implements NamespaceOrBuilder
Protobuf typetemporal.api.cloud.namespace.v1.Namespace
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Namespace.BuilderaddAllPrivateConnectivities(java.lang.Iterable<? extends PrivateConnectivity> values)The private connectivities for the namespace, if any.Namespace.BuilderaddPrivateConnectivities(int index, PrivateConnectivity value)The private connectivities for the namespace, if any.Namespace.BuilderaddPrivateConnectivities(int index, PrivateConnectivity.Builder builderForValue)The private connectivities for the namespace, if any.Namespace.BuilderaddPrivateConnectivities(PrivateConnectivity value)The private connectivities for the namespace, if any.Namespace.BuilderaddPrivateConnectivities(PrivateConnectivity.Builder builderForValue)The private connectivities for the namespace, if any.PrivateConnectivity.BuilderaddPrivateConnectivitiesBuilder()The private connectivities for the namespace, if any.PrivateConnectivity.BuilderaddPrivateConnectivitiesBuilder(int index)The private connectivities for the namespace, if any.Namespace.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Namespacebuild()NamespacebuildPartial()Namespace.Builderclear()Namespace.BuilderclearActiveRegion()The currently active region for the namespace.Namespace.BuilderclearAsyncOperationId()The id of the async operation that is creating/updating/deleting the namespace, if any.Namespace.BuilderclearCreatedTime()The date and time when the namespace was created.Namespace.BuilderclearEndpoints()The endpoints for the namespace.Namespace.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Namespace.BuilderclearLastModifiedTime()The date and time when the namespace was last modified.Namespace.BuilderclearLimits()The limits set on the namespace currently.Namespace.BuilderclearNamespace()The namespace identifier.Namespace.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Namespace.BuilderclearPrivateConnectivities()The private connectivities for the namespace, if any.Namespace.BuilderclearRegionStatus()Namespace.BuilderclearResourceVersion()The current version of the namespace specification.Namespace.BuilderclearSpec()The namespace specification.Namespace.BuilderclearState()The current state of the namespace.Namespace.BuilderclearStateDeprecated()Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated.Namespace.Builderclone()booleancontainsRegionStatus(java.lang.String key)The status of each region where the namespace is available.java.lang.StringgetActiveRegion()The currently active region for the namespace.com.google.protobuf.ByteStringgetActiveRegionBytes()The currently active region for the namespace.java.lang.StringgetAsyncOperationId()The id of the async operation that is creating/updating/deleting the namespace, if any.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the namespace, if any.com.google.protobuf.TimestampgetCreatedTime()The date and time when the namespace was created.com.google.protobuf.Timestamp.BuildergetCreatedTimeBuilder()The date and time when the namespace was created.com.google.protobuf.TimestampOrBuildergetCreatedTimeOrBuilder()The date and time when the namespace was created.NamespacegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EndpointsgetEndpoints()The endpoints for the namespace.Endpoints.BuildergetEndpointsBuilder()The endpoints for the namespace.EndpointsOrBuildergetEndpointsOrBuilder()The endpoints for the namespace.com.google.protobuf.TimestampgetLastModifiedTime()The date and time when the namespace was last modified.com.google.protobuf.Timestamp.BuildergetLastModifiedTimeBuilder()The date and time when the namespace was last modified.com.google.protobuf.TimestampOrBuildergetLastModifiedTimeOrBuilder()The date and time when the namespace was last modified.LimitsgetLimits()The limits set on the namespace currently.Limits.BuildergetLimitsBuilder()The limits set on the namespace currently.LimitsOrBuildergetLimitsOrBuilder()The limits set on the namespace currently.java.util.Map<java.lang.String,NamespaceRegionStatus>getMutableRegionStatus()Deprecated.java.lang.StringgetNamespace()The namespace identifier.com.google.protobuf.ByteStringgetNamespaceBytes()The namespace identifier.PrivateConnectivitygetPrivateConnectivities(int index)The private connectivities for the namespace, if any.PrivateConnectivity.BuildergetPrivateConnectivitiesBuilder(int index)The private connectivities for the namespace, if any.java.util.List<PrivateConnectivity.Builder>getPrivateConnectivitiesBuilderList()The private connectivities for the namespace, if any.intgetPrivateConnectivitiesCount()The private connectivities for the namespace, if any.java.util.List<PrivateConnectivity>getPrivateConnectivitiesList()The private connectivities for the namespace, if any.PrivateConnectivityOrBuildergetPrivateConnectivitiesOrBuilder(int index)The private connectivities for the namespace, if any.java.util.List<? extends PrivateConnectivityOrBuilder>getPrivateConnectivitiesOrBuilderList()The private connectivities for the namespace, if any.java.util.Map<java.lang.String,NamespaceRegionStatus>getRegionStatus()Deprecated.intgetRegionStatusCount()The status of each region where the namespace is available.java.util.Map<java.lang.String,NamespaceRegionStatus>getRegionStatusMap()The status of each region where the namespace is available.NamespaceRegionStatusgetRegionStatusOrDefault(java.lang.String key, NamespaceRegionStatus defaultValue)The status of each region where the namespace is available.NamespaceRegionStatusgetRegionStatusOrThrow(java.lang.String key)The status of each region where the namespace is available.java.lang.StringgetResourceVersion()The current version of the namespace specification.com.google.protobuf.ByteStringgetResourceVersionBytes()The current version of the namespace specification.NamespaceSpecgetSpec()The namespace specification.NamespaceSpec.BuildergetSpecBuilder()The namespace specification.NamespaceSpecOrBuildergetSpecOrBuilder()The namespace specification.ResourceStategetState()The current state of the namespace.java.lang.StringgetStateDeprecated()Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated.com.google.protobuf.ByteStringgetStateDeprecatedBytes()Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated.intgetStateValue()The current state of the namespace.booleanhasCreatedTime()The date and time when the namespace was created.booleanhasEndpoints()The endpoints for the namespace.booleanhasLastModifiedTime()The date and time when the namespace was last modified.booleanhasLimits()The limits set on the namespace currently.booleanhasSpec()The namespace specification.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()Namespace.BuildermergeCreatedTime(com.google.protobuf.Timestamp value)The date and time when the namespace was created.Namespace.BuildermergeEndpoints(Endpoints value)The endpoints for the namespace.Namespace.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Namespace.BuildermergeFrom(com.google.protobuf.Message other)Namespace.BuildermergeFrom(Namespace other)Namespace.BuildermergeLastModifiedTime(com.google.protobuf.Timestamp value)The date and time when the namespace was last modified.Namespace.BuildermergeLimits(Limits value)The limits set on the namespace currently.Namespace.BuildermergeSpec(NamespaceSpec value)The namespace specification.Namespace.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Namespace.BuilderputAllRegionStatus(java.util.Map<java.lang.String,NamespaceRegionStatus> values)The status of each region where the namespace is available.Namespace.BuilderputRegionStatus(java.lang.String key, NamespaceRegionStatus value)The status of each region where the namespace is available.NamespaceRegionStatus.BuilderputRegionStatusBuilderIfAbsent(java.lang.String key)The status of each region where the namespace is available.Namespace.BuilderremovePrivateConnectivities(int index)The private connectivities for the namespace, if any.Namespace.BuilderremoveRegionStatus(java.lang.String key)The status of each region where the namespace is available.Namespace.BuildersetActiveRegion(java.lang.String value)The currently active region for the namespace.Namespace.BuildersetActiveRegionBytes(com.google.protobuf.ByteString value)The currently active region for the namespace.Namespace.BuildersetAsyncOperationId(java.lang.String value)The id of the async operation that is creating/updating/deleting the namespace, if any.Namespace.BuildersetAsyncOperationIdBytes(com.google.protobuf.ByteString value)The id of the async operation that is creating/updating/deleting the namespace, if any.Namespace.BuildersetCreatedTime(com.google.protobuf.Timestamp value)The date and time when the namespace was created.Namespace.BuildersetCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the namespace was created.Namespace.BuildersetEndpoints(Endpoints value)The endpoints for the namespace.Namespace.BuildersetEndpoints(Endpoints.Builder builderForValue)The endpoints for the namespace.Namespace.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Namespace.BuildersetLastModifiedTime(com.google.protobuf.Timestamp value)The date and time when the namespace was last modified.Namespace.BuildersetLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue)The date and time when the namespace was last modified.Namespace.BuildersetLimits(Limits value)The limits set on the namespace currently.Namespace.BuildersetLimits(Limits.Builder builderForValue)The limits set on the namespace currently.Namespace.BuildersetNamespace(java.lang.String value)The namespace identifier.Namespace.BuildersetNamespaceBytes(com.google.protobuf.ByteString value)The namespace identifier.Namespace.BuildersetPrivateConnectivities(int index, PrivateConnectivity value)The private connectivities for the namespace, if any.Namespace.BuildersetPrivateConnectivities(int index, PrivateConnectivity.Builder builderForValue)The private connectivities for the namespace, if any.Namespace.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Namespace.BuildersetResourceVersion(java.lang.String value)The current version of the namespace specification.Namespace.BuildersetResourceVersionBytes(com.google.protobuf.ByteString value)The current version of the namespace specification.Namespace.BuildersetSpec(NamespaceSpec value)The namespace specification.Namespace.BuildersetSpec(NamespaceSpec.Builder builderForValue)The namespace specification.Namespace.BuildersetState(ResourceState value)The current state of the namespace.Namespace.BuildersetStateDeprecated(java.lang.String value)Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated.Namespace.BuildersetStateDeprecatedBytes(com.google.protobuf.ByteString value)Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated.Namespace.BuildersetStateValue(int value)The current state of the namespace.Namespace.BuildersetUnknownFields(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
clear
public Namespace.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<Namespace.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<Namespace.Builder>
-
getDefaultInstanceForType
public Namespace getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Namespace build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Namespace buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Namespace.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<Namespace.Builder>
-
setField
public Namespace.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
clearField
public Namespace.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
clearOneof
public Namespace.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
setRepeatedField
public Namespace.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
addRepeatedField
public Namespace.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
mergeFrom
public Namespace.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Namespace.Builder>
-
mergeFrom
public Namespace.Builder mergeFrom(Namespace other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
mergeFrom
public Namespace.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Namespace.Builder>- Throws:
java.io.IOException
-
getNamespace
public java.lang.String getNamespace()
The namespace identifier.
string namespace = 1;- Specified by:
getNamespacein interfaceNamespaceOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()
The namespace identifier.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceNamespaceOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
public Namespace.Builder setNamespace(java.lang.String value)
The namespace identifier.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
public Namespace.Builder clearNamespace()
The namespace identifier.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public Namespace.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace identifier.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getResourceVersion
public java.lang.String getResourceVersion()
The current version of the namespace specification. The next update operation will have to include this version.
string resource_version = 2;- Specified by:
getResourceVersionin interfaceNamespaceOrBuilder- Returns:
- The resourceVersion.
-
getResourceVersionBytes
public com.google.protobuf.ByteString getResourceVersionBytes()
The current version of the namespace specification. The next update operation will have to include this version.
string resource_version = 2;- Specified by:
getResourceVersionBytesin interfaceNamespaceOrBuilder- Returns:
- The bytes for resourceVersion.
-
setResourceVersion
public Namespace.Builder setResourceVersion(java.lang.String value)
The current version of the namespace specification. The next update operation will have to include this version.
string resource_version = 2;- Parameters:
value- The resourceVersion to set.- Returns:
- This builder for chaining.
-
clearResourceVersion
public Namespace.Builder clearResourceVersion()
The current version of the namespace specification. The next update operation will have to include this version.
string resource_version = 2;- Returns:
- This builder for chaining.
-
setResourceVersionBytes
public Namespace.Builder setResourceVersionBytes(com.google.protobuf.ByteString value)
The current version of the namespace specification. The next update operation will have to include this version.
string resource_version = 2;- Parameters:
value- The bytes for resourceVersion to set.- Returns:
- This builder for chaining.
-
hasSpec
public boolean hasSpec()
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;- Specified by:
hasSpecin interfaceNamespaceOrBuilder- Returns:
- Whether the spec field is set.
-
getSpec
public NamespaceSpec getSpec()
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;- Specified by:
getSpecin interfaceNamespaceOrBuilder- Returns:
- The spec.
-
setSpec
public Namespace.Builder setSpec(NamespaceSpec value)
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
-
setSpec
public Namespace.Builder setSpec(NamespaceSpec.Builder builderForValue)
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
-
mergeSpec
public Namespace.Builder mergeSpec(NamespaceSpec value)
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
-
clearSpec
public Namespace.Builder clearSpec()
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
-
getSpecBuilder
public NamespaceSpec.Builder getSpecBuilder()
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
-
getSpecOrBuilder
public NamespaceSpecOrBuilder getSpecOrBuilder()
The namespace specification.
.temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;- Specified by:
getSpecOrBuilderin interfaceNamespaceOrBuilder
-
getStateDeprecated
@Deprecated public java.lang.String getStateDeprecated()
Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=165The current state of the namespace. Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
string state_deprecated = 4 [deprecated = true];- Specified by:
getStateDeprecatedin interfaceNamespaceOrBuilder- Returns:
- The stateDeprecated.
-
getStateDeprecatedBytes
@Deprecated public com.google.protobuf.ByteString getStateDeprecatedBytes()
Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=165The current state of the namespace. Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
string state_deprecated = 4 [deprecated = true];- Specified by:
getStateDeprecatedBytesin interfaceNamespaceOrBuilder- Returns:
- The bytes for stateDeprecated.
-
setStateDeprecated
@Deprecated public Namespace.Builder setStateDeprecated(java.lang.String value)
Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=165The current state of the namespace. Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
string state_deprecated = 4 [deprecated = true];- Parameters:
value- The stateDeprecated to set.- Returns:
- This builder for chaining.
-
clearStateDeprecated
@Deprecated public Namespace.Builder clearStateDeprecated()
Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=165The current state of the namespace. Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
string state_deprecated = 4 [deprecated = true];- Returns:
- This builder for chaining.
-
setStateDeprecatedBytes
@Deprecated public Namespace.Builder setStateDeprecatedBytes(com.google.protobuf.ByteString value)
Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=165The current state of the namespace. Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
string state_deprecated = 4 [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. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=2024-10-01-00 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 13;- Specified by:
getStateValuein interfaceNamespaceOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Namespace.Builder setStateValue(int value)
The current state of the namespace. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=2024-10-01-00 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 13;- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public ResourceState getState()
The current state of the namespace. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=2024-10-01-00 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 13;- Specified by:
getStatein interfaceNamespaceOrBuilder- Returns:
- The state.
-
setState
public Namespace.Builder setState(ResourceState value)
The current state of the namespace. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=2024-10-01-00 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 13;- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Namespace.Builder clearState()
The current state of the namespace. For any failed state, reach out to Temporal Cloud support for remediation. temporal:versioning:min_version=2024-10-01-00 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 13;- Returns:
- This builder for chaining.
-
getAsyncOperationId
public java.lang.String getAsyncOperationId()
The id of the async operation that is creating/updating/deleting the namespace, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdin interfaceNamespaceOrBuilder- Returns:
- The asyncOperationId.
-
getAsyncOperationIdBytes
public com.google.protobuf.ByteString getAsyncOperationIdBytes()
The id of the async operation that is creating/updating/deleting the namespace, if any.
string async_operation_id = 5;- Specified by:
getAsyncOperationIdBytesin interfaceNamespaceOrBuilder- Returns:
- The bytes for asyncOperationId.
-
setAsyncOperationId
public Namespace.Builder setAsyncOperationId(java.lang.String value)
The id of the async operation that is creating/updating/deleting the namespace, if any.
string async_operation_id = 5;- Parameters:
value- The asyncOperationId to set.- Returns:
- This builder for chaining.
-
clearAsyncOperationId
public Namespace.Builder clearAsyncOperationId()
The id of the async operation that is creating/updating/deleting the namespace, if any.
string async_operation_id = 5;- Returns:
- This builder for chaining.
-
setAsyncOperationIdBytes
public Namespace.Builder setAsyncOperationIdBytes(com.google.protobuf.ByteString value)
The id of the async operation that is creating/updating/deleting the namespace, if any.
string async_operation_id = 5;- Parameters:
value- The bytes for asyncOperationId to set.- Returns:
- This builder for chaining.
-
hasEndpoints
public boolean hasEndpoints()
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;- Specified by:
hasEndpointsin interfaceNamespaceOrBuilder- Returns:
- Whether the endpoints field is set.
-
getEndpoints
public Endpoints getEndpoints()
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;- Specified by:
getEndpointsin interfaceNamespaceOrBuilder- Returns:
- The endpoints.
-
setEndpoints
public Namespace.Builder setEndpoints(Endpoints value)
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
-
setEndpoints
public Namespace.Builder setEndpoints(Endpoints.Builder builderForValue)
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
-
mergeEndpoints
public Namespace.Builder mergeEndpoints(Endpoints value)
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
-
clearEndpoints
public Namespace.Builder clearEndpoints()
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
-
getEndpointsBuilder
public Endpoints.Builder getEndpointsBuilder()
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
-
getEndpointsOrBuilder
public EndpointsOrBuilder getEndpointsOrBuilder()
The endpoints for the namespace.
.temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;- Specified by:
getEndpointsOrBuilderin interfaceNamespaceOrBuilder
-
getActiveRegion
public java.lang.String getActiveRegion()
The currently active region for the namespace.
string active_region = 7;- Specified by:
getActiveRegionin interfaceNamespaceOrBuilder- Returns:
- The activeRegion.
-
getActiveRegionBytes
public com.google.protobuf.ByteString getActiveRegionBytes()
The currently active region for the namespace.
string active_region = 7;- Specified by:
getActiveRegionBytesin interfaceNamespaceOrBuilder- Returns:
- The bytes for activeRegion.
-
setActiveRegion
public Namespace.Builder setActiveRegion(java.lang.String value)
The currently active region for the namespace.
string active_region = 7;- Parameters:
value- The activeRegion to set.- Returns:
- This builder for chaining.
-
clearActiveRegion
public Namespace.Builder clearActiveRegion()
The currently active region for the namespace.
string active_region = 7;- Returns:
- This builder for chaining.
-
setActiveRegionBytes
public Namespace.Builder setActiveRegionBytes(com.google.protobuf.ByteString value)
The currently active region for the namespace.
string active_region = 7;- Parameters:
value- The bytes for activeRegion to set.- Returns:
- This builder for chaining.
-
hasLimits
public boolean hasLimits()
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;- Specified by:
hasLimitsin interfaceNamespaceOrBuilder- Returns:
- Whether the limits field is set.
-
getLimits
public Limits getLimits()
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;- Specified by:
getLimitsin interfaceNamespaceOrBuilder- Returns:
- The limits.
-
setLimits
public Namespace.Builder setLimits(Limits value)
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;
-
setLimits
public Namespace.Builder setLimits(Limits.Builder builderForValue)
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;
-
mergeLimits
public Namespace.Builder mergeLimits(Limits value)
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;
-
clearLimits
public Namespace.Builder clearLimits()
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;
-
getLimitsBuilder
public Limits.Builder getLimitsBuilder()
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;
-
getLimitsOrBuilder
public LimitsOrBuilder getLimitsOrBuilder()
The limits set on the namespace currently.
.temporal.api.cloud.namespace.v1.Limits limits = 8;- Specified by:
getLimitsOrBuilderin interfaceNamespaceOrBuilder
-
getPrivateConnectivitiesList
public java.util.List<PrivateConnectivity> getPrivateConnectivitiesList()
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;- Specified by:
getPrivateConnectivitiesListin interfaceNamespaceOrBuilder
-
getPrivateConnectivitiesCount
public int getPrivateConnectivitiesCount()
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;- Specified by:
getPrivateConnectivitiesCountin interfaceNamespaceOrBuilder
-
getPrivateConnectivities
public PrivateConnectivity getPrivateConnectivities(int index)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;- Specified by:
getPrivateConnectivitiesin interfaceNamespaceOrBuilder
-
setPrivateConnectivities
public Namespace.Builder setPrivateConnectivities(int index, PrivateConnectivity value)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
setPrivateConnectivities
public Namespace.Builder setPrivateConnectivities(int index, PrivateConnectivity.Builder builderForValue)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
addPrivateConnectivities
public Namespace.Builder addPrivateConnectivities(PrivateConnectivity value)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
addPrivateConnectivities
public Namespace.Builder addPrivateConnectivities(int index, PrivateConnectivity value)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
addPrivateConnectivities
public Namespace.Builder addPrivateConnectivities(PrivateConnectivity.Builder builderForValue)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
addPrivateConnectivities
public Namespace.Builder addPrivateConnectivities(int index, PrivateConnectivity.Builder builderForValue)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
addAllPrivateConnectivities
public Namespace.Builder addAllPrivateConnectivities(java.lang.Iterable<? extends PrivateConnectivity> values)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
clearPrivateConnectivities
public Namespace.Builder clearPrivateConnectivities()
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
removePrivateConnectivities
public Namespace.Builder removePrivateConnectivities(int index)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
getPrivateConnectivitiesBuilder
public PrivateConnectivity.Builder getPrivateConnectivitiesBuilder(int index)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
getPrivateConnectivitiesOrBuilder
public PrivateConnectivityOrBuilder getPrivateConnectivitiesOrBuilder(int index)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;- Specified by:
getPrivateConnectivitiesOrBuilderin interfaceNamespaceOrBuilder
-
getPrivateConnectivitiesOrBuilderList
public java.util.List<? extends PrivateConnectivityOrBuilder> getPrivateConnectivitiesOrBuilderList()
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;- Specified by:
getPrivateConnectivitiesOrBuilderListin interfaceNamespaceOrBuilder
-
addPrivateConnectivitiesBuilder
public PrivateConnectivity.Builder addPrivateConnectivitiesBuilder()
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
addPrivateConnectivitiesBuilder
public PrivateConnectivity.Builder addPrivateConnectivitiesBuilder(int index)
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
getPrivateConnectivitiesBuilderList
public java.util.List<PrivateConnectivity.Builder> getPrivateConnectivitiesBuilderList()
The private connectivities for the namespace, if any.
repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
-
hasCreatedTime
public boolean hasCreatedTime()
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;- Specified by:
hasCreatedTimein interfaceNamespaceOrBuilder- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
public com.google.protobuf.Timestamp getCreatedTime()
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;- Specified by:
getCreatedTimein interfaceNamespaceOrBuilder- Returns:
- The createdTime.
-
setCreatedTime
public Namespace.Builder setCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;
-
setCreatedTime
public Namespace.Builder setCreatedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;
-
mergeCreatedTime
public Namespace.Builder mergeCreatedTime(com.google.protobuf.Timestamp value)
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;
-
clearCreatedTime
public Namespace.Builder clearCreatedTime()
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;
-
getCreatedTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreatedTimeBuilder()
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;
-
getCreatedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()
The date and time when the namespace was created.
.google.protobuf.Timestamp created_time = 10;- Specified by:
getCreatedTimeOrBuilderin interfaceNamespaceOrBuilder
-
hasLastModifiedTime
public boolean hasLastModifiedTime()
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;- Specified by:
hasLastModifiedTimein interfaceNamespaceOrBuilder- Returns:
- Whether the lastModifiedTime field is set.
-
getLastModifiedTime
public com.google.protobuf.Timestamp getLastModifiedTime()
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;- Specified by:
getLastModifiedTimein interfaceNamespaceOrBuilder- Returns:
- The lastModifiedTime.
-
setLastModifiedTime
public Namespace.Builder setLastModifiedTime(com.google.protobuf.Timestamp value)
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;
-
setLastModifiedTime
public Namespace.Builder setLastModifiedTime(com.google.protobuf.Timestamp.Builder builderForValue)
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;
-
mergeLastModifiedTime
public Namespace.Builder mergeLastModifiedTime(com.google.protobuf.Timestamp value)
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;
-
clearLastModifiedTime
public Namespace.Builder clearLastModifiedTime()
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;
-
getLastModifiedTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastModifiedTimeBuilder()
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;
-
getLastModifiedTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()
The date and time when the namespace was last modified. Will not be set if the namespace has never been modified.
.google.protobuf.Timestamp last_modified_time = 11;- Specified by:
getLastModifiedTimeOrBuilderin interfaceNamespaceOrBuilder
-
getRegionStatusCount
public int getRegionStatusCount()
Description copied from interface:NamespaceOrBuilderThe status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;- Specified by:
getRegionStatusCountin interfaceNamespaceOrBuilder
-
containsRegionStatus
public boolean containsRegionStatus(java.lang.String key)
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;- Specified by:
containsRegionStatusin interfaceNamespaceOrBuilder
-
getRegionStatus
@Deprecated public java.util.Map<java.lang.String,NamespaceRegionStatus> getRegionStatus()
Deprecated.UsegetRegionStatusMap()instead.- Specified by:
getRegionStatusin interfaceNamespaceOrBuilder
-
getRegionStatusMap
public java.util.Map<java.lang.String,NamespaceRegionStatus> getRegionStatusMap()
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;- Specified by:
getRegionStatusMapin interfaceNamespaceOrBuilder
-
getRegionStatusOrDefault
public NamespaceRegionStatus getRegionStatusOrDefault(java.lang.String key, NamespaceRegionStatus defaultValue)
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;- Specified by:
getRegionStatusOrDefaultin interfaceNamespaceOrBuilder
-
getRegionStatusOrThrow
public NamespaceRegionStatus getRegionStatusOrThrow(java.lang.String key)
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;- Specified by:
getRegionStatusOrThrowin interfaceNamespaceOrBuilder
-
clearRegionStatus
public Namespace.Builder clearRegionStatus()
-
removeRegionStatus
public Namespace.Builder removeRegionStatus(java.lang.String key)
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
getMutableRegionStatus
@Deprecated public java.util.Map<java.lang.String,NamespaceRegionStatus> getMutableRegionStatus()
Deprecated.Use alternate mutation accessors instead.
-
putRegionStatus
public Namespace.Builder putRegionStatus(java.lang.String key, NamespaceRegionStatus value)
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
putAllRegionStatus
public Namespace.Builder putAllRegionStatus(java.util.Map<java.lang.String,NamespaceRegionStatus> values)
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
putRegionStatusBuilderIfAbsent
public NamespaceRegionStatus.Builder putRegionStatusBuilderIfAbsent(java.lang.String key)
The status of each region where the namespace is available. The id of the region is the key and the status is the value of the map.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
setUnknownFields
public final Namespace.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
mergeUnknownFields
public final Namespace.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Namespace.Builder>
-
-