Send feedback
Class MigrationInsight (0.58.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class MigrationInsight extends GeneratedMessageV3 implements MigrationInsightOrBuilder
An insight about potential migrations for an asset.
Protobuf type google.cloud.migrationcenter.v1.MigrationInsight
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
COMPUTE_ENGINE_TARGET_FIELD_NUMBER
public static final int COMPUTE_ENGINE_TARGET_FIELD_NUMBER
Field Value
Type
Description
int
FIT_FIELD_NUMBER
public static final int FIT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static MigrationInsight getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static MigrationInsight . Builder newBuilder ()
newBuilder(MigrationInsight prototype)
public static MigrationInsight . Builder newBuilder ( MigrationInsight prototype )
public static MigrationInsight parseDelimitedFrom ( InputStream input )
public static MigrationInsight parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static MigrationInsight parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MigrationInsight parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static MigrationInsight parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MigrationInsight parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static MigrationInsight parseFrom ( CodedInputStream input )
public static MigrationInsight parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static MigrationInsight parseFrom ( InputStream input )
public static MigrationInsight parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static MigrationInsight parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MigrationInsight parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<MigrationInsight> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getComputeEngineTarget()
public ComputeEngineMigrationTarget getComputeEngineTarget ()
Output only. A Google Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getComputeEngineTargetOrBuilder()
public ComputeEngineMigrationTargetOrBuilder getComputeEngineTargetOrBuilder ()
Output only. A Google Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public MigrationInsight getDefaultInstanceForType ()
getFit()
public FitDescriptor getFit ()
Output only. Description of how well the asset this insight is associated
with fits the proposed migration.
.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFitOrBuilder()
public FitDescriptorOrBuilder getFitOrBuilder ()
Output only. Description of how well the asset this insight is associated
with fits the proposed migration.
.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMigrationTargetCase()
public MigrationInsight . MigrationTargetCase getMigrationTargetCase ()
getParserForType()
public Parser<MigrationInsight> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasComputeEngineTarget()
public boolean hasComputeEngineTarget ()
Output only. A Google Compute Engine target.
.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the computeEngineTarget field is set.
hasFit()
Output only. Description of how well the asset this insight is associated
with fits the proposed migration.
.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the fit field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public MigrationInsight . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MigrationInsight . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public MigrationInsight . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]