public static final class Insight.Builder extends GeneratedMessageV3.Builder<Insight.Builder> implements InsightOrBuilder
An insight about an asset.
Protobuf type google.cloud.migrationcenter.v1.Insight
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Insight.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Insight buildPartial()
clear()
public Insight.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Insight.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public Insight.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Insight.Builder clone()
Overrides
getDefaultInstanceForType()
public Insight getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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 GeneratedMessageV3.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
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Insight.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Insight.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Insight.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Insight.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides