public final class VirtualMachinePreferences extends com.google.protobuf.GeneratedMessageV3 implements VirtualMachinePreferencesOrBuilder
VirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines. The set of preferences influence recommendations for migrating virtual machine assets.Protobuf type
google.cloud.migrationcenter.v1.VirtualMachinePreferences| Modifier and Type | Class and Description |
|---|---|
static class |
VirtualMachinePreferences.Builder
VirtualMachinePreferences enables you to create sets of assumptions, for
example, a geographical location and pricing track, for your migrated virtual
machines.
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
COMMITMENT_PLAN_FIELD_NUMBER |
static int |
COMPUTE_ENGINE_PREFERENCES_FIELD_NUMBER |
static int |
REGION_PREFERENCES_FIELD_NUMBER |
static int |
SIZING_OPTIMIZATION_STRATEGY_FIELD_NUMBER |
static int |
SOLE_TENANCY_PREFERENCES_FIELD_NUMBER |
static int |
TARGET_PRODUCT_FIELD_NUMBER |
static int |
VMWARE_ENGINE_PREFERENCES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
CommitmentPlan |
getCommitmentPlan()
Commitment plan to consider when calculating costs for virtual machine
insights and recommendations.
|
int |
getCommitmentPlanValue()
Commitment plan to consider when calculating costs for virtual machine
insights and recommendations.
|
ComputeEnginePreferences |
getComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute
Engine target.
|
ComputeEnginePreferencesOrBuilder |
getComputeEnginePreferencesOrBuilder()
Compute Engine preferences concern insights and recommendations for Compute
Engine target.
|
static VirtualMachinePreferences |
getDefaultInstance() |
VirtualMachinePreferences |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<VirtualMachinePreferences> |
getParserForType() |
RegionPreferences |
getRegionPreferences()
Region preferences for assets using this preference set.
|
RegionPreferencesOrBuilder |
getRegionPreferencesOrBuilder()
Region preferences for assets using this preference set.
|
int |
getSerializedSize() |
SizingOptimizationStrategy |
getSizingOptimizationStrategy()
Sizing optimization strategy specifies the preferred strategy used when
extrapolating usage data to calculate insights and recommendations for a
virtual machine.
|
int |
getSizingOptimizationStrategyValue()
Sizing optimization strategy specifies the preferred strategy used when
extrapolating usage data to calculate insights and recommendations for a
virtual machine.
|
SoleTenancyPreferences |
getSoleTenancyPreferences()
Preferences concerning Sole Tenant nodes and virtual machines.
|
SoleTenancyPreferencesOrBuilder |
getSoleTenancyPreferencesOrBuilder()
Preferences concerning Sole Tenant nodes and virtual machines.
|
ComputeMigrationTargetProduct |
getTargetProduct()
Target product for assets using this preference set.
|
int |
getTargetProductValue()
Target product for assets using this preference set.
|
VmwareEnginePreferences |
getVmwareEnginePreferences()
Preferences concerning insights and recommendations for
Google Cloud VMware Engine.
|
VmwareEnginePreferencesOrBuilder |
getVmwareEnginePreferencesOrBuilder()
Preferences concerning insights and recommendations for
Google Cloud VMware Engine.
|
boolean |
hasComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute
Engine target.
|
int |
hashCode() |
boolean |
hasRegionPreferences()
Region preferences for assets using this preference set.
|
boolean |
hasSoleTenancyPreferences()
Preferences concerning Sole Tenant nodes and virtual machines.
|
boolean |
hasVmwareEnginePreferences()
Preferences concerning insights and recommendations for
Google Cloud VMware Engine.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VirtualMachinePreferences.Builder |
newBuilder() |
static VirtualMachinePreferences.Builder |
newBuilder(VirtualMachinePreferences prototype) |
VirtualMachinePreferences.Builder |
newBuilderForType() |
protected VirtualMachinePreferences.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VirtualMachinePreferences |
parseDelimitedFrom(InputStream input) |
static VirtualMachinePreferences |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualMachinePreferences |
parseFrom(byte[] data) |
static VirtualMachinePreferences |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualMachinePreferences |
parseFrom(ByteBuffer data) |
static VirtualMachinePreferences |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualMachinePreferences |
parseFrom(com.google.protobuf.ByteString data) |
static VirtualMachinePreferences |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualMachinePreferences |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VirtualMachinePreferences |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VirtualMachinePreferences |
parseFrom(InputStream input) |
static VirtualMachinePreferences |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VirtualMachinePreferences> |
parser() |
VirtualMachinePreferences.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TARGET_PRODUCT_FIELD_NUMBER
public static final int REGION_PREFERENCES_FIELD_NUMBER
public static final int COMMITMENT_PLAN_FIELD_NUMBER
public static final int SIZING_OPTIMIZATION_STRATEGY_FIELD_NUMBER
public static final int COMPUTE_ENGINE_PREFERENCES_FIELD_NUMBER
public static final int VMWARE_ENGINE_PREFERENCES_FIELD_NUMBER
public static final int SOLE_TENANCY_PREFERENCES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getTargetProductValue()
Target product for assets using this preference set. Specify either target product or business goal, but not both.
.google.cloud.migrationcenter.v1.ComputeMigrationTargetProduct target_product = 2;getTargetProductValue in interface VirtualMachinePreferencesOrBuilderpublic ComputeMigrationTargetProduct getTargetProduct()
Target product for assets using this preference set. Specify either target product or business goal, but not both.
.google.cloud.migrationcenter.v1.ComputeMigrationTargetProduct target_product = 2;getTargetProduct in interface VirtualMachinePreferencesOrBuilderpublic boolean hasRegionPreferences()
Region preferences for assets using this preference set. If you are unsure which value to set, the migration service API region is often a good value to start with.
.google.cloud.migrationcenter.v1.RegionPreferences region_preferences = 3;hasRegionPreferences in interface VirtualMachinePreferencesOrBuilderpublic RegionPreferences getRegionPreferences()
Region preferences for assets using this preference set. If you are unsure which value to set, the migration service API region is often a good value to start with.
.google.cloud.migrationcenter.v1.RegionPreferences region_preferences = 3;getRegionPreferences in interface VirtualMachinePreferencesOrBuilderpublic RegionPreferencesOrBuilder getRegionPreferencesOrBuilder()
Region preferences for assets using this preference set. If you are unsure which value to set, the migration service API region is often a good value to start with.
.google.cloud.migrationcenter.v1.RegionPreferences region_preferences = 3;getRegionPreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilderpublic int getCommitmentPlanValue()
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
.google.cloud.migrationcenter.v1.CommitmentPlan commitment_plan = 4;getCommitmentPlanValue in interface VirtualMachinePreferencesOrBuilderpublic CommitmentPlan getCommitmentPlan()
Commitment plan to consider when calculating costs for virtual machine insights and recommendations. If you are unsure which value to set, a 3 year commitment plan is often a good value to start with.
.google.cloud.migrationcenter.v1.CommitmentPlan commitment_plan = 4;getCommitmentPlan in interface VirtualMachinePreferencesOrBuilderpublic int getSizingOptimizationStrategyValue()
Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with.
.google.cloud.migrationcenter.v1.SizingOptimizationStrategy sizing_optimization_strategy = 5;
getSizingOptimizationStrategyValue in interface VirtualMachinePreferencesOrBuilderpublic SizingOptimizationStrategy getSizingOptimizationStrategy()
Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine. If you are unsure which value to set, a moderate sizing optimization strategy is often a good value to start with.
.google.cloud.migrationcenter.v1.SizingOptimizationStrategy sizing_optimization_strategy = 5;
getSizingOptimizationStrategy in interface VirtualMachinePreferencesOrBuilderpublic boolean hasComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
hasComputeEnginePreferences in interface VirtualMachinePreferencesOrBuilderpublic ComputeEnginePreferences getComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
getComputeEnginePreferences in interface VirtualMachinePreferencesOrBuilderpublic ComputeEnginePreferencesOrBuilder getComputeEnginePreferencesOrBuilder()
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
getComputeEnginePreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilderpublic boolean hasVmwareEnginePreferences()
Preferences concerning insights and recommendations for Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
hasVmwareEnginePreferences in interface VirtualMachinePreferencesOrBuilderpublic VmwareEnginePreferences getVmwareEnginePreferences()
Preferences concerning insights and recommendations for Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
getVmwareEnginePreferences in interface VirtualMachinePreferencesOrBuilderpublic VmwareEnginePreferencesOrBuilder getVmwareEnginePreferencesOrBuilder()
Preferences concerning insights and recommendations for Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
getVmwareEnginePreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilderpublic boolean hasSoleTenancyPreferences()
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
hasSoleTenancyPreferences in interface VirtualMachinePreferencesOrBuilderpublic SoleTenancyPreferences getSoleTenancyPreferences()
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
getSoleTenancyPreferences in interface VirtualMachinePreferencesOrBuilderpublic SoleTenancyPreferencesOrBuilder getSoleTenancyPreferencesOrBuilder()
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
getSoleTenancyPreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VirtualMachinePreferences parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualMachinePreferences parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualMachinePreferences parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualMachinePreferences parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualMachinePreferences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualMachinePreferences parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VirtualMachinePreferences parseFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualMachinePreferences parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualMachinePreferences parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VirtualMachinePreferences parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VirtualMachinePreferences parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VirtualMachinePreferences parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VirtualMachinePreferences.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VirtualMachinePreferences.Builder newBuilder()
public static VirtualMachinePreferences.Builder newBuilder(VirtualMachinePreferences prototype)
public VirtualMachinePreferences.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VirtualMachinePreferences.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VirtualMachinePreferences getDefaultInstance()
public static com.google.protobuf.Parser<VirtualMachinePreferences> parser()
public com.google.protobuf.Parser<VirtualMachinePreferences> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VirtualMachinePreferences getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.