Class NamespaceSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
- io.temporal.api.cloud.namespace.v1.NamespaceSpec.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,NamespaceSpecOrBuilder,java.lang.Cloneable
- Enclosing class:
- NamespaceSpec
public static final class NamespaceSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder> implements NamespaceSpecOrBuilder
Protobuf typetemporal.api.cloud.namespace.v1.NamespaceSpec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NamespaceSpec.BuilderaddAllRegions(java.lang.Iterable<java.lang.String> values)The ids of the regions where the namespace should be available.NamespaceSpec.BuilderaddRegions(java.lang.String value)The ids of the regions where the namespace should be available.NamespaceSpec.BuilderaddRegionsBytes(com.google.protobuf.ByteString value)The ids of the regions where the namespace should be available.NamespaceSpec.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NamespaceSpecbuild()NamespaceSpecbuildPartial()NamespaceSpec.Builderclear()NamespaceSpec.BuilderclearApiKeyAuth()The API key auth configuration for the namespace.NamespaceSpec.BuilderclearCodecServer()Codec server spec used by UI to decode payloads for all users interacting with this namespace.NamespaceSpec.BuilderclearCustomSearchAttributes()NamespaceSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NamespaceSpec.BuilderclearMtlsAuth()The mTLS auth configuration for the namespace.NamespaceSpec.BuilderclearName()The name to use for the namespace.NamespaceSpec.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)NamespaceSpec.BuilderclearRegions()The ids of the regions where the namespace should be available.NamespaceSpec.BuilderclearRetentionDays()The number of days the workflows data will be retained for.NamespaceSpec.Builderclone()booleancontainsCustomSearchAttributes(java.lang.String key)The custom search attributes to use for the namespace.ApiKeyAuthSpecgetApiKeyAuth()The API key auth configuration for the namespace.ApiKeyAuthSpec.BuildergetApiKeyAuthBuilder()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.CodecServerSpec.BuildergetCodecServerBuilder()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()The custom search attributes to use for the namespace.java.util.Map<java.lang.String,java.lang.String>getCustomSearchAttributesMap()The custom search attributes to use for the namespace.java.lang.StringgetCustomSearchAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)The custom search attributes to use for the namespace.java.lang.StringgetCustomSearchAttributesOrThrow(java.lang.String key)The custom search attributes to use for the namespace.NamespaceSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()MtlsAuthSpecgetMtlsAuth()The mTLS auth configuration for the namespace.MtlsAuthSpec.BuildergetMtlsAuthBuilder()The mTLS auth configuration for the namespace.MtlsAuthSpecOrBuildergetMtlsAuthOrBuilder()The mTLS auth configuration for the namespace.java.util.Map<java.lang.String,java.lang.String>getMutableCustomSearchAttributes()Deprecated.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.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.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.booleanhasMtlsAuth()The mTLS auth configuration for the namespace.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()NamespaceSpec.BuildermergeApiKeyAuth(ApiKeyAuthSpec value)The API key auth configuration for the namespace.NamespaceSpec.BuildermergeCodecServer(CodecServerSpec value)Codec server spec used by UI to decode payloads for all users interacting with this namespace.NamespaceSpec.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)NamespaceSpec.BuildermergeFrom(com.google.protobuf.Message other)NamespaceSpec.BuildermergeFrom(NamespaceSpec other)NamespaceSpec.BuildermergeMtlsAuth(MtlsAuthSpec value)The mTLS auth configuration for the namespace.NamespaceSpec.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)NamespaceSpec.BuilderputAllCustomSearchAttributes(java.util.Map<java.lang.String,java.lang.String> values)The custom search attributes to use for the namespace.NamespaceSpec.BuilderputCustomSearchAttributes(java.lang.String key, java.lang.String value)The custom search attributes to use for the namespace.NamespaceSpec.BuilderremoveCustomSearchAttributes(java.lang.String key)The custom search attributes to use for the namespace.NamespaceSpec.BuildersetApiKeyAuth(ApiKeyAuthSpec value)The API key auth configuration for the namespace.NamespaceSpec.BuildersetApiKeyAuth(ApiKeyAuthSpec.Builder builderForValue)The API key auth configuration for the namespace.NamespaceSpec.BuildersetCodecServer(CodecServerSpec value)Codec server spec used by UI to decode payloads for all users interacting with this namespace.NamespaceSpec.BuildersetCodecServer(CodecServerSpec.Builder builderForValue)Codec server spec used by UI to decode payloads for all users interacting with this namespace.NamespaceSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NamespaceSpec.BuildersetMtlsAuth(MtlsAuthSpec value)The mTLS auth configuration for the namespace.NamespaceSpec.BuildersetMtlsAuth(MtlsAuthSpec.Builder builderForValue)The mTLS auth configuration for the namespace.NamespaceSpec.BuildersetName(java.lang.String value)The name to use for the namespace.NamespaceSpec.BuildersetNameBytes(com.google.protobuf.ByteString value)The name to use for the namespace.NamespaceSpec.BuildersetRegions(int index, java.lang.String value)The ids of the regions where the namespace should be available.NamespaceSpec.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)NamespaceSpec.BuildersetRetentionDays(int value)The number of days the workflows data will be retained for.NamespaceSpec.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
clear
public NamespaceSpec.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
getDefaultInstanceForType
public NamespaceSpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public NamespaceSpec build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public NamespaceSpec buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public NamespaceSpec.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
setField
public NamespaceSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
clearField
public NamespaceSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
clearOneof
public NamespaceSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
setRepeatedField
public NamespaceSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
addRepeatedField
public NamespaceSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
mergeFrom
public NamespaceSpec.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceSpec.Builder>
-
mergeFrom
public NamespaceSpec.Builder mergeFrom(NamespaceSpec other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
mergeFrom
public NamespaceSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NamespaceSpec.Builder>- Throws:
java.io.IOException
-
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.
-
setName
public NamespaceSpec.Builder setName(java.lang.String value)
The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public NamespaceSpec.Builder clearName()
The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public NamespaceSpec.Builder setNameBytes(com.google.protobuf.ByteString value)
The name to use for the namespace. This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'. The name is immutable. Once set, it cannot be changed.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRegionsList
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.
-
setRegions
public NamespaceSpec.Builder setRegions(int index, java.lang.String value)
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 to set the value at.value- The regions to set.- Returns:
- This builder for chaining.
-
addRegions
public NamespaceSpec.Builder addRegions(java.lang.String value)
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:
value- The regions to add.- Returns:
- This builder for chaining.
-
addAllRegions
public NamespaceSpec.Builder addAllRegions(java.lang.Iterable<java.lang.String> values)
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:
values- The regions to add.- Returns:
- This builder for chaining.
-
clearRegions
public NamespaceSpec.Builder clearRegions()
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:
- This builder for chaining.
-
addRegionsBytes
public NamespaceSpec.Builder addRegionsBytes(com.google.protobuf.ByteString value)
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:
value- The bytes of the regions to add.- Returns:
- This builder for chaining.
-
getRetentionDays
public int getRetentionDays()
The number of days the workflows data will be retained for. Changes to the retention period may impact your storage costs. Any changes to the retention period will be applied to all new running workflows.
int32 retention_days = 3;- Specified by:
getRetentionDaysin interfaceNamespaceSpecOrBuilder- Returns:
- The retentionDays.
-
setRetentionDays
public NamespaceSpec.Builder setRetentionDays(int value)
The number of days the workflows data will be retained for. Changes to the retention period may impact your storage costs. Any changes to the retention period will be applied to all new running workflows.
int32 retention_days = 3;- Parameters:
value- The retentionDays to set.- Returns:
- This builder for chaining.
-
clearRetentionDays
public NamespaceSpec.Builder clearRetentionDays()
The number of days the workflows data will be retained for. Changes to the retention period may impact your storage costs. Any changes to the retention period will be applied to all new running workflows.
int32 retention_days = 3;- Returns:
- This builder for chaining.
-
hasMtlsAuth
public boolean hasMtlsAuth()
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;- Specified by:
hasMtlsAuthin interfaceNamespaceSpecOrBuilder- Returns:
- Whether the mtlsAuth field is set.
-
getMtlsAuth
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.
-
setMtlsAuth
public NamespaceSpec.Builder setMtlsAuth(MtlsAuthSpec value)
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;
-
setMtlsAuth
public NamespaceSpec.Builder setMtlsAuth(MtlsAuthSpec.Builder builderForValue)
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;
-
mergeMtlsAuth
public NamespaceSpec.Builder mergeMtlsAuth(MtlsAuthSpec value)
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;
-
clearMtlsAuth
public NamespaceSpec.Builder clearMtlsAuth()
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;
-
getMtlsAuthBuilder
public MtlsAuthSpec.Builder getMtlsAuthBuilder()
The mTLS auth configuration for the namespace. If unspecified, mTLS will be disabled.
.temporal.api.cloud.namespace.v1.MtlsAuthSpec mtls_auth = 4;
-
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.
-
setApiKeyAuth
public NamespaceSpec.Builder setApiKeyAuth(ApiKeyAuthSpec value)
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;
-
setApiKeyAuth
public NamespaceSpec.Builder setApiKeyAuth(ApiKeyAuthSpec.Builder builderForValue)
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;
-
mergeApiKeyAuth
public NamespaceSpec.Builder mergeApiKeyAuth(ApiKeyAuthSpec value)
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;
-
clearApiKeyAuth
public NamespaceSpec.Builder clearApiKeyAuth()
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;
-
getApiKeyAuthBuilder
public ApiKeyAuthSpec.Builder getApiKeyAuthBuilder()
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;
-
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
public int getCustomSearchAttributesCount()
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.
map<string, string> custom_search_attributes = 5;- Specified by:
getCustomSearchAttributesCountin interfaceNamespaceSpecOrBuilder
-
containsCustomSearchAttributes
public boolean containsCustomSearchAttributes(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. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty.
map<string, string> custom_search_attributes = 5;- 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
public java.util.Map<java.lang.String,java.lang.String> getCustomSearchAttributesMap()
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.
map<string, string> custom_search_attributes = 5;- Specified by:
getCustomSearchAttributesMapin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesOrDefault
public java.lang.String getCustomSearchAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)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.
map<string, string> custom_search_attributes = 5;- Specified by:
getCustomSearchAttributesOrDefaultin interfaceNamespaceSpecOrBuilder
-
getCustomSearchAttributesOrThrow
public java.lang.String getCustomSearchAttributesOrThrow(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. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty.
map<string, string> custom_search_attributes = 5;- Specified by:
getCustomSearchAttributesOrThrowin interfaceNamespaceSpecOrBuilder
-
clearCustomSearchAttributes
public NamespaceSpec.Builder clearCustomSearchAttributes()
-
removeCustomSearchAttributes
public NamespaceSpec.Builder removeCustomSearchAttributes(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. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty.
map<string, string> custom_search_attributes = 5;
-
getMutableCustomSearchAttributes
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableCustomSearchAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putCustomSearchAttributes
public NamespaceSpec.Builder putCustomSearchAttributes(java.lang.String key, java.lang.String value)
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.
map<string, string> custom_search_attributes = 5;
-
putAllCustomSearchAttributes
public NamespaceSpec.Builder putAllCustomSearchAttributes(java.util.Map<java.lang.String,java.lang.String> values)
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.
map<string, string> custom_search_attributes = 5;
-
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.
-
setCodecServer
public NamespaceSpec.Builder setCodecServer(CodecServerSpec value)
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;
-
setCodecServer
public NamespaceSpec.Builder setCodecServer(CodecServerSpec.Builder builderForValue)
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;
-
mergeCodecServer
public NamespaceSpec.Builder mergeCodecServer(CodecServerSpec value)
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;
-
clearCodecServer
public NamespaceSpec.Builder clearCodecServer()
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;
-
getCodecServerBuilder
public CodecServerSpec.Builder getCodecServerBuilder()
Codec server spec used by UI to decode payloads for all users interacting with this namespace. Optional, default is unset.
.temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;
-
getCodecServerOrBuilder
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
-
setUnknownFields
public final NamespaceSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
mergeUnknownFields
public final NamespaceSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
-