Interface SourceDiskEncryptionKeyOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Thecustomer-supplied encryption key of the source disk.
    Thecustomer-supplied encryption key of the source disk.
    URL of the disk attached to the source instance.
    com.google.protobuf.ByteString
    URL of the disk attached to the source instance.
    boolean
    Thecustomer-supplied encryption key of the source disk.
    boolean
    URL of the disk attached to the source instance.

    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()
       Thecustomer-supplied
       encryption key of the source disk. Required if the source disk is
       protected by a customer-supplied encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
      Returns:
      Whether the diskEncryptionKey field is set.
    • getDiskEncryptionKey

      CustomerEncryptionKey getDiskEncryptionKey()
       Thecustomer-supplied
       encryption key of the source disk. Required if the source disk is
       protected by a customer-supplied encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
      Returns:
      The diskEncryptionKey.
    • getDiskEncryptionKeyOrBuilder

      CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder()
       Thecustomer-supplied
       encryption key of the source disk. Required if the source disk is
       protected by a customer-supplied encryption key.
       
      optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
    • hasSourceDisk

      boolean hasSourceDisk()
       URL of the disk attached to the source instance. This can be a full or
       valid partial URL. For example, the following are valid values:
      
      
       - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
       - projects/project/zones/zone/disks/disk
       - zones/zone/disks/disk
       
      optional string source_disk = 451753793;
      Returns:
      Whether the sourceDisk field is set.
    • getSourceDisk

      String getSourceDisk()
       URL of the disk attached to the source instance. This can be a full or
       valid partial URL. For example, the following are valid values:
      
      
       - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
       - projects/project/zones/zone/disks/disk
       - zones/zone/disks/disk
       
      optional string source_disk = 451753793;
      Returns:
      The sourceDisk.
    • getSourceDiskBytes

      com.google.protobuf.ByteString getSourceDiskBytes()
       URL of the disk attached to the source instance. This can be a full or
       valid partial URL. For example, the following are valid values:
      
      
       - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
       - projects/project/zones/zone/disks/disk
       - zones/zone/disks/disk
       
      optional string source_disk = 451753793;
      Returns:
      The bytes for sourceDisk.