- 1.74.0 (latest)
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 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 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.cloud.vmmigration.v1.ComputeEngineTargetDetails
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ComputeEngineTargetDetailsImplements
ComputeEngineTargetDetailsOrBuilderStatic 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_CONVERSION_FIELD_NUMBER
public static final int BOOT_CONVERSION_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_REPLICA_ZONES_FIELD_NUMBER
public static final int DISK_REPLICA_ZONES_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER
public static final int ENABLE_INTEGRITY_MONITORING_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENABLE_VTPM_FIELD_NUMBER
public static final int ENABLE_VTPM_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ENCRYPTION_FIELD_NUMBER
public static final int ENCRYPTION_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 |
METADATA_FIELD_NUMBER
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 |
NETWORK_TAGS_FIELD_NUMBER
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()
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ComputeEngineTargetDetails.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails.Builder |
newBuilder(ComputeEngineTargetDetails prototype)
public static ComputeEngineTargetDetails.Builder newBuilder(ComputeEngineTargetDetails prototype)
Parameter | |
---|---|
Name | Description |
prototype |
ComputeEngineTargetDetails |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails.Builder |
parseDelimitedFrom(InputStream input)
public static ComputeEngineTargetDetails parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ComputeEngineTargetDetails parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data |
byte[] |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ComputeEngineTargetDetails parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data |
ByteString |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ComputeEngineTargetDetails parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input |
CodedInputStream |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ComputeEngineTargetDetails parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input |
InputStream |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ComputeEngineTargetDetails parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data |
ByteBuffer |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComputeEngineTargetDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ComputeEngineTargetDetails> parser()
Returns | |
---|---|
Type | Description |
Parser<ComputeEngineTargetDetails> |
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 |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
key |
String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj |
Object |
Returns | |
---|---|
Type | Description |
boolean |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the additionalLicenses. |
getAppliedLicense()
public AppliedLicense getAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
Returns | |
---|---|
Type | Description |
AppliedLicense |
The appliedLicense. |
getAppliedLicenseOrBuilder()
public AppliedLicenseOrBuilder getAppliedLicenseOrBuilder()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
Returns | |
---|---|
Type | Description |
AppliedLicenseOrBuilder |
getBootConversion()
public BootConversion getBootConversion()
Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
.google.cloud.vmmigration.v1.BootConversion boot_conversion = 20 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BootConversion |
The bootConversion. |
getBootConversionValue()
public int getBootConversionValue()
Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another.
.google.cloud.vmmigration.v1.BootConversion boot_conversion = 20 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for bootConversion. |
getBootOption()
public ComputeEngineBootOption getBootOption()
The VM Boot Option, as set in the source VM.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;
Returns | |
---|---|
Type | Description |
ComputeEngineBootOption |
The bootOption. |
getBootOptionValue()
public int getBootOptionValue()
The VM Boot Option, as set in the source VM.
.google.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.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Returns | |
---|---|
Type | Description |
ComputeScheduling |
The computeScheduling. |
getComputeSchedulingOrBuilder()
public ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Returns | |
---|---|
Type | Description |
ComputeSchedulingOrBuilder |
getDefaultInstanceForType()
public ComputeEngineTargetDetails getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails |
getDiskReplicaZones(int index)
public String getDiskReplicaZones(int index)
Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
repeated string disk_replica_zones = 24 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The diskReplicaZones at the given index. |
getDiskReplicaZonesBytes(int index)
public ByteString getDiskReplicaZonesBytes(int index)
Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
repeated string disk_replica_zones = 24 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the diskReplicaZones at the given index. |
getDiskReplicaZonesCount()
public int getDiskReplicaZonesCount()
Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
repeated string disk_replica_zones = 24 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The count of diskReplicaZones. |
getDiskReplicaZonesList()
public ProtocolStringList getDiskReplicaZonesList()
Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the regional disk creation API for further details about regional vs zonal disks. If not specified, a zonal disk will be created in the same zone the VM is created.
repeated string disk_replica_zones = 24 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the diskReplicaZones. |
getDiskType()
public ComputeEngineDiskType getDiskType()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for diskType. |
getEnableIntegrityMonitoring()
public boolean getEnableIntegrityMonitoring()
Optional. Defines whether the instance has integrity monitoring enabled.
bool enable_integrity_monitoring = 22 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enableIntegrityMonitoring. |
getEnableVtpm()
public boolean getEnableVtpm()
Optional. Defines whether the instance has vTPM enabled.
bool enable_vtpm = 21 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enableVtpm. |
getEncryption()
public Encryption getEncryption()
Optional. The encryption to apply to the VM disks.
.google.cloud.vmmigration.v1.Encryption encryption = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Encryption |
The encryption. |
getEncryptionOrBuilder()
public EncryptionOrBuilder getEncryptionOrBuilder()
Optional. The encryption to apply to the VM disks.
.google.cloud.vmmigration.v1.Encryption encryption = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
EncryptionOrBuilder |
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() (deprecated)
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
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;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
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.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
Returns | |
---|---|
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;
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. |
getMetadata() (deprecated)
public Map<String,String> getMetadata()
Use #getMetadataMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMetadataCount()
public int getMetadataCount()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Returns | |
---|---|
Type | Description |
int |
getMetadataMap()
public Map<String,String> getMetadataMap()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
key |
String |
defaultValue |
String |
Returns | |
---|---|
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;
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.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
NetworkInterface |
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
List of NICs connected to this VM.
repeated .google.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.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> |
getNetworkTags(int index)
public String getNetworkTags(int index)
A list 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. |
getNetworkTagsBytes(int index)
public ByteString getNetworkTagsBytes(int index)
A list 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. |
getNetworkTagsCount()
public int getNetworkTagsCount()
A list of network tags to associate with the VM.
repeated string network_tags = 6;
Returns | |
---|---|
Type | Description |
int |
The count of networkTags. |
getNetworkTagsList()
public ProtocolStringList getNetworkTagsList()
A list of network tags to associate with the VM.
repeated string network_tags = 6;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the networkTags. |
getParserForType()
public Parser<ComputeEngineTargetDetails> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ComputeEngineTargetDetails> |
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 |
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. |
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()
public String 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.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.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
Returns | |
---|---|
Type | Description |
boolean |
Whether the computeScheduling field is set. |
hasEncryption()
public boolean hasEncryption()
Optional. The encryption to apply to the VM disks.
.google.cloud.vmmigration.v1.Encryption encryption = 19 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the encryption field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter | |
---|---|
Name | Description |
number |
int |
Returns | |
---|---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ComputeEngineTargetDetails.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComputeEngineTargetDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent |
BuilderParent |
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused |
UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ComputeEngineTargetDetails.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ComputeEngineTargetDetails.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output |
CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |