Class ReportSummary.Builder (0.35.0)

public static final class ReportSummary.Builder extends GeneratedMessageV3.Builder<ReportSummary.Builder> implements ReportSummaryOrBuilder

Describes the Summary view of a Report, which contains aggregated values for all the groups and preference sets included in this Report.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary

Static Methods

getDescriptor()

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

Methods

addAllGroupFindings(Iterable<? extends ReportSummary.GroupFinding> values)

public ReportSummary.Builder addAllGroupFindings(Iterable<? extends ReportSummary.GroupFinding> values)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

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

addGroupFindings(ReportSummary.GroupFinding value)

public ReportSummary.Builder addGroupFindings(ReportSummary.GroupFinding value)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameter
Name Description
value ReportSummary.GroupFinding
Returns
Type Description
ReportSummary.Builder

addGroupFindings(ReportSummary.GroupFinding.Builder builderForValue)

public ReportSummary.Builder addGroupFindings(ReportSummary.GroupFinding.Builder builderForValue)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameter
Name Description
builderForValue ReportSummary.GroupFinding.Builder
Returns
Type Description
ReportSummary.Builder

addGroupFindings(int index, ReportSummary.GroupFinding value)

public ReportSummary.Builder addGroupFindings(int index, ReportSummary.GroupFinding value)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameters
Name Description
index int
value ReportSummary.GroupFinding
Returns
Type Description
ReportSummary.Builder

addGroupFindings(int index, ReportSummary.GroupFinding.Builder builderForValue)

public ReportSummary.Builder addGroupFindings(int index, ReportSummary.GroupFinding.Builder builderForValue)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameters
Name Description
index int
builderForValue ReportSummary.GroupFinding.Builder
Returns
Type Description
ReportSummary.Builder

addGroupFindingsBuilder()

public ReportSummary.GroupFinding.Builder addGroupFindingsBuilder()

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Returns
Type Description
ReportSummary.GroupFinding.Builder

addGroupFindingsBuilder(int index)

public ReportSummary.GroupFinding.Builder addGroupFindingsBuilder(int index)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.GroupFinding.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportSummary build()
Returns
Type Description
ReportSummary

buildPartial()

public ReportSummary buildPartial()
Returns
Type Description
ReportSummary

clear()

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

clearAllAssetsStats()

public ReportSummary.Builder clearAllAssetsStats()

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Returns
Type Description
ReportSummary.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGroupFindings()

public ReportSummary.Builder clearGroupFindings()

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Returns
Type Description
ReportSummary.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAllAssetsStats()

public ReportSummary.AssetAggregateStats getAllAssetsStats()

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Returns
Type Description
ReportSummary.AssetAggregateStats

The allAssetsStats.

getAllAssetsStatsBuilder()

public ReportSummary.AssetAggregateStats.Builder getAllAssetsStatsBuilder()

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Returns
Type Description
ReportSummary.AssetAggregateStats.Builder

getAllAssetsStatsOrBuilder()

public ReportSummary.AssetAggregateStatsOrBuilder getAllAssetsStatsOrBuilder()

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Returns
Type Description
ReportSummary.AssetAggregateStatsOrBuilder

getDefaultInstanceForType()

public ReportSummary getDefaultInstanceForType()
Returns
Type Description
ReportSummary

getDescriptorForType()

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

getGroupFindings(int index)

public ReportSummary.GroupFinding getGroupFindings(int index)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.GroupFinding

getGroupFindingsBuilder(int index)

public ReportSummary.GroupFinding.Builder getGroupFindingsBuilder(int index)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.GroupFinding.Builder

getGroupFindingsBuilderList()

public List<ReportSummary.GroupFinding.Builder> getGroupFindingsBuilderList()

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Returns
Type Description
List<Builder>

getGroupFindingsCount()

public int getGroupFindingsCount()

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Returns
Type Description
int

getGroupFindingsList()

public List<ReportSummary.GroupFinding> getGroupFindingsList()

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Returns
Type Description
List<GroupFinding>

getGroupFindingsOrBuilder(int index)

public ReportSummary.GroupFindingOrBuilder getGroupFindingsOrBuilder(int index)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.GroupFindingOrBuilder

getGroupFindingsOrBuilderList()

public List<? extends ReportSummary.GroupFindingOrBuilder> getGroupFindingsOrBuilderList()

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

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

hasAllAssetsStats()

public boolean hasAllAssetsStats()

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Returns
Type Description
boolean

Whether the allAssetsStats field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAllAssetsStats(ReportSummary.AssetAggregateStats value)

public ReportSummary.Builder mergeAllAssetsStats(ReportSummary.AssetAggregateStats value)

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Parameter
Name Description
value ReportSummary.AssetAggregateStats
Returns
Type Description
ReportSummary.Builder

mergeFrom(ReportSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeGroupFindings(int index)

public ReportSummary.Builder removeGroupFindings(int index)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameter
Name Description
index int
Returns
Type Description
ReportSummary.Builder

setAllAssetsStats(ReportSummary.AssetAggregateStats value)

public ReportSummary.Builder setAllAssetsStats(ReportSummary.AssetAggregateStats value)

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Parameter
Name Description
value ReportSummary.AssetAggregateStats
Returns
Type Description
ReportSummary.Builder

setAllAssetsStats(ReportSummary.AssetAggregateStats.Builder builderForValue)

public ReportSummary.Builder setAllAssetsStats(ReportSummary.AssetAggregateStats.Builder builderForValue)

Aggregate statistics for all the assets across all the groups.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;

Parameter
Name Description
builderForValue ReportSummary.AssetAggregateStats.Builder
Returns
Type Description
ReportSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setGroupFindings(int index, ReportSummary.GroupFinding value)

public ReportSummary.Builder setGroupFindings(int index, ReportSummary.GroupFinding value)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameters
Name Description
index int
value ReportSummary.GroupFinding
Returns
Type Description
ReportSummary.Builder

setGroupFindings(int index, ReportSummary.GroupFinding.Builder builderForValue)

public ReportSummary.Builder setGroupFindings(int index, ReportSummary.GroupFinding.Builder builderForValue)

Findings for each Group included in this report.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;

Parameters
Name Description
index int
builderForValue ReportSummary.GroupFinding.Builder
Returns
Type Description
ReportSummary.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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