public final class VmwareEnginePreferences extends GeneratedMessageV3 implements VmwareEnginePreferencesOrBuilder
The user preferences relating to Google Cloud VMware Engine target platform.
Protobuf type google.cloud.migrationcenter.v1.VmwareEnginePreferences
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
COMMITMENT_PLAN_FIELD_NUMBER
public static final int COMMITMENT_PLAN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CPU_OVERCOMMIT_RATIO_FIELD_NUMBER
public static final int CPU_OVERCOMMIT_RATIO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MEMORY_OVERCOMMIT_RATIO_FIELD_NUMBER
public static final int MEMORY_OVERCOMMIT_RATIO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STORAGE_DEDUPLICATION_COMPRESSION_RATIO_FIELD_NUMBER
public static final int STORAGE_DEDUPLICATION_COMPRESSION_RATIO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VmwareEnginePreferences getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VmwareEnginePreferences.Builder newBuilder()
newBuilder(VmwareEnginePreferences prototype)
public static VmwareEnginePreferences.Builder newBuilder(VmwareEnginePreferences prototype)
public static VmwareEnginePreferences parseDelimitedFrom(InputStream input)
public static VmwareEnginePreferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VmwareEnginePreferences parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VmwareEnginePreferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VmwareEnginePreferences parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VmwareEnginePreferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VmwareEnginePreferences parseFrom(CodedInputStream input)
public static VmwareEnginePreferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VmwareEnginePreferences parseFrom(InputStream input)
public static VmwareEnginePreferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VmwareEnginePreferences parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VmwareEnginePreferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VmwareEnginePreferences> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCommitmentPlan()
public VmwareEnginePreferences.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.VmwareEnginePreferences.CommitmentPlan commitment_plan = 4;
getCommitmentPlanValue()
public 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.VmwareEnginePreferences.CommitmentPlan commitment_plan = 4;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for commitmentPlan.
|
getCpuOvercommitRatio()
public double getCpuOvercommitRatio()
CPU overcommit ratio.
Acceptable values are between 1.0 and 8.0, with 0.1 increment.
double cpu_overcommit_ratio = 1;
Returns |
---|
Type | Description |
double | The cpuOvercommitRatio.
|
getDefaultInstanceForType()
public VmwareEnginePreferences getDefaultInstanceForType()
getMemoryOvercommitRatio()
public double getMemoryOvercommitRatio()
Memory overcommit ratio.
Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
double memory_overcommit_ratio = 2;
Returns |
---|
Type | Description |
double | The memoryOvercommitRatio.
|
getParserForType()
public Parser<VmwareEnginePreferences> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStorageDeduplicationCompressionRatio()
public double getStorageDeduplicationCompressionRatio()
The Deduplication and Compression ratio is based on the logical (Used
Before) space required to store data before applying deduplication and
compression, in relation to the physical (Used After) space required after
applying deduplication and compression. Specifically, the ratio is the Used
Before space divided by the Used After space. For example, if the Used
Before space is 3 GB, but the physical Used After space is 1 GB, the
deduplication and compression ratio is 3x. Acceptable values are
between 1.0 and 4.0.
double storage_deduplication_compression_ratio = 3;
Returns |
---|
Type | Description |
double | The storageDeduplicationCompressionRatio.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VmwareEnginePreferences.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VmwareEnginePreferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VmwareEnginePreferences.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides