Interface CustomerEncryptionKeyProtectedDiskOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Decrypts data associated with the disk with acustomer-supplied encryption key.
    Decrypts data associated with the disk with acustomer-supplied encryption key.
    Specifies a valid partial or full URL to an existing Persistent Disk resource.
    com.google.protobuf.ByteString
    Specifies a valid partial or full URL to an existing Persistent Disk resource.
    boolean
    Decrypts data associated with the disk with acustomer-supplied encryption key.
    boolean
    Specifies a valid partial or full URL to an existing Persistent Disk resource.

    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

    • hasDiskEncryptionKey

      boolean hasDiskEncryptionKey()
       Decrypts data associated with the disk with acustomer-supplied
       encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
      Returns:
      Whether the diskEncryptionKey field is set.
    • getDiskEncryptionKey

      CustomerEncryptionKey getDiskEncryptionKey()
       Decrypts data associated with the disk with acustomer-supplied
       encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
      Returns:
      The diskEncryptionKey.
    • getDiskEncryptionKeyOrBuilder

      CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder()
       Decrypts data associated with the disk with acustomer-supplied
       encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
    • hasSource

      boolean hasSource()
       Specifies a valid partial or full URL to an existing Persistent Disk
       resource. This field is only applicable for persistent disks.
       For example:
      
       "source": "/compute/v1/projects/project_id/zones/zone/disks/
       disk_name
       
      optional string source = 177235995;
      Returns:
      Whether the source field is set.
    • getSource

      String getSource()
       Specifies a valid partial or full URL to an existing Persistent Disk
       resource. This field is only applicable for persistent disks.
       For example:
      
       "source": "/compute/v1/projects/project_id/zones/zone/disks/
       disk_name
       
      optional string source = 177235995;
      Returns:
      The source.
    • getSourceBytes

      com.google.protobuf.ByteString getSourceBytes()
       Specifies a valid partial or full URL to an existing Persistent Disk
       resource. This field is only applicable for persistent disks.
       For example:
      
       "source": "/compute/v1/projects/project_id/zones/zone/disks/
       disk_name
       
      optional string source = 177235995;
      Returns:
      The bytes for source.