Class VirtualMachinePreferences

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

@Generated public final class VirtualMachinePreferences extends com.google.protobuf.GeneratedMessage implements VirtualMachinePreferencesOrBuilder
 VirtualMachinePreferences enables you to create sets of assumptions, for
 example, a geographical location and pricing track, for your migrated virtual
 machines. The set of preferences influence recommendations for migrating
 virtual machine assets.
 
Protobuf type google.cloud.migrationcenter.v1.VirtualMachinePreferences
See Also:
  • Field Details

    • TARGET_PRODUCT_FIELD_NUMBER

      public static final int TARGET_PRODUCT_FIELD_NUMBER
      See Also:
    • REGION_PREFERENCES_FIELD_NUMBER

      public static final int REGION_PREFERENCES_FIELD_NUMBER
      See Also:
    • COMMITMENT_PLAN_FIELD_NUMBER

      public static final int COMMITMENT_PLAN_FIELD_NUMBER
      See Also:
    • SIZING_OPTIMIZATION_STRATEGY_FIELD_NUMBER

      public static final int SIZING_OPTIMIZATION_STRATEGY_FIELD_NUMBER
      See Also:
    • COMPUTE_ENGINE_PREFERENCES_FIELD_NUMBER

      public static final int COMPUTE_ENGINE_PREFERENCES_FIELD_NUMBER
      See Also:
    • VMWARE_ENGINE_PREFERENCES_FIELD_NUMBER

      public static final int VMWARE_ENGINE_PREFERENCES_FIELD_NUMBER
      See Also:
    • SOLE_TENANCY_PREFERENCES_FIELD_NUMBER

      public static final int SOLE_TENANCY_PREFERENCES_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
    • getTargetProductValue

      public int getTargetProductValue()
       Target product for assets using this preference set.
       Specify either target product or business goal, but
       not both.
       
      .google.cloud.migrationcenter.v1.ComputeMigrationTargetProduct target_product = 2;
      Specified by:
      getTargetProductValue in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The enum numeric value on the wire for targetProduct.
    • getTargetProduct

      public ComputeMigrationTargetProduct getTargetProduct()
       Target product for assets using this preference set.
       Specify either target product or business goal, but
       not both.
       
      .google.cloud.migrationcenter.v1.ComputeMigrationTargetProduct target_product = 2;
      Specified by:
      getTargetProduct in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The targetProduct.
    • hasRegionPreferences

      public boolean hasRegionPreferences()
       Region preferences for assets using this preference set.
       If you are unsure which value to set, the migration service API region is
       often a good value to start with.
       
      .google.cloud.migrationcenter.v1.RegionPreferences region_preferences = 3;
      Specified by:
      hasRegionPreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      Whether the regionPreferences field is set.
    • getRegionPreferences

      public RegionPreferences getRegionPreferences()
       Region preferences for assets using this preference set.
       If you are unsure which value to set, the migration service API region is
       often a good value to start with.
       
      .google.cloud.migrationcenter.v1.RegionPreferences region_preferences = 3;
      Specified by:
      getRegionPreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The regionPreferences.
    • getRegionPreferencesOrBuilder

      public RegionPreferencesOrBuilder getRegionPreferencesOrBuilder()
       Region preferences for assets using this preference set.
       If you are unsure which value to set, the migration service API region is
       often a good value to start with.
       
      .google.cloud.migrationcenter.v1.RegionPreferences region_preferences = 3;
      Specified by:
      getRegionPreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilder
    • 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.CommitmentPlan commitment_plan = 4;
      Specified by:
      getCommitmentPlanValue in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The enum numeric value on the wire for commitmentPlan.
    • getCommitmentPlan

      public 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.CommitmentPlan commitment_plan = 4;
      Specified by:
      getCommitmentPlan in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The commitmentPlan.
    • getSizingOptimizationStrategyValue

      public int getSizingOptimizationStrategyValue()
       Sizing optimization strategy specifies the preferred strategy used when
       extrapolating usage data to calculate insights and recommendations for a
       virtual machine.
       If you are unsure which value to set, a moderate sizing optimization
       strategy is often a good value to start with.
       
      .google.cloud.migrationcenter.v1.SizingOptimizationStrategy sizing_optimization_strategy = 5;
      Specified by:
      getSizingOptimizationStrategyValue in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The enum numeric value on the wire for sizingOptimizationStrategy.
    • getSizingOptimizationStrategy

      public SizingOptimizationStrategy getSizingOptimizationStrategy()
       Sizing optimization strategy specifies the preferred strategy used when
       extrapolating usage data to calculate insights and recommendations for a
       virtual machine.
       If you are unsure which value to set, a moderate sizing optimization
       strategy is often a good value to start with.
       
      .google.cloud.migrationcenter.v1.SizingOptimizationStrategy sizing_optimization_strategy = 5;
      Specified by:
      getSizingOptimizationStrategy in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The sizingOptimizationStrategy.
    • hasComputeEnginePreferences

      public boolean hasComputeEnginePreferences()
       Compute Engine preferences concern insights and recommendations for Compute
       Engine target.
       
      .google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
      Specified by:
      hasComputeEnginePreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      Whether the computeEnginePreferences field is set.
    • getComputeEnginePreferences

      public ComputeEnginePreferences getComputeEnginePreferences()
       Compute Engine preferences concern insights and recommendations for Compute
       Engine target.
       
      .google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
      Specified by:
      getComputeEnginePreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The computeEnginePreferences.
    • getComputeEnginePreferencesOrBuilder

      public ComputeEnginePreferencesOrBuilder getComputeEnginePreferencesOrBuilder()
       Compute Engine preferences concern insights and recommendations for Compute
       Engine target.
       
      .google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;
      Specified by:
      getComputeEnginePreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilder
    • hasVmwareEnginePreferences

      public boolean hasVmwareEnginePreferences()
       Preferences concerning insights and recommendations for
       Google Cloud VMware Engine.
       
      .google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
      Specified by:
      hasVmwareEnginePreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      Whether the vmwareEnginePreferences field is set.
    • getVmwareEnginePreferences

      public VmwareEnginePreferences getVmwareEnginePreferences()
       Preferences concerning insights and recommendations for
       Google Cloud VMware Engine.
       
      .google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
      Specified by:
      getVmwareEnginePreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The vmwareEnginePreferences.
    • getVmwareEnginePreferencesOrBuilder

      public VmwareEnginePreferencesOrBuilder getVmwareEnginePreferencesOrBuilder()
       Preferences concerning insights and recommendations for
       Google Cloud VMware Engine.
       
      .google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;
      Specified by:
      getVmwareEnginePreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilder
    • hasSoleTenancyPreferences

      public boolean hasSoleTenancyPreferences()
       Preferences concerning Sole Tenant nodes and virtual machines.
       
      .google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
      Specified by:
      hasSoleTenancyPreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      Whether the soleTenancyPreferences field is set.
    • getSoleTenancyPreferences

      public SoleTenancyPreferences getSoleTenancyPreferences()
       Preferences concerning Sole Tenant nodes and virtual machines.
       
      .google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
      Specified by:
      getSoleTenancyPreferences in interface VirtualMachinePreferencesOrBuilder
      Returns:
      The soleTenancyPreferences.
    • getSoleTenancyPreferencesOrBuilder

      public SoleTenancyPreferencesOrBuilder getSoleTenancyPreferencesOrBuilder()
       Preferences concerning Sole Tenant nodes and virtual machines.
       
      .google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;
      Specified by:
      getSoleTenancyPreferencesOrBuilder in interface VirtualMachinePreferencesOrBuilder
    • 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 VirtualMachinePreferences parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static VirtualMachinePreferences.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static VirtualMachinePreferences getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<VirtualMachinePreferences> 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 VirtualMachinePreferences getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder