public final class ComputeEngineTargetDetails extends GeneratedMessageV3 implements ComputeEngineTargetDetailsOrBuilder
ComputeEngineTargetDetails is a collection of details for creating a VM in a
target Compute Engine project.
Protobuf type google.events.cloud.vmmigration.v1.ComputeEngineTargetDetails
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADDITIONAL_LICENSES_FIELD_NUMBER
public static final int ADDITIONAL_LICENSES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
APPLIED_LICENSE_FIELD_NUMBER
public static final int APPLIED_LICENSE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BOOT_OPTION_FIELD_NUMBER
public static final int BOOT_OPTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COMPUTE_SCHEDULING_FIELD_NUMBER
public static final int COMPUTE_SCHEDULING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LICENSE_TYPE_FIELD_NUMBER
public static final int LICENSE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MACHINE_TYPE_SERIES_FIELD_NUMBER
public static final int MACHINE_TYPE_SERIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int METADATA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NETWORK_INTERFACES_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NETWORK_TAGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SECURE_BOOT_FIELD_NUMBER
public static final int SECURE_BOOT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VM_NAME_FIELD_NUMBER
public static final int VM_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ComputeEngineTargetDetails getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComputeEngineTargetDetails.Builder newBuilder()
newBuilder(ComputeEngineTargetDetails prototype)
public static ComputeEngineTargetDetails.Builder newBuilder(ComputeEngineTargetDetails prototype)
public static ComputeEngineTargetDetails parseDelimitedFrom(InputStream input)
public static ComputeEngineTargetDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComputeEngineTargetDetails parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComputeEngineTargetDetails parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(CodedInputStream input)
public static ComputeEngineTargetDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(InputStream input)
public static ComputeEngineTargetDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComputeEngineTargetDetails parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComputeEngineTargetDetails> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
Parameter |
Name |
Description |
key |
String
|
public boolean containsMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAdditionalLicenses(int index)
public String getAdditionalLicenses(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
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;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
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;
Returns |
Type |
Description |
int |
The count of additionalLicenses.
|
getAdditionalLicensesList()
public ProtocolStringList getAdditionalLicensesList()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
getAppliedLicense()
public AppliedLicense getAppliedLicense()
The OS license returned from the adaptation module report.
.google.events.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
getAppliedLicenseOrBuilder()
public AppliedLicenseOrBuilder getAppliedLicenseOrBuilder()
The OS license returned from the adaptation module report.
.google.events.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
getBootOption()
public ComputeEngineBootOption getBootOption()
The VM Boot Option, as set in the source vm.
.google.events.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;
getBootOptionValue()
public int getBootOptionValue()
The VM Boot Option, as set in the source vm.
.google.events.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;
Returns |
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.events.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
getComputeSchedulingOrBuilder()
public ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).
.google.events.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
getDefaultInstanceForType()
public ComputeEngineTargetDetails getDefaultInstanceForType()
getDiskType()
public ComputeEngineDiskType getDiskType()
The disk type to use in the VM.
.google.events.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
getDiskTypeValue()
public int getDiskTypeValue()
The disk type to use in the VM.
.google.events.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
Returns |
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;
Returns |
Type |
Description |
String |
The hostname.
|
getHostnameBytes()
public ByteString getHostnameBytes()
The hostname to assign to the VM.
string hostname = 18;
Returns |
Type |
Description |
ByteString |
The bytes for hostname.
|
getLabels()
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
A map of labels to associate with the VM.
map<string, string> labels = 10;
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
A map of labels to associate with the VM.
map<string, string> labels = 10;
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;
Returns |
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;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getLicenseType()
public ComputeEngineLicenseType getLicenseType()
The license type to use in OS adaptation.
.google.events.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
getLicenseTypeValue()
public int getLicenseTypeValue()
The license type to use in OS adaptation.
.google.events.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
Returns |
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;
Returns |
Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
The machine type to create the VM with.
string machine_type = 5;
Returns |
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;
Returns |
Type |
Description |
String |
The machineTypeSeries.
|
getMachineTypeSeriesBytes()
public ByteString getMachineTypeSeriesBytes()
The machine type series to create the VM with.
string machine_type_series = 4;
Returns |
Type |
Description |
ByteString |
The bytes for machineTypeSeries.
|
public Map<String,String> getMetadata()
public int getMetadataCount()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Returns |
Type |
Description |
int |
|
public Map<String,String> getMetadataMap()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
public String getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Returns |
Type |
Description |
String |
|
public String getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getNetworkInterfaces(int index)
public NetworkInterface getNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.events.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
List of NICs connected to this VM.
repeated .google.events.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Returns |
Type |
Description |
int |
|
getNetworkInterfacesList()
public List<NetworkInterface> getNetworkInterfacesList()
List of NICs connected to this VM.
repeated .google.events.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
getNetworkInterfacesOrBuilder(int index)
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.
repeated .google.events.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfacesOrBuilderList()
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.
repeated .google.events.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> |
|
public String getNetworkTags(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The networkTags at the given index.
|
public ByteString getNetworkTagsBytes(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the networkTags at the given index.
|
public int getNetworkTagsCount()
A map of network tags to associate with the VM.
repeated string network_tags = 6;
Returns |
Type |
Description |
int |
The count of networkTags.
|
public ProtocolStringList getNetworkTagsList()
A map of network tags to associate with the VM.
repeated string network_tags = 6;
getParserForType()
public Parser<ComputeEngineTargetDetails> getParserForType()
Overrides
getProject()
public String getProject()
The Google Cloud target project ID or project name.
string project = 2;
Returns |
Type |
Description |
String |
The project.
|
getProjectBytes()
public ByteString getProjectBytes()
The Google Cloud target project ID or project name.
string project = 2;
Returns |
Type |
Description |
ByteString |
The bytes for project.
|
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;
Returns |
Type |
Description |
boolean |
The secureBoot.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceAccount()
public String getServiceAccount()
The service account to associate the VM with.
string service_account = 8;
Returns |
Type |
Description |
String |
The serviceAccount.
|
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
The service account to associate the VM with.
string service_account = 8;
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccount.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getVmName()
public String getVmName()
The name of the VM to create.
string vm_name = 1;
Returns |
Type |
Description |
String |
The vmName.
|
getVmNameBytes()
public ByteString getVmNameBytes()
The name of the VM to create.
string vm_name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for vmName.
|
getZone()
The zone in which to create the VM.
string zone = 3;
Returns |
Type |
Description |
String |
The zone.
|
getZoneBytes()
public ByteString getZoneBytes()
The zone in which to create the VM.
string zone = 3;
Returns |
Type |
Description |
ByteString |
The bytes for zone.
|
hasAppliedLicense()
public boolean hasAppliedLicense()
The OS license returned from the adaptation module report.
.google.events.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
Returns |
Type |
Description |
boolean |
Whether the appliedLicense field is set.
|
hasComputeScheduling()
public boolean hasComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.events.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Returns |
Type |
Description |
boolean |
Whether the computeScheduling field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComputeEngineTargetDetails.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeEngineTargetDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ComputeEngineTargetDetails.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides