Class NamespaceSpec

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.cloud.namespace.v1.NamespaceSpec
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NamespaceSpecOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:NamespaceSpec.java.pb.meta") public final class NamespaceSpec extends com.google.protobuf.GeneratedMessageV3 implements NamespaceSpecOrBuilder
Protobuf type temporal.api.cloud.namespace.v1.NamespaceSpec
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • REGIONS_FIELD_NUMBER

      public static final int REGIONS_FIELD_NUMBER
      See Also:
    • RETENTION_DAYS_FIELD_NUMBER

      public static final int RETENTION_DAYS_FIELD_NUMBER
      See Also:
    • MTLS_AUTH_FIELD_NUMBER

      public static final int MTLS_AUTH_FIELD_NUMBER
      See Also:
    • API_KEY_AUTH_FIELD_NUMBER

      public static final int API_KEY_AUTH_FIELD_NUMBER
      See Also:
    • CUSTOM_SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int CUSTOM_SEARCH_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • SEARCH_ATTRIBUTES_FIELD_NUMBER

      public static final int SEARCH_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • CODEC_SERVER_FIELD_NUMBER

      public static final int CODEC_SERVER_FIELD_NUMBER
      See Also:
    • LIFECYCLE_FIELD_NUMBER

      public static final int LIFECYCLE_FIELD_NUMBER
      See Also:
    • HIGH_AVAILABILITY_FIELD_NUMBER

      public static final int HIGH_AVAILABILITY_FIELD_NUMBER
      See Also:
    • CONNECTIVITY_RULE_IDS_FIELD_NUMBER

      public static final int CONNECTIVITY_RULE_IDS_FIELD_NUMBER
      See Also:
    • CAPACITY_SPEC_FIELD_NUMBER

      public static final int CAPACITY_SPEC_FIELD_NUMBER
      See Also:
    • REPLICAS_FIELD_NUMBER

      public static final int REPLICAS_FIELD_NUMBER
      See Also:
    • FAIRNESS_FIELD_NUMBER

      public static final int FAIRNESS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static NamespaceSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static NamespaceSpec parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NamespaceSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NamespaceSpec parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static NamespaceSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NamespaceSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static NamespaceSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static NamespaceSpec.Builder newBuilder()
    • newBuilder

      public static NamespaceSpec.Builder newBuilder(NamespaceSpec prototype)
    • toBuilder

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

      protected NamespaceSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static NamespaceSpec getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<NamespaceSpec> parser()
    • getParserForType

      public com.google.protobuf.Parser<NamespaceSpec> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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