Class NamespaceSpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.cloud.namespace.v1.NamespaceSpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NamespaceSpecOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:NamespaceSpec.java.pb.meta")
public final class NamespaceSpec
extends com.google.protobuf.GeneratedMessageV3
implements NamespaceSpecOrBuilder
Protobuf type
temporal.api.cloud.namespace.v1.NamespaceSpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.cloud.namespace.v1.NamespaceSpecstatic enumProtobuf enumtemporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeTypeNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.booleanThe custom search attributes to use for the namespace.booleanThe 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.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 NamespaceSpecstatic final com.google.protobuf.Descriptors.DescriptorThe 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 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.getName()The name to use for the namespace.com.google.protobuf.ByteStringThe name to use for the namespace.com.google.protobuf.Parser<NamespaceSpec> 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.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.intbooleanThe 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.inthashCode()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) final booleanstatic NamespaceSpec.Builderstatic NamespaceSpec.BuildernewBuilder(NamespaceSpec prototype) protected NamespaceSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static NamespaceSpecparseDelimitedFrom(InputStream input) static NamespaceSpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceSpecparseFrom(byte[] data) static NamespaceSpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceSpecparseFrom(com.google.protobuf.ByteString data) static NamespaceSpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceSpecparseFrom(com.google.protobuf.CodedInputStream input) static NamespaceSpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceSpecparseFrom(InputStream input) static NamespaceSpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static NamespaceSpecparseFrom(ByteBuffer data) static NamespaceSpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<NamespaceSpec> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
REGIONS_FIELD_NUMBER
public static final int REGIONS_FIELD_NUMBER- See Also:
-
RETENTION_DAYS_FIELD_NUMBER
public static final int RETENTION_DAYS_FIELD_NUMBER- See Also:
-
MTLS_AUTH_FIELD_NUMBER
public static final int MTLS_AUTH_FIELD_NUMBER- See Also:
-
API_KEY_AUTH_FIELD_NUMBER
public static final int API_KEY_AUTH_FIELD_NUMBER- See Also:
-
CUSTOM_SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int CUSTOM_SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER- See Also:
-
CODEC_SERVER_FIELD_NUMBER
public static final int CODEC_SERVER_FIELD_NUMBER- See Also:
-
LIFECYCLE_FIELD_NUMBER
public static final int LIFECYCLE_FIELD_NUMBER- See Also:
-
HIGH_AVAILABILITY_FIELD_NUMBER
public static final int HIGH_AVAILABILITY_FIELD_NUMBER- See Also:
-
CONNECTIVITY_RULE_IDS_FIELD_NUMBER
public static final int CONNECTIVITY_RULE_IDS_FIELD_NUMBER- See Also:
-
CAPACITY_SPEC_FIELD_NUMBER
public static final int CAPACITY_SPEC_FIELD_NUMBER- See Also:
-
REPLICAS_FIELD_NUMBER
public static final int REPLICAS_FIELD_NUMBER- See Also:
-
FAIRNESS_FIELD_NUMBER
public static final int FAIRNESS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static NamespaceSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static NamespaceSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static NamespaceSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static NamespaceSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static NamespaceSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected NamespaceSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-