Package com.google.cloud.compute.v1
Class InstancesStartWithEncryptionKeyRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
- com.google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest.Builder
-
- All Implemented Interfaces:
InstancesStartWithEncryptionKeyRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- InstancesStartWithEncryptionKeyRequest
public static final class InstancesStartWithEncryptionKeyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder> implements InstancesStartWithEncryptionKeyRequestOrBuilder
google.cloud.compute.v1.InstancesStartWithEncryptionKeyRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancesStartWithEncryptionKeyRequest.Builder
addAllDisks(Iterable<? extends CustomerEncryptionKeyProtectedDisk> values)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
addDisks(int index, CustomerEncryptionKeyProtectedDisk value)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
addDisks(int index, CustomerEncryptionKeyProtectedDisk.Builder builderForValue)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
addDisks(CustomerEncryptionKeyProtectedDisk value)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
addDisks(CustomerEncryptionKeyProtectedDisk.Builder builderForValue)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.CustomerEncryptionKeyProtectedDisk.Builder
addDisksBuilder()
Array of disks associated with this instance that are protected with a customer-supplied encryption key.CustomerEncryptionKeyProtectedDisk.Builder
addDisksBuilder(int index)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstancesStartWithEncryptionKeyRequest
build()
InstancesStartWithEncryptionKeyRequest
buildPartial()
InstancesStartWithEncryptionKeyRequest.Builder
clear()
InstancesStartWithEncryptionKeyRequest.Builder
clearDisks()
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InstancesStartWithEncryptionKeyRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InstancesStartWithEncryptionKeyRequest.Builder
clone()
InstancesStartWithEncryptionKeyRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
CustomerEncryptionKeyProtectedDisk
getDisks(int index)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.CustomerEncryptionKeyProtectedDisk.Builder
getDisksBuilder(int index)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.List<CustomerEncryptionKeyProtectedDisk.Builder>
getDisksBuilderList()
Array of disks associated with this instance that are protected with a customer-supplied encryption key.int
getDisksCount()
Array of disks associated with this instance that are protected with a customer-supplied encryption key.List<CustomerEncryptionKeyProtectedDisk>
getDisksList()
Array of disks associated with this instance that are protected with a customer-supplied encryption key.CustomerEncryptionKeyProtectedDiskOrBuilder
getDisksOrBuilder(int index)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.List<? extends CustomerEncryptionKeyProtectedDiskOrBuilder>
getDisksOrBuilderList()
Array of disks associated with this instance that are protected with a customer-supplied encryption key.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InstancesStartWithEncryptionKeyRequest.Builder
mergeFrom(InstancesStartWithEncryptionKeyRequest other)
InstancesStartWithEncryptionKeyRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InstancesStartWithEncryptionKeyRequest.Builder
mergeFrom(com.google.protobuf.Message other)
InstancesStartWithEncryptionKeyRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstancesStartWithEncryptionKeyRequest.Builder
removeDisks(int index)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
setDisks(int index, CustomerEncryptionKeyProtectedDisk value)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
setDisks(int index, CustomerEncryptionKeyProtectedDisk.Builder builderForValue)
Array of disks associated with this instance that are protected with a customer-supplied encryption key.InstancesStartWithEncryptionKeyRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstancesStartWithEncryptionKeyRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InstancesStartWithEncryptionKeyRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
clear
public InstancesStartWithEncryptionKeyRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
getDefaultInstanceForType
public InstancesStartWithEncryptionKeyRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstancesStartWithEncryptionKeyRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstancesStartWithEncryptionKeyRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstancesStartWithEncryptionKeyRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
setField
public InstancesStartWithEncryptionKeyRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
clearField
public InstancesStartWithEncryptionKeyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
clearOneof
public InstancesStartWithEncryptionKeyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
setRepeatedField
public InstancesStartWithEncryptionKeyRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
addRepeatedField
public InstancesStartWithEncryptionKeyRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
mergeFrom
public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
mergeFrom
public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(InstancesStartWithEncryptionKeyRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
mergeFrom
public InstancesStartWithEncryptionKeyRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
- Throws:
IOException
-
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;
- Specified by:
getDisksList
in interfaceInstancesStartWithEncryptionKeyRequestOrBuilder
-
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;
- Specified by:
getDisksCount
in interfaceInstancesStartWithEncryptionKeyRequestOrBuilder
-
getDisks
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;
- Specified by:
getDisks
in interfaceInstancesStartWithEncryptionKeyRequestOrBuilder
-
setDisks
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;
-
setDisks
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;
-
addDisks
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;
-
addDisks
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;
-
addDisks
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;
-
addDisks
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;
-
addAllDisks
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;
-
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;
-
removeDisks
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;
-
getDisksBuilder
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;
-
getDisksOrBuilder
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;
- Specified by:
getDisksOrBuilder
in interfaceInstancesStartWithEncryptionKeyRequestOrBuilder
-
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;
- Specified by:
getDisksOrBuilderList
in interfaceInstancesStartWithEncryptionKeyRequestOrBuilder
-
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;
-
addDisksBuilder
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;
-
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;
-
setUnknownFields
public final InstancesStartWithEncryptionKeyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
mergeUnknownFields
public final InstancesStartWithEncryptionKeyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesStartWithEncryptionKeyRequest.Builder>
-
-