Interface VirtualMachinePreferencesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VirtualMachinePreferences,VirtualMachinePreferences.Builder
public interface VirtualMachinePreferencesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommitmentPlangetCommitmentPlan()Commitment plan to consider when calculating costs for virtual machine insights and recommendations.intgetCommitmentPlanValue()Commitment plan to consider when calculating costs for virtual machine insights and recommendations.ComputeEnginePreferencesgetComputeEnginePreferences()Compute Engine preferences concern insights and recommendations for Compute Engine target.ComputeEnginePreferencesOrBuildergetComputeEnginePreferencesOrBuilder()Compute Engine preferences concern insights and recommendations for Compute Engine target.RegionPreferencesgetRegionPreferences()Region preferences for assets using this preference set.RegionPreferencesOrBuildergetRegionPreferencesOrBuilder()Region preferences for assets using this preference set.SizingOptimizationStrategygetSizingOptimizationStrategy()Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine.intgetSizingOptimizationStrategyValue()Sizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine.booleanhasComputeEnginePreferences()Compute Engine preferences concern insights and recommendations for Compute Engine target.booleanhasRegionPreferences()Region preferences for assets using this preference set.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRegionPreferences
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:
- Whether the regionPreferences field is set.
-
getRegionPreferences
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:
- The regionPreferences.
-
getRegionPreferencesOrBuilder
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;
-
getCommitmentPlanValue
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:
- The enum numeric value on the wire for commitmentPlan.
-
getCommitmentPlan
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:
- The commitmentPlan.
-
getSizingOptimizationStrategyValue
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:
- The enum numeric value on the wire for sizingOptimizationStrategy.
-
getSizingOptimizationStrategy
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:
- The sizingOptimizationStrategy.
-
hasComputeEnginePreferences
boolean hasComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;- Returns:
- Whether the computeEnginePreferences field is set.
-
getComputeEnginePreferences
ComputeEnginePreferences getComputeEnginePreferences()
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;- Returns:
- The computeEnginePreferences.
-
getComputeEnginePreferencesOrBuilder
ComputeEnginePreferencesOrBuilder getComputeEnginePreferencesOrBuilder()
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
-
-