Class NamespaceSpec.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NamespaceSpecOrBuilder, java.lang.Cloneable
    Enclosing class:
    NamespaceSpec

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

      • 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,
                                              java.lang.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,
                                                      java.lang.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,
                                                      java.lang.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>
      • 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 java.io.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:
        java.io.IOException
      • getName

        public java.lang.String getName()
         The name to use for the namespace.
         This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
         The name is immutable. Once set, it cannot be changed.
         
        string name = 1;
        Specified by:
        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​(java.lang.String value)
         The name to use for the namespace.
         This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
         The name is immutable. Once set, it cannot be changed.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public NamespaceSpec.Builder clearName()
         The name to use for the namespace.
         This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
         The name is immutable. Once set, it cannot be changed.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public NamespaceSpec.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name to use for the namespace.
         This will create a namespace that's available at '<name>.<account>.tmprl.cloud:7233'.
         The name is immutable. Once set, it cannot be changed.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getRegionsList

        public com.google.protobuf.ProtocolStringList getRegionsList()
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Specified by:
        getRegionsList in interface NamespaceSpecOrBuilder
        Returns:
        A list containing the regions.
      • getRegionsCount

        public int getRegionsCount()
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Specified by:
        getRegionsCount in interface NamespaceSpecOrBuilder
        Returns:
        The count of regions.
      • getRegions

        public java.lang.String getRegions​(int index)
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Specified by:
        getRegions in interface NamespaceSpecOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The regions at the given index.
      • getRegionsBytes

        public com.google.protobuf.ByteString getRegionsBytes​(int index)
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Specified by:
        getRegionsBytes in interface NamespaceSpecOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the regions at the given index.
      • setRegions

        public NamespaceSpec.Builder setRegions​(int index,
                                                java.lang.String value)
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Parameters:
        index - The index to set the value at.
        value - The regions to set.
        Returns:
        This builder for chaining.
      • addRegions

        public NamespaceSpec.Builder addRegions​(java.lang.String value)
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Parameters:
        value - The regions to add.
        Returns:
        This builder for chaining.
      • addAllRegions

        public NamespaceSpec.Builder addAllRegions​(java.lang.Iterable<java.lang.String> values)
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Parameters:
        values - The regions to add.
        Returns:
        This builder for chaining.
      • clearRegions

        public NamespaceSpec.Builder clearRegions()
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Returns:
        This builder for chaining.
      • addRegionsBytes

        public NamespaceSpec.Builder addRegionsBytes​(com.google.protobuf.ByteString value)
         The ids of the regions where the namespace should be available.
         The GetRegions API can be used to get the list of valid region ids.
         Specifying more than one region makes the namespace "global", which is currently a preview only feature with restricted access.
         Please reach out to Temporal support for more information on global namespaces.
         When provisioned the global namespace will be active on the first region in the list and passive on the rest.
         Number of supported regions is 2.
         The regions is immutable. Once set, it cannot be changed.
         Example: ["aws-us-west-2"].
         
        repeated string regions = 2;
        Parameters:
        value - The bytes of the regions to add.
        Returns:
        This builder for chaining.
      • getRetentionDays

        public int getRetentionDays()
         The number of days the workflows data will be retained for.
         Changes to the retention period may impact your storage costs.
         Any changes to the retention period will be applied to all new running workflows.
         
        int32 retention_days = 3;
        Specified by:
        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;
      • 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​(java.lang.String key)
        Deprecated.
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
         NOTE: currently deleting a search attribute is not supported.
         Optional, default is empty.
         Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
         temporal:versioning:max_version=v0.3.0
         
        map<string, string> custom_search_attributes = 5 [deprecated = true];
        Specified by:
        containsCustomSearchAttributes in interface NamespaceSpecOrBuilder
      • getCustomSearchAttributesMap

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getCustomSearchAttributesMap()
        Deprecated.
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
         NOTE: currently deleting a search attribute is not supported.
         Optional, default is empty.
         Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
         temporal:versioning:max_version=v0.3.0
         
        map<string, string> custom_search_attributes = 5 [deprecated = true];
        Specified by:
        getCustomSearchAttributesMap in interface NamespaceSpecOrBuilder
      • getCustomSearchAttributesOrDefault

        @Deprecated
        public java.lang.String getCustomSearchAttributesOrDefault​(java.lang.String key,
                                                                   java.lang.String defaultValue)
        Deprecated.
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
         NOTE: currently deleting a search attribute is not supported.
         Optional, default is empty.
         Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
         temporal:versioning:max_version=v0.3.0
         
        map<string, string> custom_search_attributes = 5 [deprecated = true];
        Specified by:
        getCustomSearchAttributesOrDefault in interface NamespaceSpecOrBuilder
      • getCustomSearchAttributesOrThrow

        @Deprecated
        public java.lang.String getCustomSearchAttributesOrThrow​(java.lang.String key)
        Deprecated.
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
         NOTE: currently deleting a search attribute is not supported.
         Optional, default is empty.
         Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
         temporal:versioning:max_version=v0.3.0
         
        map<string, string> custom_search_attributes = 5 [deprecated = true];
        Specified by:
        getCustomSearchAttributesOrThrow in interface NamespaceSpecOrBuilder
      • clearCustomSearchAttributes

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

        @Deprecated
        public NamespaceSpec.Builder removeCustomSearchAttributes​(java.lang.String key)
        Deprecated.
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
         NOTE: currently deleting a search attribute is not supported.
         Optional, default is empty.
         Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
         temporal:versioning:max_version=v0.3.0
         
        map<string, string> custom_search_attributes = 5 [deprecated = true];
      • getMutableCustomSearchAttributes

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableCustomSearchAttributes()
        Deprecated.
        Use alternate mutation accessors instead.
      • putCustomSearchAttributes

        @Deprecated
        public NamespaceSpec.Builder putCustomSearchAttributes​(java.lang.String key,
                                                               java.lang.String value)
        Deprecated.
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
         NOTE: currently deleting a search attribute is not supported.
         Optional, default is empty.
         Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
         temporal:versioning:max_version=v0.3.0
         
        map<string, string> custom_search_attributes = 5 [deprecated = true];
      • putAllCustomSearchAttributes

        @Deprecated
        public NamespaceSpec.Builder putAllCustomSearchAttributes​(java.util.Map<java.lang.String,​java.lang.String> values)
        Deprecated.
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Supported attribute types: text, keyword, int, double, bool, datetime, keyword_list.
         NOTE: currently deleting a search attribute is not supported.
         Optional, default is empty.
         Deprecated: Not supported after v0.3.0 api version. Use search_attributes instead.
         temporal:versioning:max_version=v0.3.0
         
        map<string, string> custom_search_attributes = 5 [deprecated = true];
      • getSearchAttributesCount

        public int getSearchAttributesCount()
        Description copied from interface: 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​(java.lang.String key)
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Note: currently deleting a search attribute is not supported.
         Optional, default is empty.
         temporal:versioning:min_version=v0.3.0
         temporal:enums:replaces=custom_search_attributes
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
        Specified by:
        containsSearchAttributes in interface NamespaceSpecOrBuilder
      • getSearchAttributesMap

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

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

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

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

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

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

        public NamespaceSpec.Builder removeSearchAttributes​(java.lang.String key)
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Note: currently deleting a search attribute is not supported.
         Optional, default is empty.
         temporal:versioning:min_version=v0.3.0
         temporal:enums:replaces=custom_search_attributes
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
      • getMutableSearchAttributes

        @Deprecated
        public java.util.Map<java.lang.String,​NamespaceSpec.SearchAttributeType> getMutableSearchAttributes()
        Deprecated.
        Use alternate mutation accessors instead.
      • putSearchAttributes

        public NamespaceSpec.Builder putSearchAttributes​(java.lang.String key,
                                                         NamespaceSpec.SearchAttributeType value)
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Note: currently deleting a search attribute is not supported.
         Optional, default is empty.
         temporal:versioning:min_version=v0.3.0
         temporal:enums:replaces=custom_search_attributes
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
      • putAllSearchAttributes

        public NamespaceSpec.Builder putAllSearchAttributes​(java.util.Map<java.lang.String,​NamespaceSpec.SearchAttributeType> values)
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Note: currently deleting a search attribute is not supported.
         Optional, default is empty.
         temporal:versioning:min_version=v0.3.0
         temporal:enums:replaces=custom_search_attributes
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
      • getMutableSearchAttributesValue

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.Integer> getMutableSearchAttributesValue()
        Deprecated.
        Use alternate mutation accessors instead.
      • putSearchAttributesValue

        public NamespaceSpec.Builder putSearchAttributesValue​(java.lang.String key,
                                                              int value)
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Note: currently deleting a search attribute is not supported.
         Optional, default is empty.
         temporal:versioning:min_version=v0.3.0
         temporal:enums:replaces=custom_search_attributes
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
      • putAllSearchAttributesValue

        public NamespaceSpec.Builder putAllSearchAttributesValue​(java.util.Map<java.lang.String,​java.lang.Integer> values)
         The custom search attributes to use for the namespace.
         The name of the attribute is the key and the type is the value.
         Note: currently deleting a search attribute is not supported.
         Optional, default is empty.
         temporal:versioning:min_version=v0.3.0
         temporal:enums:replaces=custom_search_attributes
         
        map<string, .temporal.api.cloud.namespace.v1.NamespaceSpec.SearchAttributeType> search_attributes = 8;
      • hasCodecServer

        public boolean hasCodecServer()
         Codec server spec used by UI to decode payloads for all users interacting with this namespace.
         Optional, default is unset.
         
        .temporal.api.cloud.namespace.v1.CodecServerSpec codec_server = 6;
        Specified by:
        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;
      • 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;
      • 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 java.lang.String getConnectivityRuleIds​(int index)
         The private connectivity configuration for the namespace.
         This will apply the connectivity rules specified to the namespace.
         temporal:versioning:min_version=v0.6.0
         
        repeated string connectivity_rule_ids = 11;
        Specified by:
        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,
                                                            java.lang.String value)
         The private connectivity configuration for the namespace.
         This will apply the connectivity rules specified to the namespace.
         temporal:versioning:min_version=v0.6.0
         
        repeated string connectivity_rule_ids = 11;
        Parameters:
        index - The index to set the value at.
        value - The connectivityRuleIds to set.
        Returns:
        This builder for chaining.
      • addConnectivityRuleIds

        public NamespaceSpec.Builder addConnectivityRuleIds​(java.lang.String value)
         The private connectivity configuration for the namespace.
         This will apply the connectivity rules specified to the namespace.
         temporal:versioning:min_version=v0.6.0
         
        repeated string connectivity_rule_ids = 11;
        Parameters:
        value - The connectivityRuleIds to add.
        Returns:
        This builder for chaining.
      • addAllConnectivityRuleIds

        public NamespaceSpec.Builder addAllConnectivityRuleIds​(java.lang.Iterable<java.lang.String> values)
         The private connectivity configuration for the namespace.
         This will apply the connectivity rules specified to the namespace.
         temporal:versioning:min_version=v0.6.0
         
        repeated string connectivity_rule_ids = 11;
        Parameters:
        values - The connectivityRuleIds to add.
        Returns:
        This builder for chaining.
      • clearConnectivityRuleIds

        public NamespaceSpec.Builder clearConnectivityRuleIds()
         The private connectivity configuration for the namespace.
         This will apply the connectivity rules specified to the namespace.
         temporal:versioning:min_version=v0.6.0
         
        repeated string connectivity_rule_ids = 11;
        Returns:
        This builder for chaining.
      • addConnectivityRuleIdsBytes

        public NamespaceSpec.Builder addConnectivityRuleIdsBytes​(com.google.protobuf.ByteString value)
         The private connectivity configuration for the namespace.
         This will apply the connectivity rules specified to the namespace.
         temporal:versioning:min_version=v0.6.0
         
        repeated string connectivity_rule_ids = 11;
        Parameters:
        value - The bytes of the connectivityRuleIds to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final NamespaceSpec.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        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>