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
public interface SourceDiskEncryptionKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomerEncryptionKey
getDiskEncryptionKey()
The customer-supplied encryption key of the source disk.CustomerEncryptionKeyOrBuilder
getDiskEncryptionKeyOrBuilder()
The customer-supplied encryption key of the source disk.String
getSourceDisk()
URL of the disk attached to the source instance.com.google.protobuf.ByteString
getSourceDiskBytes()
URL of the disk attached to the source instance.boolean
hasDiskEncryptionKey()
The customer-supplied encryption key of the source disk.boolean
hasSourceDisk()
URL of the disk attached to the source instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDiskEncryptionKey
boolean hasDiskEncryptionKey()
The customer-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()
The customer-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()
The customer-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.
-
-