Package com.google.cloud.vmmigration.v1
Class ComputeEngineTargetDefaults
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults
-
- All Implemented Interfaces:
ComputeEngineTargetDefaultsOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ComputeEngineTargetDefaults extends com.google.protobuf.GeneratedMessageV3 implements ComputeEngineTargetDefaultsOrBuilder
ComputeEngineTargetDefaults is a collection of details for creating a VM in a target Compute Engine project.
Protobuf typegoogle.cloud.vmmigration.v1.ComputeEngineTargetDefaults
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComputeEngineTargetDefaults.Builder
ComputeEngineTargetDefaults 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 int
ADDITIONAL_LICENSES_FIELD_NUMBER
static int
APPLIED_LICENSE_FIELD_NUMBER
static int
BOOT_OPTION_FIELD_NUMBER
static int
COMPUTE_SCHEDULING_FIELD_NUMBER
static int
DISK_TYPE_FIELD_NUMBER
static int
HOSTNAME_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LICENSE_TYPE_FIELD_NUMBER
static int
MACHINE_TYPE_FIELD_NUMBER
static int
MACHINE_TYPE_SERIES_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
NETWORK_INTERFACES_FIELD_NUMBER
static int
NETWORK_TAGS_FIELD_NUMBER
static int
SECURE_BOOT_FIELD_NUMBER
static int
SERVICE_ACCOUNT_FIELD_NUMBER
static int
TARGET_PROJECT_FIELD_NUMBER
static int
VM_NAME_FIELD_NUMBER
static int
ZONE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
A map of labels to associate with the VM.boolean
containsMetadata(String key)
The metadata key/value pairs to assign to the VM.boolean
equals(Object obj)
String
getAdditionalLicenses(int index)
Additional licenses to assign to the VM.com.google.protobuf.ByteString
getAdditionalLicensesBytes(int index)
Additional licenses to assign to the VM.int
getAdditionalLicensesCount()
Additional licenses to assign to the VM.com.google.protobuf.ProtocolStringList
getAdditionalLicensesList()
Additional licenses to assign to the VM.AppliedLicense
getAppliedLicense()
Output only.AppliedLicenseOrBuilder
getAppliedLicenseOrBuilder()
Output only.ComputeEngineBootOption
getBootOption()
Output only.int
getBootOptionValue()
Output only.ComputeScheduling
getComputeScheduling()
Compute instance scheduling information (if empty default is used).ComputeSchedulingOrBuilder
getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).static ComputeEngineTargetDefaults
getDefaultInstance()
ComputeEngineTargetDefaults
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
ComputeEngineDiskType
getDiskType()
The disk type to use in the VM.int
getDiskTypeValue()
The disk type to use in the VM.String
getHostname()
The hostname to assign to the VM.com.google.protobuf.ByteString
getHostnameBytes()
The hostname to assign to the VM.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
A map of labels to associate with the VM.Map<String,String>
getLabelsMap()
A map of labels to associate with the VM.String
getLabelsOrDefault(String key, String defaultValue)
A map of labels to associate with the VM.String
getLabelsOrThrow(String key)
A map of labels to associate with the VM.ComputeEngineLicenseType
getLicenseType()
The license type to use in OS adaptation.int
getLicenseTypeValue()
The license type to use in OS adaptation.String
getMachineType()
The machine type to create the VM with.com.google.protobuf.ByteString
getMachineTypeBytes()
The machine type to create the VM with.String
getMachineTypeSeries()
The machine type series to create the VM with.com.google.protobuf.ByteString
getMachineTypeSeriesBytes()
The machine type series to create the VM with.Map<String,String>
getMetadata()
Deprecated.int
getMetadataCount()
The metadata key/value pairs to assign to the VM.Map<String,String>
getMetadataMap()
The metadata key/value pairs to assign to the VM.String
getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs to assign to the VM.String
getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.NetworkInterface
getNetworkInterfaces(int index)
List of NICs connected to this VM.int
getNetworkInterfacesCount()
List of NICs connected to this VM.List<NetworkInterface>
getNetworkInterfacesList()
List of NICs connected to this VM.NetworkInterfaceOrBuilder
getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.List<? extends NetworkInterfaceOrBuilder>
getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.String
getNetworkTags(int index)
A map of network tags to associate with the VM.com.google.protobuf.ByteString
getNetworkTagsBytes(int index)
A map of network tags to associate with the VM.int
getNetworkTagsCount()
A map of network tags to associate with the VM.com.google.protobuf.ProtocolStringList
getNetworkTagsList()
A map of network tags to associate with the VM.com.google.protobuf.Parser<ComputeEngineTargetDefaults>
getParserForType()
boolean
getSecureBoot()
Defines whether the instance has Secure Boot enabled.int
getSerializedSize()
String
getServiceAccount()
The service account to associate the VM with.com.google.protobuf.ByteString
getServiceAccountBytes()
The service account to associate the VM with.String
getTargetProject()
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.com.google.protobuf.ByteString
getTargetProjectBytes()
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.String
getVmName()
The name of the VM to create.com.google.protobuf.ByteString
getVmNameBytes()
The name of the VM to create.String
getZone()
The zone in which to create the VM.com.google.protobuf.ByteString
getZoneBytes()
The zone in which to create the VM.boolean
hasAppliedLicense()
Output only.boolean
hasComputeScheduling()
Compute instance scheduling information (if empty default is used).int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static ComputeEngineTargetDefaults.Builder
newBuilder()
static ComputeEngineTargetDefaults.Builder
newBuilder(ComputeEngineTargetDefaults prototype)
ComputeEngineTargetDefaults.Builder
newBuilderForType()
protected ComputeEngineTargetDefaults.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ComputeEngineTargetDefaults
parseDelimitedFrom(InputStream input)
static ComputeEngineTargetDefaults
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ComputeEngineTargetDefaults
parseFrom(byte[] data)
static ComputeEngineTargetDefaults
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ComputeEngineTargetDefaults
parseFrom(com.google.protobuf.ByteString data)
static ComputeEngineTargetDefaults
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ComputeEngineTargetDefaults
parseFrom(com.google.protobuf.CodedInputStream input)
static ComputeEngineTargetDefaults
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ComputeEngineTargetDefaults
parseFrom(InputStream input)
static ComputeEngineTargetDefaults
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ComputeEngineTargetDefaults
parseFrom(ByteBuffer data)
static ComputeEngineTargetDefaults
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ComputeEngineTargetDefaults>
parser()
ComputeEngineTargetDefaults.Builder
toBuilder()
void
writeTo(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
-
TARGET_PROJECT_FIELD_NUMBER
public static final int TARGET_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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getVmName
public String getVmName()
The name of the VM to create.
string vm_name = 1;
- Specified by:
getVmName
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The vmName.
-
getVmNameBytes
public com.google.protobuf.ByteString getVmNameBytes()
The name of the VM to create.
string vm_name = 1;
- Specified by:
getVmNameBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The bytes for vmName.
-
getTargetProject
public String getTargetProject()
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
string target_project = 2 [(.google.api.resource_reference) = { ... }
- Specified by:
getTargetProject
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The targetProject.
-
getTargetProjectBytes
public com.google.protobuf.ByteString getTargetProjectBytes()
The full path of the resource of type TargetProject which represents the Compute Engine project in which to create this VM.
string target_project = 2 [(.google.api.resource_reference) = { ... }
- Specified by:
getTargetProjectBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The bytes for targetProject.
-
getZone
public String getZone()
The zone in which to create the VM.
string zone = 3;
- Specified by:
getZone
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The zone in which to create the VM.
string zone = 3;
- Specified by:
getZoneBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getMachineTypeSeries
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getMachineTypeSeriesBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The bytes for machineTypeSeries.
-
getMachineType
public String getMachineType()
The machine type to create the VM with.
string machine_type = 5;
- Specified by:
getMachineType
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to create the VM with.
string machine_type = 5;
- Specified by:
getMachineTypeBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getNetworkTagsList
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getNetworkTagsCount
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getNetworkTags
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getNetworkTagsBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getNetworkInterfacesList
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getNetworkInterfacesOrBuilderList
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
- Specified by:
getNetworkInterfacesOrBuilderList
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getNetworkInterfacesCount
public int getNetworkInterfacesCount()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
- Specified by:
getNetworkInterfacesCount
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getNetworkInterfaces
public NetworkInterface getNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
- Specified by:
getNetworkInterfaces
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getNetworkInterfacesOrBuilder
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
- Specified by:
getNetworkInterfacesOrBuilder
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getServiceAccount
public String getServiceAccount()
The service account to associate the VM with.
string service_account = 8;
- Specified by:
getServiceAccount
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
The service account to associate the VM with.
string service_account = 8;
- Specified by:
getServiceAccountBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getDiskTypeValue
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getDiskType
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The diskType.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ComputeEngineTargetDefaultsOrBuilder
A map of labels to associate with the VM.
map<string, string> labels = 10;
- Specified by:
getLabelsCount
in interfaceComputeEngineTargetDefaultsOrBuilder
-
containsLabels
public boolean containsLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
- Specified by:
containsLabels
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
A map of labels to associate with the VM.
map<string, string> labels = 10;
- Specified by:
getLabelsMap
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
A map of labels to associate with the VM.
map<string, string> labels = 10;
- Specified by:
getLabelsOrDefault
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
- Specified by:
getLabelsOrThrow
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getLicenseTypeValue
public int getLicenseTypeValue()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;
- Specified by:
getLicenseTypeValue
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getLicenseType
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The licenseType.
-
hasAppliedLicense
public boolean hasAppliedLicense()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasAppliedLicense
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- Whether the appliedLicense field is set.
-
getAppliedLicense
public AppliedLicense getAppliedLicense()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAppliedLicense
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The appliedLicense.
-
getAppliedLicenseOrBuilder
public AppliedLicenseOrBuilder getAppliedLicenseOrBuilder()
Output only. The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAppliedLicenseOrBuilder
in interfaceComputeEngineTargetDefaultsOrBuilder
-
hasComputeScheduling
public boolean hasComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
- Specified by:
hasComputeScheduling
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getComputeScheduling
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getComputeSchedulingOrBuilder
in interfaceComputeEngineTargetDefaultsOrBuilder
-
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:
getSecureBoot
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The secureBoot.
-
getBootOptionValue
public int getBootOptionValue()
Output only. The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBootOptionValue
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The enum numeric value on the wire for bootOption.
-
getBootOption
public ComputeEngineBootOption getBootOption()
Output only. The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getBootOption
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The bootOption.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:ComputeEngineTargetDefaultsOrBuilder
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
- Specified by:
getMetadataCount
in interfaceComputeEngineTargetDefaultsOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
- Specified by:
containsMetadata
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
- Specified by:
getMetadataMap
in interfaceComputeEngineTargetDefaultsOrBuilder
-
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:
getMetadataOrDefault
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
- Specified by:
getMetadataOrThrow
in interfaceComputeEngineTargetDefaultsOrBuilder
-
getAdditionalLicensesList
public com.google.protobuf.ProtocolStringList getAdditionalLicensesList()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
- Specified by:
getAdditionalLicensesList
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- A list containing the additionalLicenses.
-
getAdditionalLicensesCount
public int getAdditionalLicensesCount()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;
- Specified by:
getAdditionalLicensesCount
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getAdditionalLicenses
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getAdditionalLicensesBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- 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:
getHostname
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()
The hostname to assign to the VM.
string hostname = 18;
- Specified by:
getHostnameBytes
in interfaceComputeEngineTargetDefaultsOrBuilder
- Returns:
- The bytes for hostname.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ComputeEngineTargetDefaults parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ComputeEngineTargetDefaults parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ComputeEngineTargetDefaults parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ComputeEngineTargetDefaults.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ComputeEngineTargetDefaults.Builder newBuilder()
-
newBuilder
public static ComputeEngineTargetDefaults.Builder newBuilder(ComputeEngineTargetDefaults prototype)
-
toBuilder
public ComputeEngineTargetDefaults.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ComputeEngineTargetDefaults.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ComputeEngineTargetDefaults getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ComputeEngineTargetDefaults> parser()
-
getParserForType
public com.google.protobuf.Parser<ComputeEngineTargetDefaults> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ComputeEngineTargetDefaults getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-