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

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getAsyncOperationId()
      The id of the async operation that is creating/updating/deleting the API key, if any.
      com.google.protobuf.ByteString getAsyncOperationIdBytes()
      The id of the async operation that is creating/updating/deleting the API key, if any.
      com.google.protobuf.Timestamp getCreatedTime()
      The date and time when the API key was created.
      com.google.protobuf.TimestampOrBuilder getCreatedTimeOrBuilder()
      The date and time when the API key was created.
      java.lang.String getId()
      The id of the API Key.
      com.google.protobuf.ByteString getIdBytes()
      The id of the API Key.
      com.google.protobuf.Timestamp getLastModifiedTime()
      The date and time when the API key was last modified.
      com.google.protobuf.TimestampOrBuilder getLastModifiedTimeOrBuilder()
      The date and time when the API key was last modified.
      java.lang.String getResourceVersion()
      The current version of the API key specification.
      com.google.protobuf.ByteString getResourceVersionBytes()
      The current version of the API key specification.
      ApiKeySpec getSpec()
      The API key specification.
      ApiKeySpecOrBuilder getSpecOrBuilder()
      The API key specification.
      ResourceState getState()
      The current state of the API key.
      java.lang.String getStateDeprecated()
      Deprecated.
      temporal.api.cloud.identity.v1.ApiKey.state_deprecated is deprecated.
      com.google.protobuf.ByteString getStateDeprecatedBytes()
      Deprecated.
      temporal.api.cloud.identity.v1.ApiKey.state_deprecated is deprecated.
      int getStateValue()
      The current state of the API key.
      boolean hasCreatedTime()
      The date and time when the API key was created.
      boolean hasLastModifiedTime()
      The date and time when the API key was last modified.
      boolean hasSpec()
      The API key specification.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getId

        java.lang.String getId()
         The id of the API Key.
         
        string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         The id of the API Key.
         
        string id = 1;
        Returns:
        The bytes for id.
      • getResourceVersion

        java.lang.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
        java.lang.String getStateDeprecated()
        Deprecated.
        temporal.api.cloud.identity.v1.ApiKey.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=213
         The 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 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.identity.v1.ApiKey.state_deprecated is deprecated. See temporal/api/cloud/identity/v1/message.proto;l=213
         The 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 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 API key.
         temporal:versioning:min_version=2024-10-01-00
         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=2024-10-01-00
         temporal:enums:replaces=state_deprecated
         
        .temporal.api.cloud.resource.v1.ResourceState state = 8;
        Returns:
        The state.
      • getAsyncOperationId

        java.lang.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;