Class VmwareEnginePreferences

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.VmwareEnginePreferences
All Implemented Interfaces:
VmwareEnginePreferencesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class VmwareEnginePreferences extends com.google.protobuf.GeneratedMessage implements VmwareEnginePreferencesOrBuilder
 The user preferences relating to Google Cloud VMware Engine target platform.
 
Protobuf type google.cloud.migrationcenter.v1.VmwareEnginePreferences
See Also:
  • Field Details

    • CPU_OVERCOMMIT_RATIO_FIELD_NUMBER

      public static final int CPU_OVERCOMMIT_RATIO_FIELD_NUMBER
      See Also:
    • MEMORY_OVERCOMMIT_RATIO_FIELD_NUMBER

      public static final int MEMORY_OVERCOMMIT_RATIO_FIELD_NUMBER
      See Also:
    • STORAGE_DEDUPLICATION_COMPRESSION_RATIO_FIELD_NUMBER

      public static final int STORAGE_DEDUPLICATION_COMPRESSION_RATIO_FIELD_NUMBER
      See Also:
    • COMMITMENT_PLAN_FIELD_NUMBER

      public static final int COMMITMENT_PLAN_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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:
      getCpuOvercommitRatio in interface VmwareEnginePreferencesOrBuilder
      Returns:
      The cpuOvercommitRatio.
    • 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:
      getMemoryOvercommitRatio in interface VmwareEnginePreferencesOrBuilder
      Returns:
      The memoryOvercommitRatio.
    • 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:
      getStorageDeduplicationCompressionRatio in interface VmwareEnginePreferencesOrBuilder
      Returns:
      The storageDeduplicationCompressionRatio.
    • 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:
      getCommitmentPlanValue in interface VmwareEnginePreferencesOrBuilder
      Returns:
      The enum numeric value on the wire for commitmentPlan.
    • 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;
      Specified by:
      getCommitmentPlan in interface VmwareEnginePreferencesOrBuilder
      Returns:
      The commitmentPlan.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static VmwareEnginePreferences parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VmwareEnginePreferences parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static VmwareEnginePreferences parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static VmwareEnginePreferences parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public VmwareEnginePreferences.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static VmwareEnginePreferences.Builder newBuilder()
    • newBuilder

      public static VmwareEnginePreferences.Builder newBuilder(VmwareEnginePreferences prototype)
    • toBuilder

      public VmwareEnginePreferences.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected VmwareEnginePreferences.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static VmwareEnginePreferences getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<VmwareEnginePreferences> parser()
    • getParserForType

      public com.google.protobuf.Parser<VmwareEnginePreferences> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public VmwareEnginePreferences getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder