Interface HmacKeyMetadataOrBuilder

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

public interface HmacKeyMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      String getId()
       Immutable. Resource name ID of the key in the format
       {projectIdentifier}/{accessId}.
       {projectIdentifier} can be the project ID or project number.
       
      string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Immutable. Resource name ID of the key in the format
       {projectIdentifier}/{accessId}.
       {projectIdentifier} can be the project ID or project number.
       
      string id = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for id.
    • getAccessId

      String getAccessId()
       Immutable. Globally unique id for keys.
       
      string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The accessId.
    • getAccessIdBytes

      com.google.protobuf.ByteString getAccessIdBytes()
       Immutable. Globally unique id for keys.
       
      string access_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for accessId.
    • getProject

      String getProject()
       Immutable. Identifies the project that owns the service account of the
       specified HMAC key, in the format "projects/{projectIdentifier}".
       {projectIdentifier} can be the project ID or project number.
       
      string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The project.
    • getProjectBytes

      com.google.protobuf.ByteString getProjectBytes()
       Immutable. Identifies the project that owns the service account of the
       specified HMAC key, in the format "projects/{projectIdentifier}".
       {projectIdentifier} can be the project ID or project number.
       
      string project = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for project.
    • getServiceAccountEmail

      String getServiceAccountEmail()
       Output only. Email of the service account the key authenticates as.
       
      string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The serviceAccountEmail.
    • getServiceAccountEmailBytes

      com.google.protobuf.ByteString getServiceAccountEmailBytes()
       Output only. Email of the service account the key authenticates as.
       
      string service_account_email = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for serviceAccountEmail.
    • getState

      String getState()
       State of the key. One of ACTIVE, INACTIVE, or DELETED.
       Writable, can be updated by UpdateHmacKey operation.
       
      string state = 5;
      Returns:
      The state.
    • getStateBytes

      com.google.protobuf.ByteString getStateBytes()
       State of the key. One of ACTIVE, INACTIVE, or DELETED.
       Writable, can be updated by UpdateHmacKey operation.
       
      string state = 5;
      Returns:
      The bytes for state.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation time of the HMAC key.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation time of the HMAC key.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation time of the HMAC key.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The last modification time of the HMAC key metadata.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last modification time of the HMAC key metadata.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last modification time of the HMAC key metadata.
       
      .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEtag

      String getEtag()
       The etag of the HMAC key.
       
      string etag = 8;
      Returns:
      The etag.
    • getEtagBytes

      com.google.protobuf.ByteString getEtagBytes()
       The etag of the HMAC key.
       
      string etag = 8;
      Returns:
      The bytes for etag.