Class InstancesStartWithEncryptionKeyRequest (1.20.0)

public final class InstancesStartWithEncryptionKeyRequest extends GeneratedMessageV3 implements InstancesStartWithEncryptionKeyRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InstancesStartWithEncryptionKeyRequest

Static Fields

DISKS_FIELD_NUMBER

public static final int DISKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InstancesStartWithEncryptionKeyRequest getDefaultInstance()
Returns

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder()
Returns

newBuilder(InstancesStartWithEncryptionKeyRequest prototype)

public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder(InstancesStartWithEncryptionKeyRequest prototype)
Parameter Returns

parseDelimitedFrom(InputStream input)

public static InstancesStartWithEncryptionKeyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InstancesStartWithEncryptionKeyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns Exceptions

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns Exceptions

parseFrom(ByteString data)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns Exceptions

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns Exceptions

parseFrom(CodedInputStream input)

public static InstancesStartWithEncryptionKeyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InstancesStartWithEncryptionKeyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns Exceptions

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns Exceptions

parser()

public static Parser<InstancesStartWithEncryptionKeyRequest> parser()
Returns

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InstancesStartWithEncryptionKeyRequest getDefaultInstanceForType()
Returns

getDisks(int index)

public CustomerEncryptionKeyProtectedDisk getDisks(int index)

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

repeated .google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk disks = 95594102;

Parameter
NameDescription
indexint
Returns

getDisksCount()

public int getDisksCount()

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

repeated .google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk disks = 95594102;

Returns
TypeDescription
int

getDisksList()

public List<CustomerEncryptionKeyProtectedDisk> getDisksList()

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

repeated .google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk disks = 95594102;

Returns

getDisksOrBuilder(int index)

public CustomerEncryptionKeyProtectedDiskOrBuilder getDisksOrBuilder(int index)

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

repeated .google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk disks = 95594102;

Parameter
NameDescription
indexint
Returns

getDisksOrBuilderList()

public List<? extends CustomerEncryptionKeyProtectedDiskOrBuilder> getDisksOrBuilderList()

Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified.

repeated .google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk disks = 95594102;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDiskOrBuilder>

getParserForType()

public Parser<InstancesStartWithEncryptionKeyRequest> getParserForType()
Returns Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InstancesStartWithEncryptionKeyRequest.Builder newBuilderForType()
Returns

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstancesStartWithEncryptionKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InstancesStartWithEncryptionKeyRequest.Builder toBuilder()
Returns

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException