Class InsightList.Builder (0.35.0)

public static final class InsightList.Builder extends GeneratedMessageV3.Builder<InsightList.Builder> implements InsightListOrBuilder

Message containing insights list.

Protobuf type google.cloud.migrationcenter.v1.InsightList

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInsights(Iterable<? extends Insight> values)

public InsightList.Builder addAllInsights(Iterable<? extends Insight> values)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.Insight>
Returns
Type Description
InsightList.Builder

addInsights(Insight value)

public InsightList.Builder addInsights(Insight value)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Insight
Returns
Type Description
InsightList.Builder

addInsights(Insight.Builder builderForValue)

public InsightList.Builder addInsights(Insight.Builder builderForValue)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Insight.Builder
Returns
Type Description
InsightList.Builder

addInsights(int index, Insight value)

public InsightList.Builder addInsights(int index, Insight value)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Insight
Returns
Type Description
InsightList.Builder

addInsights(int index, Insight.Builder builderForValue)

public InsightList.Builder addInsights(int index, Insight.Builder builderForValue)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Insight.Builder
Returns
Type Description
InsightList.Builder

addInsightsBuilder()

public Insight.Builder addInsightsBuilder()

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Insight.Builder

addInsightsBuilder(int index)

public Insight.Builder addInsightsBuilder(int index)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Insight.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InsightList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsightList.Builder
Overrides

build()

public InsightList build()
Returns
Type Description
InsightList

buildPartial()

public InsightList buildPartial()
Returns
Type Description
InsightList

clear()

public InsightList.Builder clear()
Returns
Type Description
InsightList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InsightList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
InsightList.Builder
Overrides

clearInsights()

public InsightList.Builder clearInsights()

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
InsightList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InsightList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InsightList.Builder
Overrides

clearUpdateTime()

public InsightList.Builder clearUpdateTime()

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
InsightList.Builder

clone()

public InsightList.Builder clone()
Returns
Type Description
InsightList.Builder
Overrides

getDefaultInstanceForType()

public InsightList getDefaultInstanceForType()
Returns
Type Description
InsightList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInsights(int index)

public Insight getInsights(int index)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Insight

getInsightsBuilder(int index)

public Insight.Builder getInsightsBuilder(int index)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Insight.Builder

getInsightsBuilderList()

public List<Insight.Builder> getInsightsBuilderList()

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getInsightsCount()

public int getInsightsCount()

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getInsightsList()

public List<Insight> getInsightsList()

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Insight>

getInsightsOrBuilder(int index)

public InsightOrBuilder getInsightsOrBuilder(int index)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
InsightOrBuilder

getInsightsOrBuilderList()

public List<? extends InsightOrBuilder> getInsightsOrBuilderList()

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.InsightOrBuilder>

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InsightList other)

public InsightList.Builder mergeFrom(InsightList other)
Parameter
Name Description
other InsightList
Returns
Type Description
InsightList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InsightList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InsightList.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public InsightList.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InsightList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InsightList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsightList.Builder
Overrides

mergeUpdateTime(Timestamp value)

public InsightList.Builder mergeUpdateTime(Timestamp value)

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
InsightList.Builder

removeInsights(int index)

public InsightList.Builder removeInsights(int index)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
InsightList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InsightList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InsightList.Builder
Overrides

setInsights(int index, Insight value)

public InsightList.Builder setInsights(int index, Insight value)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Insight
Returns
Type Description
InsightList.Builder

setInsights(int index, Insight.Builder builderForValue)

public InsightList.Builder setInsights(int index, Insight.Builder builderForValue)

Output only. Insights of the list.

repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Insight.Builder
Returns
Type Description
InsightList.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public InsightList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
InsightList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InsightList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
InsightList.Builder
Overrides

setUpdateTime(Timestamp value)

public InsightList.Builder setUpdateTime(Timestamp value)

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
InsightList.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public InsightList.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Update timestamp.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
InsightList.Builder