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 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

       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

       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

      SoleTenantNodeType getNodeTypes(int index)
       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

      SoleTenantNodeTypeOrBuilder getNodeTypesOrBuilder(int index)
       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;