public final class VirtualMachinePreferences extends 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
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
COMMITMENT_PLAN_FIELD_NUMBER
public static final int COMMITMENT_PLAN_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
COMPUTE_ENGINE_PREFERENCES_FIELD_NUMBER
public static final int COMPUTE_ENGINE_PREFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REGION_PREFERENCES_FIELD_NUMBER
public static final int REGION_PREFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SIZING_OPTIMIZATION_STRATEGY_FIELD_NUMBER
public static final int SIZING_OPTIMIZATION_STRATEGY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOLE_TENANCY_PREFERENCES_FIELD_NUMBER
public static final int SOLE_TENANCY_PREFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TARGET_PRODUCT_FIELD_NUMBER
public static final int TARGET_PRODUCT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VMWARE_ENGINE_PREFERENCES_FIELD_NUMBER
public static final int VMWARE_ENGINE_PREFERENCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static VirtualMachinePreferences getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VirtualMachinePreferences.Builder newBuilder()
newBuilder(VirtualMachinePreferences prototype)
public static VirtualMachinePreferences.Builder newBuilder(VirtualMachinePreferences prototype)
public static VirtualMachinePreferences parseDelimitedFrom(InputStream input)
public static VirtualMachinePreferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VirtualMachinePreferences parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VirtualMachinePreferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VirtualMachinePreferences parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VirtualMachinePreferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VirtualMachinePreferences parseFrom(CodedInputStream input)
public static VirtualMachinePreferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VirtualMachinePreferences parseFrom(InputStream input)
public static VirtualMachinePreferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VirtualMachinePreferences parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VirtualMachinePreferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VirtualMachinePreferences> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCommitmentPlan()
public 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;
getCommitmentPlanValue()
public 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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for commitmentPlan.
|
getComputeEnginePreferences()
public ComputeEnginePreferences getComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute
Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
getComputeEnginePreferencesOrBuilder()
public ComputeEnginePreferencesOrBuilder getComputeEnginePreferencesOrBuilder()
Compute Engine preferences concern insights and recommendations for Compute
Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
getDefaultInstanceForType()
public VirtualMachinePreferences getDefaultInstanceForType()
getParserForType()
public Parser<VirtualMachinePreferences> getParserForType()
Overrides
getRegionPreferences()
public 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;
getRegionPreferencesOrBuilder()
public 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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSizingOptimizationStrategy()
public 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;
getSizingOptimizationStrategyValue()
public 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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for sizingOptimizationStrategy.
|
getSoleTenancyPreferences()
public SoleTenancyPreferences getSoleTenancyPreferences()
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
getSoleTenancyPreferencesOrBuilder()
public SoleTenancyPreferencesOrBuilder getSoleTenancyPreferencesOrBuilder()
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
getTargetProduct()
public 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;
getTargetProductValue()
public 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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for targetProduct.
|
getVmwareEnginePreferences()
public VmwareEnginePreferences getVmwareEnginePreferences()
Preferences concerning insights and recommendations for
Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
getVmwareEnginePreferencesOrBuilder()
public VmwareEnginePreferencesOrBuilder getVmwareEnginePreferencesOrBuilder()
Preferences concerning insights and recommendations for
Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
hasComputeEnginePreferences()
public boolean hasComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute
Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
Returns |
Type |
Description |
boolean |
Whether the computeEnginePreferences field is set.
|
hasRegionPreferences()
public 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;
Returns |
Type |
Description |
boolean |
Whether the regionPreferences field is set.
|
hasSoleTenancyPreferences()
public boolean hasSoleTenancyPreferences()
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
Returns |
Type |
Description |
boolean |
Whether the soleTenancyPreferences field is set.
|
hasVmwareEnginePreferences()
public boolean hasVmwareEnginePreferences()
Preferences concerning insights and recommendations for
Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
Returns |
Type |
Description |
boolean |
Whether the vmwareEnginePreferences field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VirtualMachinePreferences.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VirtualMachinePreferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public VirtualMachinePreferences.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides