- 1.78.0 (latest)
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class DisksMigrationVmTargetDefaults.Builder extends GeneratedMessageV3.Builder<DisksMigrationVmTargetDefaults.Builder> implements DisksMigrationVmTargetDefaultsOrBuilderDetails for creation of a VM that migrated data disks will be attached to.
 Protobuf type google.cloud.vmmigration.v1.DisksMigrationVmTargetDefaults
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DisksMigrationVmTargetDefaults.BuilderImplements
DisksMigrationVmTargetDefaultsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAdditionalLicenses(String value)
public DisksMigrationVmTargetDefaults.Builder addAdditionalLicenses(String value)Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe additionalLicenses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
addAdditionalLicensesBytes(ByteString value)
public DisksMigrationVmTargetDefaults.Builder addAdditionalLicensesBytes(ByteString value)Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the additionalLicenses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
addAllAdditionalLicenses(Iterable<String> values)
public DisksMigrationVmTargetDefaults.Builder addAllAdditionalLicenses(Iterable<String> values)Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The additionalLicenses to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
public DisksMigrationVmTargetDefaults.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<? extends com.google.cloud.vmmigration.v1.NetworkInterface> | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
addAllNetworkTags(Iterable<String> values)
public DisksMigrationVmTargetDefaults.Builder addAllNetworkTags(Iterable<String> values)Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| values | Iterable<String>The networkTags to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
addNetworkInterfaces(NetworkInterface value)
public DisksMigrationVmTargetDefaults.Builder addNetworkInterfaces(NetworkInterface value)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | NetworkInterface | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
addNetworkInterfaces(NetworkInterface.Builder builderForValue)
public DisksMigrationVmTargetDefaults.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | NetworkInterface.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
addNetworkInterfaces(int index, NetworkInterface value)
public DisksMigrationVmTargetDefaults.Builder addNetworkInterfaces(int index, NetworkInterface value)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | NetworkInterface | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public DisksMigrationVmTargetDefaults.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | NetworkInterface.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
addNetworkInterfacesBuilder()
public NetworkInterface.Builder addNetworkInterfacesBuilder()Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| NetworkInterface.Builder | |
addNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| NetworkInterface.Builder | |
addNetworkTags(String value)
public DisksMigrationVmTargetDefaults.Builder addNetworkTags(String value)Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe networkTags to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
addNetworkTagsBytes(ByteString value)
public DisksMigrationVmTargetDefaults.Builder addNetworkTagsBytes(ByteString value)Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the networkTags to add. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DisksMigrationVmTargetDefaults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
build()
public DisksMigrationVmTargetDefaults build()| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults | |
buildPartial()
public DisksMigrationVmTargetDefaults buildPartial()| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults | |
clear()
public DisksMigrationVmTargetDefaults.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearAdditionalLicenses()
public DisksMigrationVmTargetDefaults.Builder clearAdditionalLicenses()Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearBootDiskDefaults()
public DisksMigrationVmTargetDefaults.Builder clearBootDiskDefaults()Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearComputeScheduling()
public DisksMigrationVmTargetDefaults.Builder clearComputeScheduling()Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearEnableIntegrityMonitoring()
public DisksMigrationVmTargetDefaults.Builder clearEnableIntegrityMonitoring()Optional. Defines whether the instance has integrity monitoring enabled.
 bool enable_integrity_monitoring = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearEnableVtpm()
public DisksMigrationVmTargetDefaults.Builder clearEnableVtpm()Optional. Defines whether the instance has vTPM enabled.
 bool enable_vtpm = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearEncryption()
public DisksMigrationVmTargetDefaults.Builder clearEncryption()Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearField(Descriptors.FieldDescriptor field)
public DisksMigrationVmTargetDefaults.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearHostname()
public DisksMigrationVmTargetDefaults.Builder clearHostname()Optional. The hostname to assign to the VM.
 string hostname = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearLabels()
public DisksMigrationVmTargetDefaults.Builder clearLabels()| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearMachineType()
public DisksMigrationVmTargetDefaults.Builder clearMachineType()Required. The machine type to create the VM with.
 string machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearMachineTypeSeries()
public DisksMigrationVmTargetDefaults.Builder clearMachineTypeSeries()Optional. The machine type series to create the VM with. For presentation only.
 string machine_type_series = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearMetadata()
public DisksMigrationVmTargetDefaults.Builder clearMetadata()| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearNetworkInterfaces()
public DisksMigrationVmTargetDefaults.Builder clearNetworkInterfaces()Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearNetworkTags()
public DisksMigrationVmTargetDefaults.Builder clearNetworkTags()Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public DisksMigrationVmTargetDefaults.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
clearSecureBoot()
public DisksMigrationVmTargetDefaults.Builder clearSecureBoot()Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
 bool secure_boot = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearServiceAccount()
public DisksMigrationVmTargetDefaults.Builder clearServiceAccount()Optional. The service account to associate the VM with.
 string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clearVmName()
public DisksMigrationVmTargetDefaults.Builder clearVmName()Required. The name of the VM to create.
 string vm_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
clone()
public DisksMigrationVmTargetDefaults.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
containsLabels(String key)
public boolean containsLabels(String key)Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
containsMetadata(String key)
public boolean containsMetadata(String key)Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| boolean | |
getAdditionalLicenses(int index)
public String getAdditionalLicenses(int index)Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The additionalLicenses at the given index. | 
getAdditionalLicensesBytes(int index)
public ByteString getAdditionalLicensesBytes(int index)Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the additionalLicenses at the given index. | 
getAdditionalLicensesCount()
public int getAdditionalLicensesCount()Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The count of additionalLicenses. | 
getAdditionalLicensesList()
public ProtocolStringList getAdditionalLicensesList()Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the additionalLicenses. | 
getBootDiskDefaults()
public BootDiskDefaults getBootDiskDefaults()Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| BootDiskDefaults | The bootDiskDefaults. | 
getBootDiskDefaultsBuilder()
public BootDiskDefaults.Builder getBootDiskDefaultsBuilder()Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| BootDiskDefaults.Builder | |
getBootDiskDefaultsOrBuilder()
public BootDiskDefaultsOrBuilder getBootDiskDefaultsOrBuilder()Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| BootDiskDefaultsOrBuilder | |
getComputeScheduling()
public ComputeScheduling getComputeScheduling()Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| ComputeScheduling | The computeScheduling. | 
getComputeSchedulingBuilder()
public ComputeScheduling.Builder getComputeSchedulingBuilder()Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| ComputeScheduling.Builder | |
getComputeSchedulingOrBuilder()
public ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| ComputeSchedulingOrBuilder | |
getDefaultInstanceForType()
public DisksMigrationVmTargetDefaults getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getEnableIntegrityMonitoring()
public boolean getEnableIntegrityMonitoring()Optional. Defines whether the instance has integrity monitoring enabled.
 bool enable_integrity_monitoring = 17 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The enableIntegrityMonitoring. | 
getEnableVtpm()
public boolean getEnableVtpm()Optional. Defines whether the instance has vTPM enabled.
 bool enable_vtpm = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The enableVtpm. | 
getEncryption()
public Encryption getEncryption()Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Encryption | The encryption. | 
getEncryptionBuilder()
public Encryption.Builder getEncryptionBuilder()Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Encryption.Builder | |
getEncryptionOrBuilder()
public EncryptionOrBuilder getEncryptionOrBuilder()Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| EncryptionOrBuilder | |
getHostname()
public String getHostname()Optional. The hostname to assign to the VM.
 string hostname = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The hostname. | 
getHostnameBytes()
public ByteString getHostnameBytes()Optional. The hostname to assign to the VM.
 string hostname = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for hostname. | 
getLabels() (deprecated)
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsCount()
public int getLabelsCount()Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | |
getLabelsMap()
public Map<String,String> getLabelsMap()Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| defaultValue | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getMachineType()
public String getMachineType()Required. The machine type to create the VM with.
 string machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The machineType. | 
getMachineTypeBytes()
public ByteString getMachineTypeBytes()Required. The machine type to create the VM with.
 string machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for machineType. | 
getMachineTypeSeries()
public String getMachineTypeSeries()Optional. The machine type series to create the VM with. For presentation only.
 string machine_type_series = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The machineTypeSeries. | 
getMachineTypeSeriesBytes()
public ByteString getMachineTypeSeriesBytes()Optional. The machine type series to create the VM with. For presentation only.
 string machine_type_series = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for machineTypeSeries. | 
getMetadata() (deprecated)
public Map<String,String> getMetadata()Use #getMetadataMap() instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getMetadataCount()
public int getMetadataCount()Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | |
getMetadataMap()
public Map<String,String> getMetadataMap()Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getMetadataOrDefault(String key, String defaultValue)
public String getMetadataOrDefault(String key, String defaultValue)Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| defaultValue | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getMetadataOrThrow(String key)
public String getMetadataOrThrow(String key)Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| String | |
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getMutableMetadata() (deprecated)
public Map<String,String> getMutableMetadata()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description | 
| Map<String,String> | |
getNetworkInterfaces(int index)
public NetworkInterface getNetworkInterfaces(int index)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| NetworkInterface | |
getNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| NetworkInterface.Builder | |
getNetworkInterfacesBuilderList()
public List<NetworkInterface.Builder> getNetworkInterfacesBuilderList()Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<Builder> | |
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| int | |
getNetworkInterfacesList()
public List<NetworkInterface> getNetworkInterfacesList()Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<NetworkInterface> | |
getNetworkInterfacesOrBuilder(int index)
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| NetworkInterfaceOrBuilder | |
getNetworkInterfacesOrBuilderList()
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| List<? extends com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> | |
getNetworkTags(int index)
public String getNetworkTags(int index)Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The networkTags at the given index. | 
getNetworkTagsBytes(int index)
public ByteString getNetworkTagsBytes(int index)Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the networkTags at the given index. | 
getNetworkTagsCount()
public int getNetworkTagsCount()Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| int | The count of networkTags. | 
getNetworkTagsList()
public ProtocolStringList getNetworkTagsList()Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ProtocolStringList | A list containing the networkTags. | 
getSecureBoot()
public boolean getSecureBoot()Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
 bool secure_boot = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| boolean | The secureBoot. | 
getServiceAccount()
public String getServiceAccount()Optional. The service account to associate the VM with.
 string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| String | The serviceAccount. | 
getServiceAccountBytes()
public ByteString getServiceAccountBytes()Optional. The service account to associate the VM with.
 string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for serviceAccount. | 
getVmName()
public String getVmName()Required. The name of the VM to create.
 string vm_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| String | The vmName. | 
getVmNameBytes()
public ByteString getVmNameBytes()Required. The name of the VM to create.
 string vm_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for vmName. | 
hasBootDiskDefaults()
public boolean hasBootDiskDefaults()Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the bootDiskDefaults field is set. | 
hasComputeScheduling()
public boolean hasComputeScheduling()Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the computeScheduling field is set. | 
hasEncryption()
public boolean hasEncryption()Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the encryption field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| com.google.protobuf.MapFieldReflectionAccessor | |
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description | 
| number | int | 
| Returns | |
|---|---|
| Type | Description | 
| com.google.protobuf.MapFieldReflectionAccessor | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeBootDiskDefaults(BootDiskDefaults value)
public DisksMigrationVmTargetDefaults.Builder mergeBootDiskDefaults(BootDiskDefaults value)Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | BootDiskDefaults | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
mergeComputeScheduling(ComputeScheduling value)
public DisksMigrationVmTargetDefaults.Builder mergeComputeScheduling(ComputeScheduling value)Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ComputeScheduling | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
mergeEncryption(Encryption value)
public DisksMigrationVmTargetDefaults.Builder mergeEncryption(Encryption value)Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Encryption | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
mergeFrom(DisksMigrationVmTargetDefaults other)
public DisksMigrationVmTargetDefaults.Builder mergeFrom(DisksMigrationVmTargetDefaults other)| Parameter | |
|---|---|
| Name | Description | 
| other | DisksMigrationVmTargetDefaults | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DisksMigrationVmTargetDefaults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public DisksMigrationVmTargetDefaults.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DisksMigrationVmTargetDefaults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
putAllLabels(Map<String,String> values)
public DisksMigrationVmTargetDefaults.Builder putAllLabels(Map<String,String> values)Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| values | Map<String,String> | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
putAllMetadata(Map<String,String> values)
public DisksMigrationVmTargetDefaults.Builder putAllMetadata(Map<String,String> values)Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| values | Map<String,String> | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
putLabels(String key, String value)
public DisksMigrationVmTargetDefaults.Builder putLabels(String key, String value)Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| value | String | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
putMetadata(String key, String value)
public DisksMigrationVmTargetDefaults.Builder putMetadata(String key, String value)Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| key | String | 
| value | String | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
removeLabels(String key)
public DisksMigrationVmTargetDefaults.Builder removeLabels(String key)Optional. A map of labels to associate with the VM.
 map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
removeMetadata(String key)
public DisksMigrationVmTargetDefaults.Builder removeMetadata(String key)Optional. The metadata key/value pairs to assign to the VM.
 map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| key | String | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
removeNetworkInterfaces(int index)
public DisksMigrationVmTargetDefaults.Builder removeNetworkInterfaces(int index)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| index | int | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setAdditionalLicenses(int index, String value)
public DisksMigrationVmTargetDefaults.Builder setAdditionalLicenses(int index, String value)Optional. Additional licenses to assign to the VM.
 repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe additionalLicenses to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setBootDiskDefaults(BootDiskDefaults value)
public DisksMigrationVmTargetDefaults.Builder setBootDiskDefaults(BootDiskDefaults value)Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | BootDiskDefaults | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setBootDiskDefaults(BootDiskDefaults.Builder builderForValue)
public DisksMigrationVmTargetDefaults.Builder setBootDiskDefaults(BootDiskDefaults.Builder builderForValue)Optional. Details of the boot disk of the VM.
 
 .google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | BootDiskDefaults.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setComputeScheduling(ComputeScheduling value)
public DisksMigrationVmTargetDefaults.Builder setComputeScheduling(ComputeScheduling value)Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | ComputeScheduling | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setComputeScheduling(ComputeScheduling.Builder builderForValue)
public DisksMigrationVmTargetDefaults.Builder setComputeScheduling(ComputeScheduling.Builder builderForValue)Optional. Compute instance scheduling information (if empty default is used).
 
 .google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | ComputeScheduling.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setEnableIntegrityMonitoring(boolean value)
public DisksMigrationVmTargetDefaults.Builder setEnableIntegrityMonitoring(boolean value)Optional. Defines whether the instance has integrity monitoring enabled.
 bool enable_integrity_monitoring = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe enableIntegrityMonitoring to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setEnableVtpm(boolean value)
public DisksMigrationVmTargetDefaults.Builder setEnableVtpm(boolean value)Optional. Defines whether the instance has vTPM enabled.
 bool enable_vtpm = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe enableVtpm to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setEncryption(Encryption value)
public DisksMigrationVmTargetDefaults.Builder setEncryption(Encryption value)Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Encryption | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setEncryption(Encryption.Builder builderForValue)
public DisksMigrationVmTargetDefaults.Builder setEncryption(Encryption.Builder builderForValue)Optional. The encryption to apply to the VM.
 
 .google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Encryption.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setField(Descriptors.FieldDescriptor field, Object value)
public DisksMigrationVmTargetDefaults.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setHostname(String value)
public DisksMigrationVmTargetDefaults.Builder setHostname(String value)Optional. The hostname to assign to the VM.
 string hostname = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe hostname to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setHostnameBytes(ByteString value)
public DisksMigrationVmTargetDefaults.Builder setHostnameBytes(ByteString value)Optional. The hostname to assign to the VM.
 string hostname = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for hostname to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setMachineType(String value)
public DisksMigrationVmTargetDefaults.Builder setMachineType(String value)Required. The machine type to create the VM with.
 string machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe machineType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setMachineTypeBytes(ByteString value)
public DisksMigrationVmTargetDefaults.Builder setMachineTypeBytes(ByteString value)Required. The machine type to create the VM with.
 string machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for machineType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setMachineTypeSeries(String value)
public DisksMigrationVmTargetDefaults.Builder setMachineTypeSeries(String value)Optional. The machine type series to create the VM with. For presentation only.
 string machine_type_series = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe machineTypeSeries to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setMachineTypeSeriesBytes(ByteString value)
public DisksMigrationVmTargetDefaults.Builder setMachineTypeSeriesBytes(ByteString value)Optional. The machine type series to create the VM with. For presentation only.
 string machine_type_series = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for machineTypeSeries to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setNetworkInterfaces(int index, NetworkInterface value)
public DisksMigrationVmTargetDefaults.Builder setNetworkInterfaces(int index, NetworkInterface value)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| value | NetworkInterface | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public DisksMigrationVmTargetDefaults.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)Optional. NICs to attach to the VM.
 
 repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
 
| Parameters | |
|---|---|
| Name | Description | 
| index | int | 
| builderForValue | NetworkInterface.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setNetworkTags(int index, String value)
public DisksMigrationVmTargetDefaults.Builder setNetworkTags(int index, String value)Optional. A list of network tags to associate with the VM.
 repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe networkTags to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DisksMigrationVmTargetDefaults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setSecureBoot(boolean value)
public DisksMigrationVmTargetDefaults.Builder setSecureBoot(boolean value)Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
 bool secure_boot = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe secureBoot to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setServiceAccount(String value)
public DisksMigrationVmTargetDefaults.Builder setServiceAccount(String value)Optional. The service account to associate the VM with.
 string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe serviceAccount to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setServiceAccountBytes(ByteString value)
public DisksMigrationVmTargetDefaults.Builder setServiceAccountBytes(ByteString value)Optional. The service account to associate the VM with.
 string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for serviceAccount to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final DisksMigrationVmTargetDefaults.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | |
setVmName(String value)
public DisksMigrationVmTargetDefaults.Builder setVmName(String value)Required. The name of the VM to create.
 string vm_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe vmName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. | 
setVmNameBytes(ByteString value)
public DisksMigrationVmTargetDefaults.Builder setVmNameBytes(ByteString value)Required. The name of the VM to create.
 string vm_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for vmName to set. | 
| Returns | |
|---|---|
| Type | Description | 
| DisksMigrationVmTargetDefaults.Builder | This builder for chaining. |