Interface ComputeEngineTargetDefaultsOrBuilder (1.4.0)

public interface ComputeEngineTargetDefaultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

A map of labels to associate with the VM.

map<string, string> labels = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsMetadata(String key)

public abstract boolean containsMetadata(String key)

The metadata key/value pairs to assign to the VM.

map<string, string> metadata = 16;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAdditionalLicenses(int index)

public abstract String getAdditionalLicenses(int index)

Additional licenses to assign to the VM.

repeated string additional_licenses = 17;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The additionalLicenses at the given index.

getAdditionalLicensesBytes(int index)

public abstract ByteString getAdditionalLicensesBytes(int index)

Additional licenses to assign to the VM.

repeated string additional_licenses = 17;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the additionalLicenses at the given index.

getAdditionalLicensesCount()

public abstract int getAdditionalLicensesCount()

Additional licenses to assign to the VM.

repeated string additional_licenses = 17;

Returns
TypeDescription
int

The count of additionalLicenses.

getAdditionalLicensesList()

public abstract List<String> getAdditionalLicensesList()

Additional licenses to assign to the VM.

repeated string additional_licenses = 17;

Returns
TypeDescription
List<String>

A list containing the additionalLicenses.

getAppliedLicense()

public abstract 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];

Returns
TypeDescription
AppliedLicense

The appliedLicense.

getAppliedLicenseOrBuilder()

public abstract 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];

Returns
TypeDescription
AppliedLicenseOrBuilder

getBootOption()

public abstract 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];

Returns
TypeDescription
ComputeEngineBootOption

The bootOption.

getBootOptionValue()

public abstract 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];

Returns
TypeDescription
int

The enum numeric value on the wire for bootOption.

getComputeScheduling()

public abstract ComputeScheduling getComputeScheduling()

Compute instance scheduling information (if empty default is used).

.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;

Returns
TypeDescription
ComputeScheduling

The computeScheduling.

getComputeSchedulingOrBuilder()

public abstract ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()

Compute instance scheduling information (if empty default is used).

.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;

Returns
TypeDescription
ComputeSchedulingOrBuilder

getDiskType()

public abstract ComputeEngineDiskType getDiskType()

The disk type to use in the VM.

.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;

Returns
TypeDescription
ComputeEngineDiskType

The diskType.

getDiskTypeValue()

public abstract int getDiskTypeValue()

The disk type to use in the VM.

.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;

Returns
TypeDescription
int

The enum numeric value on the wire for diskType.

getHostname()

public abstract String getHostname()

The hostname to assign to the VM.

string hostname = 18;

Returns
TypeDescription
String

The hostname.

getHostnameBytes()

public abstract ByteString getHostnameBytes()

The hostname to assign to the VM.

string hostname = 18;

Returns
TypeDescription
ByteString

The bytes for hostname.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

A map of labels to associate with the VM.

map<string, string> labels = 10;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

A map of labels to associate with the VM.

map<string, string> labels = 10;

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

A map of labels to associate with the VM.

map<string, string> labels = 10;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

A map of labels to associate with the VM.

map<string, string> labels = 10;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getLicenseType()

public abstract ComputeEngineLicenseType getLicenseType()

The license type to use in OS adaptation.

.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;

Returns
TypeDescription
ComputeEngineLicenseType

The licenseType.

getLicenseTypeValue()

public abstract int getLicenseTypeValue()

The license type to use in OS adaptation.

.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;

Returns
TypeDescription
int

The enum numeric value on the wire for licenseType.

getMachineType()

public abstract String getMachineType()

The machine type to create the VM with.

string machine_type = 5;

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

The machine type to create the VM with.

string machine_type = 5;

Returns
TypeDescription
ByteString

The bytes for machineType.

getMachineTypeSeries()

public abstract String getMachineTypeSeries()

The machine type series to create the VM with.

string machine_type_series = 4;

Returns
TypeDescription
String

The machineTypeSeries.

getMachineTypeSeriesBytes()

public abstract ByteString getMachineTypeSeriesBytes()

The machine type series to create the VM with.

string machine_type_series = 4;

Returns
TypeDescription
ByteString

The bytes for machineTypeSeries.

getMetadata()

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
TypeDescription
Map<String,String>

getMetadataCount()

public abstract int getMetadataCount()

The metadata key/value pairs to assign to the VM.

map<string, string> metadata = 16;

Returns
TypeDescription
int

getMetadataMap()

public abstract Map<String,String> getMetadataMap()

The metadata key/value pairs to assign to the VM.

map<string, string> metadata = 16;

Returns
TypeDescription
Map<String,String>

getMetadataOrDefault(String key, String defaultValue)

public abstract String getMetadataOrDefault(String key, String defaultValue)

The metadata key/value pairs to assign to the VM.

map<string, string> metadata = 16;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getMetadataOrThrow(String key)

public abstract String getMetadataOrThrow(String key)

The metadata key/value pairs to assign to the VM.

map<string, string> metadata = 16;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getNetworkInterfaces(int index)

public abstract NetworkInterface getNetworkInterfaces(int index)

List of NICs connected to this VM.

repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkInterface

getNetworkInterfacesCount()

public abstract int getNetworkInterfacesCount()

List of NICs connected to this VM.

repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;

Returns
TypeDescription
int

getNetworkInterfacesList()

public abstract List<NetworkInterface> getNetworkInterfacesList()

List of NICs connected to this VM.

repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;

Returns
TypeDescription
List<NetworkInterface>

getNetworkInterfacesOrBuilder(int index)

public abstract NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)

List of NICs connected to this VM.

repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkInterfaceOrBuilder

getNetworkInterfacesOrBuilderList()

public abstract List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()

List of NICs connected to this VM.

repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;

Returns
TypeDescription
List<? extends com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder>

getNetworkTags(int index)

public abstract String getNetworkTags(int index)

A map of network tags to associate with the VM.

repeated string network_tags = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The networkTags at the given index.

getNetworkTagsBytes(int index)

public abstract ByteString getNetworkTagsBytes(int index)

A map of network tags to associate with the VM.

repeated string network_tags = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the networkTags at the given index.

getNetworkTagsCount()

public abstract int getNetworkTagsCount()

A map of network tags to associate with the VM.

repeated string network_tags = 6;

Returns
TypeDescription
int

The count of networkTags.

getNetworkTagsList()

public abstract List<String> getNetworkTagsList()

A map of network tags to associate with the VM.

repeated string network_tags = 6;

Returns
TypeDescription
List<String>

A list containing the networkTags.

getSecureBoot()

public abstract 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;

Returns
TypeDescription
boolean

The secureBoot.

getServiceAccount()

public abstract String getServiceAccount()

The service account to associate the VM with.

string service_account = 8;

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

The service account to associate the VM with.

string service_account = 8;

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getTargetProject()

public abstract 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) = { ... }

Returns
TypeDescription
String

The targetProject.

getTargetProjectBytes()

public abstract 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for targetProject.

getVmName()

public abstract String getVmName()

The name of the VM to create.

string vm_name = 1;

Returns
TypeDescription
String

The vmName.

getVmNameBytes()

public abstract ByteString getVmNameBytes()

The name of the VM to create.

string vm_name = 1;

Returns
TypeDescription
ByteString

The bytes for vmName.

getZone()

public abstract String getZone()

The zone in which to create the VM.

string zone = 3;

Returns
TypeDescription
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

The zone in which to create the VM.

string zone = 3;

Returns
TypeDescription
ByteString

The bytes for zone.

hasAppliedLicense()

public abstract 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];

Returns
TypeDescription
boolean

Whether the appliedLicense field is set.

hasComputeScheduling()

public abstract boolean hasComputeScheduling()

Compute instance scheduling information (if empty default is used).

.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;

Returns
TypeDescription
boolean

Whether the computeScheduling field is set.