Class VmwareEnginePreferences (0.18.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
TypeDescription
int

CPU_OVERCOMMIT_RATIO_FIELD_NUMBER

public static final int CPU_OVERCOMMIT_RATIO_FIELD_NUMBER
Field Value
TypeDescription
int

MEMORY_OVERCOMMIT_RATIO_FIELD_NUMBER

public static final int MEMORY_OVERCOMMIT_RATIO_FIELD_NUMBER
Field Value
TypeDescription
int

STORAGE_DEDUPLICATION_COMPRESSION_RATIO_FIELD_NUMBER

public static final int STORAGE_DEDUPLICATION_COMPRESSION_RATIO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VmwareEnginePreferences getDefaultInstance()
Returns
TypeDescription
VmwareEnginePreferences

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VmwareEnginePreferences.Builder newBuilder()
Returns
TypeDescription
VmwareEnginePreferences.Builder

newBuilder(VmwareEnginePreferences prototype)

public static VmwareEnginePreferences.Builder newBuilder(VmwareEnginePreferences prototype)
Parameter
NameDescription
prototypeVmwareEnginePreferences
Returns
TypeDescription
VmwareEnginePreferences.Builder

parseDelimitedFrom(InputStream input)

public static VmwareEnginePreferences parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VmwareEnginePreferences parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VmwareEnginePreferences parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VmwareEnginePreferences parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VmwareEnginePreferences parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VmwareEnginePreferences parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VmwareEnginePreferences parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmwareEnginePreferences
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VmwareEnginePreferences> parser()
Returns
TypeDescription
Parser<VmwareEnginePreferences>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
double

The cpuOvercommitRatio.

getDefaultInstanceForType()

public VmwareEnginePreferences getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
double

The memoryOvercommitRatio.

getParserForType()

public Parser<VmwareEnginePreferences> getParserForType()
Returns
TypeDescription
Parser<VmwareEnginePreferences>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
double

The storageDeduplicationCompressionRatio.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VmwareEnginePreferences.Builder newBuilderForType()
Returns
TypeDescription
VmwareEnginePreferences.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VmwareEnginePreferences.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VmwareEnginePreferences.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VmwareEnginePreferences.Builder toBuilder()
Returns
TypeDescription
VmwareEnginePreferences.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException