Package com.google.cloud.vmmigration.v1
Interface ComputeEngineTargetDefaultsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeEngineTargetDefaults,ComputeEngineTargetDefaults.Builder
public interface ComputeEngineTargetDefaultsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)A map of labels to associate with the VM.booleancontainsMetadata(String key)The metadata key/value pairs to assign to the VM.StringgetAdditionalLicenses(int index)Additional licenses to assign to the VM.com.google.protobuf.ByteStringgetAdditionalLicensesBytes(int index)Additional licenses to assign to the VM.intgetAdditionalLicensesCount()Additional licenses to assign to the VM.List<String>getAdditionalLicensesList()Additional licenses to assign to the VM.AppliedLicensegetAppliedLicense()Output only.AppliedLicenseOrBuildergetAppliedLicenseOrBuilder()Output only.ComputeEngineBootOptiongetBootOption()Output only.intgetBootOptionValue()Output only.ComputeSchedulinggetComputeScheduling()Compute instance scheduling information (if empty default is used).ComputeSchedulingOrBuildergetComputeSchedulingOrBuilder()Compute instance scheduling information (if empty default is used).ComputeEngineDiskTypegetDiskType()The disk type to use in the VM.intgetDiskTypeValue()The disk type to use in the VM.StringgetHostname()The hostname to assign to the VM.com.google.protobuf.ByteStringgetHostnameBytes()The hostname to assign to the VM.Map<String,String>getLabels()Deprecated.intgetLabelsCount()A map of labels to associate with the VM.Map<String,String>getLabelsMap()A map of labels to associate with the VM.StringgetLabelsOrDefault(String key, String defaultValue)A map of labels to associate with the VM.StringgetLabelsOrThrow(String key)A map of labels to associate with the VM.ComputeEngineLicenseTypegetLicenseType()The license type to use in OS adaptation.intgetLicenseTypeValue()The license type to use in OS adaptation.StringgetMachineType()The machine type to create the VM with.com.google.protobuf.ByteStringgetMachineTypeBytes()The machine type to create the VM with.StringgetMachineTypeSeries()The machine type series to create the VM with.com.google.protobuf.ByteStringgetMachineTypeSeriesBytes()The machine type series to create the VM with.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()The metadata key/value pairs to assign to the VM.Map<String,String>getMetadataMap()The metadata key/value pairs to assign to the VM.StringgetMetadataOrDefault(String key, String defaultValue)The metadata key/value pairs to assign to the VM.StringgetMetadataOrThrow(String key)The metadata key/value pairs to assign to the VM.NetworkInterfacegetNetworkInterfaces(int index)List of NICs connected to this VM.intgetNetworkInterfacesCount()List of NICs connected to this VM.List<NetworkInterface>getNetworkInterfacesList()List of NICs connected to this VM.NetworkInterfaceOrBuildergetNetworkInterfacesOrBuilder(int index)List of NICs connected to this VM.List<? extends NetworkInterfaceOrBuilder>getNetworkInterfacesOrBuilderList()List of NICs connected to this VM.StringgetNetworkTags(int index)A map of network tags to associate with the VM.com.google.protobuf.ByteStringgetNetworkTagsBytes(int index)A map of network tags to associate with the VM.intgetNetworkTagsCount()A map of network tags to associate with the VM.List<String>getNetworkTagsList()A map of network tags to associate with the VM.booleangetSecureBoot()Defines whether the instance has Secure Boot enabled.StringgetServiceAccount()The service account to associate the VM with.com.google.protobuf.ByteStringgetServiceAccountBytes()The service account to associate the VM with.StringgetTargetProject()The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.com.google.protobuf.ByteStringgetTargetProjectBytes()The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.StringgetVmName()The name of the VM to create.com.google.protobuf.ByteStringgetVmNameBytes()The name of the VM to create.StringgetZone()The zone in which to create the VM.com.google.protobuf.ByteStringgetZoneBytes()The zone in which to create the VM.booleanhasAppliedLicense()Output only.booleanhasComputeScheduling()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.
-
getTargetProject
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:
- The targetProject.
-
getTargetProjectBytes
com.google.protobuf.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:
- The bytes for targetProject.
-
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()
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:
- Whether the appliedLicense field is set.
-
getAppliedLicense
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:
- The appliedLicense.
-
getAppliedLicenseOrBuilder
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];
-
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()
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:
- The enum numeric value on the wire for bootOption.
-
getBootOption
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:
- 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.
-
-