public final class Insight extends GeneratedMessageV3 implements InsightOrBuilder
An insight about an asset.
Protobuf type google.cloud.migrationcenter.v1.Insight
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
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Insight.Builder newBuilder()
newBuilder(Insight prototype)
public static Insight.Builder newBuilder(Insight prototype)
Parameter |
Name |
Description |
prototype |
Insight
|
public static Insight parseDelimitedFrom(InputStream input)
public static Insight parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Insight parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Insight parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Insight parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Insight parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Insight parseFrom(CodedInputStream input)
public static Insight parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Insight parseFrom(InputStream input)
public static Insight parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Insight parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Insight parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Insight> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Insight getDefaultInstanceForType()
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];
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];
getInsightCase()
public Insight.InsightCase getInsightCase()
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];
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];
getParserForType()
public Parser<Insight> getParserForType()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Insight.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Insight.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Insight.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides