Interface SoleTenancyPreferencesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SoleTenancyPreferences,SoleTenancyPreferences.Builder
@Generated
public interface SoleTenancyPreferencesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCommitment plan to consider when calculating costs for virtual machine insights and recommendations.intCommitment plan to consider when calculating costs for virtual machine insights and recommendations.doubleCPU overcommit ratio.Sole Tenancy nodes maintenance policy.intSole Tenancy nodes maintenance policy.getNodeTypes(int index) A list of sole tenant node types.intA list of sole tenant node types.A list of sole tenant node types.getNodeTypesOrBuilder(int index) A list of sole tenant node types.List<? extends SoleTenantNodeTypeOrBuilder>A list of sole tenant node types.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCpuOvercommitRatio
double getCpuOvercommitRatio()CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.
double cpu_overcommit_ratio = 1;- Returns:
- The cpuOvercommitRatio.
-
getHostMaintenancePolicyValue
int getHostMaintenancePolicyValue()Sole Tenancy nodes maintenance policy.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;- Returns:
- The enum numeric value on the wire for hostMaintenancePolicy.
-
getHostMaintenancePolicy
SoleTenancyPreferences.HostMaintenancePolicy getHostMaintenancePolicy()Sole Tenancy nodes maintenance policy.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;- Returns:
- The hostMaintenancePolicy.
-
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.SoleTenancyPreferences.CommitmentPlan commitment_plan = 3;- Returns:
- The enum numeric value on the wire for commitmentPlan.
-
getCommitmentPlan
SoleTenancyPreferences.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.SoleTenancyPreferences.CommitmentPlan commitment_plan = 3;- Returns:
- The commitmentPlan.
-
getNodeTypesList
List<SoleTenantNodeType> getNodeTypesList()A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4; -
getNodeTypes
A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4; -
getNodeTypesCount
int getNodeTypesCount()A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4; -
getNodeTypesOrBuilderList
List<? extends SoleTenantNodeTypeOrBuilder> getNodeTypesOrBuilderList()A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4; -
getNodeTypesOrBuilder
A list of sole tenant node types. An empty list means that all possible node types will be considered.
repeated .google.cloud.migrationcenter.v1.SoleTenantNodeType node_types = 4;
-