Class ReportSummary.Builder (0.12.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ReportSummary.GroupFinding>
Returns
TypeDescription
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
NameDescription
valueReportSummary.GroupFinding
Returns
TypeDescription
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
NameDescription
builderForValueReportSummary.GroupFinding.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReportSummary.GroupFinding
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportSummary.GroupFinding.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReportSummary.GroupFinding.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportSummary build()
Returns
TypeDescription
ReportSummary

buildPartial()

public ReportSummary buildPartial()
Returns
TypeDescription
ReportSummary

clear()

public ReportSummary.Builder clear()
Returns
TypeDescription
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
TypeDescription
ReportSummary.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportSummary.Builder
Overrides

clone()

public ReportSummary.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ReportSummary.AssetAggregateStatsOrBuilder

getDefaultInstanceForType()

public ReportSummary getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary

getDescriptorForType()

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

Whether the allAssetsStats field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueReportSummary.AssetAggregateStats
Returns
TypeDescription
ReportSummary.Builder

mergeFrom(ReportSummary other)

public ReportSummary.Builder mergeFrom(ReportSummary other)
Parameter
NameDescription
otherReportSummary
Returns
TypeDescription
ReportSummary.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueReportSummary.AssetAggregateStats
Returns
TypeDescription
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
NameDescription
builderForValueReportSummary.AssetAggregateStats.Builder
Returns
TypeDescription
ReportSummary.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueReportSummary.GroupFinding
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportSummary.GroupFinding.Builder
Returns
TypeDescription
ReportSummary.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportSummary.Builder
Overrides