Class NamespaceSpec.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- 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.BuilderaddAllConnectivityRuleIds(java.lang.Iterable<java.lang.String> values)The private connectivity configuration for the namespace.NamespaceSpec.BuilderaddAllRegions(java.lang.Iterable<java.lang.String> values)The ids of the regions where the namespace should be available.NamespaceSpec.BuilderaddConnectivityRuleIds(java.lang.String value)The private connectivity configuration for the namespace.NamespaceSpec.BuilderaddConnectivityRuleIdsBytes(com.google.protobuf.ByteString value)The private connectivity configuration for the namespace.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.BuilderclearConnectivityRuleIds()The private connectivity configuration for the namespace.NamespaceSpec.BuilderclearCustomSearchAttributes()Deprecated.NamespaceSpec.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)NamespaceSpec.BuilderclearHighAvailability()The high availability configuration for the namespace.NamespaceSpec.BuilderclearLifecycle()The lifecycle configuration for the namespace.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.BuilderclearSearchAttributes()NamespaceSpec.Builderclone()booleancontainsCustomSearchAttributes(java.lang.String key)Deprecated.booleancontainsSearchAttributes(java.lang.String key)The custom search attributes to use for the namespace.ApiKeyAuthSpecgetApiKeyAuth()The API key auth configuration for the namespace.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.lang.StringgetConnectivityRuleIds(int index)The private connectivity configuration for the namespace.com.google.protobuf.ByteStringgetConnectivityRuleIdsBytes(int index)The private connectivity configuration for the namespace.intgetConnectivityRuleIdsCount()The private connectivity configuration for the namespace.com.google.protobuf.ProtocolStringListgetConnectivityRuleIdsList()The private connectivity configuration for the namespace.java.util.Map<java.lang.String,java.lang.String>getCustomSearchAttributes()Deprecated.intgetCustomSearchAttributesCount()Deprecated.java.util.Map<java.lang.String,java.lang.String>getCustomSearchAttributesMap()Deprecated.java.lang.StringgetCustomSearchAttributesOrDefault(java.lang.String key, java.lang.String defaultValue)Deprecated.java.lang.StringgetCustomSearchAttributesOrThrow(java.lang.String key)Deprecated.NamespaceSpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HighAvailabilitySpecgetHighAvailability()The high availability configuration for the namespace.HighAvailabilitySpec.BuildergetHighAvailabilityBuilder()The high availability configuration for the namespace.HighAvailabilitySpecOrBuildergetHighAvailabilityOrBuilder()The high availability configuration for the namespace.LifecycleSpecgetLifecycle()The lifecycle configuration for the namespace.LifecycleSpec.BuildergetLifecycleBuilder()The lifecycle configuration for the namespace.LifecycleSpecOrBuildergetLifecycleOrBuilder()The lifecycle configuration for the namespace.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.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType>getMutableSearchAttributes()Deprecated.java.util.Map<java.lang.String,java.lang.Integer>getMutableSearchAttributesValue()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.java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType>getSearchAttributes()Deprecated.intgetSearchAttributesCount()The custom search attributes to use for the namespace.java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType>getSearchAttributesMap()The custom search attributes to use for the namespace.NamespaceSpec.SearchAttributeTypegetSearchAttributesOrDefault(java.lang.String key, NamespaceSpec.SearchAttributeType defaultValue)The custom search attributes to use for the namespace.NamespaceSpec.SearchAttributeTypegetSearchAttributesOrThrow(java.lang.String key)The custom search attributes to use for the namespace.java.util.Map<java.lang.String,java.lang.Integer>getSearchAttributesValue()Deprecated.java.util.Map<java.lang.String,java.lang.Integer>getSearchAttributesValueMap()The custom search attributes to use for the namespace.intgetSearchAttributesValueOrDefault(java.lang.String key, int defaultValue)The custom search attributes to use for the namespace.intgetSearchAttributesValueOrThrow(java.lang.String key)The custom search attributes to use for the namespace.booleanhasApiKeyAuth()The API key auth configuration for the namespace.booleanhasCodecServer()Codec server spec used by UI to decode payloads for all users interacting with this namespace.booleanhasHighAvailability()The high availability configuration for the namespace.booleanhasLifecycle()The lifecycle configuration for the namespace.booleanhasMtlsAuth()The mTLS auth configuration for the namespace.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(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.BuildermergeHighAvailability(HighAvailabilitySpec value)The high availability configuration for the namespace.NamespaceSpec.BuildermergeLifecycle(LifecycleSpec value)The lifecycle configuration for the namespace.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)Deprecated.NamespaceSpec.BuilderputAllSearchAttributes(java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType> values)The custom search attributes to use for the namespace.NamespaceSpec.BuilderputAllSearchAttributesValue(java.util.Map<java.lang.String,java.lang.Integer> values)The custom search attributes to use for the namespace.NamespaceSpec.BuilderputCustomSearchAttributes(java.lang.String key, java.lang.String value)Deprecated.NamespaceSpec.BuilderputSearchAttributes(java.lang.String key, NamespaceSpec.SearchAttributeType value)The custom search attributes to use for the namespace.NamespaceSpec.BuilderputSearchAttributesValue(java.lang.String key, int value)The custom search attributes to use for the namespace.NamespaceSpec.BuilderremoveCustomSearchAttributes(java.lang.String key)Deprecated.NamespaceSpec.BuilderremoveSearchAttributes(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.BuildersetConnectivityRuleIds(int index, java.lang.String value)The private connectivity configuration for the namespace.NamespaceSpec.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)NamespaceSpec.BuildersetHighAvailability(HighAvailabilitySpec value)The high availability configuration for the namespace.NamespaceSpec.BuildersetHighAvailability(HighAvailabilitySpec.Builder builderForValue)The high availability configuration for the namespace.NamespaceSpec.BuildersetLifecycle(LifecycleSpec value)The lifecycle configuration for the namespace.NamespaceSpec.BuildersetLifecycle(LifecycleSpec.Builder builderForValue)The lifecycle configuration for the namespace.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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
-
clear
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=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
public ApiKeyAuthSpec getApiKeyAuth()
The API key auth configuration for the namespace. If unspecified, API keys will be disabled. temporal:versioning:min_version=v0.2.0
.temporal.api.cloud.namespace.v1.ApiKeyAuthSpec api_key_auth = 7;- 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=v0.2.0
.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=v0.2.0
.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=v0.2.0
.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=v0.2.0
.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=v0.2.0
.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=v0.2.0
.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 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 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 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 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 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 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 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 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 v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];- Specified by:
getCustomSearchAttributesOrThrowin interfaceNamespaceSpecOrBuilder
-
clearCustomSearchAttributes
@Deprecated public NamespaceSpec.Builder clearCustomSearchAttributes()
Deprecated.
-
removeCustomSearchAttributes
@Deprecated public NamespaceSpec.Builder removeCustomSearchAttributes(java.lang.String key)
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];
-
getMutableCustomSearchAttributes
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableCustomSearchAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putCustomSearchAttributes
@Deprecated public NamespaceSpec.Builder putCustomSearchAttributes(java.lang.String key, java.lang.String value)
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];
-
putAllCustomSearchAttributes
@Deprecated public NamespaceSpec.Builder putAllCustomSearchAttributes(java.util.Map<java.lang.String,java.lang.String> values)
Deprecated.The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list. NOTE: currently deleting a search attribute is not supported. Optional, default is empty. Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead. temporal:versioning:max_version=v0.3.0
map<string, string> custom_search_attributes = 5 [deprecated = true];
-
getSearchAttributesCount
public int getSearchAttributesCount()
Description copied from interface:NamespaceSpecOrBuilderThe custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesCountin interfaceNamespaceSpecOrBuilder
-
containsSearchAttributes
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=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 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=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(java.lang.String key, NamespaceSpec.SearchAttributeType defaultValue)
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- 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=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 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=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
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=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
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=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;- Specified by:
getSearchAttributesValueOrThrowin interfaceNamespaceSpecOrBuilder
-
clearSearchAttributes
public NamespaceSpec.Builder clearSearchAttributes()
-
removeSearchAttributes
public NamespaceSpec.Builder removeSearchAttributes(java.lang.String key)
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
-
getMutableSearchAttributes
@Deprecated public java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType> getMutableSearchAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putSearchAttributes
public NamespaceSpec.Builder putSearchAttributes(java.lang.String key, NamespaceSpec.SearchAttributeType value)
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
-
putAllSearchAttributes
public NamespaceSpec.Builder putAllSearchAttributes(java.util.Map<java.lang.String,NamespaceSpec.SearchAttributeType> values)
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
-
getMutableSearchAttributesValue
@Deprecated public java.util.Map<java.lang.String,java.lang.Integer> getMutableSearchAttributesValue()
Deprecated.Use alternate mutation accessors instead.
-
putSearchAttributesValue
public NamespaceSpec.Builder putSearchAttributesValue(java.lang.String key, int value)
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
-
putAllSearchAttributesValue
public NamespaceSpec.Builder putAllSearchAttributesValue(java.util.Map<java.lang.String,java.lang.Integer> values)
The custom search attributes to use for the namespace. The name of the attribute is the key and the type is the value. Note: currently deleting a search attribute is not supported. Optional, default is empty. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=custom_search_attributes
map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
-
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
-
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
public LifecycleSpec getLifecycle()
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;- Specified by:
getLifecyclein interfaceNamespaceSpecOrBuilder- Returns:
- The lifecycle.
-
setLifecycle
public NamespaceSpec.Builder setLifecycle(LifecycleSpec value)
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;
-
setLifecycle
public NamespaceSpec.Builder setLifecycle(LifecycleSpec.Builder builderForValue)
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;
-
mergeLifecycle
public NamespaceSpec.Builder mergeLifecycle(LifecycleSpec value)
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;
-
clearLifecycle
public NamespaceSpec.Builder clearLifecycle()
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;
-
getLifecycleBuilder
public LifecycleSpec.Builder getLifecycleBuilder()
The lifecycle configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.LifecycleSpec lifecycle = 9;
-
getLifecycleOrBuilder
public LifecycleSpecOrBuilder 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
public HighAvailabilitySpec getHighAvailability()
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;- Specified by:
getHighAvailabilityin interfaceNamespaceSpecOrBuilder- Returns:
- The highAvailability.
-
setHighAvailability
public NamespaceSpec.Builder setHighAvailability(HighAvailabilitySpec value)
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;
-
setHighAvailability
public NamespaceSpec.Builder setHighAvailability(HighAvailabilitySpec.Builder builderForValue)
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;
-
mergeHighAvailability
public NamespaceSpec.Builder mergeHighAvailability(HighAvailabilitySpec value)
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;
-
clearHighAvailability
public NamespaceSpec.Builder clearHighAvailability()
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;
-
getHighAvailabilityBuilder
public HighAvailabilitySpec.Builder getHighAvailabilityBuilder()
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;
-
getHighAvailabilityOrBuilder
public HighAvailabilitySpecOrBuilder getHighAvailabilityOrBuilder()
The high availability configuration for the namespace. temporal:versioning:min_version=v0.4.0
.temporal.api.cloud.namespace.v1.HighAvailabilitySpec high_availability = 10;- 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
public java.lang.String getConnectivityRuleIds(int index)
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Specified by:
getConnectivityRuleIdsin interfaceNamespaceSpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The connectivityRuleIds at the given index.
-
getConnectivityRuleIdsBytes
public com.google.protobuf.ByteString getConnectivityRuleIdsBytes(int index)
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Specified by:
getConnectivityRuleIdsBytesin interfaceNamespaceSpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the connectivityRuleIds at the given index.
-
setConnectivityRuleIds
public NamespaceSpec.Builder setConnectivityRuleIds(int index, java.lang.String value)
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
index- The index to set the value at.value- The connectivityRuleIds to set.- Returns:
- This builder for chaining.
-
addConnectivityRuleIds
public NamespaceSpec.Builder addConnectivityRuleIds(java.lang.String value)
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
value- The connectivityRuleIds to add.- Returns:
- This builder for chaining.
-
addAllConnectivityRuleIds
public NamespaceSpec.Builder addAllConnectivityRuleIds(java.lang.Iterable<java.lang.String> values)
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
values- The connectivityRuleIds to add.- Returns:
- This builder for chaining.
-
clearConnectivityRuleIds
public NamespaceSpec.Builder clearConnectivityRuleIds()
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Returns:
- This builder for chaining.
-
addConnectivityRuleIdsBytes
public NamespaceSpec.Builder addConnectivityRuleIdsBytes(com.google.protobuf.ByteString value)
The private connectivity configuration for the namespace. This will apply the connectivity rules specified to the namespace. temporal:versioning:min_version=v0.6.0
repeated string connectivity_rule_ids = 11;- Parameters:
value- The bytes of the connectivityRuleIds to add.- Returns:
- This builder for chaining.
-
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>
-
-