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,java.io.Serializable
@Generated(value="protoc", comments="annotations:NamespaceSpec.java.pb.meta") public final class NamespaceSpec extends com.google.protobuf.GeneratedMessageV3 implements NamespaceSpecOrBuilderProtobuf typetemporal.api.cloud.namespace.v1.NamespaceSpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNamespaceSpec.BuilderProtobuf typetemporal.api.cloud.namespace.v1.NamespaceSpecstatic classNamespaceSpec.SearchAttributeTypeProtobuf enumtemporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intAPI_KEY_AUTH_FIELD_NUMBERstatic intCODEC_SERVER_FIELD_NUMBERstatic intCUSTOM_SEARCH_ATTRIBUTES_FIELD_NUMBERstatic intMTLS_AUTH_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intREGIONS_FIELD_NUMBERstatic intRETENTION_DAYS_FIELD_NUMBERstatic intSEARCH_ATTRIBUTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.booleanequals(java.lang.Object obj)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.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.static NamespaceSpecgetDefaultInstance()NamespaceSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.Parser<NamespaceSpec>getParserForType()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.com.google.protobuf.ProtocolStringListgetRegionsList()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.intgetSerializedSize()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.inthashCode()booleanhasMtlsAuth()The mTLS auth configuration for the namespace.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static NamespaceSpec.BuildernewBuilder()static NamespaceSpec.BuildernewBuilder(NamespaceSpec prototype)NamespaceSpec.BuildernewBuilderForType()protected NamespaceSpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static NamespaceSpecparseDelimitedFrom(java.io.InputStream input)static NamespaceSpecparseDelimitedFrom(java.io.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(java.io.InputStream input)static NamespaceSpecparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static NamespaceSpecparseFrom(java.nio.ByteBuffer data)static NamespaceSpecparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<NamespaceSpec>parser()NamespaceSpec.BuildertoBuilder()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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGIONS_FIELD_NUMBER
public static final int REGIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RETENTION_DAYS_FIELD_NUMBER
public static final int RETENTION_DAYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MTLS_AUTH_FIELD_NUMBER
public static final int MTLS_AUTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_KEY_AUTH_FIELD_NUMBER
public static final int API_KEY_AUTH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int CUSTOM_SEARCH_ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEARCH_ATTRIBUTES_FIELD_NUMBER
public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CODEC_SERVER_FIELD_NUMBER
public static final int CODEC_SERVER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public 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;- 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
public com.google.protobuf.ProtocolStringList 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;- Specified by:
getRegionsListin interfaceNamespaceSpecOrBuilder- Returns:
- A list containing the regions.
-
getRegionsCount
public 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;- Specified by:
getRegionsCountin interfaceNamespaceSpecOrBuilder- Returns:
- The count of regions.
-
getRegions
public 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;- Specified by:
getRegionsin interfaceNamespaceSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The regions at the given index.
-
getRegionsBytes
public 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;- 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
public MtlsAuthSpec 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
public MtlsAuthSpecOrBuilder 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=2024-05-13-00
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7;- Specified by:
hasApiKeyAuthin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the apiKeyAuth field is set.
-
getApiKeyAuth
public ApiKeyAuthSpec getApiKeyAuth()
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=2024-05-13-00
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7;- Specified by:
getApiKeyAuthin interfaceNamespaceSpecOrBuilder- Returns:
- The apiKeyAuth.
-
getApiKeyAuthOrBuilder
public ApiKeyAuthSpecOrBuilder getApiKeyAuthOrBuilder()
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=2024-05-13-00
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7;- Specified by:
getApiKeyAuthOrBuilderin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesCount
@Deprecated public int 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 2024-10-01-00 api version. Use search_attributes instead. temporal:versioning:max_version=2024-10-01-00
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesCountin interfaceNamespaceSpecOrBuilder
-
containsCustomSearchAttributes
@Deprecated public 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 2024-10-01-00 api version. Use search_attributes instead. temporal:versioning:max_version=2024-10-01-00
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
containsCustomSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributes
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getCustomSearchAttributes()
Deprecated.UsegetCustomSearchAttributesMap()instead.- Specified by:
getCustomSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesMap
@Deprecated public 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 2024-10-01-00 api version. Use search_attributes instead. temporal:versioning:max_version=2024-10-01-00
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesMapin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesOrDefault
@Deprecated public 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 2024-10-01-00 api version. Use search_attributes instead. temporal:versioning:max_version=2024-10-01-00
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesOrDefaultin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesOrThrow
@Deprecated public 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 2024-10-01-00 api version. Use search_attributes instead. temporal:versioning:max_version=2024-10-01-00
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=2024-10-01-00 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesCountin interfaceNamespaceSpecOrBuilder
-
containsSearchAttributes
public 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=2024-10-01-00 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
containsSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getSearchAttributes
@Deprecated public java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType> getSearchAttributes()
Deprecated.UsegetSearchAttributesMap()instead.- Specified by:
getSearchAttributesin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesMap
public 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=2024-10-01-00 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(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=2024-10-01-00 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesOrDefaultin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesOrThrow
public 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=2024-10-01-00 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesOrThrowin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValue
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getSearchAttributesValue()
Deprecated.UsegetSearchAttributesValueMap()instead.- Specified by:
getSearchAttributesValuein interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValueMap
public 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=2024-10-01-00 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesValueMapin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValueOrDefault
public 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=2024-10-01-00 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesValueOrDefaultin interfaceNamespaceSpecOrBuilder
-
getSearchAttributesValueOrThrow
public 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=2024-10-01-00 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
public 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;- Specified by:
getCodecServerin interfaceNamespaceSpecOrBuilder- Returns:
- The codecServer.
-
getCodecServerOrBuilder
public 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;- Specified by:
getCodecServerOrBuilderin interfaceNamespaceSpecOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static NamespaceSpec parseFrom(java.nio.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
public static NamespaceSpec parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static NamespaceSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static NamespaceSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static NamespaceSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static NamespaceSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static NamespaceSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public NamespaceSpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static NamespaceSpec.Builder newBuilder()
-
newBuilder
public static NamespaceSpec.Builder newBuilder(NamespaceSpec prototype)
-
toBuilder
public NamespaceSpec.Builder 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
public static NamespaceSpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<NamespaceSpec> parser()
-
getParserForType
public com.google.protobuf.Parser<NamespaceSpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public NamespaceSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-