Interface SoleTenancyPreferencesOrBuilder (0.21.0)

public interface SoleTenancyPreferencesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitmentPlan()

public abstract 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
TypeDescription
SoleTenancyPreferences.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.SoleTenancyPreferences.CommitmentPlan commitment_plan = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for commitmentPlan.

getCpuOvercommitRatio()

public abstract double getCpuOvercommitRatio()

CPU overcommit ratio. Acceptable values are between 1.0 and 2.0 inclusive.

double cpu_overcommit_ratio = 1;

Returns
TypeDescription
double

The cpuOvercommitRatio.

getHostMaintenancePolicy()

public abstract SoleTenancyPreferences.HostMaintenancePolicy getHostMaintenancePolicy()

Sole Tenancy nodes maintenance policy.

.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;

Returns
TypeDescription
SoleTenancyPreferences.HostMaintenancePolicy

The hostMaintenancePolicy.

getHostMaintenancePolicyValue()

public abstract int getHostMaintenancePolicyValue()

Sole Tenancy nodes maintenance policy.

.google.cloud.migrationcenter.v1.SoleTenancyPreferences.HostMaintenancePolicy host_maintenance_policy = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for hostMaintenancePolicy.

getNodeTypes(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SoleTenantNodeType

getNodeTypesCount()

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

Returns
TypeDescription
int

getNodeTypesList()

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

Returns
TypeDescription
List<SoleTenantNodeType>

getNodeTypesOrBuilder(int index)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
SoleTenantNodeTypeOrBuilder

getNodeTypesOrBuilderList()

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

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.SoleTenantNodeTypeOrBuilder>