Interface SnapshotUpdateKmsKeyRequestOrBuilder

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

@Generated public interface SnapshotUpdateKmsKeyRequestOrBuilder 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 snapshot. If empty, the
       snapshot will be re-encrypted using the primary version of the snapshot's
       current KMS key.
      
       The KMS key can be provided in the following formats:
      
      
       - projects/project_id/locations/region/keyRings/key_ring/cryptoKeys/key
       
      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 snapshot. If empty, the
       snapshot will be re-encrypted using the primary version of the snapshot's
       current KMS key.
      
       The KMS key can be provided in the following formats:
      
      
       - projects/project_id/locations/region/keyRings/key_ring/cryptoKeys/key
       
      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 snapshot. If empty, the
       snapshot will be re-encrypted using the primary version of the snapshot's
       current KMS key.
      
       The KMS key can be provided in the following formats:
      
      
       - projects/project_id/locations/region/keyRings/key_ring/cryptoKeys/key
       
      optional string kms_key_name = 484373913;
      Returns:
      The bytes for kmsKeyName.