Class Insight (0.26.0)

public final class Insight extends GeneratedMessageV3 implements InsightOrBuilder

An insight about an asset.

Protobuf type google.cloud.migrationcenter.v1.Insight

Implements

InsightOrBuilder

Static Fields

GENERIC_INSIGHT_FIELD_NUMBER

public static final int GENERIC_INSIGHT_FIELD_NUMBER
Field Value
Type Description
int

MIGRATION_INSIGHT_FIELD_NUMBER

public static final int MIGRATION_INSIGHT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Insight getDefaultInstance()
Returns
Type Description
Insight

getDescriptor()

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

newBuilder()

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

newBuilder(Insight prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Insight getDefaultInstanceForType()
Returns
Type Description
Insight

getGenericInsight()

public GenericInsight getGenericInsight()

Output only. A generic insight about an asset

.google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenericInsight

The genericInsight.

getGenericInsightOrBuilder()

public GenericInsightOrBuilder getGenericInsightOrBuilder()

Output only. A generic insight about an asset

.google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GenericInsightOrBuilder

getInsightCase()

public Insight.InsightCase getInsightCase()
Returns
Type Description
Insight.InsightCase

getMigrationInsight()

public MigrationInsight getMigrationInsight()

Output only. An insight about potential migrations for an asset.

.google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigrationInsight

The migrationInsight.

getMigrationInsightOrBuilder()

public MigrationInsightOrBuilder getMigrationInsightOrBuilder()

Output only. An insight about potential migrations for an asset.

.google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigrationInsightOrBuilder

getParserForType()

public Parser<Insight> getParserForType()
Returns
Type Description
Parser<Insight>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasGenericInsight()

public boolean hasGenericInsight()

Output only. A generic insight about an asset

.google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the genericInsight field is set.

hasMigrationInsight()

public boolean hasMigrationInsight()

Output only. An insight about potential migrations for an asset.

.google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the migrationInsight 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 Insight.Builder newBuilderForType()
Returns
Type Description
Insight.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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