Interface NamespaceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Namespace, Namespace.Builder

@Generated(value="protoc", comments="annotations:NamespaceOrBuilder.java.pb.meta") public interface NamespaceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getNamespace

      String getNamespace()
       The namespace identifier.
       
      string namespace = 1;
      Returns:
      The namespace.
    • getNamespaceBytes

      com.google.protobuf.ByteString getNamespaceBytes()
       The namespace identifier.
       
      string namespace = 1;
      Returns:
      The bytes for namespace.
    • getResourceVersion

      String getResourceVersion()
       The current version of the namespace specification.
       The next update operation will have to include this version.
       
      string resource_version = 2;
      Returns:
      The resourceVersion.
    • getResourceVersionBytes

      com.google.protobuf.ByteString getResourceVersionBytes()
       The current version of the namespace specification.
       The next update operation will have to include this version.
       
      string resource_version = 2;
      Returns:
      The bytes for resourceVersion.
    • hasSpec

      boolean hasSpec()
       The namespace specification.
       
      .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
      Returns:
      Whether the spec field is set.
    • getSpec

      NamespaceSpec getSpec()
       The namespace specification.
       
      .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
      Returns:
      The spec.
    • getSpecOrBuilder

      NamespaceSpecOrBuilder getSpecOrBuilder()
       The namespace specification.
       
      .temporal.api.cloud.namespace.v1.NamespaceSpec spec = 3;
    • getStateDeprecated

      @Deprecated String getStateDeprecated()
      Deprecated.
      temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=328
       The current state of the namespace.
       Deprecated: Not supported after v0.3.0 api version. Use state instead.
       temporal:versioning:max_version=v0.3.0
       
      string state_deprecated = 4 [deprecated = true];
      Returns:
      The stateDeprecated.
    • getStateDeprecatedBytes

      @Deprecated com.google.protobuf.ByteString getStateDeprecatedBytes()
      Deprecated.
      temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=328
       The current state of the namespace.
       Deprecated: Not supported after v0.3.0 api version. Use state instead.
       temporal:versioning:max_version=v0.3.0
       
      string state_deprecated = 4 [deprecated = true];
      Returns:
      The bytes for stateDeprecated.
    • getStateValue

      int getStateValue()
       The current state of the namespace.
       For any failed state, reach out to Temporal Cloud support for remediation.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=state_deprecated
       
      .temporal.api.cloud.resource.v1.ResourceState state = 13;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      ResourceState getState()
       The current state of the namespace.
       For any failed state, reach out to Temporal Cloud support for remediation.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=state_deprecated
       
      .temporal.api.cloud.resource.v1.ResourceState state = 13;
      Returns:
      The state.
    • getAsyncOperationId

      String getAsyncOperationId()
       The id of the async operation that is creating/updating/deleting the namespace, if any.
       
      string async_operation_id = 5;
      Returns:
      The asyncOperationId.
    • getAsyncOperationIdBytes

      com.google.protobuf.ByteString getAsyncOperationIdBytes()
       The id of the async operation that is creating/updating/deleting the namespace, if any.
       
      string async_operation_id = 5;
      Returns:
      The bytes for asyncOperationId.
    • hasEndpoints

      boolean hasEndpoints()
       The endpoints for the namespace.
       
      .temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
      Returns:
      Whether the endpoints field is set.
    • getEndpoints

      Endpoints getEndpoints()
       The endpoints for the namespace.
       
      .temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
      Returns:
      The endpoints.
    • getEndpointsOrBuilder

      EndpointsOrBuilder getEndpointsOrBuilder()
       The endpoints for the namespace.
       
      .temporal.api.cloud.namespace.v1.Endpoints endpoints = 6;
    • getActiveRegion

      String getActiveRegion()
       The currently active region for the namespace.
       
      string active_region = 7;
      Returns:
      The activeRegion.
    • getActiveRegionBytes

      com.google.protobuf.ByteString getActiveRegionBytes()
       The currently active region for the namespace.
       
      string active_region = 7;
      Returns:
      The bytes for activeRegion.
    • hasLimits

      boolean hasLimits()
       The limits set on the namespace currently.
       
      .temporal.api.cloud.namespace.v1.Limits limits = 8;
      Returns:
      Whether the limits field is set.
    • getLimits

      Limits getLimits()
       The limits set on the namespace currently.
       
      .temporal.api.cloud.namespace.v1.Limits limits = 8;
      Returns:
      The limits.
    • getLimitsOrBuilder

      LimitsOrBuilder getLimitsOrBuilder()
       The limits set on the namespace currently.
       
      .temporal.api.cloud.namespace.v1.Limits limits = 8;
    • getPrivateConnectivitiesList

      List<PrivateConnectivity> getPrivateConnectivitiesList()
       The private connectivities for the namespace, if any.
       
      repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
    • getPrivateConnectivities

      PrivateConnectivity getPrivateConnectivities(int index)
       The private connectivities for the namespace, if any.
       
      repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
    • getPrivateConnectivitiesCount

      int getPrivateConnectivitiesCount()
       The private connectivities for the namespace, if any.
       
      repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
    • getPrivateConnectivitiesOrBuilderList

      List<? extends PrivateConnectivityOrBuilder> getPrivateConnectivitiesOrBuilderList()
       The private connectivities for the namespace, if any.
       
      repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
    • getPrivateConnectivitiesOrBuilder

      PrivateConnectivityOrBuilder getPrivateConnectivitiesOrBuilder(int index)
       The private connectivities for the namespace, if any.
       
      repeated .temporal.api.cloud.namespace.v1.PrivateConnectivity private_connectivities = 9;
    • hasCreatedTime

      boolean hasCreatedTime()
       The date and time when the namespace was created.
       
      .google.protobuf.Timestamp created_time = 10;
      Returns:
      Whether the createdTime field is set.
    • getCreatedTime

      com.google.protobuf.Timestamp getCreatedTime()
       The date and time when the namespace was created.
       
      .google.protobuf.Timestamp created_time = 10;
      Returns:
      The createdTime.
    • getCreatedTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()
       The date and time when the namespace was created.
       
      .google.protobuf.Timestamp created_time = 10;
    • hasLastModifiedTime

      boolean hasLastModifiedTime()
       The date and time when the namespace was last modified.
       Will not be set if the namespace has never been modified.
       
      .google.protobuf.Timestamp last_modified_time = 11;
      Returns:
      Whether the lastModifiedTime field is set.
    • getLastModifiedTime

      com.google.protobuf.Timestamp getLastModifiedTime()
       The date and time when the namespace was last modified.
       Will not be set if the namespace has never been modified.
       
      .google.protobuf.Timestamp last_modified_time = 11;
      Returns:
      The lastModifiedTime.
    • getLastModifiedTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()
       The date and time when the namespace was last modified.
       Will not be set if the namespace has never been modified.
       
      .google.protobuf.Timestamp last_modified_time = 11;
    • getRegionStatusCount

      @Deprecated int getRegionStatusCount()
      Deprecated.
       The status of each region where the namespace is available.
       The id of the region is the key and the status is the value of the map.
       deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12 [deprecated = true];
    • containsRegionStatus

      @Deprecated boolean containsRegionStatus(String key)
      Deprecated.
       The status of each region where the namespace is available.
       The id of the region is the key and the status is the value of the map.
       deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12 [deprecated = true];
    • getRegionStatus

      Deprecated.
    • getRegionStatusMap

      Deprecated.
       The status of each region where the namespace is available.
       The id of the region is the key and the status is the value of the map.
       deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12 [deprecated = true];
    • getRegionStatusOrDefault

      @Deprecated NamespaceRegionStatus getRegionStatusOrDefault(String key, NamespaceRegionStatus defaultValue)
      Deprecated.
       The status of each region where the namespace is available.
       The id of the region is the key and the status is the value of the map.
       deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12 [deprecated = true];
    • getRegionStatusOrThrow

      @Deprecated NamespaceRegionStatus getRegionStatusOrThrow(String key)
      Deprecated.
       The status of each region where the namespace is available.
       The id of the region is the key and the status is the value of the map.
       deprecated: Use replicas field instead.
       temporal:versioning:max_version=v0.15.0
       
      map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12 [deprecated = true];
    • getConnectivityRulesList

      List<ConnectivityRule> getConnectivityRulesList()
       The connectivity rules that are set on this namespace.
       
      repeated .temporal.api.cloud.connectivityrule.v1.ConnectivityRule connectivity_rules = 14;
    • getConnectivityRules

      ConnectivityRule getConnectivityRules(int index)
       The connectivity rules that are set on this namespace.
       
      repeated .temporal.api.cloud.connectivityrule.v1.ConnectivityRule connectivity_rules = 14;
    • getConnectivityRulesCount

      int getConnectivityRulesCount()
       The connectivity rules that are set on this namespace.
       
      repeated .temporal.api.cloud.connectivityrule.v1.ConnectivityRule connectivity_rules = 14;
    • getConnectivityRulesOrBuilderList

      List<? extends ConnectivityRuleOrBuilder> getConnectivityRulesOrBuilderList()
       The connectivity rules that are set on this namespace.
       
      repeated .temporal.api.cloud.connectivityrule.v1.ConnectivityRule connectivity_rules = 14;
    • getConnectivityRulesOrBuilder

      ConnectivityRuleOrBuilder getConnectivityRulesOrBuilder(int index)
       The connectivity rules that are set on this namespace.
       
      repeated .temporal.api.cloud.connectivityrule.v1.ConnectivityRule connectivity_rules = 14;
    • getTagsCount

      int getTagsCount()
       The tags for the namespace.
       
      map<string, string> tags = 15;
    • containsTags

      boolean containsTags(String key)
       The tags for the namespace.
       
      map<string, string> tags = 15;
    • getTags

      Deprecated.
      Use getTagsMap() instead.
    • getTagsMap

      Map<String,String> getTagsMap()
       The tags for the namespace.
       
      map<string, string> tags = 15;
    • getTagsOrDefault

      String getTagsOrDefault(String key, String defaultValue)
       The tags for the namespace.
       
      map<string, string> tags = 15;
    • getTagsOrThrow

      String getTagsOrThrow(String key)
       The tags for the namespace.
       
      map<string, string> tags = 15;
    • hasCapacity

      boolean hasCapacity()
       The status of namespace's capacity, if any.
       
      .temporal.api.cloud.namespace.v1.Capacity capacity = 16;
      Returns:
      Whether the capacity field is set.
    • getCapacity

      Capacity getCapacity()
       The status of namespace's capacity, if any.
       
      .temporal.api.cloud.namespace.v1.Capacity capacity = 16;
      Returns:
      The capacity.
    • getCapacityOrBuilder

      CapacityOrBuilder getCapacityOrBuilder()
       The status of namespace's capacity, if any.
       
      .temporal.api.cloud.namespace.v1.Capacity capacity = 16;
    • getReplicasList

      List<Replica> getReplicasList()
       The status of each replica where the namespace is available.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.Replica replicas = 18;
    • getReplicas

      Replica getReplicas(int index)
       The status of each replica where the namespace is available.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.Replica replicas = 18;
    • getReplicasCount

      int getReplicasCount()
       The status of each replica where the namespace is available.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.Replica replicas = 18;
    • getReplicasOrBuilderList

      List<? extends ReplicaOrBuilder> getReplicasOrBuilderList()
       The status of each replica where the namespace is available.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.Replica replicas = 18;
    • getReplicasOrBuilder

      ReplicaOrBuilder getReplicasOrBuilder(int index)
       The status of each replica where the namespace is available.
       temporal:versioning:min_version=v0.13.0
       
      repeated .temporal.api.cloud.namespace.v1.Replica replicas = 18;