public final class InstancesStartWithEncryptionKeyRequest extends GeneratedMessageV3 implements InstancesStartWithEncryptionKeyRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest
Static Fields
DISKS_FIELD_NUMBER
public static final int DISKS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static InstancesStartWithEncryptionKeyRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder()
Returns
newBuilder(InstancesStartWithEncryptionKeyRequest prototype)
public static InstancesStartWithEncryptionKeyRequest.Builder newBuilder(InstancesStartWithEncryptionKeyRequest prototype)
Parameter
Returns
public static InstancesStartWithEncryptionKeyRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InstancesStartWithEncryptionKeyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static InstancesStartWithEncryptionKeyRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InstancesStartWithEncryptionKeyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstancesStartWithEncryptionKeyRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InstancesStartWithEncryptionKeyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InstancesStartWithEncryptionKeyRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InstancesStartWithEncryptionKeyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InstancesStartWithEncryptionKeyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<InstancesStartWithEncryptionKeyRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
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
Type | Description |
List<? extends com.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDiskOrBuilder> | |
getParserForType()
public Parser<InstancesStartWithEncryptionKeyRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public InstancesStartWithEncryptionKeyRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InstancesStartWithEncryptionKeyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public InstancesStartWithEncryptionKeyRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions