Class Insight.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
- com.google.cloud.migrationcenter.v1.Insight.Builder
-
- All Implemented Interfaces:
InsightOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Insight
public static final class Insight.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder> implements InsightOrBuilder
An insight about an asset.
Protobuf typegoogle.cloud.migrationcenter.v1.Insight
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Insight.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Insight
build()
Insight
buildPartial()
Insight.Builder
clear()
Insight.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Insight.Builder
clearInsight()
Insight.Builder
clearMigrationInsight()
Output only.Insight.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Insight.Builder
clone()
Insight
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Insight.InsightCase
getInsightCase()
MigrationInsight
getMigrationInsight()
Output only.MigrationInsight.Builder
getMigrationInsightBuilder()
Output only.MigrationInsightOrBuilder
getMigrationInsightOrBuilder()
Output only.boolean
hasMigrationInsight()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Insight.Builder
mergeFrom(Insight other)
Insight.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Insight.Builder
mergeFrom(com.google.protobuf.Message other)
Insight.Builder
mergeMigrationInsight(MigrationInsight value)
Output only.Insight.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Insight.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Insight.Builder
setMigrationInsight(MigrationInsight value)
Output only.Insight.Builder
setMigrationInsight(MigrationInsight.Builder builderForValue)
Output only.Insight.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Insight.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
clear
public Insight.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
getDefaultInstanceForType
public Insight getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Insight build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Insight buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Insight.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
setField
public Insight.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
clearField
public Insight.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
clearOneof
public Insight.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
setRepeatedField
public Insight.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
addRepeatedField
public Insight.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
mergeFrom
public Insight.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Insight.Builder>
-
mergeFrom
public Insight.Builder mergeFrom(Insight other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
mergeFrom
public Insight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Insight.Builder>
- Throws:
IOException
-
getInsightCase
public Insight.InsightCase getInsightCase()
- Specified by:
getInsightCase
in interfaceInsightOrBuilder
-
clearInsight
public Insight.Builder clearInsight()
-
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];
- Specified by:
hasMigrationInsight
in interfaceInsightOrBuilder
- Returns:
- Whether the migrationInsight field is set.
-
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];
- Specified by:
getMigrationInsight
in interfaceInsightOrBuilder
- Returns:
- The migrationInsight.
-
setMigrationInsight
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
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];
-
mergeMigrationInsight
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];
-
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];
-
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];
- Specified by:
getMigrationInsightOrBuilder
in interfaceInsightOrBuilder
-
setUnknownFields
public final Insight.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
mergeUnknownFields
public final Insight.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Insight.Builder>
-
-