Class ReportSummary (0.12.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
TypeDescription
int

GROUP_FINDINGS_FIELD_NUMBER

public static final int GROUP_FINDINGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportSummary getDefaultInstance()
Returns
TypeDescription
ReportSummary

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ReportSummary.Builder newBuilder()
Returns
TypeDescription
ReportSummary.Builder

newBuilder(ReportSummary prototype)

public static ReportSummary.Builder newBuilder(ReportSummary prototype)
Parameter
NameDescription
prototypeReportSummary
Returns
TypeDescription
ReportSummary.Builder

parseDelimitedFrom(InputStream input)

public static ReportSummary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReportSummary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReportSummary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReportSummary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ReportSummary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReportSummary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReportSummary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReportSummary> parser()
Returns
TypeDescription
Parser<ReportSummary>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ReportSummary.AssetAggregateStatsOrBuilder

getDefaultInstanceForType()

public ReportSummary getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

getParserForType()

public Parser<ReportSummary> getParserForType()
Returns
TypeDescription
Parser<ReportSummary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the allAssetsStats field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReportSummary.Builder newBuilderForType()
Returns
TypeDescription
ReportSummary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReportSummary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReportSummary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReportSummary.Builder toBuilder()
Returns
TypeDescription
ReportSummary.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException