Class InstancesStartWithEncryptionKeyRequest (1.46.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
TypeDescription
InstancesStartWithEncryptionKeyRequest

getDescriptor()

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

newBuilder()

public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder()
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

newBuilder(InstancesStartWithEncryptionKeyRequest prototype)

public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder(InstancesStartWithEncryptionKeyRequest prototype)
Parameter
NameDescription
prototypeInstancesStartWithEncryptionKeyRequest
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<InstancesStartWithEncryptionKeyRequest> parser()
Returns
TypeDescription
Parser<InstancesStartWithEncryptionKeyRequest>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public InstancesStartWithEncryptionKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDiskOrBuilder>

getParserForType()

public Parser<InstancesStartWithEncryptionKeyRequest> getParserForType()
Returns
TypeDescription
Parser<InstancesStartWithEncryptionKeyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public InstancesStartWithEncryptionKeyRequest.Builder toBuilder()
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

writeTo(CodedOutputStream output)

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