Package com.google.cloud.vmmigration.v1
Class ComputeEngineTargetDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails
-
- All Implemented Interfaces:
ComputeEngineTargetDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ComputeEngineTargetDetails extends com.google.protobuf.GeneratedMessageV3 implements ComputeEngineTargetDetailsOrBuilder
ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.
Protobuf typegoogle.cloud.vmmigration.v1.ComputeEngineTargetDetails- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComputeEngineTargetDetails.BuilderComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intADDITIONAL_LICENSES_FIELD_NUMBERstatic intAPPLIED_LICENSE_FIELD_NUMBERstatic intBOOT_OPTION_FIELD_NUMBERstatic intCOMPUTE_SCHEDULING_FIELD_NUMBERstatic intDISK_TYPE_FIELD_NUMBERstatic intHOSTNAME_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLICENSE_TYPE_FIELD_NUMBERstatic intMACHINE_TYPE_FIELD_NUMBERstatic intMACHINE_TYPE_SERIES_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intNETWORK_INTERFACES_FIELD_NUMBERstatic intNETWORK_TAGS_FIELD_NUMBERstatic intPROJECT_FIELD_NUMBERstatic intSECURE_BOOT_FIELD_NUMBERstatic intSERVICE_ACCOUNT_FIELD_NUMBERstatic intVM_NAME_FIELD_NUMBERstatic intZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.booleanequals(Object obj)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.com.google.protobuf.ProtocolStringListgetAdditionalLicensesList()Additional licenses to assign to the VM.AppliedLicensegetAppliedLicense()The OS license returned from the adaptation module report.AppliedLicenseOrBuildergetAppliedLicenseOrBuilder()The OS license returned from the adaptation module report.ComputeEngineBootOptiongetBootOption()The VM Boot Option, as set in the source vm.intgetBootOptionValue()The VM Boot Option, as set in the source vm.ComputeSchedulinggetComputeScheduling()Compute instance scheduling information (if empty default is used).ComputeSchedulingOrBuildergetComputeSchedulingOrBuilder()Compute instance scheduling information (if empty default is used).static ComputeEngineTargetDetailsgetDefaultInstance()ComputeEngineTargetDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.com.google.protobuf.ProtocolStringListgetNetworkTagsList()A map of network tags to associate with the VM.com.google.protobuf.Parser<ComputeEngineTargetDetails>getParserForType()StringgetProject()The Google Cloud target project ID or project name.com.google.protobuf.ByteStringgetProjectBytes()The Google Cloud target project ID or project name.booleangetSecureBoot()Defines whether the instance has Secure Boot enabled.intgetSerializedSize()StringgetServiceAccount()The service account to associate the VM with.com.google.protobuf.ByteStringgetServiceAccountBytes()The service account to associate the VM with.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()The OS license returned from the adaptation module report.booleanhasComputeScheduling()Compute instance scheduling information (if empty default is used).inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static ComputeEngineTargetDetails.BuildernewBuilder()static ComputeEngineTargetDetails.BuildernewBuilder(ComputeEngineTargetDetails prototype)ComputeEngineTargetDetails.BuildernewBuilderForType()protected ComputeEngineTargetDetails.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ComputeEngineTargetDetailsparseDelimitedFrom(InputStream input)static ComputeEngineTargetDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ComputeEngineTargetDetailsparseFrom(byte[] data)static ComputeEngineTargetDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ComputeEngineTargetDetailsparseFrom(com.google.protobuf.ByteString data)static ComputeEngineTargetDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ComputeEngineTargetDetailsparseFrom(com.google.protobuf.CodedInputStream input)static ComputeEngineTargetDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ComputeEngineTargetDetailsparseFrom(InputStream input)static ComputeEngineTargetDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ComputeEngineTargetDetailsparseFrom(ByteBuffer data)static ComputeEngineTargetDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ComputeEngineTargetDetails>parser()ComputeEngineTargetDetails.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VM_NAME_FIELD_NUMBER
public static final int VM_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_TYPE_SERIES_FIELD_NUMBER
public static final int MACHINE_TYPE_SERIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_TAGS_FIELD_NUMBER
public static final int NETWORK_TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_INTERFACES_FIELD_NUMBER
public static final int NETWORK_INTERFACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISK_TYPE_FIELD_NUMBER
public static final int DISK_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LICENSE_TYPE_FIELD_NUMBER
public static final int LICENSE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPLIED_LICENSE_FIELD_NUMBER
public static final int APPLIED_LICENSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COMPUTE_SCHEDULING_FIELD_NUMBER
public static final int COMPUTE_SCHEDULING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECURE_BOOT_FIELD_NUMBER
public static final int SECURE_BOOT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOT_OPTION_FIELD_NUMBER
public static final int BOOT_OPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_LICENSES_FIELD_NUMBER
public static final int ADDITIONAL_LICENSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HOSTNAME_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVmName
public String getVmName()
The name of the VM to create.
string vm_name = 1;- Specified by:
getVmNamein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The vmName.
-
getVmNameBytes
public com.google.protobuf.ByteString getVmNameBytes()
The name of the VM to create.
string vm_name = 1;- Specified by:
getVmNameBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for vmName.
-
getProject
public String getProject()
The Google Cloud target project ID or project name.
string project = 2;- Specified by:
getProjectin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
The Google Cloud target project ID or project name.
string project = 2;- Specified by:
getProjectBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for project.
-
getZone
public String getZone()
The zone in which to create the VM.
string zone = 3;- Specified by:
getZonein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The zone in which to create the VM.
string zone = 3;- Specified by:
getZoneBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for zone.
-
getMachineTypeSeries
public String getMachineTypeSeries()
The machine type series to create the VM with.
string machine_type_series = 4;- Specified by:
getMachineTypeSeriesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The machineTypeSeries.
-
getMachineTypeSeriesBytes
public com.google.protobuf.ByteString getMachineTypeSeriesBytes()
The machine type series to create the VM with.
string machine_type_series = 4;- Specified by:
getMachineTypeSeriesBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for machineTypeSeries.
-
getMachineType
public String getMachineType()
The machine type to create the VM with.
string machine_type = 5;- Specified by:
getMachineTypein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to create the VM with.
string machine_type = 5;- Specified by:
getMachineTypeBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for machineType.
-
getNetworkTagsList
public com.google.protobuf.ProtocolStringList getNetworkTagsList()
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsListin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- A list containing the networkTags.
-
getNetworkTagsCount
public int getNetworkTagsCount()
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsCountin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The count of networkTags.
-
getNetworkTags
public String getNetworkTags(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The networkTags at the given index.
-
getNetworkTagsBytes
public com.google.protobuf.ByteString getNetworkTagsBytes(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsBytesin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the networkTags at the given index.
-
getNetworkInterfacesList
public List<NetworkInterface> getNetworkInterfacesList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesListin interfaceComputeEngineTargetDetailsOrBuilder
-
getNetworkInterfacesOrBuilderList
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesOrBuilderListin interfaceComputeEngineTargetDetailsOrBuilder
-
getNetworkInterfacesCount
public int getNetworkInterfacesCount()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesCountin interfaceComputeEngineTargetDetailsOrBuilder
-
getNetworkInterfaces
public NetworkInterface getNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesin interfaceComputeEngineTargetDetailsOrBuilder
-
getNetworkInterfacesOrBuilder
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesOrBuilderin interfaceComputeEngineTargetDetailsOrBuilder
-
getServiceAccount
public String getServiceAccount()
The service account to associate the VM with.
string service_account = 8;- Specified by:
getServiceAccountin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
The service account to associate the VM with.
string service_account = 8;- Specified by:
getServiceAccountBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for serviceAccount.
-
getDiskTypeValue
public int getDiskTypeValue()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;- Specified by:
getDiskTypeValuein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The enum numeric value on the wire for diskType.
-
getDiskType
public ComputeEngineDiskType getDiskType()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;- Specified by:
getDiskTypein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The diskType.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ComputeEngineTargetDetailsOrBuilderA map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsCountin interfaceComputeEngineTargetDetailsOrBuilder
-
containsLabels
public boolean containsLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
containsLabelsin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsMapin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsOrDefaultin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsOrThrowin interfaceComputeEngineTargetDetailsOrBuilder
-
getLicenseTypeValue
public int getLicenseTypeValue()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;- Specified by:
getLicenseTypeValuein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The enum numeric value on the wire for licenseType.
-
getLicenseType
public ComputeEngineLicenseType getLicenseType()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;- Specified by:
getLicenseTypein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The licenseType.
-
hasAppliedLicense
public boolean hasAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;- Specified by:
hasAppliedLicensein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- Whether the appliedLicense field is set.
-
getAppliedLicense
public AppliedLicense getAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;- Specified by:
getAppliedLicensein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The appliedLicense.
-
getAppliedLicenseOrBuilder
public AppliedLicenseOrBuilder getAppliedLicenseOrBuilder()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;- Specified by:
getAppliedLicenseOrBuilderin interfaceComputeEngineTargetDetailsOrBuilder
-
hasComputeScheduling
public boolean hasComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;- Specified by:
hasComputeSchedulingin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- Whether the computeScheduling field is set.
-
getComputeScheduling
public ComputeScheduling getComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;- Specified by:
getComputeSchedulingin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The computeScheduling.
-
getComputeSchedulingOrBuilder
public ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;- Specified by:
getComputeSchedulingOrBuilderin interfaceComputeEngineTargetDetailsOrBuilder
-
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;- Specified by:
getSecureBootin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The secureBoot.
-
getBootOptionValue
public int getBootOptionValue()
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;- Specified by:
getBootOptionValuein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The enum numeric value on the wire for bootOption.
-
getBootOption
public ComputeEngineBootOption getBootOption()
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;- Specified by:
getBootOptionin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bootOption.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:ComputeEngineTargetDetailsOrBuilderThe metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataCountin interfaceComputeEngineTargetDetailsOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
containsMetadatain interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataMapin interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataOrDefaultin interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataOrThrowin interfaceComputeEngineTargetDetailsOrBuilder
-
getAdditionalLicensesList
public com.google.protobuf.ProtocolStringList getAdditionalLicensesList()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesListin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- A list containing the additionalLicenses.
-
getAdditionalLicensesCount
public int getAdditionalLicensesCount()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesCountin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The count of additionalLicenses.
-
getAdditionalLicenses
public String getAdditionalLicenses(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalLicenses at the given index.
-
getAdditionalLicensesBytes
public com.google.protobuf.ByteString getAdditionalLicensesBytes(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesBytesin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalLicenses at the given index.
-
getHostname
public String getHostname()
The hostname to assign to the VM.
string hostname = 18;- Specified by:
getHostnamein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()
The hostname to assign to the VM.
string hostname = 18;- Specified by:
getHostnameBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for hostname.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ComputeEngineTargetDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ComputeEngineTargetDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ComputeEngineTargetDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ComputeEngineTargetDetails.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ComputeEngineTargetDetails.Builder newBuilder()
-
newBuilder
public static ComputeEngineTargetDetails.Builder newBuilder(ComputeEngineTargetDetails prototype)
-
toBuilder
public ComputeEngineTargetDetails.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ComputeEngineTargetDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ComputeEngineTargetDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ComputeEngineTargetDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<ComputeEngineTargetDetails> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ComputeEngineTargetDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-