Interface RetiredResourceOrBuilder

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

@Generated public interface RetiredResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    boolean
    Output only.

    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 Details

    • getName

      String getName()
       Output only. Identifier. The resource name for this
       [RetiredResource][google.cloud.kms.v1.RetiredResource] in the format
       `projects/*/locations/*/retiredResources/*`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. Identifier. The resource name for this
       [RetiredResource][google.cloud.kms.v1.RetiredResource] in the format
       `projects/*/locations/*/retiredResources/*`.
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getOriginalResource

      String getOriginalResource()
       Output only. The full resource name of the original
       [CryptoKey][google.cloud.kms.v1.CryptoKey] that was deleted in the format
       `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
       
      string original_resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The originalResource.
    • getOriginalResourceBytes

      com.google.protobuf.ByteString getOriginalResourceBytes()
       Output only. The full resource name of the original
       [CryptoKey][google.cloud.kms.v1.CryptoKey] that was deleted in the format
       `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
       
      string original_resource = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for originalResource.
    • getResourceType

      String getResourceType()
       Output only. The resource type of the original deleted resource.
       
      string resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The resourceType.
    • getResourceTypeBytes

      com.google.protobuf.ByteString getResourceTypeBytes()
       Output only. The resource type of the original deleted resource.
       
      string resource_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for resourceType.
    • hasDeleteTime

      boolean hasDeleteTime()
       Output only. The time at which the original resource was deleted and this
       RetiredResource record was created.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the deleteTime field is set.
    • getDeleteTime

      com.google.protobuf.Timestamp getDeleteTime()
       Output only. The time at which the original resource was deleted and this
       RetiredResource record was created.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The deleteTime.
    • getDeleteTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
       Output only. The time at which the original resource was deleted and this
       RetiredResource record was created.
       
      .google.protobuf.Timestamp delete_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];