public static final class Insight.Builder extends GeneratedMessage.Builder<Insight.Builder> implements InsightOrBuilder
An insight about an asset.
Protobuf type google.cloud.migrationcenter.v1.Insight
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
buildPartial()
public Insight buildPartial()
clear()
public Insight.Builder clear()
Overrides
clearGenericInsight()
public Insight.Builder clearGenericInsight()
Output only. A generic insight about an asset
.google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearInsight()
public Insight.Builder clearInsight()
clearMigrationInsight()
public Insight.Builder clearMigrationInsight()
Output only. An insight about potential migrations for an asset.
.google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Insight getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
getGenericInsightBuilder()
public GenericInsight.Builder getGenericInsightBuilder()
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];
getMigrationInsightBuilder()
public MigrationInsight.Builder getMigrationInsightBuilder()
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];
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Insight other)
public Insight.Builder mergeFrom(Insight other)
| Parameter |
| Name |
Description |
other |
Insight
|
public Insight.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Insight.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeGenericInsight(GenericInsight value)
public Insight.Builder mergeGenericInsight(GenericInsight value)
Output only. A generic insight about an asset
.google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeMigrationInsight(MigrationInsight value)
public Insight.Builder mergeMigrationInsight(MigrationInsight value)
Output only. An insight about potential migrations for an asset.
.google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setGenericInsight(GenericInsight value)
public Insight.Builder setGenericInsight(GenericInsight value)
Output only. A generic insight about an asset
.google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setGenericInsight(GenericInsight.Builder builderForValue)
public Insight.Builder setGenericInsight(GenericInsight.Builder builderForValue)
Output only. A generic insight about an asset
.google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setMigrationInsight(MigrationInsight value)
public Insight.Builder setMigrationInsight(MigrationInsight value)
Output only. An insight about potential migrations for an asset.
.google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
setMigrationInsight(MigrationInsight.Builder builderForValue)
public Insight.Builder setMigrationInsight(MigrationInsight.Builder builderForValue)
Output only. An insight about potential migrations for an asset.
.google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];