Class InstancesStartWithEncryptionKeyRequest.Builder (1.39.0)

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

Protobuf type google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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 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
valuesIterable<? extends com.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk>
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

addDisks(CustomerEncryptionKeyProtectedDisk value)

public InstancesStartWithEncryptionKeyRequest.Builder addDisks(CustomerEncryptionKeyProtectedDisk value)

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
valueCustomerEncryptionKeyProtectedDisk
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

addDisks(CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

public InstancesStartWithEncryptionKeyRequest.Builder addDisks(CustomerEncryptionKeyProtectedDisk.Builder builderForValue)

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
builderForValueCustomerEncryptionKeyProtectedDisk.Builder
Returns
TypeDescription
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 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;

Parameters
NameDescription
indexint
valueCustomerEncryptionKeyProtectedDisk
Returns
TypeDescription
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 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;

Parameters
NameDescription
indexint
builderForValueCustomerEncryptionKeyProtectedDisk.Builder
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

addDisksBuilder()

public CustomerEncryptionKeyProtectedDisk.Builder addDisksBuilder()

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
CustomerEncryptionKeyProtectedDisk.Builder

addDisksBuilder(int index)

public CustomerEncryptionKeyProtectedDisk.Builder addDisksBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstancesStartWithEncryptionKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

build()

public InstancesStartWithEncryptionKeyRequest build()
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest

buildPartial()

public InstancesStartWithEncryptionKeyRequest buildPartial()
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest

clear()

public InstancesStartWithEncryptionKeyRequest.Builder clear()
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

clearDisks()

public InstancesStartWithEncryptionKeyRequest.Builder clearDisks()

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
InstancesStartWithEncryptionKeyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public InstancesStartWithEncryptionKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public InstancesStartWithEncryptionKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

clone()

public InstancesStartWithEncryptionKeyRequest.Builder clone()
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

getDefaultInstanceForType()

public InstancesStartWithEncryptionKeyRequest getDefaultInstanceForType()
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getDisksBuilder(int index)

public CustomerEncryptionKeyProtectedDisk.Builder getDisksBuilder(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.Builder

getDisksBuilderList()

public List<CustomerEncryptionKeyProtectedDisk.Builder> getDisksBuilderList()

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<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstancesStartWithEncryptionKeyRequest other)

public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(InstancesStartWithEncryptionKeyRequest other)
Parameter
NameDescription
otherInstancesStartWithEncryptionKeyRequest
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstancesStartWithEncryptionKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

removeDisks(int index)

public InstancesStartWithEncryptionKeyRequest.Builder removeDisks(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
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 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;

Parameters
NameDescription
indexint
valueCustomerEncryptionKeyProtectedDisk
Returns
TypeDescription
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 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;

Parameters
NameDescription
indexint
builderForValueCustomerEncryptionKeyProtectedDisk.Builder
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstancesStartWithEncryptionKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InstancesStartWithEncryptionKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstancesStartWithEncryptionKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstancesStartWithEncryptionKeyRequest.Builder
Overrides