- 1.51.0 (latest)
- 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 ComputeEngineTargetDefaults.Builder extends GeneratedMessageV3.Builder<ComputeEngineTargetDefaults.Builder> implements ComputeEngineTargetDefaultsOrBuilder
ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
Protobuf type google.cloud.vmmigration.v1.ComputeEngineTargetDefaults
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeEngineTargetDefaults.BuilderImplements
ComputeEngineTargetDefaultsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAdditionalLicenses(String value)
public ComputeEngineTargetDefaults.Builder addAdditionalLicenses(String value)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Name | Description |
value | String The additionalLicenses to add. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
addAdditionalLicensesBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder addAdditionalLicensesBytes(ByteString value)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Name | Description |
value | ByteString The bytes of the additionalLicenses to add. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
addAllAdditionalLicenses(Iterable<String> values)
public ComputeEngineTargetDefaults.Builder addAllAdditionalLicenses(Iterable<String> values)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Name | Description |
values | Iterable<String> The additionalLicenses to add. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
public ComputeEngineTargetDefaults.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
values | Iterable<? extends com.google.cloud.vmmigration.v1.NetworkInterface> |
Type | Description |
ComputeEngineTargetDefaults.Builder |
addAllNetworkTags(Iterable<String> values)
public ComputeEngineTargetDefaults.Builder addAllNetworkTags(Iterable<String> values)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Name | Description |
values | Iterable<String> The networkTags to add. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
addNetworkInterfaces(NetworkInterface value)
public ComputeEngineTargetDefaults.Builder addNetworkInterfaces(NetworkInterface value)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
value | NetworkInterface |
Type | Description |
ComputeEngineTargetDefaults.Builder |
addNetworkInterfaces(NetworkInterface.Builder builderForValue)
public ComputeEngineTargetDefaults.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
builderForValue | NetworkInterface.Builder |
Type | Description |
ComputeEngineTargetDefaults.Builder |
addNetworkInterfaces(int index, NetworkInterface value)
public ComputeEngineTargetDefaults.Builder addNetworkInterfaces(int index, NetworkInterface value)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
value | NetworkInterface |
Type | Description |
ComputeEngineTargetDefaults.Builder |
addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public ComputeEngineTargetDefaults.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
builderForValue | NetworkInterface.Builder |
Type | Description |
ComputeEngineTargetDefaults.Builder |
addNetworkInterfacesBuilder()
public NetworkInterface.Builder addNetworkInterfacesBuilder()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Type | Description |
NetworkInterface.Builder |
addNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
Type | Description |
NetworkInterface.Builder |
addNetworkTags(String value)
public ComputeEngineTargetDefaults.Builder addNetworkTags(String value)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Name | Description |
value | String The networkTags to add. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
addNetworkTagsBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder addNetworkTagsBytes(ByteString value)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Name | Description |
value | ByteString The bytes of the networkTags to add. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeEngineTargetDefaults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeEngineTargetDefaults.Builder |
build()
public ComputeEngineTargetDefaults build()
Type | Description |
ComputeEngineTargetDefaults |
buildPartial()
public ComputeEngineTargetDefaults buildPartial()
Type | Description |
ComputeEngineTargetDefaults |
clear()
public ComputeEngineTargetDefaults.Builder clear()
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearAdditionalLicenses()
public ComputeEngineTargetDefaults.Builder clearAdditionalLicenses()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearAppliedLicense()
public ComputeEngineTargetDefaults.Builder clearAppliedLicense()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearBootOption()
public ComputeEngineTargetDefaults.Builder clearBootOption()
Output only. The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearComputeScheduling()
public ComputeEngineTargetDefaults.Builder clearComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearDiskType()
public ComputeEngineTargetDefaults.Builder clearDiskType()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ComputeEngineTargetDefaults.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearHostname()
public ComputeEngineTargetDefaults.Builder clearHostname()
The hostname to assign to the VM.
string hostname = 18;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearLabels()
public ComputeEngineTargetDefaults.Builder clearLabels()
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearLicenseType()
public ComputeEngineTargetDefaults.Builder clearLicenseType()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearMachineType()
public ComputeEngineTargetDefaults.Builder clearMachineType()
The machine type to create the VM with.
string machine_type = 5;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearMachineTypeSeries()
public ComputeEngineTargetDefaults.Builder clearMachineTypeSeries()
The machine type series to create the VM with.
string machine_type_series = 4;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearMetadata()
public ComputeEngineTargetDefaults.Builder clearMetadata()
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearNetworkInterfaces()
public ComputeEngineTargetDefaults.Builder clearNetworkInterfaces()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearNetworkTags()
public ComputeEngineTargetDefaults.Builder clearNetworkTags()
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeEngineTargetDefaults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ComputeEngineTargetDefaults.Builder |
clearSecureBoot()
public ComputeEngineTargetDefaults.Builder clearSecureBoot()
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 = 14;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearServiceAccount()
public ComputeEngineTargetDefaults.Builder clearServiceAccount()
The service account to associate the VM with.
string service_account = 8;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearTargetProject()
public ComputeEngineTargetDefaults.Builder clearTargetProject()
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
string target_project = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearVmName()
public ComputeEngineTargetDefaults.Builder clearVmName()
The name of the VM to create.
string vm_name = 1;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clearZone()
public ComputeEngineTargetDefaults.Builder clearZone()
The zone in which to create the VM.
string zone = 3;
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
clone()
public ComputeEngineTargetDefaults.Builder clone()
Type | Description |
ComputeEngineTargetDefaults.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
Name | Description |
key | String |
Type | Description |
boolean |
containsMetadata(String key)
public boolean containsMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Name | Description |
key | String |
Type | Description |
boolean |
getAdditionalLicenses(int index)
public String getAdditionalLicenses(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The additionalLicenses at the given index. |
getAdditionalLicensesBytes(int index)
public ByteString getAdditionalLicensesBytes(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the additionalLicenses at the given index. |
getAdditionalLicensesCount()
public int getAdditionalLicensesCount()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Type | Description |
int | The count of additionalLicenses. |
getAdditionalLicensesList()
public ProtocolStringList getAdditionalLicensesList()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Type | Description |
ProtocolStringList | A list containing the additionalLicenses. |
getAppliedLicense()
public AppliedLicense getAppliedLicense()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AppliedLicense | The appliedLicense. |
getAppliedLicenseBuilder()
public AppliedLicense.Builder getAppliedLicenseBuilder()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AppliedLicense.Builder |
getAppliedLicenseOrBuilder()
public AppliedLicenseOrBuilder getAppliedLicenseOrBuilder()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
AppliedLicenseOrBuilder |
getBootOption()
public ComputeEngineBootOption getBootOption()
Output only. The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ComputeEngineBootOption | The bootOption. |
getBootOptionValue()
public int getBootOptionValue()
Output only. The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The enum numeric value on the wire for bootOption. |
getComputeScheduling()
public ComputeScheduling getComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Type | Description |
ComputeScheduling | The computeScheduling. |
getComputeSchedulingBuilder()
public ComputeScheduling.Builder getComputeSchedulingBuilder()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Type | Description |
ComputeScheduling.Builder |
getComputeSchedulingOrBuilder()
public ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Type | Description |
ComputeSchedulingOrBuilder |
getDefaultInstanceForType()
public ComputeEngineTargetDefaults getDefaultInstanceForType()
Type | Description |
ComputeEngineTargetDefaults |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDiskType()
public ComputeEngineDiskType getDiskType()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
Type | Description |
ComputeEngineDiskType | The diskType. |
getDiskTypeValue()
public int getDiskTypeValue()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
Type | Description |
int | The enum numeric value on the wire for diskType. |
getHostname()
public String getHostname()
The hostname to assign to the VM.
string hostname = 18;
Type | Description |
String | The hostname. |
getHostnameBytes()
public ByteString getHostnameBytes()
The hostname to assign to the VM.
string hostname = 18;
Type | Description |
ByteString | The bytes for hostname. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
A map of labels to associate with the VM.
map<string, string> labels = 10;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
A map of labels to associate with the VM.
map<string, string> labels = 10;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
A map of labels to associate with the VM.
map<string, string> labels = 10;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
Name | Description |
key | String |
Type | Description |
String |
getLicenseType()
public ComputeEngineLicenseType getLicenseType()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
Type | Description |
ComputeEngineLicenseType | The licenseType. |
getLicenseTypeValue()
public int getLicenseTypeValue()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
Type | Description |
int | The enum numeric value on the wire for licenseType. |
getMachineType()
public String getMachineType()
The machine type to create the VM with.
string machine_type = 5;
Type | Description |
String | The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
The machine type to create the VM with.
string machine_type = 5;
Type | Description |
ByteString | The bytes for machineType. |
getMachineTypeSeries()
public String getMachineTypeSeries()
The machine type series to create the VM with.
string machine_type_series = 4;
Type | Description |
String | The machineTypeSeries. |
getMachineTypeSeriesBytes()
public ByteString getMachineTypeSeriesBytes()
The machine type series to create the VM with.
string machine_type_series = 4;
Type | Description |
ByteString | The bytes for machineTypeSeries. |
getMetadata()
public Map<String,String> getMetadata()
Use #getMetadataMap() instead.
Type | Description |
Map<String,String> |
getMetadataCount()
public int getMetadataCount()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Type | Description |
int |
getMetadataMap()
public Map<String,String> getMetadataMap()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Type | Description |
Map<String,String> |
getMetadataOrDefault(String key, String defaultValue)
public String getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getMetadataOrThrow(String key)
public String getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Name | Description |
key | String |
Type | Description |
String |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableMetadata()
public Map<String,String> getMutableMetadata()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getNetworkInterfaces(int index)
public NetworkInterface getNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
Type | Description |
NetworkInterface |
getNetworkInterfacesBuilder(int index)
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
Type | Description |
NetworkInterface.Builder |
getNetworkInterfacesBuilderList()
public List<NetworkInterface.Builder> getNetworkInterfacesBuilderList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Type | Description |
List<Builder> |
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Type | Description |
int |
getNetworkInterfacesList()
public List<NetworkInterface> getNetworkInterfacesList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Type | Description |
List<NetworkInterface> |
getNetworkInterfacesOrBuilder(int index)
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
Type | Description |
NetworkInterfaceOrBuilder |
getNetworkInterfacesOrBuilderList()
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Type | Description |
List<? extends com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> |
getNetworkTags(int index)
public String getNetworkTags(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The networkTags at the given index. |
getNetworkTagsBytes(int index)
public ByteString getNetworkTagsBytes(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the networkTags at the given index. |
getNetworkTagsCount()
public int getNetworkTagsCount()
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Type | Description |
int | The count of networkTags. |
getNetworkTagsList()
public ProtocolStringList getNetworkTagsList()
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Type | Description |
ProtocolStringList | A list containing the networkTags. |
getSecureBoot()
public boolean getSecureBoot()
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 = 14;
Type | Description |
boolean | The secureBoot. |
getServiceAccount()
public String getServiceAccount()
The service account to associate the VM with.
string service_account = 8;
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
The service account to associate the VM with.
string service_account = 8;
Type | Description |
ByteString | The bytes for serviceAccount. |
getTargetProject()
public String getTargetProject()
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
string target_project = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The targetProject. |
getTargetProjectBytes()
public ByteString getTargetProjectBytes()
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
string target_project = 2 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for targetProject. |
getVmName()
public String getVmName()
The name of the VM to create.
string vm_name = 1;
Type | Description |
String | The vmName. |
getVmNameBytes()
public ByteString getVmNameBytes()
The name of the VM to create.
string vm_name = 1;
Type | Description |
ByteString | The bytes for vmName. |
getZone()
public String getZone()
The zone in which to create the VM.
string zone = 3;
Type | Description |
String | The zone. |
getZoneBytes()
public ByteString getZoneBytes()
The zone in which to create the VM.
string zone = 3;
Type | Description |
ByteString | The bytes for zone. |
hasAppliedLicense()
public boolean hasAppliedLicense()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the appliedLicense field is set. |
hasComputeScheduling()
public boolean hasComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Type | Description |
boolean | Whether the computeScheduling field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAppliedLicense(AppliedLicense value)
public ComputeEngineTargetDefaults.Builder mergeAppliedLicense(AppliedLicense value)
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | AppliedLicense |
Type | Description |
ComputeEngineTargetDefaults.Builder |
mergeComputeScheduling(ComputeScheduling value)
public ComputeEngineTargetDefaults.Builder mergeComputeScheduling(ComputeScheduling value)
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Name | Description |
value | ComputeScheduling |
Type | Description |
ComputeEngineTargetDefaults.Builder |
mergeFrom(ComputeEngineTargetDefaults other)
public ComputeEngineTargetDefaults.Builder mergeFrom(ComputeEngineTargetDefaults other)
Name | Description |
other | ComputeEngineTargetDefaults |
Type | Description |
ComputeEngineTargetDefaults.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeEngineTargetDefaults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComputeEngineTargetDefaults.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeEngineTargetDefaults.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ComputeEngineTargetDefaults.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeEngineTargetDefaults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeEngineTargetDefaults.Builder |
putAllLabels(Map<String,String> values)
public ComputeEngineTargetDefaults.Builder putAllLabels(Map<String,String> values)
A map of labels to associate with the VM.
map<string, string> labels = 10;
Name | Description |
values | Map<String,String> |
Type | Description |
ComputeEngineTargetDefaults.Builder |
putAllMetadata(Map<String,String> values)
public ComputeEngineTargetDefaults.Builder putAllMetadata(Map<String,String> values)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Name | Description |
values | Map<String,String> |
Type | Description |
ComputeEngineTargetDefaults.Builder |
putLabels(String key, String value)
public ComputeEngineTargetDefaults.Builder putLabels(String key, String value)
A map of labels to associate with the VM.
map<string, string> labels = 10;
Name | Description |
key | String |
value | String |
Type | Description |
ComputeEngineTargetDefaults.Builder |
putMetadata(String key, String value)
public ComputeEngineTargetDefaults.Builder putMetadata(String key, String value)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Name | Description |
key | String |
value | String |
Type | Description |
ComputeEngineTargetDefaults.Builder |
removeLabels(String key)
public ComputeEngineTargetDefaults.Builder removeLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
Name | Description |
key | String |
Type | Description |
ComputeEngineTargetDefaults.Builder |
removeMetadata(String key)
public ComputeEngineTargetDefaults.Builder removeMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Name | Description |
key | String |
Type | Description |
ComputeEngineTargetDefaults.Builder |
removeNetworkInterfaces(int index)
public ComputeEngineTargetDefaults.Builder removeNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setAdditionalLicenses(int index, String value)
public ComputeEngineTargetDefaults.Builder setAdditionalLicenses(int index, String value)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Name | Description |
index | int The index to set the value at. |
value | String The additionalLicenses to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setAppliedLicense(AppliedLicense value)
public ComputeEngineTargetDefaults.Builder setAppliedLicense(AppliedLicense value)
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | AppliedLicense |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setAppliedLicense(AppliedLicense.Builder builderForValue)
public ComputeEngineTargetDefaults.Builder setAppliedLicense(AppliedLicense.Builder builderForValue)
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | AppliedLicense.Builder |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setBootOption(ComputeEngineBootOption value)
public ComputeEngineTargetDefaults.Builder setBootOption(ComputeEngineBootOption value)
Output only. The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ComputeEngineBootOption The bootOption to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setBootOptionValue(int value)
public ComputeEngineTargetDefaults.Builder setBootOptionValue(int value)
Output only. The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for bootOption to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setComputeScheduling(ComputeScheduling value)
public ComputeEngineTargetDefaults.Builder setComputeScheduling(ComputeScheduling value)
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Name | Description |
value | ComputeScheduling |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setComputeScheduling(ComputeScheduling.Builder builderForValue)
public ComputeEngineTargetDefaults.Builder setComputeScheduling(ComputeScheduling.Builder builderForValue)
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Name | Description |
builderForValue | ComputeScheduling.Builder |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setDiskType(ComputeEngineDiskType value)
public ComputeEngineTargetDefaults.Builder setDiskType(ComputeEngineDiskType value)
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
Name | Description |
value | ComputeEngineDiskType The diskType to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setDiskTypeValue(int value)
public ComputeEngineTargetDefaults.Builder setDiskTypeValue(int value)
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
Name | Description |
value | int The enum numeric value on the wire for diskType to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeEngineTargetDefaults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setHostname(String value)
public ComputeEngineTargetDefaults.Builder setHostname(String value)
The hostname to assign to the VM.
string hostname = 18;
Name | Description |
value | String The hostname to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setHostnameBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder setHostnameBytes(ByteString value)
The hostname to assign to the VM.
string hostname = 18;
Name | Description |
value | ByteString The bytes for hostname to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setLicenseType(ComputeEngineLicenseType value)
public ComputeEngineTargetDefaults.Builder setLicenseType(ComputeEngineLicenseType value)
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
Name | Description |
value | ComputeEngineLicenseType The licenseType to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setLicenseTypeValue(int value)
public ComputeEngineTargetDefaults.Builder setLicenseTypeValue(int value)
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
Name | Description |
value | int The enum numeric value on the wire for licenseType to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setMachineType(String value)
public ComputeEngineTargetDefaults.Builder setMachineType(String value)
The machine type to create the VM with.
string machine_type = 5;
Name | Description |
value | String The machineType to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder setMachineTypeBytes(ByteString value)
The machine type to create the VM with.
string machine_type = 5;
Name | Description |
value | ByteString The bytes for machineType to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setMachineTypeSeries(String value)
public ComputeEngineTargetDefaults.Builder setMachineTypeSeries(String value)
The machine type series to create the VM with.
string machine_type_series = 4;
Name | Description |
value | String The machineTypeSeries to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setMachineTypeSeriesBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder setMachineTypeSeriesBytes(ByteString value)
The machine type series to create the VM with.
string machine_type_series = 4;
Name | Description |
value | ByteString The bytes for machineTypeSeries to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setNetworkInterfaces(int index, NetworkInterface value)
public ComputeEngineTargetDefaults.Builder setNetworkInterfaces(int index, NetworkInterface value)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
value | NetworkInterface |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
public ComputeEngineTargetDefaults.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Name | Description |
index | int |
builderForValue | NetworkInterface.Builder |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setNetworkTags(int index, String value)
public ComputeEngineTargetDefaults.Builder setNetworkTags(int index, String value)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Name | Description |
index | int The index to set the value at. |
value | String The networkTags to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeEngineTargetDefaults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setSecureBoot(boolean value)
public ComputeEngineTargetDefaults.Builder setSecureBoot(boolean value)
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 = 14;
Name | Description |
value | boolean The secureBoot to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setServiceAccount(String value)
public ComputeEngineTargetDefaults.Builder setServiceAccount(String value)
The service account to associate the VM with.
string service_account = 8;
Name | Description |
value | String The serviceAccount to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setServiceAccountBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder setServiceAccountBytes(ByteString value)
The service account to associate the VM with.
string service_account = 8;
Name | Description |
value | ByteString The bytes for serviceAccount to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setTargetProject(String value)
public ComputeEngineTargetDefaults.Builder setTargetProject(String value)
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
string target_project = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The targetProject to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setTargetProjectBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder setTargetProjectBytes(ByteString value)
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
string target_project = 2 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for targetProject to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeEngineTargetDefaults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComputeEngineTargetDefaults.Builder |
setVmName(String value)
public ComputeEngineTargetDefaults.Builder setVmName(String value)
The name of the VM to create.
string vm_name = 1;
Name | Description |
value | String The vmName to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setVmNameBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder setVmNameBytes(ByteString value)
The name of the VM to create.
string vm_name = 1;
Name | Description |
value | ByteString The bytes for vmName to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setZone(String value)
public ComputeEngineTargetDefaults.Builder setZone(String value)
The zone in which to create the VM.
string zone = 3;
Name | Description |
value | String The zone to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |
setZoneBytes(ByteString value)
public ComputeEngineTargetDefaults.Builder setZoneBytes(ByteString value)
The zone in which to create the VM.
string zone = 3;
Name | Description |
value | ByteString The bytes for zone to set. |
Type | Description |
ComputeEngineTargetDefaults.Builder | This builder for chaining. |