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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsRegionStatus(java.lang.String key)The status of each region where the namespace is available.java.lang.StringgetActiveRegion()The currently active region for the namespace.com.google.protobuf.ByteStringgetActiveRegionBytes()The currently active region for the namespace.java.lang.StringgetAsyncOperationId()The id of the async operation that is creating/updating/deleting the namespace, if any.com.google.protobuf.ByteStringgetAsyncOperationIdBytes()The id of the async operation that is creating/updating/deleting the namespace, if any.com.google.protobuf.TimestampgetCreatedTime()The date and time when the namespace was created.com.google.protobuf.TimestampOrBuildergetCreatedTimeOrBuilder()The date and time when the namespace was created.EndpointsgetEndpoints()The endpoints for the namespace.EndpointsOrBuildergetEndpointsOrBuilder()The endpoints for the namespace.com.google.protobuf.TimestampgetLastModifiedTime()The date and time when the namespace was last modified.com.google.protobuf.TimestampOrBuildergetLastModifiedTimeOrBuilder()The date and time when the namespace was last modified.LimitsgetLimits()The limits set on the namespace currently.LimitsOrBuildergetLimitsOrBuilder()The limits set on the namespace currently.java.lang.StringgetNamespace()The namespace identifier.com.google.protobuf.ByteStringgetNamespaceBytes()The namespace identifier.PrivateConnectivitygetPrivateConnectivities(int index)The private connectivities for the namespace, if any.intgetPrivateConnectivitiesCount()The private connectivities for the namespace, if any.java.util.List<PrivateConnectivity>getPrivateConnectivitiesList()The private connectivities for the namespace, if any.PrivateConnectivityOrBuildergetPrivateConnectivitiesOrBuilder(int index)The private connectivities for the namespace, if any.java.util.List<? extends PrivateConnectivityOrBuilder>getPrivateConnectivitiesOrBuilderList()The private connectivities for the namespace, if any.java.util.Map<java.lang.String,NamespaceRegionStatus>getRegionStatus()Deprecated.intgetRegionStatusCount()The status of each region where the namespace is available.java.util.Map<java.lang.String,NamespaceRegionStatus>getRegionStatusMap()The status of each region where the namespace is available.NamespaceRegionStatusgetRegionStatusOrDefault(java.lang.String key, NamespaceRegionStatus defaultValue)The status of each region where the namespace is available.NamespaceRegionStatusgetRegionStatusOrThrow(java.lang.String key)The status of each region where the namespace is available.java.lang.StringgetResourceVersion()The current version of the namespace specification.com.google.protobuf.ByteStringgetResourceVersionBytes()The current version of the namespace specification.NamespaceSpecgetSpec()The namespace specification.NamespaceSpecOrBuildergetSpecOrBuilder()The namespace specification.ResourceStategetState()The current state of the namespace.java.lang.StringgetStateDeprecated()Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated.com.google.protobuf.ByteStringgetStateDeprecatedBytes()Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated.intgetStateValue()The current state of the namespace.booleanhasCreatedTime()The date and time when the namespace was created.booleanhasEndpoints()The endpoints for the namespace.booleanhasLastModifiedTime()The date and time when the namespace was last modified.booleanhasLimits()The limits set on the namespace currently.booleanhasSpec()The namespace specification.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.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
java.lang.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 java.lang.String getStateDeprecated()
Deprecated.temporal.api.cloud.namespace.v1.Namespace.state_deprecated is deprecated. See temporal/api/cloud/namespace/v1/message.proto;l=165The current state of the namespace. Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
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=165The current state of the namespace. Deprecated: Not supported after 2024-10-01-00 api version. Use state instead. temporal:versioning:max_version=2024-10-01-00
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=2024-10-01-00 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=2024-10-01-00 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 13;- Returns:
- The state.
-
getAsyncOperationId
java.lang.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
java.lang.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
java.util.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
java.util.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
int getRegionStatusCount()
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.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
containsRegionStatus
boolean containsRegionStatus(java.lang.String key)
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.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
getRegionStatus
@Deprecated java.util.Map<java.lang.String,NamespaceRegionStatus> getRegionStatus()
Deprecated.UsegetRegionStatusMap()instead.
-
getRegionStatusMap
java.util.Map<java.lang.String,NamespaceRegionStatus> getRegionStatusMap()
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.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
getRegionStatusOrDefault
NamespaceRegionStatus getRegionStatusOrDefault(java.lang.String key, NamespaceRegionStatus defaultValue)
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.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
getRegionStatusOrThrow
NamespaceRegionStatus getRegionStatusOrThrow(java.lang.String key)
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.
map<string, .temporal.api.cloud.namespace.v1.NamespaceRegionStatus> region_status = 12;
-
-