Class VmwareEnginePreferences.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VmwareEnginePreferences.Builder>
com.google.cloud.migrationcenter.v1.VmwareEnginePreferences.Builder
- All Implemented Interfaces:
VmwareEnginePreferencesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VmwareEnginePreferences
public static final class VmwareEnginePreferences.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VmwareEnginePreferences.Builder>
implements VmwareEnginePreferencesOrBuilder
The user preferences relating to Google Cloud VMware Engine target platform.Protobuf type
google.cloud.migrationcenter.v1.VmwareEnginePreferences-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Commitment plan to consider when calculating costs for virtual machine insights and recommendations.CPU overcommit ratio.Memory overcommit ratio.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.Commitment plan to consider when calculating costs for virtual machine insights and recommendations.intCommitment plan to consider when calculating costs for virtual machine insights and recommendations.doubleCPU overcommit ratio.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptordoubleMemory overcommit ratio.doubleThe 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(VmwareEnginePreferences other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Commitment plan to consider when calculating costs for virtual machine insights and recommendations.setCommitmentPlanValue(int value) Commitment plan to consider when calculating costs for virtual machine insights and recommendations.setCpuOvercommitRatio(double value) CPU overcommit ratio.setMemoryOvercommitRatio(double value) Memory overcommit ratio.setStorageDeduplicationCompressionRatio(double value) 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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VmwareEnginePreferences.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VmwareEnginePreferences.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VmwareEnginePreferences.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VmwareEnginePreferences.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VmwareEnginePreferences.Builder>
-
mergeFrom
public VmwareEnginePreferences.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VmwareEnginePreferences.Builder>- Throws:
IOException
-
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;- Specified by:
getCpuOvercommitRatioin interfaceVmwareEnginePreferencesOrBuilder- Returns:
- The cpuOvercommitRatio.
-
setCpuOvercommitRatio
CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
double cpu_overcommit_ratio = 1;- Parameters:
value- The cpuOvercommitRatio to set.- Returns:
- This builder for chaining.
-
clearCpuOvercommitRatio
CPU overcommit ratio. Acceptable values are between 1.0 and 8.0, with 0.1 increment.
double cpu_overcommit_ratio = 1;- Returns:
- This builder for chaining.
-
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;- Specified by:
getMemoryOvercommitRatioin interfaceVmwareEnginePreferencesOrBuilder- Returns:
- The memoryOvercommitRatio.
-
setMemoryOvercommitRatio
Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
double memory_overcommit_ratio = 2;- Parameters:
value- The memoryOvercommitRatio to set.- Returns:
- This builder for chaining.
-
clearMemoryOvercommitRatio
Memory overcommit ratio. Acceptable values are 1.0, 1.25, 1.5, 1.75 and 2.0.
double memory_overcommit_ratio = 2;- Returns:
- This builder for chaining.
-
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;- Specified by:
getStorageDeduplicationCompressionRatioin interfaceVmwareEnginePreferencesOrBuilder- Returns:
- The storageDeduplicationCompressionRatio.
-
setStorageDeduplicationCompressionRatio
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;- Parameters:
value- The storageDeduplicationCompressionRatio to set.- Returns:
- This builder for chaining.
-
clearStorageDeduplicationCompressionRatio
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:
- This builder for chaining.
-
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;- Specified by:
getCommitmentPlanValuein interfaceVmwareEnginePreferencesOrBuilder- Returns:
- The enum numeric value on the wire for commitmentPlan.
-
setCommitmentPlanValue
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;- Parameters:
value- The enum numeric value on the wire for commitmentPlan to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getCommitmentPlanin interfaceVmwareEnginePreferencesOrBuilder- Returns:
- The commitmentPlan.
-
setCommitmentPlan
public VmwareEnginePreferences.Builder setCommitmentPlan(VmwareEnginePreferences.CommitmentPlan value) 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;- Parameters:
value- The commitmentPlan to set.- Returns:
- This builder for chaining.
-
clearCommitmentPlan
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:
- This builder for chaining.
-