Class ComputeInstanceBackupProperties.Builder (0.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass ComputeInstanceBackupProperties.BuilderextendsGeneratedMessageV3.Builder<ComputeInstanceBackupProperties.Builder>implementsComputeInstanceBackupPropertiesOrBuilderComputeInstanceBackupProperties represents Compute Engine instance backup properties.
Protobuf type google.cloud.backupdr.v1.ComputeInstanceBackupProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeInstanceBackupProperties.BuilderImplements
ComputeInstanceBackupPropertiesOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDisk(Iterable<? extends AttachedDisk> values)
publicComputeInstanceBackupProperties.BuilderaddAllDisk(Iterable<?extendsAttachedDisk>values)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1.AttachedDisk> |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addAllGuestAccelerator(Iterable<? extends AcceleratorConfig> values)
publicComputeInstanceBackupProperties.BuilderaddAllGuestAccelerator(Iterable<?extendsAcceleratorConfig>values)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1.AcceleratorConfig> |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addAllNetworkInterface(Iterable<? extends NetworkInterface> values)
publicComputeInstanceBackupProperties.BuilderaddAllNetworkInterface(Iterable<?extendsNetworkInterface>values)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1.NetworkInterface> |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addAllServiceAccount(Iterable<? extends ServiceAccount> values)
publicComputeInstanceBackupProperties.BuilderaddAllServiceAccount(Iterable<?extendsServiceAccount>values)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.backupdr.v1.ServiceAccount> |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addDisk(AttachedDisk value)
publicComputeInstanceBackupProperties.BuilderaddDisk(AttachedDiskvalue)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
AttachedDisk |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addDisk(AttachedDisk.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddDisk(AttachedDisk.BuilderbuilderForValue)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AttachedDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addDisk(int index, AttachedDisk value)
publicComputeInstanceBackupProperties.BuilderaddDisk(intindex,AttachedDiskvalue)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttachedDisk |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addDisk(int index, AttachedDisk.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddDisk(intindex,AttachedDisk.BuilderbuilderForValue)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttachedDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addDiskBuilder()
publicAttachedDisk.BuilderaddDiskBuilder()An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns | |
|---|---|
| Type | Description |
AttachedDisk.Builder |
|
addDiskBuilder(int index)
publicAttachedDisk.BuilderaddDiskBuilder(intindex)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDisk.Builder |
|
addGuestAccelerator(AcceleratorConfig value)
publicComputeInstanceBackupProperties.BuilderaddGuestAccelerator(AcceleratorConfigvalue)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
AcceleratorConfig |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addGuestAccelerator(AcceleratorConfig.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddGuestAccelerator(AcceleratorConfig.BuilderbuilderForValue)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AcceleratorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addGuestAccelerator(int index, AcceleratorConfig value)
publicComputeInstanceBackupProperties.BuilderaddGuestAccelerator(intindex,AcceleratorConfigvalue)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AcceleratorConfig |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addGuestAccelerator(int index, AcceleratorConfig.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddGuestAccelerator(intindex,AcceleratorConfig.BuilderbuilderForValue)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AcceleratorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addGuestAcceleratorBuilder()
publicAcceleratorConfig.BuilderaddGuestAcceleratorBuilder()A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfig.Builder |
|
addGuestAcceleratorBuilder(int index)
publicAcceleratorConfig.BuilderaddGuestAcceleratorBuilder(intindex)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfig.Builder |
|
addNetworkInterface(NetworkInterface value)
publicComputeInstanceBackupProperties.BuilderaddNetworkInterface(NetworkInterfacevalue)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
NetworkInterface |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addNetworkInterface(NetworkInterface.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddNetworkInterface(NetworkInterface.BuilderbuilderForValue)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NetworkInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addNetworkInterface(int index, NetworkInterface value)
publicComputeInstanceBackupProperties.BuilderaddNetworkInterface(intindex,NetworkInterfacevalue)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NetworkInterface |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addNetworkInterface(int index, NetworkInterface.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddNetworkInterface(intindex,NetworkInterface.BuilderbuilderForValue)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NetworkInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addNetworkInterfaceBuilder()
publicNetworkInterface.BuilderaddNetworkInterfaceBuilder()An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns | |
|---|---|
| Type | Description |
NetworkInterface.Builder |
|
addNetworkInterfaceBuilder(int index)
publicNetworkInterface.BuilderaddNetworkInterfaceBuilder(intindex)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterface.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicComputeInstanceBackupProperties.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addServiceAccount(ServiceAccount value)
publicComputeInstanceBackupProperties.BuilderaddServiceAccount(ServiceAccountvalue)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
ServiceAccount |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addServiceAccount(ServiceAccount.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddServiceAccount(ServiceAccount.BuilderbuilderForValue)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ServiceAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addServiceAccount(int index, ServiceAccount value)
publicComputeInstanceBackupProperties.BuilderaddServiceAccount(intindex,ServiceAccountvalue)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ServiceAccount |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addServiceAccount(int index, ServiceAccount.Builder builderForValue)
publicComputeInstanceBackupProperties.BuilderaddServiceAccount(intindex,ServiceAccount.BuilderbuilderForValue)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ServiceAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
addServiceAccountBuilder()
publicServiceAccount.BuilderaddServiceAccountBuilder()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns | |
|---|---|
| Type | Description |
ServiceAccount.Builder |
|
addServiceAccountBuilder(int index)
publicServiceAccount.BuilderaddServiceAccountBuilder(intindex)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccount.Builder |
|
build()
publicComputeInstanceBackupPropertiesbuild()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties |
|
buildPartial()
publicComputeInstanceBackupPropertiesbuildPartial()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties |
|
clear()
publicComputeInstanceBackupProperties.Builderclear()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearCanIpForward()
publicComputeInstanceBackupProperties.BuilderclearCanIpForward() Enables instances created based on these properties to send packets with
source IP addresses other than their own and receive packets with
destination IP addresses other than their own. If these instances will be
used as an IP gateway or it will be set as the next-hop in a Route
resource, specify true. If unsure, leave this set to false. See the
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
clearDescription()
publicComputeInstanceBackupProperties.BuilderclearDescription()An optional text description for the instances that are created from these properties.
optional string description = 1;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
clearDisk()
publicComputeInstanceBackupProperties.BuilderclearDisk()An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicComputeInstanceBackupProperties.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearGuestAccelerator()
publicComputeInstanceBackupProperties.BuilderclearGuestAccelerator()A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearKeyRevocationActionType()
publicComputeInstanceBackupProperties.BuilderclearKeyRevocationActionType()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
clearLabels()
publicComputeInstanceBackupProperties.BuilderclearLabels()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearMachineType()
publicComputeInstanceBackupProperties.BuilderclearMachineType()The machine type to use for instances that are created from these properties.
optional string machine_type = 3;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
clearMetadata()
publicComputeInstanceBackupProperties.BuilderclearMetadata()The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearMinCpuPlatform()
publicComputeInstanceBackupProperties.BuilderclearMinCpuPlatform() Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
clearNetworkInterface()
publicComputeInstanceBackupProperties.BuilderclearNetworkInterface()An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicComputeInstanceBackupProperties.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearScheduling()
publicComputeInstanceBackupProperties.BuilderclearScheduling()Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearServiceAccount()
publicComputeInstanceBackupProperties.BuilderclearServiceAccount()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clearSourceInstance()
publicComputeInstanceBackupProperties.BuilderclearSourceInstance()The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
optional string source_instance = 13;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
clearTags()
publicComputeInstanceBackupProperties.BuilderclearTags()A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
clone()
publicComputeInstanceBackupProperties.Builderclone()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
containsLabels(String key)
publicbooleancontainsLabels(Stringkey)Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCanIpForward()
publicbooleangetCanIpForward() Enables instances created based on these properties to send packets with
source IP addresses other than their own and receive packets with
destination IP addresses other than their own. If these instances will be
used as an IP gateway or it will be set as the next-hop in a Route
resource, specify true. If unsure, leave this set to false. See the
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
The canIpForward. |
getDefaultInstanceForType()
publicComputeInstanceBackupPropertiesgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties |
|
getDescription()
publicStringgetDescription()An optional text description for the instances that are created from these properties.
optional string description = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
publicByteStringgetDescriptionBytes()An optional text description for the instances that are created from these properties.
optional string description = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisk(int index)
publicAttachedDiskgetDisk(intindex)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDisk |
|
getDiskBuilder(int index)
publicAttachedDisk.BuildergetDiskBuilder(intindex)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDisk.Builder |
|
getDiskBuilderList()
publicList<AttachedDisk.Builder>getDiskBuilderList()An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDiskCount()
publicintgetDiskCount()An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDiskList()
publicList<AttachedDisk>getDiskList()An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns | |
|---|---|
| Type | Description |
List<AttachedDisk> |
|
getDiskOrBuilder(int index)
publicAttachedDiskOrBuildergetDiskOrBuilder(intindex)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachedDiskOrBuilder |
|
getDiskOrBuilderList()
publicList<?extendsAttachedDiskOrBuilder>getDiskOrBuilderList()An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.AttachedDiskOrBuilder> |
|
getGuestAccelerator(int index)
publicAcceleratorConfiggetGuestAccelerator(intindex)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfig |
|
getGuestAcceleratorBuilder(int index)
publicAcceleratorConfig.BuildergetGuestAcceleratorBuilder(intindex)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfig.Builder |
|
getGuestAcceleratorBuilderList()
publicList<AcceleratorConfig.Builder>getGuestAcceleratorBuilderList()A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getGuestAcceleratorCount()
publicintgetGuestAcceleratorCount()A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGuestAcceleratorList()
publicList<AcceleratorConfig>getGuestAcceleratorList()A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns | |
|---|---|
| Type | Description |
List<AcceleratorConfig> |
|
getGuestAcceleratorOrBuilder(int index)
publicAcceleratorConfigOrBuildergetGuestAcceleratorOrBuilder(intindex)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AcceleratorConfigOrBuilder |
|
getGuestAcceleratorOrBuilderList()
publicList<?extendsAcceleratorConfigOrBuilder>getGuestAcceleratorOrBuilderList()A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.AcceleratorConfigOrBuilder> |
|
getKeyRevocationActionType()
publicKeyRevocationActionTypegetKeyRevocationActionType()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Returns | |
|---|---|
| Type | Description |
KeyRevocationActionType |
The keyRevocationActionType. |
getKeyRevocationActionTypeValue()
publicintgetKeyRevocationActionTypeValue()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for keyRevocationActionType. |
getLabels() (deprecated)
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
publicintgetLabelsCount()Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
publicMap<String,String>getLabelsMap()Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getMachineType()
publicStringgetMachineType()The machine type to use for instances that are created from these properties.
optional string machine_type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
publicByteStringgetMachineTypeBytes()The machine type to use for instances that are created from these properties.
optional string machine_type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |
getMetadata()
publicMetadatagetMetadata()The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Returns | |
|---|---|
| Type | Description |
Metadata |
The metadata. |
getMetadataBuilder()
publicMetadata.BuildergetMetadataBuilder()The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Returns | |
|---|---|
| Type | Description |
Metadata.Builder |
|
getMetadataOrBuilder()
publicMetadataOrBuildergetMetadataOrBuilder()The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Returns | |
|---|---|
| Type | Description |
MetadataOrBuilder |
|
getMinCpuPlatform()
publicStringgetMinCpuPlatform() Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
publicByteStringgetMinCpuPlatformBytes() Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minCpuPlatform. |
getMutableLabels() (deprecated)
publicMap<String,String>getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getNetworkInterface(int index)
publicNetworkInterfacegetNetworkInterface(intindex)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterface |
|
getNetworkInterfaceBuilder(int index)
publicNetworkInterface.BuildergetNetworkInterfaceBuilder(intindex)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterface.Builder |
|
getNetworkInterfaceBuilderList()
publicList<NetworkInterface.Builder>getNetworkInterfaceBuilderList()An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getNetworkInterfaceCount()
publicintgetNetworkInterfaceCount()An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns | |
|---|---|
| Type | Description |
int |
|
getNetworkInterfaceList()
publicList<NetworkInterface>getNetworkInterfaceList()An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns | |
|---|---|
| Type | Description |
List<NetworkInterface> |
|
getNetworkInterfaceOrBuilder(int index)
publicNetworkInterfaceOrBuildergetNetworkInterfaceOrBuilder(intindex)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NetworkInterfaceOrBuilder |
|
getNetworkInterfaceOrBuilderList()
publicList<?extendsNetworkInterfaceOrBuilder>getNetworkInterfaceOrBuilderList()An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.NetworkInterfaceOrBuilder> |
|
getScheduling()
publicSchedulinggetScheduling()Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Returns | |
|---|---|
| Type | Description |
Scheduling |
The scheduling. |
getSchedulingBuilder()
publicScheduling.BuildergetSchedulingBuilder()Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Returns | |
|---|---|
| Type | Description |
Scheduling.Builder |
|
getSchedulingOrBuilder()
publicSchedulingOrBuildergetSchedulingOrBuilder()Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Returns | |
|---|---|
| Type | Description |
SchedulingOrBuilder |
|
getServiceAccount(int index)
publicServiceAccountgetServiceAccount(intindex)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccount |
|
getServiceAccountBuilder(int index)
publicServiceAccount.BuildergetServiceAccountBuilder(intindex)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccount.Builder |
|
getServiceAccountBuilderList()
publicList<ServiceAccount.Builder>getServiceAccountBuilderList()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getServiceAccountCount()
publicintgetServiceAccountCount()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns | |
|---|---|
| Type | Description |
int |
|
getServiceAccountList()
publicList<ServiceAccount>getServiceAccountList()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns | |
|---|---|
| Type | Description |
List<ServiceAccount> |
|
getServiceAccountOrBuilder(int index)
publicServiceAccountOrBuildergetServiceAccountOrBuilder(intindex)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceAccountOrBuilder |
|
getServiceAccountOrBuilderList()
publicList<?extendsServiceAccountOrBuilder>getServiceAccountOrBuilderList()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.backupdr.v1.ServiceAccountOrBuilder> |
|
getSourceInstance()
publicStringgetSourceInstance()The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
optional string source_instance = 13;
| Returns | |
|---|---|
| Type | Description |
String |
The sourceInstance. |
getSourceInstanceBytes()
publicByteStringgetSourceInstanceBytes()The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
optional string source_instance = 13;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceInstance. |
getTags()
publicTagsgetTags()A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Returns | |
|---|---|
| Type | Description |
Tags |
The tags. |
getTagsBuilder()
publicTags.BuildergetTagsBuilder()A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Returns | |
|---|---|
| Type | Description |
Tags.Builder |
|
getTagsOrBuilder()
publicTagsOrBuildergetTagsOrBuilder()A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Returns | |
|---|---|
| Type | Description |
TagsOrBuilder |
|
hasCanIpForward()
publicbooleanhasCanIpForward() Enables instances created based on these properties to send packets with
source IP addresses other than their own and receive packets with
destination IP addresses other than their own. If these instances will be
used as an IP gateway or it will be set as the next-hop in a Route
resource, specify true. If unsure, leave this set to false. See the
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the canIpForward field is set. |
hasDescription()
publicbooleanhasDescription()An optional text description for the instances that are created from these properties.
optional string description = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasKeyRevocationActionType()
publicbooleanhasKeyRevocationActionType()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the keyRevocationActionType field is set. |
hasMachineType()
publicbooleanhasMachineType()The machine type to use for instances that are created from these properties.
optional string machine_type = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the machineType field is set. |
hasMetadata()
publicbooleanhasMetadata()The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |
hasMinCpuPlatform()
publicbooleanhasMinCpuPlatform() Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the minCpuPlatform field is set. |
hasScheduling()
publicbooleanhasScheduling()Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scheduling field is set. |
hasSourceInstance()
publicbooleanhasSourceInstance()The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
optional string source_instance = 13;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceInstance field is set. |
hasTags()
publicbooleanhasTags()A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tags field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protectedMapFieldReflectionAccessorinternalGetMutableMapFieldReflection(intnumber)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ComputeInstanceBackupProperties other)
publicComputeInstanceBackupProperties.BuildermergeFrom(ComputeInstanceBackupPropertiesother)| Parameter | |
|---|---|
| Name | Description |
other |
ComputeInstanceBackupProperties |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicComputeInstanceBackupProperties.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicComputeInstanceBackupProperties.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
mergeMetadata(Metadata value)
publicComputeInstanceBackupProperties.BuildermergeMetadata(Metadatavalue)The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Metadata |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
mergeScheduling(Scheduling value)
publicComputeInstanceBackupProperties.BuildermergeScheduling(Schedulingvalue)Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
Scheduling |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
mergeTags(Tags value)
publicComputeInstanceBackupProperties.BuildermergeTags(Tagsvalue)A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Tags |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalComputeInstanceBackupProperties.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
putAllLabels(Map<String,String> values)
publicComputeInstanceBackupProperties.BuilderputAllLabels(Map<String,String>values)Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
putLabels(String key, String value)
publicComputeInstanceBackupProperties.BuilderputLabels(Stringkey,Stringvalue)Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
removeDisk(int index)
publicComputeInstanceBackupProperties.BuilderremoveDisk(intindex)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
removeGuestAccelerator(int index)
publicComputeInstanceBackupProperties.BuilderremoveGuestAccelerator(intindex)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
removeLabels(String key)
publicComputeInstanceBackupProperties.BuilderremoveLabels(Stringkey)Labels to apply to instances that are created from these properties.
map<string, string> labels = 14;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
removeNetworkInterface(int index)
publicComputeInstanceBackupProperties.BuilderremoveNetworkInterface(intindex)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
removeServiceAccount(int index)
publicComputeInstanceBackupProperties.BuilderremoveServiceAccount(intindex)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setCanIpForward(boolean value)
publicComputeInstanceBackupProperties.BuildersetCanIpForward(booleanvalue) Enables instances created based on these properties to send packets with
source IP addresses other than their own and receive packets with
destination IP addresses other than their own. If these instances will be
used as an IP gateway or it will be set as the next-hop in a Route
resource, specify true. If unsure, leave this set to false. See the
https://cloud.google.com/vpc/docs/using-routes#canipforward
documentation for more information.
optional bool can_ip_forward = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
boolean The canIpForward to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setDescription(String value)
publicComputeInstanceBackupProperties.BuildersetDescription(Stringvalue)An optional text description for the instances that are created from these properties.
optional string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
String The description to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
publicComputeInstanceBackupProperties.BuildersetDescriptionBytes(ByteStringvalue)An optional text description for the instances that are created from these properties.
optional string description = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setDisk(int index, AttachedDisk value)
publicComputeInstanceBackupProperties.BuildersetDisk(intindex,AttachedDiskvalue)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AttachedDisk |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setDisk(int index, AttachedDisk.Builder builderForValue)
publicComputeInstanceBackupProperties.BuildersetDisk(intindex,AttachedDisk.BuilderbuilderForValue)An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.backupdr.v1.AttachedDisk disk = 6;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AttachedDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicComputeInstanceBackupProperties.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setGuestAccelerator(int index, AcceleratorConfig value)
publicComputeInstanceBackupProperties.BuildersetGuestAccelerator(intindex,AcceleratorConfigvalue)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AcceleratorConfig |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setGuestAccelerator(int index, AcceleratorConfig.Builder builderForValue)
publicComputeInstanceBackupProperties.BuildersetGuestAccelerator(intindex,AcceleratorConfig.BuilderbuilderForValue)A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.backupdr.v1.AcceleratorConfig guest_accelerator = 10;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AcceleratorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setKeyRevocationActionType(KeyRevocationActionType value)
publicComputeInstanceBackupProperties.BuildersetKeyRevocationActionType(KeyRevocationActionTypevalue)KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
KeyRevocationActionType The keyRevocationActionType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setKeyRevocationActionTypeValue(int value)
publicComputeInstanceBackupProperties.BuildersetKeyRevocationActionTypeValue(intvalue)KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
optional .google.cloud.backupdr.v1.KeyRevocationActionType key_revocation_action_type = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
int The enum numeric value on the wire for keyRevocationActionType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setMachineType(String value)
publicComputeInstanceBackupProperties.BuildersetMachineType(Stringvalue)The machine type to use for instances that are created from these properties.
optional string machine_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The machineType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setMachineTypeBytes(ByteString value)
publicComputeInstanceBackupProperties.BuildersetMachineTypeBytes(ByteStringvalue)The machine type to use for instances that are created from these properties.
optional string machine_type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for machineType to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setMetadata(Metadata value)
publicComputeInstanceBackupProperties.BuildersetMetadata(Metadatavalue)The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Metadata |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setMetadata(Metadata.Builder builderForValue)
publicComputeInstanceBackupProperties.BuildersetMetadata(Metadata.BuilderbuilderForValue)The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See https://cloud.google.com/compute/docs/metadata/overview for more information.
optional .google.cloud.backupdr.v1.Metadata metadata = 7;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Metadata.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setMinCpuPlatform(String value)
publicComputeInstanceBackupProperties.BuildersetMinCpuPlatform(Stringvalue) Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
String The minCpuPlatform to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setMinCpuPlatformBytes(ByteString value)
publicComputeInstanceBackupProperties.BuildersetMinCpuPlatformBytes(ByteStringvalue) Minimum cpu/platform to be used by instances. The instance may be
scheduled on the specified or newer cpu/platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge.
For more information, read
https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
optional string min_cpu_platform = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for minCpuPlatform to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setNetworkInterface(int index, NetworkInterface value)
publicComputeInstanceBackupProperties.BuildersetNetworkInterface(intindex,NetworkInterfacevalue)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NetworkInterface |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setNetworkInterface(int index, NetworkInterface.Builder builderForValue)
publicComputeInstanceBackupProperties.BuildersetNetworkInterface(intindex,NetworkInterface.BuilderbuilderForValue)An array of network access configurations for this interface.
repeated .google.cloud.backupdr.v1.NetworkInterface network_interface = 5;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NetworkInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicComputeInstanceBackupProperties.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setScheduling(Scheduling value)
publicComputeInstanceBackupProperties.BuildersetScheduling(Schedulingvalue)Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
Scheduling |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setScheduling(Scheduling.Builder builderForValue)
publicComputeInstanceBackupProperties.BuildersetScheduling(Scheduling.BuilderbuilderForValue)Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.backupdr.v1.Scheduling scheduling = 9;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Scheduling.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setServiceAccount(int index, ServiceAccount value)
publicComputeInstanceBackupProperties.BuildersetServiceAccount(intindex,ServiceAccountvalue)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ServiceAccount |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setServiceAccount(int index, ServiceAccount.Builder builderForValue)
publicComputeInstanceBackupProperties.BuildersetServiceAccount(intindex,ServiceAccount.BuilderbuilderForValue)A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.backupdr.v1.ServiceAccount service_account = 8;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ServiceAccount.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setSourceInstance(String value)
publicComputeInstanceBackupProperties.BuildersetSourceInstance(Stringvalue)The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
optional string source_instance = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
String The sourceInstance to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setSourceInstanceBytes(ByteString value)
publicComputeInstanceBackupProperties.BuildersetSourceInstanceBytes(ByteStringvalue)The source instance used to create this backup. This can be a partial or full URL to the resource. For example, the following are valid values: -https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance -projects/project/zones/zone/instances/instance
optional string source_instance = 13;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for sourceInstance to set. |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
This builder for chaining. |
setTags(Tags value)
publicComputeInstanceBackupProperties.BuildersetTags(Tagsvalue)A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Tags |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setTags(Tags.Builder builderForValue)
publicComputeInstanceBackupProperties.BuildersetTags(Tags.BuilderbuilderForValue)A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035 (https://www.ietf.org/rfc/rfc1035.txt).
optional .google.cloud.backupdr.v1.Tags tags = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Tags.Builder |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalComputeInstanceBackupProperties.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ComputeInstanceBackupProperties.Builder |
|