Interface ApiKeyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ApiKey,ApiKey.Builder
@Generated(value="protoc",
comments="annotations:ApiKeyOrBuilder.java.pb.meta")
public interface ApiKeyOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the async operation that is creating/updating/deleting the API key, if any.com.google.protobuf.ByteStringThe id of the async operation that is creating/updating/deleting the API key, if any.com.google.protobuf.TimestampThe date and time when the API key was created.com.google.protobuf.TimestampOrBuilderThe date and time when the API key was created.getId()The id of the API Key.com.google.protobuf.ByteStringThe id of the API Key.com.google.protobuf.TimestampThe date and time when the API key was last modified.com.google.protobuf.TimestampOrBuilderThe date and time when the API key was last modified.The current version of the API key specification.com.google.protobuf.ByteStringThe current version of the API key specification.getSpec()The API key specification.The API key specification.getState()The current state of the API key.Deprecated.temporal.api.cloud.identity.v1.ApiKey.state_deprecated is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.cloud.identity.v1.ApiKey.state_deprecated is deprecated.intThe current state of the API key.booleanThe date and time when the API key was created.booleanThe date and time when the API key was last modified.booleanhasSpec()The API key specification.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()The id of the API Key.
string id = 1;- Returns:
- The bytes for id.
-
getResourceVersion
String getResourceVersion()The current version of the API key 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 API key specification. The next update operation will have to include this version.
string resource_version = 2;- Returns:
- The bytes for resourceVersion.
-
hasSpec
boolean hasSpec()The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;- Returns:
- Whether the spec field is set.
-
getSpec
ApiKeySpec getSpec()The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3;- Returns:
- The spec.
-
getSpecOrBuilder
ApiKeySpecOrBuilder getSpecOrBuilder()The API key specification.
.temporal.api.cloud.identity.v1.ApiKeySpec spec = 3; -
getStateDeprecated
Deprecated.temporal.api.cloud.identity.v1.ApiKey.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=265The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. For any failed state, reach out to Temporal Cloud support for remediation. 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.temporal.api.cloud.identity.v1.ApiKey.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=265The current state of the API key. Possible values: activating, activationfailed, active, updating, updatefailed, deleting, deletefailed, deleted, suspending, suspendfailed, suspended. For any failed state, reach out to Temporal Cloud support for remediation. 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 API key. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 8;- Returns:
- The enum numeric value on the wire for state.
-
getState
ResourceState getState()The current state of the API key. temporal:versioning:min_version=v0.3.0 temporal:enums:replaces=state_deprecated
.temporal.api.cloud.resource.v1.ResourceState state = 8;- Returns:
- The state.
-
getAsyncOperationId
String getAsyncOperationId()The id of the async operation that is creating/updating/deleting the API key, 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 API key, if any.
string async_operation_id = 5;- Returns:
- The bytes for asyncOperationId.
-
hasCreatedTime
boolean hasCreatedTime()The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;- Returns:
- Whether the createdTime field is set.
-
getCreatedTime
com.google.protobuf.Timestamp getCreatedTime()The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6;- Returns:
- The createdTime.
-
getCreatedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()The date and time when the API key was created.
.google.protobuf.Timestamp created_time = 6; -
hasLastModifiedTime
boolean hasLastModifiedTime()The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Returns:
- Whether the lastModifiedTime field is set.
-
getLastModifiedTime
com.google.protobuf.Timestamp getLastModifiedTime()The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;- Returns:
- The lastModifiedTime.
-
getLastModifiedTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()The date and time when the API key was last modified. Will not be set if the API key has never been modified.
.google.protobuf.Timestamp last_modified_time = 7;
-