Interface VirtualMachinePreferencesOrBuilder (0.4.0)

public interface VirtualMachinePreferencesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitmentPlan()

public abstract 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;

Returns
TypeDescription
CommitmentPlan

The commitmentPlan.

getCommitmentPlanValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for commitmentPlan.

getComputeEnginePreferences()

public abstract ComputeEnginePreferences getComputeEnginePreferences()

Compute Engine preferences concern insights and recommendations for Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;

Returns
TypeDescription
ComputeEnginePreferences

The computeEnginePreferences.

getComputeEnginePreferencesOrBuilder()

public abstract ComputeEnginePreferencesOrBuilder getComputeEnginePreferencesOrBuilder()

Compute Engine preferences concern insights and recommendations for Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;

Returns
TypeDescription
ComputeEnginePreferencesOrBuilder

getRegionPreferences()

public abstract 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;

Returns
TypeDescription
RegionPreferences

The regionPreferences.

getRegionPreferencesOrBuilder()

public abstract 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;

Returns
TypeDescription
RegionPreferencesOrBuilder

getSizingOptimizationStrategy()

public abstract 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;

Returns
TypeDescription
SizingOptimizationStrategy

The sizingOptimizationStrategy.

getSizingOptimizationStrategyValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for sizingOptimizationStrategy.

hasComputeEnginePreferences()

public abstract boolean hasComputeEnginePreferences()

Compute Engine preferences concern insights and recommendations for Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;

Returns
TypeDescription
boolean

Whether the computeEnginePreferences field is set.

hasRegionPreferences()

public abstract 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
TypeDescription
boolean

Whether the regionPreferences field is set.