Class NamespaceSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NamespaceSpec.Builder>
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, Cloneable
Enclosing class:
NamespaceSpec

public static final class NamespaceSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder> implements NamespaceSpecOrBuilder
Protobuf type temporal.api.cloud.namespace.v1.NamespaceSpec
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • clear

      public NamespaceSpec.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • getDefaultInstanceForType

      public NamespaceSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public NamespaceSpec build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NamespaceSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public NamespaceSpec.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • setField

      public NamespaceSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • clearField

      public NamespaceSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • clearOneof

      public NamespaceSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • setRepeatedField

      public NamespaceSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • addRepeatedField

      public NamespaceSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • mergeFrom

      public NamespaceSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NamespaceSpec.Builder>
    • mergeFrom

      public NamespaceSpec.Builder mergeFrom(NamespaceSpec other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • mergeFrom

      public NamespaceSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NamespaceSpec.Builder>
      Throws:
      IOException
    • getName

      public 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:
      getName in interface NamespaceSpecOrBuilder
      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:
      getNameBytes in interface NamespaceSpecOrBuilder
      Returns:
      The bytes for name.
    • setName

      public NamespaceSpec.Builder setName(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

      @Deprecated public com.google.protobuf.ProtocolStringList getRegionsList()
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Specified by:
      getRegionsList in interface NamespaceSpecOrBuilder
      Returns:
      A list containing the regions.
    • getRegionsCount

      @Deprecated public int getRegionsCount()
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Specified by:
      getRegionsCount in interface NamespaceSpecOrBuilder
      Returns:
      The count of regions.
    • getRegions

      @Deprecated public String getRegions(int index)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Specified by:
      getRegions in interface NamespaceSpecOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The regions at the given index.
    • getRegionsBytes

      @Deprecated public com.google.protobuf.ByteString getRegionsBytes(int index)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Specified by:
      getRegionsBytes in interface NamespaceSpecOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the regions at the given index.
    • setRegions

      @Deprecated public NamespaceSpec.Builder setRegions(int index, String value)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Parameters:
      index - The index to set the value at.
      value - The regions to set.
      Returns:
      This builder for chaining.
    • addRegions

      @Deprecated public NamespaceSpec.Builder addRegions(String value)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Parameters:
      value - The regions to add.
      Returns:
      This builder for chaining.
    • addAllRegions

      @Deprecated public NamespaceSpec.Builder addAllRegions(Iterable<String> values)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Parameters:
      values - The regions to add.
      Returns:
      This builder for chaining.
    • clearRegions

      @Deprecated public NamespaceSpec.Builder clearRegions()
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      Returns:
      This builder for chaining.
    • addRegionsBytes

      @Deprecated public NamespaceSpec.Builder addRegionsBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.cloud.namespace.v1.NamespaceSpec.regions is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=208
       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"].
       Deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      repeated string regions = 2 [deprecated = true];
      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:
      getRetentionDays in interface NamespaceSpecOrBuilder
      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:
      hasMtlsAuth in interface NamespaceSpecOrBuilder
      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:
      getMtlsAuth in interface NamespaceSpecOrBuilder
      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:
      getMtlsAuthOrBuilder in interface NamespaceSpecOrBuilder
    • 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:
      hasApiKeyAuth in interface NamespaceSpecOrBuilder
      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:
      getApiKeyAuth in interface NamespaceSpecOrBuilder
      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:
      getApiKeyAuthOrBuilder in interface NamespaceSpecOrBuilder
    • getCustomSearchAttributesCount

      @Deprecated public int getCustomSearchAttributesCount()
      Deprecated.
      Description copied from interface: NamespaceSpecOrBuilder
       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:
      getCustomSearchAttributesCount in interface NamespaceSpecOrBuilder
    • containsCustomSearchAttributes

      @Deprecated public boolean containsCustomSearchAttributes(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:
      containsCustomSearchAttributes in interface NamespaceSpecOrBuilder
    • getCustomSearchAttributes

      @Deprecated public Map<String,String> getCustomSearchAttributes()
      Deprecated.
      Specified by:
      getCustomSearchAttributes in interface NamespaceSpecOrBuilder
    • getCustomSearchAttributesMap

      @Deprecated public Map<String,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:
      getCustomSearchAttributesMap in interface NamespaceSpecOrBuilder
    • getCustomSearchAttributesOrDefault

      @Deprecated public String getCustomSearchAttributesOrDefault(String key, 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:
      getCustomSearchAttributesOrDefault in interface NamespaceSpecOrBuilder
    • getCustomSearchAttributesOrThrow

      @Deprecated public String getCustomSearchAttributesOrThrow(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:
      getCustomSearchAttributesOrThrow in interface NamespaceSpecOrBuilder
    • clearCustomSearchAttributes

      @Deprecated public NamespaceSpec.Builder clearCustomSearchAttributes()
      Deprecated.
    • removeCustomSearchAttributes

      @Deprecated public NamespaceSpec.Builder removeCustomSearchAttributes(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 Map<String,String> getMutableCustomSearchAttributes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putCustomSearchAttributes

      @Deprecated public NamespaceSpec.Builder putCustomSearchAttributes(String key, 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(Map<String,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: NamespaceSpecOrBuilder
       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:
      getSearchAttributesCount in interface NamespaceSpecOrBuilder
    • containsSearchAttributes

      public boolean containsSearchAttributes(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:
      containsSearchAttributes in interface NamespaceSpecOrBuilder
    • getSearchAttributes

      Deprecated.
      Specified by:
      getSearchAttributes in interface NamespaceSpecOrBuilder
    • getSearchAttributesMap

      public Map<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:
      getSearchAttributesMap in interface NamespaceSpecOrBuilder
    • getSearchAttributesOrDefault

      public NamespaceSpec.SearchAttributeType getSearchAttributesOrDefault(String key, NamespaceSpec.SearchAttributeType defaultValue)
       The custom search attributes to use for the namespace.
       The name of the attribute is the key and the type is the value.
       Note: currently deleting a search attribute is not supported.
       Optional, default is empty.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=custom_search_attributes
       
      map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
      Specified by:
      getSearchAttributesOrDefault in interface NamespaceSpecOrBuilder
    • getSearchAttributesOrThrow

      public NamespaceSpec.SearchAttributeType getSearchAttributesOrThrow(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:
      getSearchAttributesOrThrow in interface NamespaceSpecOrBuilder
    • getSearchAttributesValue

      @Deprecated public Map<String,Integer> getSearchAttributesValue()
      Deprecated.
      Specified by:
      getSearchAttributesValue in interface NamespaceSpecOrBuilder
    • getSearchAttributesValueMap

      public Map<String,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:
      getSearchAttributesValueMap in interface NamespaceSpecOrBuilder
    • getSearchAttributesValueOrDefault

      public int getSearchAttributesValueOrDefault(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:
      getSearchAttributesValueOrDefault in interface NamespaceSpecOrBuilder
    • getSearchAttributesValueOrThrow

      public int getSearchAttributesValueOrThrow(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:
      getSearchAttributesValueOrThrow in interface NamespaceSpecOrBuilder
    • clearSearchAttributes

      public NamespaceSpec.Builder clearSearchAttributes()
    • removeSearchAttributes

      public NamespaceSpec.Builder removeSearchAttributes(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 Map<String,NamespaceSpec.SearchAttributeType> getMutableSearchAttributes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSearchAttributes

      public NamespaceSpec.Builder putSearchAttributes(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(Map<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 Map<String,Integer> getMutableSearchAttributesValue()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSearchAttributesValue

      public NamespaceSpec.Builder putSearchAttributesValue(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(Map<String,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:
      hasCodecServer in interface NamespaceSpecOrBuilder
      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:
      getCodecServer in interface NamespaceSpecOrBuilder
      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:
      getCodecServerOrBuilder in interface NamespaceSpecOrBuilder
    • 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:
      hasLifecycle in interface NamespaceSpecOrBuilder
      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:
      getLifecycle in interface NamespaceSpecOrBuilder
      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:
      getLifecycleOrBuilder in interface NamespaceSpecOrBuilder
    • 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:
      hasHighAvailability in interface NamespaceSpecOrBuilder
      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:
      getHighAvailability in interface NamespaceSpecOrBuilder
      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:
      getHighAvailabilityOrBuilder in interface NamespaceSpecOrBuilder
    • 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:
      getConnectivityRuleIdsList in interface NamespaceSpecOrBuilder
      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:
      getConnectivityRuleIdsCount in interface NamespaceSpecOrBuilder
      Returns:
      The count of connectivityRuleIds.
    • getConnectivityRuleIds

      public 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:
      getConnectivityRuleIds in interface NamespaceSpecOrBuilder
      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:
      getConnectivityRuleIdsBytes in interface NamespaceSpecOrBuilder
      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, 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(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(Iterable<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.
    • hasCapacitySpec

      public boolean hasCapacitySpec()
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
      Specified by:
      hasCapacitySpec in interface NamespaceSpecOrBuilder
      Returns:
      Whether the capacitySpec field is set.
    • getCapacitySpec

      public CapacitySpec getCapacitySpec()
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
      Specified by:
      getCapacitySpec in interface NamespaceSpecOrBuilder
      Returns:
      The capacitySpec.
    • setCapacitySpec

      public NamespaceSpec.Builder setCapacitySpec(CapacitySpec value)
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
    • setCapacitySpec

      public NamespaceSpec.Builder setCapacitySpec(CapacitySpec.Builder builderForValue)
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
    • mergeCapacitySpec

      public NamespaceSpec.Builder mergeCapacitySpec(CapacitySpec value)
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
    • clearCapacitySpec

      public NamespaceSpec.Builder clearCapacitySpec()
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
    • getCapacitySpecBuilder

      public CapacitySpec.Builder getCapacitySpecBuilder()
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
    • getCapacitySpecOrBuilder

      public CapacitySpecOrBuilder getCapacitySpecOrBuilder()
       The capacity configuration for the namespace.
       There are two capacity modes: on-demand and provisioned.
       On-demand capacity mode allows the namespace to scale automatically based on usage.
       Provisioned capacity mode allows the user to specify a fixed amount of capacity (in TRUs) for the namespace.
       Can be changed only when the last capacity request is not in progress.
       temporal:versioning:min_version=v0.10.0
       
      .temporal.api.cloud.namespace.v1.CapacitySpec capacity_spec = 12;
      Specified by:
      getCapacitySpecOrBuilder in interface NamespaceSpecOrBuilder
    • getReplicasList

      public List<ReplicaSpec> getReplicasList()
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
      Specified by:
      getReplicasList in interface NamespaceSpecOrBuilder
    • getReplicasCount

      public int getReplicasCount()
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
      Specified by:
      getReplicasCount in interface NamespaceSpecOrBuilder
    • getReplicas

      public ReplicaSpec getReplicas(int index)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
      Specified by:
      getReplicas in interface NamespaceSpecOrBuilder
    • setReplicas

      public NamespaceSpec.Builder setReplicas(int index, ReplicaSpec value)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • setReplicas

      public NamespaceSpec.Builder setReplicas(int index, ReplicaSpec.Builder builderForValue)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • addReplicas

      public NamespaceSpec.Builder addReplicas(ReplicaSpec value)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • addReplicas

      public NamespaceSpec.Builder addReplicas(int index, ReplicaSpec value)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • addReplicas

      public NamespaceSpec.Builder addReplicas(ReplicaSpec.Builder builderForValue)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • addReplicas

      public NamespaceSpec.Builder addReplicas(int index, ReplicaSpec.Builder builderForValue)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • addAllReplicas

      public NamespaceSpec.Builder addAllReplicas(Iterable<? extends ReplicaSpec> values)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • clearReplicas

      public NamespaceSpec.Builder clearReplicas()
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • removeReplicas

      public NamespaceSpec.Builder removeReplicas(int index)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • getReplicasBuilder

      public ReplicaSpec.Builder getReplicasBuilder(int index)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • getReplicasOrBuilder

      public ReplicaSpecOrBuilder getReplicasOrBuilder(int index)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
      Specified by:
      getReplicasOrBuilder in interface NamespaceSpecOrBuilder
    • getReplicasOrBuilderList

      public List<? extends ReplicaSpecOrBuilder> getReplicasOrBuilderList()
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
      Specified by:
      getReplicasOrBuilderList in interface NamespaceSpecOrBuilder
    • addReplicasBuilder

      public ReplicaSpec.Builder addReplicasBuilder()
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • addReplicasBuilder

      public ReplicaSpec.Builder addReplicasBuilder(int index)
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • getReplicasBuilderList

      public List<ReplicaSpec.Builder> getReplicasBuilderList()
       The replication configuration for the namespace.
       At least one replica must be specified.
       Only one replica can be marked to be the desired active one.
       The status of each replica is available in the Namespace.replicas field.
       Use HighAvailabilitySpec to set the preferred primary replica ID.
       If the preferred primary replica ID is not set, the first replica in this replicas list will be the preferred primary.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.ReplicaSpec replicas = 13;
    • hasFairness

      public boolean hasFairness()
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
      Specified by:
      hasFairness in interface NamespaceSpecOrBuilder
      Returns:
      Whether the fairness field is set.
    • getFairness

      public FairnessSpec getFairness()
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
      Specified by:
      getFairness in interface NamespaceSpecOrBuilder
      Returns:
      The fairness.
    • setFairness

      public NamespaceSpec.Builder setFairness(FairnessSpec value)
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
    • setFairness

      public NamespaceSpec.Builder setFairness(FairnessSpec.Builder builderForValue)
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
    • mergeFairness

      public NamespaceSpec.Builder mergeFairness(FairnessSpec value)
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
    • clearFairness

      public NamespaceSpec.Builder clearFairness()
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
    • getFairnessBuilder

      public FairnessSpec.Builder getFairnessBuilder()
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
    • getFairnessOrBuilder

      public FairnessSpecOrBuilder getFairnessOrBuilder()
       The fairness configuration for the namespace.
       If unspecified, fairness features will be disabled.
       temporal:versioning:min_version=v0.14.0
       
      .temporal.api.cloud.namespace.v1.FairnessSpec fairness = 14;
      Specified by:
      getFairnessOrBuilder in interface NamespaceSpecOrBuilder
    • setUnknownFields

      public final NamespaceSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>
    • mergeUnknownFields

      public final NamespaceSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NamespaceSpec.Builder>