public final class DisksMigrationVmTargetDefaults extends GeneratedMessageV3 implements DisksMigrationVmTargetDefaultsOrBuilder
Details for creation of a VM that migrated data disks will be attached to.
Protobuf type google.cloud.vmmigration.v1.DisksMigrationVmTargetDefaults
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 |
|
BOOT_DISK_DEFAULTS_FIELD_NUMBER
public static final int BOOT_DISK_DEFAULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COMPUTE_SCHEDULING_FIELD_NUMBER
public static final int COMPUTE_SCHEDULING_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 |
|
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 |
|
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 |
|
Static Methods
getDefaultInstance()
public static DisksMigrationVmTargetDefaults getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DisksMigrationVmTargetDefaults.Builder newBuilder()
newBuilder(DisksMigrationVmTargetDefaults prototype)
public static DisksMigrationVmTargetDefaults.Builder newBuilder(DisksMigrationVmTargetDefaults prototype)
public static DisksMigrationVmTargetDefaults parseDelimitedFrom(InputStream input)
public static DisksMigrationVmTargetDefaults parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DisksMigrationVmTargetDefaults parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisksMigrationVmTargetDefaults parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DisksMigrationVmTargetDefaults parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisksMigrationVmTargetDefaults parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisksMigrationVmTargetDefaults parseFrom(CodedInputStream input)
public static DisksMigrationVmTargetDefaults parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DisksMigrationVmTargetDefaults parseFrom(InputStream input)
public static DisksMigrationVmTargetDefaults parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DisksMigrationVmTargetDefaults parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisksMigrationVmTargetDefaults parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DisksMigrationVmTargetDefaults> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Optional. A map of labels to associate with the VM.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
public boolean containsMetadata(String key)
Optional. The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Additional licenses to assign to the VM.
repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. Additional licenses to assign to the VM.
repeated string additional_licenses = 11 [(.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 additionalLicenses at the given index.
|
getAdditionalLicensesCount()
public int getAdditionalLicensesCount()
Optional. Additional licenses to assign to the VM.
repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of additionalLicenses.
|
getAdditionalLicensesList()
public ProtocolStringList getAdditionalLicensesList()
Optional. Additional licenses to assign to the VM.
repeated string additional_licenses = 11 [(.google.api.field_behavior) = OPTIONAL];
getBootDiskDefaults()
public BootDiskDefaults getBootDiskDefaults()
Optional. Details of the boot disk of the VM.
.google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
getBootDiskDefaultsOrBuilder()
public BootDiskDefaultsOrBuilder getBootDiskDefaultsOrBuilder()
Optional. Details of the boot disk of the VM.
.google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
getComputeScheduling()
public ComputeScheduling getComputeScheduling()
Optional. Compute instance scheduling information (if empty default is
used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
getComputeSchedulingOrBuilder()
public ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()
Optional. Compute instance scheduling information (if empty default is
used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public DisksMigrationVmTargetDefaults getDefaultInstanceForType()
getEnableIntegrityMonitoring()
public boolean getEnableIntegrityMonitoring()
Optional. Defines whether the instance has integrity monitoring enabled.
bool enable_integrity_monitoring = 17 [(.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 = 16 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The enableVtpm.
|
getEncryption()
public Encryption getEncryption()
Optional. The encryption to apply to the VM.
.google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
Encryption |
The encryption.
|
getEncryptionOrBuilder()
public EncryptionOrBuilder getEncryptionOrBuilder()
Optional. The encryption to apply to the VM.
.google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
getHostname()
public String getHostname()
Optional. The hostname to assign to the VM.
string hostname = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The hostname.
|
getHostnameBytes()
public ByteString getHostnameBytes()
Optional. The hostname to assign to the VM.
string hostname = 12 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for hostname.
|
getLabels() (deprecated)
public Map<String,String> getLabels()
getLabelsCount()
public int getLabelsCount()
Optional. A map of labels to associate with the VM.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getLabelsMap()
public Map<String,String> getLabelsMap()
Optional. A map of labels to associate with the VM.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Optional. A map of labels to associate with the VM.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Optional. A map of labels to associate with the VM.
map<string, string> labels = 13 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getMachineType()
public String getMachineType()
Required. The machine type to create the VM with.
string machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The machineType.
|
getMachineTypeBytes()
public ByteString getMachineTypeBytes()
Required. The machine type to create the VM with.
string machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for machineType.
|
getMachineTypeSeries()
public String getMachineTypeSeries()
Optional. The machine type series to create the VM with.
For presentation only.
string machine_type_series = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The machineTypeSeries.
|
getMachineTypeSeriesBytes()
public ByteString getMachineTypeSeriesBytes()
Optional. The machine type series to create the VM with.
For presentation only.
string machine_type_series = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for machineTypeSeries.
|
public Map<String,String> getMetadata()
public int getMetadataCount()
Optional. The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public Map<String,String> getMetadataMap()
Optional. The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
public String getMetadataOrDefault(String key, String defaultValue)
Optional. The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public String getMetadataOrThrow(String key)
Optional. The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
getNetworkInterfaces(int index)
public NetworkInterface getNetworkInterfaces(int index)
Optional. NICs to attach to the VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfacesCount()
public int getNetworkInterfacesCount()
Optional. NICs to attach to the VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getNetworkInterfacesList()
public List<NetworkInterface> getNetworkInterfacesList()
Optional. NICs to attach to the VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
getNetworkInterfacesOrBuilder(int index)
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
Optional. NICs to attach to the VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getNetworkInterfacesOrBuilderList()
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
Optional. NICs to attach to the VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder> |
|
public String getNetworkTags(int index)
Optional. A list of network tags to associate with the VM.
repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. A list of network tags to associate with the VM.
repeated string network_tags = 4 [(.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 networkTags at the given index.
|
public int getNetworkTagsCount()
Optional. A list of network tags to associate with the VM.
repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of networkTags.
|
public ProtocolStringList getNetworkTagsList()
Optional. A list of network tags to associate with the VM.
repeated string network_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
getParserForType()
public Parser<DisksMigrationVmTargetDefaults> getParserForType()
Overrides
getSecureBoot()
public boolean getSecureBoot()
Optional. 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 = 8 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
The secureBoot.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getServiceAccount()
public String getServiceAccount()
Optional. The service account to associate the VM with.
string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The serviceAccount.
|
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
Optional. The service account to associate the VM with.
string service_account = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for serviceAccount.
|
getVmName()
public String getVmName()
Required. The name of the VM to create.
string vm_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The vmName.
|
getVmNameBytes()
public ByteString getVmNameBytes()
Required. The name of the VM to create.
string vm_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for vmName.
|
hasBootDiskDefaults()
public boolean hasBootDiskDefaults()
Optional. Details of the boot disk of the VM.
.google.cloud.vmmigration.v1.BootDiskDefaults boot_disk_defaults = 14 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the bootDiskDefaults field is set.
|
hasComputeScheduling()
public boolean hasComputeScheduling()
Optional. Compute instance scheduling information (if empty default is
used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the computeScheduling field is set.
|
hasEncryption()
public boolean hasEncryption()
Optional. The encryption to apply to the VM.
.google.cloud.vmmigration.v1.Encryption encryption = 15 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the encryption field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DisksMigrationVmTargetDefaults.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DisksMigrationVmTargetDefaults.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DisksMigrationVmTargetDefaults.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides