Class ReportSummary (0.28.0)

public final class ReportSummary extends GeneratedMessageV3 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 Fields

ALL_ASSETS_STATS_FIELD_NUMBER

public static final int ALL_ASSETS_STATS_FIELD_NUMBER
Field Value
Type Description
int

GROUP_FINDINGS_FIELD_NUMBER

public static final int GROUP_FINDINGS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReportSummary getDefaultInstance()
Returns
Type Description
ReportSummary

getDescriptor()

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

newBuilder()

public static ReportSummary.Builder newBuilder()
Returns
Type Description
ReportSummary.Builder

newBuilder(ReportSummary prototype)

public static ReportSummary.Builder newBuilder(ReportSummary prototype)
Parameter
Name Description
prototype ReportSummary
Returns
Type Description
ReportSummary.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReportSummary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReportSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportSummary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReportSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReportSummary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReportSummary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReportSummary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReportSummary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReportSummary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReportSummary> parser()
Returns
Type Description
Parser<ReportSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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

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>

getParserForType()

public Parser<ReportSummary> getParserForType()
Returns
Type Description
Parser<ReportSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReportSummary.Builder newBuilderForType()
Returns
Type Description
ReportSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReportSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReportSummary.Builder toBuilder()
Returns
Type Description
ReportSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException