Class InstancesStartWithEncryptionKeyRequest.Builder (1.93.0)

public static final class InstancesStartWithEncryptionKeyRequest.Builder extends GeneratedMessage.Builder<InstancesStartWithEncryptionKeyRequest.Builder> implements InstancesStartWithEncryptionKeyRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest

Static Methods

getDescriptor()

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

Methods

addAllDisks(Iterable<? extends CustomerEncryptionKeyProtectedDisk> values)

public InstancesStartWithEncryptionKeyRequest.Builder addAllDisks(Iterable<? extends CustomerEncryptionKeyProtectedDisk> values)

Array of disks associated with this instance that are protected with acustomer-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
values Iterable<? extends com.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk>
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

addDisks(CustomerEncryptionKeyProtectedDisk value)

public InstancesStartWithEncryptionKeyRequest.Builder addDisks(CustomerEncryptionKeyProtectedDisk value)

Array of disks associated with this instance that are protected with acustomer-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
value CustomerEncryptionKeyProtectedDisk
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

addDisks(CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

public InstancesStartWithEncryptionKeyRequest.Builder addDisks(CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

Array of disks associated with this instance that are protected with acustomer-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
builderForValue CustomerEncryptionKeyProtectedDisk.Builder
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

addDisks(int index, CustomerEncryptionKeyProtectedDisk value)

public InstancesStartWithEncryptionKeyRequest.Builder addDisks(int index, CustomerEncryptionKeyProtectedDisk value)

Array of disks associated with this instance that are protected with acustomer-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;

Parameters
Name Description
index int
value CustomerEncryptionKeyProtectedDisk
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

addDisks(int index, CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

public InstancesStartWithEncryptionKeyRequest.Builder addDisks(int index, CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

Array of disks associated with this instance that are protected with acustomer-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;

Parameters
Name Description
index int
builderForValue CustomerEncryptionKeyProtectedDisk.Builder
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

addDisksBuilder()

public CustomerEncryptionKeyProtectedDisk.Builder addDisksBuilder()

Array of disks associated with this instance that are protected with acustomer-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
CustomerEncryptionKeyProtectedDisk.Builder

addDisksBuilder(int index)

public CustomerEncryptionKeyProtectedDisk.Builder addDisksBuilder(int index)

Array of disks associated with this instance that are protected with acustomer-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.Builder

build()

public InstancesStartWithEncryptionKeyRequest build()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest

buildPartial()

public InstancesStartWithEncryptionKeyRequest buildPartial()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest

clear()

public InstancesStartWithEncryptionKeyRequest.Builder clear()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

clearDisks()

public InstancesStartWithEncryptionKeyRequest.Builder clearDisks()

Array of disks associated with this instance that are protected with acustomer-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
InstancesStartWithEncryptionKeyRequest.Builder

getDefaultInstanceForType()

public InstancesStartWithEncryptionKeyRequest getDefaultInstanceForType()
Returns
Type Description
InstancesStartWithEncryptionKeyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisks(int index)

public CustomerEncryptionKeyProtectedDisk getDisks(int index)

Array of disks associated with this instance that are protected with acustomer-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

getDisksBuilder(int index)

public CustomerEncryptionKeyProtectedDisk.Builder getDisksBuilder(int index)

Array of disks associated with this instance that are protected with acustomer-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.Builder

getDisksBuilderList()

public List<CustomerEncryptionKeyProtectedDisk.Builder> getDisksBuilderList()

Array of disks associated with this instance that are protected with acustomer-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<Builder>

getDisksCount()

public int getDisksCount()

Array of disks associated with this instance that are protected with acustomer-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 acustomer-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 acustomer-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 acustomer-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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstancesStartWithEncryptionKeyRequest other)

public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(InstancesStartWithEncryptionKeyRequest other)
Parameter
Name Description
other InstancesStartWithEncryptionKeyRequest
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

removeDisks(int index)

public InstancesStartWithEncryptionKeyRequest.Builder removeDisks(int index)

Array of disks associated with this instance that are protected with acustomer-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
InstancesStartWithEncryptionKeyRequest.Builder

setDisks(int index, CustomerEncryptionKeyProtectedDisk value)

public InstancesStartWithEncryptionKeyRequest.Builder setDisks(int index, CustomerEncryptionKeyProtectedDisk value)

Array of disks associated with this instance that are protected with acustomer-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;

Parameters
Name Description
index int
value CustomerEncryptionKeyProtectedDisk
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder

setDisks(int index, CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

public InstancesStartWithEncryptionKeyRequest.Builder setDisks(int index, CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

Array of disks associated with this instance that are protected with acustomer-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;

Parameters
Name Description
index int
builderForValue CustomerEncryptionKeyProtectedDisk.Builder
Returns
Type Description
InstancesStartWithEncryptionKeyRequest.Builder