Class NamespaceSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NamespaceSpec.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
io.temporal.api.cloud.namespace.v1.NamespaceSpec.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NamespaceSpecOrBuilder,Cloneable
- Enclosing class:
NamespaceSpec
public static final class NamespaceSpec.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
implements NamespaceSpecOrBuilder
Protobuf type
temporal.api.cloud.namespace.v1.NamespaceSpec-
Method Summary
Modifier and TypeMethodDescriptionaddAllConnectivityRuleIds(Iterable<String> values) The private connectivity configuration for the namespace.addAllRegions(Iterable<String> values) Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.addAllReplicas(Iterable<? extends ReplicaSpec> values) The replication configuration for the namespace.addConnectivityRuleIds(String value) The private connectivity configuration for the namespace.addConnectivityRuleIdsBytes(com.google.protobuf.ByteString value) The private connectivity configuration for the namespace.addRegions(String value) Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.addRegionsBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addReplicas(int index, ReplicaSpec value) The replication configuration for the namespace.addReplicas(int index, ReplicaSpec.Builder builderForValue) The replication configuration for the namespace.addReplicas(ReplicaSpec value) The replication configuration for the namespace.addReplicas(ReplicaSpec.Builder builderForValue) The replication configuration for the namespace.The replication configuration for the namespace.addReplicasBuilder(int index) The replication configuration for the namespace.build()clear()The API key auth configuration for the namespace.The capacity configuration for the namespace.Codec server spec used by UI to decode payloads for all users interacting with this namespace.The private connectivity configuration for the namespace.Deprecated.The fairness configuration for the namespace.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The high availability configuration for the namespace.The lifecycle configuration for the namespace.The mTLS auth configuration for the namespace.The name to use for the namespace.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.The replication configuration for the namespace.The number of days the workflows data will be retained for.clone()booleanDeprecated.booleanThe custom search attributes to use for the namespace.The API key auth configuration for the namespace.The API key auth configuration for the namespace.The API key auth configuration for the namespace.The capacity configuration for the namespace.The capacity configuration for the namespace.The capacity configuration for the namespace.Codec server spec used by UI to decode payloads for all users interacting with this namespace.Codec server spec used by UI to decode payloads for all users interacting with this namespace.Codec server spec used by UI to decode payloads for all users interacting with this namespace.getConnectivityRuleIds(int index) The private connectivity configuration for the namespace.com.google.protobuf.ByteStringgetConnectivityRuleIdsBytes(int index) The private connectivity configuration for the namespace.intThe private connectivity configuration for the namespace.com.google.protobuf.ProtocolStringListThe private connectivity configuration for the namespace.Deprecated.intDeprecated.Deprecated.getCustomSearchAttributesOrDefault(String key, String defaultValue) Deprecated.Deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe fairness configuration for the namespace.The fairness configuration for the namespace.The fairness configuration for the namespace.The high availability configuration for the namespace.The high availability configuration for the namespace.The high availability configuration for the namespace.The lifecycle configuration for the namespace.The lifecycle configuration for the namespace.The lifecycle configuration for the namespace.The mTLS auth configuration for the namespace.The mTLS auth configuration for the namespace.The mTLS auth configuration for the namespace.Deprecated.Deprecated.Deprecated.getName()The name to use for the namespace.com.google.protobuf.ByteStringThe name to use for the namespace.getRegions(int index) Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.com.google.protobuf.ByteStringgetRegionsBytes(int index) Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.intDeprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.com.google.protobuf.ProtocolStringListDeprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.getReplicas(int index) The replication configuration for the namespace.getReplicasBuilder(int index) The replication configuration for the namespace.The replication configuration for the namespace.intThe replication configuration for the namespace.The replication configuration for the namespace.getReplicasOrBuilder(int index) The replication configuration for the namespace.List<? extends ReplicaSpecOrBuilder> The replication configuration for the namespace.intThe number of days the workflows data will be retained for.Deprecated.intThe custom search attributes to use for the namespace.The custom search attributes to use for the namespace.getSearchAttributesOrDefault(String key, NamespaceSpec.SearchAttributeType defaultValue) The custom search attributes to use for the namespace.The custom search attributes to use for the namespace.Deprecated.The custom search attributes to use for the namespace.intgetSearchAttributesValueOrDefault(String key, int defaultValue) The custom search attributes to use for the namespace.intThe custom search attributes to use for the namespace.booleanThe API key auth configuration for the namespace.booleanThe capacity configuration for the namespace.booleanCodec server spec used by UI to decode payloads for all users interacting with this namespace.booleanThe fairness configuration for the namespace.booleanThe high availability configuration for the namespace.booleanThe lifecycle configuration for the namespace.booleanThe mTLS auth configuration for the namespace.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeApiKeyAuth(ApiKeyAuthSpec value) The API key auth configuration for the namespace.mergeCapacitySpec(CapacitySpec value) The capacity configuration for the namespace.mergeCodecServer(CodecServerSpec value) Codec server spec used by UI to decode payloads for all users interacting with this namespace.mergeFairness(FairnessSpec value) The fairness configuration for the namespace.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(NamespaceSpec other) The high availability configuration for the namespace.mergeLifecycle(LifecycleSpec value) The lifecycle configuration for the namespace.mergeMtlsAuth(MtlsAuthSpec value) The mTLS auth configuration for the namespace.final NamespaceSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) putAllCustomSearchAttributes(Map<String, String> values) Deprecated.The custom search attributes to use for the namespace.putAllSearchAttributesValue(Map<String, Integer> values) The custom search attributes to use for the namespace.putCustomSearchAttributes(String key, String value) Deprecated.The custom search attributes to use for the namespace.putSearchAttributesValue(String key, int value) The custom search attributes to use for the namespace.Deprecated.removeReplicas(int index) The replication configuration for the namespace.The custom search attributes to use for the namespace.setApiKeyAuth(ApiKeyAuthSpec value) The API key auth configuration for the namespace.setApiKeyAuth(ApiKeyAuthSpec.Builder builderForValue) The API key auth configuration for the namespace.setCapacitySpec(CapacitySpec value) The capacity configuration for the namespace.setCapacitySpec(CapacitySpec.Builder builderForValue) The capacity configuration for the namespace.setCodecServer(CodecServerSpec value) Codec server spec used by UI to decode payloads for all users interacting with this namespace.setCodecServer(CodecServerSpec.Builder builderForValue) Codec server spec used by UI to decode payloads for all users interacting with this namespace.setConnectivityRuleIds(int index, String value) The private connectivity configuration for the namespace.setFairness(FairnessSpec value) The fairness configuration for the namespace.setFairness(FairnessSpec.Builder builderForValue) The fairness configuration for the namespace.The high availability configuration for the namespace.setHighAvailability(HighAvailabilitySpec.Builder builderForValue) The high availability configuration for the namespace.setLifecycle(LifecycleSpec value) The lifecycle configuration for the namespace.setLifecycle(LifecycleSpec.Builder builderForValue) The lifecycle configuration for the namespace.setMtlsAuth(MtlsAuthSpec value) The mTLS auth configuration for the namespace.setMtlsAuth(MtlsAuthSpec.Builder builderForValue) The mTLS auth configuration for the namespace.The name to use for the namespace.setNameBytes(com.google.protobuf.ByteString value) The name to use for the namespace.setRegions(int index, String value) Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplicas(int index, ReplicaSpec value) The replication configuration for the namespace.setReplicas(int index, ReplicaSpec.Builder builderForValue) The replication configuration for the namespace.setRetentionDays(int value) The number of days the workflows data will be retained for.final NamespaceSpec.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, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.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<NamespaceSpec.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<NamespaceSpec.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<NamespaceSpec.Builder>
-
setField
public NamespaceSpec.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<NamespaceSpec.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
setRepeatedField
public NamespaceSpec.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<NamespaceSpec.Builder>
-
addRepeatedField
public NamespaceSpec.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<NamespaceSpec.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceSpec.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
mergeFrom
public NamespaceSpec.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<NamespaceSpec.Builder>- Throws:
IOException
-
getName
The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Specified by:
getNamein interfaceNamespaceSpecOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Specified by:
getNameBytesin interfaceNamespaceSpecOrBuilder- Returns:
- The bytes for name.
-
setName
The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRegionsList
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Specified by:
getRegionsListin interfaceNamespaceSpecOrBuilder- Returns:
- A list containing the regions.
-
getRegionsCount
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Specified by:
getRegionsCountin interfaceNamespaceSpecOrBuilder- Returns:
- The count of regions.
-
getRegions
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Specified by:
getRegionsin interfaceNamespaceSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The regions at the given index.
-
getRegionsBytes
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Specified by:
getRegionsBytesin interfaceNamespaceSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the regions at the given index.
-
setRegions
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Parameters:
index- The index to set the value at.value- The regions to set.- Returns:
- This builder for chaining.
-
addRegions
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Parameters:
value- The regions to add.- Returns:
- This builder for chaining.
-
addAllRegions
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Parameters:
values- The regions to add.- Returns:
- This builder for chaining.
-
clearRegions
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
addRegionsBytes
Deprecated.temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208The ids of the regions where the namespace should be available. The GetRegions API can be used to get the list of valid region ids. Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access. Please reach out to Temporal support for more information on global namespaces. When provisioned the global namespace will be active on the first region in the list and passive on the rest. Number of supported regions is 2. The regions is immutable. Once set, it cannot be changed. Example: ["aws-us-west-2"]. Deprecated: Use replicas field instead. temporal:versioning:max_version=v0.15.0
repeated string regions = 2 [deprecated = true];- Parameters:
value- The bytes of the regions to add.- Returns:
- This builder for chaining.
-
getRetentionDays
public int getRetentionDays()The number of days the workflows data will be retained for. Changes to the retention period may impact your storage costs. Any changes to the retention period will be applied to all new running workflows.
int32 retention_days = 3;- Specified by:
getRetentionDaysin interfaceNamespaceSpecOrBuilder- Returns:
- The retentionDays.
-
setRetentionDays
The number of days the workflows data will be retained for. Changes to the retention period may impact your storage costs. Any changes to the retention period will be applied to all new running workflows.
int32 retention_days = 3;- Parameters:
value- The retentionDays to set.- Returns:
- This builder for chaining.
-
clearRetentionDays
The number of days the workflows data will be retained for. Changes to the retention period may impact your storage costs. Any changes to the retention period will be applied to all new running workflows.
int32 retention_days = 3;- Returns:
- This builder for chaining.
-
hasMtlsAuth
public boolean hasMtlsAuth()The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;- Specified by:
hasMtlsAuthin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the mtlsAuth field is set.
-
getMtlsAuth
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;- Specified by:
getMtlsAuthin interfaceNamespaceSpecOrBuilder- Returns:
- The mtlsAuth.
-
setMtlsAuth
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4; -
setMtlsAuth
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4; -
mergeMtlsAuth
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4; -
clearMtlsAuth
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4; -
getMtlsAuthBuilder
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4; -
getMtlsAuthOrBuilder
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;- Specified by:
getMtlsAuthOrBuilderin interfaceNamespaceSpecOrBuilder
-
hasApiKeyAuth
public boolean hasApiKeyAuth()The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7;- Specified by:
hasApiKeyAuthin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the apiKeyAuth field is set.
-
getApiKeyAuth
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7;- Specified by:
getApiKeyAuthin interfaceNamespaceSpecOrBuilder- Returns:
- The apiKeyAuth.
-
setApiKeyAuth
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7; -
setApiKeyAuth
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7; -
mergeApiKeyAuth
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7; -
clearApiKeyAuth
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7; -
getApiKeyAuthBuilder
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7; -
getApiKeyAuthOrBuilder
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7;- Specified by:
getApiKeyAuthOrBuilderin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesCount
Deprecated.Description copied from interface:NamespaceSpecOrBuilderThe custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesCountin interfaceNamespaceSpecOrBuilder
-
containsCustomSearchAttributes
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
containsCustomSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributes
Deprecated.UsegetCustomSearchAttributesMap()instead.- Specified by:
getCustomSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesMap
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesMapin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesOrDefault
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesOrDefaultin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesOrThrow
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesOrThrowin interfaceNamespaceSpecOrBuilder
-
clearCustomSearchAttributes
Deprecated. -
removeCustomSearchAttributes
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true]; -
getMutableCustomSearchAttributes
Deprecated.Use alternate mutation accessors instead. -
putCustomSearchAttributes
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true]; -
putAllCustomSearchAttributes
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true]; -
getSearchAttributesCount
public int getSearchAttributesCount()Description copied from interface:NamespaceSpecOrBuilderThe custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesCountin interfaceNamespaceSpecOrBuilder
-
containsSearchAttributes
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
containsSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getSearchAttributes
Deprecated.UsegetSearchAttributesMap()instead.- Specified by:
getSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesMap
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesMapin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesOrDefault
public NamespaceSpec.SearchAttributeType getSearchAttributesOrDefault(String key, NamespaceSpec.SearchAttributeType defaultValue) The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesOrDefaultin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesOrThrow
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesOrThrowin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValue
Deprecated.UsegetSearchAttributesValueMap()instead.- Specified by:
getSearchAttributesValuein interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValueMap
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesValueMapin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValueOrDefault
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesValueOrDefaultin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValueOrThrow
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesValueOrThrowin interfaceNamespaceSpecOrBuilder
-
clearSearchAttributes
-
removeSearchAttributes
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8; -
getMutableSearchAttributes
Deprecated.Use alternate mutation accessors instead. -
putSearchAttributes
public NamespaceSpec.Builder putSearchAttributes(String key, NamespaceSpec.SearchAttributeType value) The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8; -
putAllSearchAttributes
public NamespaceSpec.Builder putAllSearchAttributes(Map<String, NamespaceSpec.SearchAttributeType> values) The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8; -
getMutableSearchAttributesValue
Deprecated.Use alternate mutation accessors instead. -
putSearchAttributesValue
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8; -
putAllSearchAttributesValue
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8; -
hasCodecServer
public boolean hasCodecServer()Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;- Specified by:
hasCodecServerin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the codecServer field is set.
-
getCodecServer
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;- Specified by:
getCodecServerin interfaceNamespaceSpecOrBuilder- Returns:
- The codecServer.
-
setCodecServer
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6; -
setCodecServer
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6; -
mergeCodecServer
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6; -
clearCodecServer
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6; -
getCodecServerBuilder
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6; -
getCodecServerOrBuilder
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;- Specified by:
getCodecServerOrBuilderin interfaceNamespaceSpecOrBuilder
-
hasLifecycle
public boolean hasLifecycle()The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;- Specified by:
hasLifecyclein interfaceNamespaceSpecOrBuilder- Returns:
- Whether the lifecycle field is set.
-
getLifecycle
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;- Specified by:
getLifecyclein interfaceNamespaceSpecOrBuilder- Returns:
- The lifecycle.
-
setLifecycle
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9; -
setLifecycle
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9; -
mergeLifecycle
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9; -
clearLifecycle
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9; -
getLifecycleBuilder
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9; -
getLifecycleOrBuilder
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;- Specified by:
getLifecycleOrBuilderin interfaceNamespaceSpecOrBuilder
-
hasHighAvailability
public boolean hasHighAvailability()The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;- Specified by:
hasHighAvailabilityin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the highAvailability field is set.
-
getHighAvailability
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;- Specified by:
getHighAvailabilityin interfaceNamespaceSpecOrBuilder- Returns:
- The highAvailability.
-
setHighAvailability
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10; -
setHighAvailability
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10; -
mergeHighAvailability
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10; -
clearHighAvailability
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10; -
getHighAvailabilityBuilder
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10; -
getHighAvailabilityOrBuilder
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;- Specified by:
getHighAvailabilityOrBuilderin interfaceNamespaceSpecOrBuilder
-
getConnectivityRuleIdsList
public com.google.protobuf.ProtocolStringList getConnectivityRuleIdsList()The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Specified by:
getConnectivityRuleIdsListin interfaceNamespaceSpecOrBuilder- Returns:
- A list containing the connectivityRuleIds.
-
getConnectivityRuleIdsCount
public int getConnectivityRuleIdsCount()The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Specified by:
getConnectivityRuleIdsCountin interfaceNamespaceSpecOrBuilder- Returns:
- The count of connectivityRuleIds.
-
getConnectivityRuleIds
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Specified by:
getConnectivityRuleIdsin interfaceNamespaceSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The connectivityRuleIds at the given index.
-
getConnectivityRuleIdsBytes
public com.google.protobuf.ByteString getConnectivityRuleIdsBytes(int index) The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Specified by:
getConnectivityRuleIdsBytesin interfaceNamespaceSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the connectivityRuleIds at the given index.
-
setConnectivityRuleIds
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
index- The index to set the value at.value- The connectivityRuleIds to set.- Returns:
- This builder for chaining.
-
addConnectivityRuleIds
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
value- The connectivityRuleIds to add.- Returns:
- This builder for chaining.
-
addAllConnectivityRuleIds
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
values- The connectivityRuleIds to add.- Returns:
- This builder for chaining.
-
clearConnectivityRuleIds
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Returns:
- This builder for chaining.
-
addConnectivityRuleIdsBytes
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
value- The bytes of the connectivityRuleIds to add.- Returns:
- This builder for chaining.
-
hasCapacitySpec
public boolean hasCapacitySpec()The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;- Specified by:
hasCapacitySpecin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the capacitySpec field is set.
-
getCapacitySpec
The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;- Specified by:
getCapacitySpecin interfaceNamespaceSpecOrBuilder- Returns:
- The capacitySpec.
-
setCapacitySpec
The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12; -
setCapacitySpec
The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12; -
mergeCapacitySpec
The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12; -
clearCapacitySpec
The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12; -
getCapacitySpecBuilder
The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12; -
getCapacitySpecOrBuilder
The capacity configuration for the namespace. There are two capacity modes: on-demand and provisioned. On-demand capacity mode allows the namespace to scale automatically based on usage. Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace. Can be changed only when the last capacity request is not in progress. temporal:versioning:min_version=v0.10.0
.temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;- Specified by:
getCapacitySpecOrBuilderin interfaceNamespaceSpecOrBuilder
-
getReplicasList
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;- Specified by:
getReplicasListin interfaceNamespaceSpecOrBuilder
-
getReplicasCount
public int getReplicasCount()The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;- Specified by:
getReplicasCountin interfaceNamespaceSpecOrBuilder
-
getReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;- Specified by:
getReplicasin interfaceNamespaceSpecOrBuilder
-
setReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
setReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
addReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
addReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
addReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
addReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
addAllReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
clearReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
removeReplicas
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
getReplicasBuilder
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
getReplicasOrBuilder
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;- Specified by:
getReplicasOrBuilderin interfaceNamespaceSpecOrBuilder
-
getReplicasOrBuilderList
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;- Specified by:
getReplicasOrBuilderListin interfaceNamespaceSpecOrBuilder
-
addReplicasBuilder
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
addReplicasBuilder
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
getReplicasBuilderList
The replication configuration for the namespace. At least one replica must be specified. Only one replica can be marked to be the desired active one. The status of each replica is available in the Namespace.replicas field. Use HighAvailabilitySpec to set the preferred primary replica ID. If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary. temporal:versioning:min_version=v0.13.0
repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13; -
hasFairness
public boolean hasFairness()The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;- Specified by:
hasFairnessin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the fairness field is set.
-
getFairness
The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;- Specified by:
getFairnessin interfaceNamespaceSpecOrBuilder- Returns:
- The fairness.
-
setFairness
The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14; -
setFairness
The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14; -
mergeFairness
The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14; -
clearFairness
The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14; -
getFairnessBuilder
The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14; -
getFairnessOrBuilder
The fairness configuration for the namespace. If unspecified, fairness features will be disabled. temporal:versioning:min_version=v0.14.0
.temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;- Specified by:
getFairnessOrBuilderin interfaceNamespaceSpecOrBuilder
-
setUnknownFields
public final NamespaceSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
mergeUnknownFields
public final NamespaceSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-