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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classVirtualMachinePreferences enables you to create sets of assumptions, for example, a geographical location and pricing track, for your migrated virtual machines.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanCommitment 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.Compute Engine preferences concern insights and recommendations for Compute Engine target.Compute Engine preferences concern insights and recommendations for Compute Engine target.static VirtualMachinePreferencesstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<VirtualMachinePreferences>Region preferences for assets using this preference set.Region preferences for assets using this preference set.intSizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine.intSizing optimization strategy specifies the preferred strategy used when extrapolating usage data to calculate insights and recommendations for a virtual machine.Preferences concerning Sole Tenant nodes and virtual machines.Preferences concerning Sole Tenant nodes and virtual machines.Target product for assets using this preference set.intTarget product for assets using this preference set.Preferences concerning insights and recommendations for Google Cloud VMware Engine.Preferences concerning insights and recommendations for Google Cloud VMware Engine.booleanCompute Engine preferences concern insights and recommendations for Compute Engine target.inthashCode()booleanRegion preferences for assets using this preference set.booleanPreferences concerning Sole Tenant nodes and virtual machines.booleanPreferences concerning insights and recommendations for Google Cloud VMware Engine.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(VirtualMachinePreferences prototype) protected VirtualMachinePreferences.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static VirtualMachinePreferencesparseDelimitedFrom(InputStream input) static VirtualMachinePreferencesparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirtualMachinePreferencesparseFrom(byte[] data) static VirtualMachinePreferencesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirtualMachinePreferencesparseFrom(com.google.protobuf.ByteString data) static VirtualMachinePreferencesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirtualMachinePreferencesparseFrom(com.google.protobuf.CodedInputStream input) static VirtualMachinePreferencesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirtualMachinePreferencesparseFrom(InputStream input) static VirtualMachinePreferencesparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static VirtualMachinePreferencesparseFrom(ByteBuffer data) static VirtualMachinePreferencesparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<VirtualMachinePreferences>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.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:
getTargetProductValuein interfaceVirtualMachinePreferencesOrBuilder- Returns:
- The enum numeric value on the wire for targetProduct.
-
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:
getTargetProductin interfaceVirtualMachinePreferencesOrBuilder- 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:
hasRegionPreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- Whether the regionPreferences field is set.
-
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:
getRegionPreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- The regionPreferences.
-
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:
getRegionPreferencesOrBuilderin interfaceVirtualMachinePreferencesOrBuilder
-
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:
getCommitmentPlanValuein interfaceVirtualMachinePreferencesOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getCommitmentPlanin interfaceVirtualMachinePreferencesOrBuilder- 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:
getSizingOptimizationStrategyValuein interfaceVirtualMachinePreferencesOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getSizingOptimizationStrategyin interfaceVirtualMachinePreferencesOrBuilder- 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:
hasComputeEnginePreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- Whether the computeEnginePreferences field is set.
-
getComputeEnginePreferences
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;- Specified by:
getComputeEnginePreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- The computeEnginePreferences.
-
getComputeEnginePreferencesOrBuilder
Compute Engine preferences concern insights and recommendations for Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEnginePreferences compute_engine_preferences = 6;- Specified by:
getComputeEnginePreferencesOrBuilderin interfaceVirtualMachinePreferencesOrBuilder
-
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:
hasVmwareEnginePreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- Whether the vmwareEnginePreferences field is set.
-
getVmwareEnginePreferences
Preferences concerning insights and recommendations for Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;- Specified by:
getVmwareEnginePreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- The vmwareEnginePreferences.
-
getVmwareEnginePreferencesOrBuilder
Preferences concerning insights and recommendations for Google Cloud VMware Engine.
.google.cloud.migrationcenter.v1.VmwareEnginePreferences vmware_engine_preferences = 7;- Specified by:
getVmwareEnginePreferencesOrBuilderin interfaceVirtualMachinePreferencesOrBuilder
-
hasSoleTenancyPreferences
public boolean hasSoleTenancyPreferences()Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;- Specified by:
hasSoleTenancyPreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- Whether the soleTenancyPreferences field is set.
-
getSoleTenancyPreferences
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;- Specified by:
getSoleTenancyPreferencesin interfaceVirtualMachinePreferencesOrBuilder- Returns:
- The soleTenancyPreferences.
-
getSoleTenancyPreferencesOrBuilder
Preferences concerning Sole Tenant nodes and virtual machines.
.google.cloud.migrationcenter.v1.SoleTenancyPreferences sole_tenancy_preferences = 8;- Specified by:
getSoleTenancyPreferencesOrBuilderin interfaceVirtualMachinePreferencesOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static VirtualMachinePreferences parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected VirtualMachinePreferences.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-