Class VmwareEnginePreferences (0.28.0)

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

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()
Returns
Type Description
VmwareEnginePreferences

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VmwareEnginePreferences.Builder newBuilder()
Returns
Type Description
VmwareEnginePreferences.Builder

newBuilder(VmwareEnginePreferences prototype)

public static VmwareEnginePreferences.Builder newBuilder(VmwareEnginePreferences prototype)
Parameter
Name Description
prototype VmwareEnginePreferences
Returns
Type Description
VmwareEnginePreferences.Builder

parseDelimitedFrom(InputStream input)

public static VmwareEnginePreferences parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VmwareEnginePreferences parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VmwareEnginePreferences parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmwareEnginePreferences parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VmwareEnginePreferences parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VmwareEnginePreferences parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmwareEnginePreferences
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VmwareEnginePreferences> parser()
Returns
Type Description
Parser<VmwareEnginePreferences>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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;

Returns
Type Description
VmwareEnginePreferences.CommitmentPlan

The commitmentPlan.

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()
Returns
Type Description
VmwareEnginePreferences

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()
Returns
Type Description
Parser<VmwareEnginePreferences>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VmwareEnginePreferences.Builder newBuilderForType()
Returns
Type Description
VmwareEnginePreferences.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmwareEnginePreferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VmwareEnginePreferences.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VmwareEnginePreferences.Builder toBuilder()
Returns
Type Description
VmwareEnginePreferences.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException