Class InstancesStartWithEncryptionKeyRequest (1.64.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
Type Description
int

Static Methods

getDefaultInstance()

public static InstancesStartWithEncryptionKeyRequest getDefaultInstance()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

newBuilder(InstancesStartWithEncryptionKeyRequest prototype)

public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder(InstancesStartWithEncryptionKeyRequest prototype)
Parameter
Name Description
prototype InstancesStartWithEncryptionKeyRequest
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

parseDelimitedFrom(InputStream input)

public static InstancesStartWithEncryptionKeyRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InstancesStartWithEncryptionKeyRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InstancesStartWithEncryptionKeyRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InstancesStartWithEncryptionKeyRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesStartWithEncryptionKeyRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InstancesStartWithEncryptionKeyRequest> parser()
Returns
Type Description
Parser<InstancesStartWithEncryptionKeyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InstancesStartWithEncryptionKeyRequest getDefaultInstanceForType()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest

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
Name Description
index int
Returns
Type Description
CustomerEncryptionKeyProtectedDisk

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
Type Description
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
Type Description
List<CustomerEncryptionKeyProtectedDisk>

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
Name Description
index int
Returns
Type Description
CustomerEncryptionKeyProtectedDiskOrBuilder

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
Type Description
List<? extends com.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDiskOrBuilder>

getParserForType()

public Parser<InstancesStartWithEncryptionKeyRequest> getParserForType()
Returns
Type Description
Parser<InstancesStartWithEncryptionKeyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InstancesStartWithEncryptionKeyRequest.Builder newBuilderForType()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InstancesStartWithEncryptionKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public InstancesStartWithEncryptionKeyRequest.Builder toBuilder()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException