public final class SourceDiskEncryptionKey extends com.google.protobuf.GeneratedMessageV3 implements SourceDiskEncryptionKeyOrBuilder
Protobuf type
google.cloud.compute.v1.SourceDiskEncryptionKey| Modifier and Type | Class and Description |
|---|---|
static class |
SourceDiskEncryptionKey.Builder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DISK_ENCRYPTION_KEY_FIELD_NUMBER |
static int |
SOURCE_DISK_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SourceDiskEncryptionKey |
getDefaultInstance() |
SourceDiskEncryptionKey |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
CustomerEncryptionKey |
getDiskEncryptionKey()
The customer-supplied encryption key of the source disk.
|
CustomerEncryptionKeyOrBuilder |
getDiskEncryptionKeyOrBuilder()
The customer-supplied encryption key of the source disk.
|
com.google.protobuf.Parser<SourceDiskEncryptionKey> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDiskEncryptionKey()
The customer-supplied encryption key of the source disk.
|
int |
hashCode() |
boolean |
hasSourceDisk()
URL of the disk attached to the source instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SourceDiskEncryptionKey.Builder |
newBuilder() |
static SourceDiskEncryptionKey.Builder |
newBuilder(SourceDiskEncryptionKey prototype) |
SourceDiskEncryptionKey.Builder |
newBuilderForType() |
protected SourceDiskEncryptionKey.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SourceDiskEncryptionKey |
parseDelimitedFrom(InputStream input) |
static SourceDiskEncryptionKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceDiskEncryptionKey |
parseFrom(byte[] data) |
static SourceDiskEncryptionKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceDiskEncryptionKey |
parseFrom(ByteBuffer data) |
static SourceDiskEncryptionKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceDiskEncryptionKey |
parseFrom(com.google.protobuf.ByteString data) |
static SourceDiskEncryptionKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceDiskEncryptionKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SourceDiskEncryptionKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SourceDiskEncryptionKey |
parseFrom(InputStream input) |
static SourceDiskEncryptionKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SourceDiskEncryptionKey> |
parser() |
SourceDiskEncryptionKey.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DISK_ENCRYPTION_KEY_FIELD_NUMBER
public static final int SOURCE_DISK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;
hasDiskEncryptionKey in interface SourceDiskEncryptionKeyOrBuilderpublic 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;
getDiskEncryptionKey in interface SourceDiskEncryptionKeyOrBuilderpublic 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;
getDiskEncryptionKeyOrBuilder in interface SourceDiskEncryptionKeyOrBuilderpublic 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;hasSourceDisk in interface SourceDiskEncryptionKeyOrBuilderpublic 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;getSourceDisk in interface SourceDiskEncryptionKeyOrBuilderpublic 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;getSourceDiskBytes in interface SourceDiskEncryptionKeyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SourceDiskEncryptionKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceDiskEncryptionKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceDiskEncryptionKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceDiskEncryptionKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceDiskEncryptionKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceDiskEncryptionKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SourceDiskEncryptionKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static SourceDiskEncryptionKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SourceDiskEncryptionKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SourceDiskEncryptionKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SourceDiskEncryptionKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SourceDiskEncryptionKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SourceDiskEncryptionKey.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SourceDiskEncryptionKey.Builder newBuilder()
public static SourceDiskEncryptionKey.Builder newBuilder(SourceDiskEncryptionKey prototype)
public SourceDiskEncryptionKey.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SourceDiskEncryptionKey.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SourceDiskEncryptionKey getDefaultInstance()
public static com.google.protobuf.Parser<SourceDiskEncryptionKey> parser()
public com.google.protobuf.Parser<SourceDiskEncryptionKey> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SourceDiskEncryptionKey getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.