Interface DiskUpdateKmsKeyRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Optional.

    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

    • hasKmsKeyName

      boolean hasKmsKeyName()
       Optional. The new KMS key to replace the current one on the disk. If empty, the disk
       will be re-encrypted using the primary version of the disk's current KMS
       key.
      
       The KMS key can be provided in the following formats:
      
      
       - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
      
      
       Where project is the project ID or
       project number.
       
      optional string kms_key_name = 484373913;
      Returns:
      Whether the kmsKeyName field is set.
    • getKmsKeyName

      String getKmsKeyName()
       Optional. The new KMS key to replace the current one on the disk. If empty, the disk
       will be re-encrypted using the primary version of the disk's current KMS
       key.
      
       The KMS key can be provided in the following formats:
      
      
       - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
      
      
       Where project is the project ID or
       project number.
       
      optional string kms_key_name = 484373913;
      Returns:
      The kmsKeyName.
    • getKmsKeyNameBytes

      com.google.protobuf.ByteString getKmsKeyNameBytes()
       Optional. The new KMS key to replace the current one on the disk. If empty, the disk
       will be re-encrypted using the primary version of the disk's current KMS
       key.
      
       The KMS key can be provided in the following formats:
      
      
       - projects/project_id/locations/location/keyRings/key_ring/cryptoKeys/key
      
      
       Where project is the project ID or
       project number.
       
      optional string kms_key_name = 484373913;
      Returns:
      The bytes for kmsKeyName.