Interface NamespaceSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NamespaceSpec,NamespaceSpec.Builder
@Generated(value="protoc", comments="annotations:NamespaceSpecOrBuilder.java.pb.meta") public interface NamespaceSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsCustomSearchAttributes(java.lang.String key)Deprecated.booleancontainsSearchAttributes(java.lang.String key)The custom search attributes to use for the namespace.ApiKeyAuthSpecgetApiKeyAuth()The API key auth configuration for the namespace.ApiKeyAuthSpecOrBuildergetApiKeyAuthOrBuilder()The API key auth configuration for the namespace.CodecServerSpecgetCodecServer()Codec server spec used by UI to decode payloads for all users interacting with this namespace.CodecServerSpecOrBuildergetCodecServerOrBuilder()Codec server spec used by UI to decode payloads for all users interacting with this namespace.java.lang.StringgetConnectivityRuleIds(int index)The private connectivity configuration for the namespace.com.google.protobuf.ByteStringgetConnectivityRuleIdsBytes(int index)The private connectivity configuration for the namespace.intgetConnectivityRuleIdsCount()The private connectivity configuration for the namespace.java.util.List<java.lang.String>getConnectivityRuleIdsList()The private connectivity configuration for the namespace.java.util.Map<java.lang.String,java.lang.String>getCustomSearchAttributes()Deprecated.intgetCustomSearchAttributesCount()Deprecated.java.util.Map<java.lang.String,java.lang.String>getCustomSearchAttributesMap()Deprecated.java.lang.StringgetCustomSearchAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)Deprecated.java.lang.StringgetCustomSearchAttributesOrThrow(java.lang.String key)Deprecated.HighAvailabilitySpecgetHighAvailability()The high availability configuration for the namespace.HighAvailabilitySpecOrBuildergetHighAvailabilityOrBuilder()The high availability configuration for the namespace.LifecycleSpecgetLifecycle()The lifecycle configuration for the namespace.LifecycleSpecOrBuildergetLifecycleOrBuilder()The lifecycle configuration for the namespace.MtlsAuthSpecgetMtlsAuth()The mTLS auth configuration for the namespace.MtlsAuthSpecOrBuildergetMtlsAuthOrBuilder()The mTLS auth configuration for the namespace.java.lang.StringgetName()The name to use for the namespace.com.google.protobuf.ByteStringgetNameBytes()The name to use for the namespace.java.lang.StringgetRegions(int index)The ids of the regions where the namespace should be available.com.google.protobuf.ByteStringgetRegionsBytes(int index)The ids of the regions where the namespace should be available.intgetRegionsCount()The ids of the regions where the namespace should be available.java.util.List<java.lang.String>getRegionsList()The ids of the regions where the namespace should be available.intgetRetentionDays()The number of days the workflows data will be retained for.java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType>getSearchAttributes()Deprecated.intgetSearchAttributesCount()The custom search attributes to use for the namespace.java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType>getSearchAttributesMap()The custom search attributes to use for the namespace.NamespaceSpec.SearchAttributeTypegetSearchAttributesOrDefault(java.lang.String key, NamespaceSpec.SearchAttributeType defaultValue)The custom search attributes to use for the namespace.NamespaceSpec.SearchAttributeTypegetSearchAttributesOrThrow(java.lang.String key)The custom search attributes to use for the namespace.java.util.Map<java.lang.String,java.lang.Integer>getSearchAttributesValue()Deprecated.java.util.Map<java.lang.String,java.lang.Integer>getSearchAttributesValueMap()The custom search attributes to use for the namespace.intgetSearchAttributesValueOrDefault(java.lang.String key, int defaultValue)The custom search attributes to use for the namespace.intgetSearchAttributesValueOrThrow(java.lang.String key)The custom search attributes to use for the namespace.booleanhasApiKeyAuth()The API key auth configuration for the namespace.booleanhasCodecServer()Codec server spec used by UI to decode payloads for all users interacting with this namespace.booleanhasHighAvailability()The high availability configuration for the namespace.booleanhasLifecycle()The lifecycle configuration for the namespace.booleanhasMtlsAuth()The mTLS auth configuration for the namespace.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
java.lang.String 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;- Returns:
- The name.
-
getNameBytes
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;- Returns:
- The bytes for name.
-
getRegionsList
java.util.List<java.lang.String> getRegionsList()
The 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"].
repeated string regions = 2;- Returns:
- A list containing the regions.
-
getRegionsCount
int getRegionsCount()
The 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"].
repeated string regions = 2;- Returns:
- The count of regions.
-
getRegions
java.lang.String getRegions(int index)
The 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"].
repeated string regions = 2;- Parameters:
index- The index of the element to return.- Returns:
- The regions at the given index.
-
getRegionsBytes
com.google.protobuf.ByteString getRegionsBytes(int index)
The 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"].
repeated string regions = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the regions at the given index.
-
getRetentionDays
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;- Returns:
- The retentionDays.
-
hasMtlsAuth
boolean hasMtlsAuth()
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;- Returns:
- Whether the mtlsAuth field is set.
-
getMtlsAuth
MtlsAuthSpec getMtlsAuth()
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;- Returns:
- The mtlsAuth.
-
getMtlsAuthOrBuilder
MtlsAuthSpecOrBuilder getMtlsAuthOrBuilder()
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;
-
hasApiKeyAuth
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;- Returns:
- Whether the apiKeyAuth field is set.
-
getApiKeyAuth
ApiKeyAuthSpec 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;- Returns:
- The apiKeyAuth.
-
getApiKeyAuthOrBuilder
ApiKeyAuthSpecOrBuilder 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;
-
getCustomSearchAttributesCount
@Deprecated int getCustomSearchAttributesCount()
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];
-
containsCustomSearchAttributes
@Deprecated boolean containsCustomSearchAttributes(java.lang.String key)
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];
-
getCustomSearchAttributes
@Deprecated java.util.Map<java.lang.String,java.lang.String> getCustomSearchAttributes()
Deprecated.UsegetCustomSearchAttributesMap()instead.
-
getCustomSearchAttributesMap
@Deprecated java.util.Map<java.lang.String,java.lang.String> 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];
-
getCustomSearchAttributesOrDefault
@Deprecated java.lang.String getCustomSearchAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)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];
-
getCustomSearchAttributesOrThrow
@Deprecated java.lang.String getCustomSearchAttributesOrThrow(java.lang.String key)
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
int getSearchAttributesCount()
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;
-
containsSearchAttributes
boolean containsSearchAttributes(java.lang.String key)
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;
-
getSearchAttributes
@Deprecated java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType> getSearchAttributes()
Deprecated.UsegetSearchAttributesMap()instead.
-
getSearchAttributesMap
java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType> 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;
-
getSearchAttributesOrDefault
NamespaceSpec.SearchAttributeType getSearchAttributesOrDefault(java.lang.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;
-
getSearchAttributesOrThrow
NamespaceSpec.SearchAttributeType getSearchAttributesOrThrow(java.lang.String key)
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;
-
getSearchAttributesValue
@Deprecated java.util.Map<java.lang.String,java.lang.Integer> getSearchAttributesValue()
Deprecated.UsegetSearchAttributesValueMap()instead.
-
getSearchAttributesValueMap
java.util.Map<java.lang.String,java.lang.Integer> 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;
-
getSearchAttributesValueOrDefault
int getSearchAttributesValueOrDefault(java.lang.String key, int 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;
-
getSearchAttributesValueOrThrow
int getSearchAttributesValueOrThrow(java.lang.String key)
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
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;- Returns:
- Whether the codecServer field is set.
-
getCodecServer
CodecServerSpec 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;- Returns:
- The codecServer.
-
getCodecServerOrBuilder
CodecServerSpecOrBuilder 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;
-
hasLifecycle
boolean hasLifecycle()
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;- Returns:
- Whether the lifecycle field is set.
-
getLifecycle
LifecycleSpec getLifecycle()
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;- Returns:
- The lifecycle.
-
getLifecycleOrBuilder
LifecycleSpecOrBuilder getLifecycleOrBuilder()
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;
-
hasHighAvailability
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;- Returns:
- Whether the highAvailability field is set.
-
getHighAvailability
HighAvailabilitySpec getHighAvailability()
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;- Returns:
- The highAvailability.
-
getHighAvailabilityOrBuilder
HighAvailabilitySpecOrBuilder getHighAvailabilityOrBuilder()
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;
-
getConnectivityRuleIdsList
java.util.List<java.lang.String> 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;- Returns:
- A list containing the connectivityRuleIds.
-
getConnectivityRuleIdsCount
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;- Returns:
- The count of connectivityRuleIds.
-
getConnectivityRuleIds
java.lang.String getConnectivityRuleIds(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;- Parameters:
index- The index of the element to return.- Returns:
- The connectivityRuleIds at the given index.
-
getConnectivityRuleIdsBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the connectivityRuleIds at the given index.
-
-