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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Insight.BuilderImplements
InsightOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Insight.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Insight.Builder |
build()
public Insight build()
Returns | |
---|---|
Type | Description |
Insight |
buildPartial()
public Insight buildPartial()
Returns | |
---|---|
Type | Description |
Insight |
clear()
public Insight.Builder clear()
Returns | |
---|---|
Type | Description |
Insight.Builder |
clearField(Descriptors.FieldDescriptor field)
public Insight.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Insight.Builder |
clearInsight()
public Insight.Builder clearInsight()
Returns | |
---|---|
Type | Description |
Insight.Builder |
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];
Returns | |
---|---|
Type | Description |
Insight.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Insight.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Insight.Builder |
clone()
public Insight.Builder clone()
Returns | |
---|---|
Type | Description |
Insight.Builder |
getDefaultInstanceForType()
public Insight getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Insight |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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];
Returns | |
---|---|
Type | Description |
MigrationInsight.Builder |
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 |
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Insight other)
public Insight.Builder mergeFrom(Insight other)
Parameter | |
---|---|
Name | Description |
other | Insight |
Returns | |
---|---|
Type | Description |
Insight.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Insight.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Insight.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Insight.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Insight.Builder |
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];
Parameter | |
---|---|
Name | Description |
value | MigrationInsight |
Returns | |
---|---|
Type | Description |
Insight.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Insight.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Insight.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Insight.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Insight.Builder |
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];
Parameter | |
---|---|
Name | Description |
value | MigrationInsight |
Returns | |
---|---|
Type | Description |
Insight.Builder |
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];
Parameter | |
---|---|
Name | Description |
builderForValue | MigrationInsight.Builder |
Returns | |
---|---|
Type | Description |
Insight.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Insight.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Insight.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Insight.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Insight.Builder |