Class InsightList.Builder (0.1.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.Insight>
Returns
TypeDescription
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
NameDescription
valueInsight
Returns
TypeDescription
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
NameDescription
builderForValueInsight.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueInsight
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInsight.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Insight.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InsightList.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InsightList.Builder
Overrides

build()

public InsightList build()
Returns
TypeDescription
InsightList

buildPartial()

public InsightList buildPartial()
Returns
TypeDescription
InsightList

clear()

public InsightList.Builder clear()
Returns
TypeDescription
InsightList.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InsightList.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InsightList.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InsightList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
InsightList.Builder

clone()

public InsightList.Builder clone()
Returns
TypeDescription
InsightList.Builder
Overrides

getDefaultInstanceForType()

public InsightList getDefaultInstanceForType()
Returns
TypeDescription
InsightList

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Update timestamp.

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

Returns
TypeDescription
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Update timestamp.

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

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InsightList other)

public InsightList.Builder mergeFrom(InsightList other)
Parameter
NameDescription
otherInsightList
Returns
TypeDescription
InsightList.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InsightList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InsightList.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InsightList.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InsightList.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InsightList.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InsightList.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InsightList.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueInsight
Returns
TypeDescription
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
NameDescription
indexint
builderForValueInsight.Builder
Returns
TypeDescription
InsightList.Builder

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

public InsightList.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InsightList.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InsightList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
InsightList.Builder