Package com.google.cloud.vmmigration.v1
Interface ComputeEngineTargetDetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeEngineTargetDetails
,ComputeEngineTargetDetails.Builder
public interface ComputeEngineTargetDetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
A map of labels to associate with the VM.boolean
containsMetadata(String key)
The metadata key/value pairs to assign to the VM.String
getAdditionalLicenses(int index)
Additional licenses to assign to the VM.com.google.protobuf.ByteString
getAdditionalLicensesBytes(int index)
Additional licenses to assign to the VM.int
getAdditionalLicensesCount()
Additional licenses to assign to the VM.List<String>
getAdditionalLicensesList()
Additional licenses to assign to the VM.AppliedLicense
getAppliedLicense()
The OS license returned from the adaptation module report.AppliedLicenseOrBuilder
getAppliedLicenseOrBuilder()
The OS license returned from the adaptation module report.ComputeEngineBootOption
getBootOption()
The VM Boot Option, as set in the source vm.int
getBootOptionValue()
The VM Boot Option, as set in the source vm.ComputeScheduling
getComputeScheduling()
Compute instance scheduling information (if empty default is used).ComputeSchedulingOrBuilder
getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).ComputeEngineDiskType
getDiskType()
The disk type to use in the VM.int
getDiskTypeValue()
The disk type to use in the VM.String
getHostname()
The hostname to assign to the VM.com.google.protobuf.ByteString
getHostnameBytes()
The hostname to assign to the VM.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
A map of labels to associate with the VM.Map<String,String>
getLabelsMap()
A map of labels to associate with the VM.String
getLabelsOrDefault(String key, String defaultValue)
A map of labels to associate with the VM.String
getLabelsOrThrow(String key)
A map of labels to associate with the VM.ComputeEngineLicenseType
getLicenseType()
The license type to use in OS adaptation.int
getLicenseTypeValue()
The license type to use in OS adaptation.String
getMachineType()
The machine type to create the VM with.com.google.protobuf.ByteString
getMachineTypeBytes()
The machine type to create the VM with.String
getMachineTypeSeries()
The machine type series to create the VM with.com.google.protobuf.ByteString
getMachineTypeSeriesBytes()
The machine type series to create the VM with.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
The metadata key/value pairs to assign to the VM.Map<String,String>
getMetadataMap()
The metadata key/value pairs to assign to the VM.String
getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs to assign to the VM.String
getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.NetworkInterface
getNetworkInterfaces(int index)
List of NICs connected to this VM.int
getNetworkInterfacesCount()
List of NICs connected to this VM.List<NetworkInterface>
getNetworkInterfacesList()
List of NICs connected to this VM.NetworkInterfaceOrBuilder
getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.List<? extends NetworkInterfaceOrBuilder>
getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.String
getNetworkTags(int index)
A map of network tags to associate with the VM.com.google.protobuf.ByteString
getNetworkTagsBytes(int index)
A map of network tags to associate with the VM.int
getNetworkTagsCount()
A map of network tags to associate with the VM.List<String>
getNetworkTagsList()
A map of network tags to associate with the VM.String
getProject()
The Google Cloud target project ID or project name.com.google.protobuf.ByteString
getProjectBytes()
The Google Cloud target project ID or project name.boolean
getSecureBoot()
Defines whether the instance has Secure Boot enabled.String
getServiceAccount()
The service account to associate the VM with.com.google.protobuf.ByteString
getServiceAccountBytes()
The service account to associate the VM with.String
getVmName()
The name of the VM to create.com.google.protobuf.ByteString
getVmNameBytes()
The name of the VM to create.String
getZone()
The zone in which to create the VM.com.google.protobuf.ByteString
getZoneBytes()
The zone in which to create the VM.boolean
hasAppliedLicense()
The OS license returned from the adaptation module report.boolean
hasComputeScheduling()
Compute instance scheduling information (if empty default is used).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getVmName
String getVmName()
The name of the VM to create.
string vm_name = 1;
- Returns:
- The vmName.
-
getVmNameBytes
com.google.protobuf.ByteString getVmNameBytes()
The name of the VM to create.
string vm_name = 1;
- Returns:
- The bytes for vmName.
-
getProject
String getProject()
The Google Cloud target project ID or project name.
string project = 2;
- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()
The Google Cloud target project ID or project name.
string project = 2;
- Returns:
- The bytes for project.
-
getZone
String getZone()
The zone in which to create the VM.
string zone = 3;
- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()
The zone in which to create the VM.
string zone = 3;
- Returns:
- The bytes for zone.
-
getMachineTypeSeries
String getMachineTypeSeries()
The machine type series to create the VM with.
string machine_type_series = 4;
- Returns:
- The machineTypeSeries.
-
getMachineTypeSeriesBytes
com.google.protobuf.ByteString getMachineTypeSeriesBytes()
The machine type series to create the VM with.
string machine_type_series = 4;
- Returns:
- The bytes for machineTypeSeries.
-
getMachineType
String getMachineType()
The machine type to create the VM with.
string machine_type = 5;
- Returns:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to create the VM with.
string machine_type = 5;
- Returns:
- The bytes for machineType.
-
getNetworkTagsList
List<String> getNetworkTagsList()
A map of network tags to associate with the VM.
repeated string network_tags = 6;
- Returns:
- A list containing the networkTags.
-
getNetworkTagsCount
int getNetworkTagsCount()
A map of network tags to associate with the VM.
repeated string network_tags = 6;
- Returns:
- The count of networkTags.
-
getNetworkTags
String getNetworkTags(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
- Parameters:
index
- The index of the element to return.- Returns:
- The networkTags at the given index.
-
getNetworkTagsBytes
com.google.protobuf.ByteString getNetworkTagsBytes(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the networkTags at the given index.
-
getNetworkInterfacesList
List<NetworkInterface> getNetworkInterfacesList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getNetworkInterfaces
NetworkInterface getNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getNetworkInterfacesCount
int getNetworkInterfacesCount()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getNetworkInterfacesOrBuilderList
List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getNetworkInterfacesOrBuilder
NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getServiceAccount
String getServiceAccount()
The service account to associate the VM with.
string service_account = 8;
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()
The service account to associate the VM with.
string service_account = 8;
- Returns:
- The bytes for serviceAccount.
-
getDiskTypeValue
int getDiskTypeValue()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
- Returns:
- The enum numeric value on the wire for diskType.
-
getDiskType
ComputeEngineDiskType getDiskType()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
- Returns:
- The diskType.
-
getLabelsCount
int getLabelsCount()
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
containsLabels
boolean containsLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
getLicenseTypeValue
int getLicenseTypeValue()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
- Returns:
- The enum numeric value on the wire for licenseType.
-
getLicenseType
ComputeEngineLicenseType getLicenseType()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
- Returns:
- The licenseType.
-
hasAppliedLicense
boolean hasAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
- Returns:
- Whether the appliedLicense field is set.
-
getAppliedLicense
AppliedLicense getAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
- Returns:
- The appliedLicense.
-
getAppliedLicenseOrBuilder
AppliedLicenseOrBuilder getAppliedLicenseOrBuilder()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
-
hasComputeScheduling
boolean hasComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
- Returns:
- Whether the computeScheduling field is set.
-
getComputeScheduling
ComputeScheduling getComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
- Returns:
- The computeScheduling.
-
getComputeSchedulingOrBuilder
ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
-
getSecureBoot
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:
- The secureBoot.
-
getBootOptionValue
int getBootOptionValue()
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;
- Returns:
- The enum numeric value on the wire for bootOption.
-
getBootOption
ComputeEngineBootOption getBootOption()
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;
- Returns:
- The bootOption.
-
getMetadataCount
int getMetadataCount()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
containsMetadata
boolean containsMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
getMetadata
@Deprecated Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.
-
getMetadataMap
Map<String,String> getMetadataMap()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
getMetadataOrDefault
String getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
getMetadataOrThrow
String getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
getAdditionalLicensesList
List<String> getAdditionalLicensesList()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
- Returns:
- A list containing the additionalLicenses.
-
getAdditionalLicensesCount
int getAdditionalLicensesCount()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
- Returns:
- The count of additionalLicenses.
-
getAdditionalLicenses
String getAdditionalLicenses(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
- Parameters:
index
- The index of the element to return.- Returns:
- The additionalLicenses at the given index.
-
getAdditionalLicensesBytes
com.google.protobuf.ByteString getAdditionalLicensesBytes(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the additionalLicenses at the given index.
-
getHostname
String getHostname()
The hostname to assign to the VM.
string hostname = 18;
- Returns:
- The hostname.
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()
The hostname to assign to the VM.
string hostname = 18;
- Returns:
- The bytes for hostname.
-
-