Class ReportSummary.GroupFinding (0.4.0)

public static final class ReportSummary.GroupFinding extends GeneratedMessageV3 implements ReportSummary.GroupFindingOrBuilder

Summary Findings for a specific Group.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.GroupFinding

Static Fields

ASSET_AGGREGATE_STATS_FIELD_NUMBER

public static final int ASSET_AGGREGATE_STATS_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OVERLAPPING_ASSET_COUNT_FIELD_NUMBER

public static final int OVERLAPPING_ASSET_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

PREFERENCE_SET_FINDINGS_FIELD_NUMBER

public static final int PREFERENCE_SET_FINDINGS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReportSummary.GroupFinding getDefaultInstance()
Returns
TypeDescription
ReportSummary.GroupFinding

getDescriptor()

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

newBuilder()

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

newBuilder(ReportSummary.GroupFinding prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAssetAggregateStats()

public ReportSummary.AssetAggregateStats getAssetAggregateStats()

Summary statistics for all the assets in this group.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;

Returns
TypeDescription
ReportSummary.AssetAggregateStats

The assetAggregateStats.

getAssetAggregateStatsOrBuilder()

public ReportSummary.AssetAggregateStatsOrBuilder getAssetAggregateStatsOrBuilder()

Summary statistics for all the assets in this group.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;

Returns
TypeDescription
ReportSummary.AssetAggregateStatsOrBuilder

getDefaultInstanceForType()

public ReportSummary.GroupFinding getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.GroupFinding

getDescription()

public String getDescription()

Description for the Group.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description for the Group.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public String getDisplayName()

Display Name for the Group.

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display Name for the Group.

string display_name = 1;

Returns
TypeDescription
ByteString

The bytes for displayName.

getOverlappingAssetCount()

public long getOverlappingAssetCount()

Count of the number of assets in this group which are also included in another group within the same report.

int64 overlapping_asset_count = 4;

Returns
TypeDescription
long

The overlappingAssetCount.

getParserForType()

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

getPreferenceSetFindings(int index)

public ReportSummary.GroupPreferenceSetFinding getPreferenceSetFindings(int index)

Findings for each of the PreferenceSets for this group.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportSummary.GroupPreferenceSetFinding

getPreferenceSetFindingsCount()

public int getPreferenceSetFindingsCount()

Findings for each of the PreferenceSets for this group.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;

Returns
TypeDescription
int

getPreferenceSetFindingsList()

public List<ReportSummary.GroupPreferenceSetFinding> getPreferenceSetFindingsList()

Findings for each of the PreferenceSets for this group.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;

Returns
TypeDescription
List<GroupPreferenceSetFinding>

getPreferenceSetFindingsOrBuilder(int index)

public ReportSummary.GroupPreferenceSetFindingOrBuilder getPreferenceSetFindingsOrBuilder(int index)

Findings for each of the PreferenceSets for this group.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportSummary.GroupPreferenceSetFindingOrBuilder

getPreferenceSetFindingsOrBuilderList()

public List<? extends ReportSummary.GroupPreferenceSetFindingOrBuilder> getPreferenceSetFindingsOrBuilderList()

Findings for each of the PreferenceSets for this group.

repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFindingOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasAssetAggregateStats()

public boolean hasAssetAggregateStats()

Summary statistics for all the assets in this group.

.google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;

Returns
TypeDescription
boolean

Whether the assetAggregateStats 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.GroupFinding.Builder newBuilderForType()
Returns
TypeDescription
ReportSummary.GroupFinding.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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