Class Insight (0.4.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

MIGRATION_INSIGHT_FIELD_NUMBER

public static final int MIGRATION_INSIGHT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Insight getDefaultInstance()
Returns
TypeDescription
Insight

getDescriptor()

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

newBuilder()

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

newBuilder(Insight prototype)

public static Insight.Builder newBuilder(Insight prototype)
Parameter
NameDescription
prototypeInsight
Returns
TypeDescription
Insight.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Insight getDefaultInstanceForType()
Returns
TypeDescription
Insight

getInsightCase()

public Insight.InsightCase getInsightCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MigrationInsightOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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