Package com.google.cloud.compute.v1
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 TypeMethodDescriptionThecustomer-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.ByteStringURL of the disk attached to the source instance.booleanThecustomer-supplied encryption key of the source disk.booleanURL of the disk attached to the source instance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-