Class MigrationInsight (0.37.0)

public final class MigrationInsight extends GeneratedMessageV3 implements MigrationInsightOrBuilder

An insight about potential migrations for an asset.

Protobuf type google.cloud.migrationcenter.v1.MigrationInsight

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()
Returns
Type Description
MigrationInsight

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MigrationInsight.Builder newBuilder()
Returns
Type Description
MigrationInsight.Builder

newBuilder(MigrationInsight prototype)

public static MigrationInsight.Builder newBuilder(MigrationInsight prototype)
Parameter
Name Description
prototype MigrationInsight
Returns
Type Description
MigrationInsight.Builder

parseDelimitedFrom(InputStream input)

public static MigrationInsight parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MigrationInsight
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationInsight
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MigrationInsight parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MigrationInsight
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationInsight
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MigrationInsight parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MigrationInsight
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationInsight
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MigrationInsight parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MigrationInsight
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationInsight
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MigrationInsight parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MigrationInsight
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationInsight
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MigrationInsight parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MigrationInsight
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MigrationInsight
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MigrationInsight> parser()
Returns
Type Description
Parser<MigrationInsight>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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];

Returns
Type Description
ComputeEngineMigrationTarget

The computeEngineTarget.

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];

Returns
Type Description
ComputeEngineMigrationTargetOrBuilder

getDefaultInstanceForType()

public MigrationInsight getDefaultInstanceForType()
Returns
Type Description
MigrationInsight

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];

Returns
Type Description
FitDescriptor

The fit.

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];

Returns
Type Description
FitDescriptorOrBuilder

getMigrationTargetCase()

public MigrationInsight.MigrationTargetCase getMigrationTargetCase()
Returns
Type Description
MigrationInsight.MigrationTargetCase

getParserForType()

public Parser<MigrationInsight> getParserForType()
Returns
Type Description
Parser<MigrationInsight>
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()

public boolean 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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MigrationInsight.Builder newBuilderForType()
Returns
Type Description
MigrationInsight.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MigrationInsight.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MigrationInsight.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MigrationInsight.Builder toBuilder()
Returns
Type Description
MigrationInsight.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException