public static final class InstancesStartWithEncryptionKeyRequest.Builder extends GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder> implements InstancesStartWithEncryptionKeyRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.CustomerEncryptionKeyProtectedDisk>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstancesStartWithEncryptionKeyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstancesStartWithEncryptionKeyRequest build()
Returns
buildPartial()
public InstancesStartWithEncryptionKeyRequest buildPartial()
Returns
clear()
public InstancesStartWithEncryptionKeyRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public InstancesStartWithEncryptionKeyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public InstancesStartWithEncryptionKeyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InstancesStartWithEncryptionKeyRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InstancesStartWithEncryptionKeyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InstancesStartWithEncryptionKeyRequest other)
public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(InstancesStartWithEncryptionKeyRequest other)
Parameter
Returns
public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstancesStartWithEncryptionKeyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InstancesStartWithEncryptionKeyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstancesStartWithEncryptionKeyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstancesStartWithEncryptionKeyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides