Class MigrationInsight (0.21.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
TypeDescription
int

FIT_FIELD_NUMBER

public static final int FIT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MigrationInsight getDefaultInstance()
Returns
TypeDescription
MigrationInsight

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MigrationInsight.Builder newBuilder()
Returns
TypeDescription
MigrationInsight.Builder

newBuilder(MigrationInsight prototype)

public static MigrationInsight.Builder newBuilder(MigrationInsight prototype)
Parameter
NameDescription
prototypeMigrationInsight
Returns
TypeDescription
MigrationInsight.Builder

parseDelimitedFrom(InputStream input)

public static MigrationInsight parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MigrationInsight parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MigrationInsight parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MigrationInsight parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MigrationInsight parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MigrationInsight parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MigrationInsight parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MigrationInsight
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MigrationInsight> parser()
Returns
TypeDescription
Parser<MigrationInsight>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ComputeEngineMigrationTargetOrBuilder

getDefaultInstanceForType()

public MigrationInsight getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FitDescriptorOrBuilder

getMigrationTargetCase()

public MigrationInsight.MigrationTargetCase getMigrationTargetCase()
Returns
TypeDescription
MigrationInsight.MigrationTargetCase

getParserForType()

public Parser<MigrationInsight> getParserForType()
Returns
TypeDescription
Parser<MigrationInsight>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the fit field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MigrationInsight.Builder newBuilderForType()
Returns
TypeDescription
MigrationInsight.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MigrationInsight.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MigrationInsight.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MigrationInsight.Builder toBuilder()
Returns
TypeDescription
MigrationInsight.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException