Class ReportSummary.GroupFinding.Builder (0.37.0)

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

Summary Findings for a specific Group.

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

Static Methods

getDescriptor()

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

Methods

addAllPreferenceSetFindings(Iterable<? extends ReportSummary.GroupPreferenceSetFinding> values)

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

Findings for each of the PreferenceSets for this group.

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

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

addPreferenceSetFindings(ReportSummary.GroupPreferenceSetFinding value)

public ReportSummary.GroupFinding.Builder addPreferenceSetFindings(ReportSummary.GroupPreferenceSetFinding value)

Findings for each of the PreferenceSets for this group.

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

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

addPreferenceSetFindings(ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)

public ReportSummary.GroupFinding.Builder addPreferenceSetFindings(ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)

Findings for each of the PreferenceSets for this group.

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

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

addPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding value)

public ReportSummary.GroupFinding.Builder addPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding value)

Findings for each of the PreferenceSets for this group.

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

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

addPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)

public ReportSummary.GroupFinding.Builder addPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)

Findings for each of the PreferenceSets for this group.

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

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

addPreferenceSetFindingsBuilder()

public ReportSummary.GroupPreferenceSetFinding.Builder addPreferenceSetFindingsBuilder()

Findings for each of the PreferenceSets for this group.

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

Returns
Type Description
ReportSummary.GroupPreferenceSetFinding.Builder

addPreferenceSetFindingsBuilder(int index)

public ReportSummary.GroupPreferenceSetFinding.Builder addPreferenceSetFindingsBuilder(int index)

Findings for each of the PreferenceSets for this group.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReportSummary.GroupFinding build()
Returns
Type Description
ReportSummary.GroupFinding

buildPartial()

public ReportSummary.GroupFinding buildPartial()
Returns
Type Description
ReportSummary.GroupFinding

clear()

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

clearAssetAggregateStats()

public ReportSummary.GroupFinding.Builder clearAssetAggregateStats()

Summary statistics for all the assets in this group.

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

Returns
Type Description
ReportSummary.GroupFinding.Builder

clearDescription()

public ReportSummary.GroupFinding.Builder clearDescription()

Description for the Group.

string description = 2;

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

clearDisplayName()

public ReportSummary.GroupFinding.Builder clearDisplayName()

Display Name for the Group.

string display_name = 1;

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOverlappingAssetCount() (deprecated)

public ReportSummary.GroupFinding.Builder clearOverlappingAssetCount()

Deprecated. google.cloud.migrationcenter.v1.ReportSummary.GroupFinding.overlapping_asset_count is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=4038

This field is deprecated, do not rely on it having a value.

int64 overlapping_asset_count = 4 [deprecated = true];

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

clearPreferenceSetFindings()

public ReportSummary.GroupFinding.Builder clearPreferenceSetFindings()

Findings for each of the PreferenceSets for this group.

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

Returns
Type Description
ReportSummary.GroupFinding.Builder

clone()

public ReportSummary.GroupFinding.Builder clone()
Returns
Type Description
ReportSummary.GroupFinding.Builder
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
Type Description
ReportSummary.AssetAggregateStats

The assetAggregateStats.

getAssetAggregateStatsBuilder()

public ReportSummary.AssetAggregateStats.Builder getAssetAggregateStatsBuilder()

Summary statistics for all the assets in this group.

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

Returns
Type Description
ReportSummary.AssetAggregateStats.Builder

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
Type Description
ReportSummary.AssetAggregateStatsOrBuilder

getDefaultInstanceForType()

public ReportSummary.GroupFinding getDefaultInstanceForType()
Returns
Type Description
ReportSummary.GroupFinding

getDescription()

public String getDescription()

Description for the Group.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Description for the Group.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Display Name for the Group.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Display Name for the Group.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getOverlappingAssetCount() (deprecated)

public long getOverlappingAssetCount()

Deprecated. google.cloud.migrationcenter.v1.ReportSummary.GroupFinding.overlapping_asset_count is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=4038

This field is deprecated, do not rely on it having a value.

int64 overlapping_asset_count = 4 [deprecated = true];

Returns
Type Description
long

The overlappingAssetCount.

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
Name Description
index int
Returns
Type Description
ReportSummary.GroupPreferenceSetFinding

getPreferenceSetFindingsBuilder(int index)

public ReportSummary.GroupPreferenceSetFinding.Builder getPreferenceSetFindingsBuilder(int index)

Findings for each of the PreferenceSets for this group.

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

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

getPreferenceSetFindingsBuilderList()

public List<ReportSummary.GroupPreferenceSetFinding.Builder> getPreferenceSetFindingsBuilderList()

Findings for each of the PreferenceSets for this group.

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

Returns
Type Description
List<Builder>

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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFindingOrBuilder>

hasAssetAggregateStats()

public boolean hasAssetAggregateStats()

Summary statistics for all the assets in this group.

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

Returns
Type Description
boolean

Whether the assetAggregateStats field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAssetAggregateStats(ReportSummary.AssetAggregateStats value)

public ReportSummary.GroupFinding.Builder mergeAssetAggregateStats(ReportSummary.AssetAggregateStats value)

Summary statistics for all the assets in this group.

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

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

mergeFrom(ReportSummary.GroupFinding other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePreferenceSetFindings(int index)

public ReportSummary.GroupFinding.Builder removePreferenceSetFindings(int index)

Findings for each of the PreferenceSets for this group.

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

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

setAssetAggregateStats(ReportSummary.AssetAggregateStats value)

public ReportSummary.GroupFinding.Builder setAssetAggregateStats(ReportSummary.AssetAggregateStats value)

Summary statistics for all the assets in this group.

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

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

setAssetAggregateStats(ReportSummary.AssetAggregateStats.Builder builderForValue)

public ReportSummary.GroupFinding.Builder setAssetAggregateStats(ReportSummary.AssetAggregateStats.Builder builderForValue)

Summary statistics for all the assets in this group.

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

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

setDescription(String value)

public ReportSummary.GroupFinding.Builder setDescription(String value)

Description for the Group.

string description = 2;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ReportSummary.GroupFinding.Builder setDescriptionBytes(ByteString value)

Description for the Group.

string description = 2;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

setDisplayName(String value)

public ReportSummary.GroupFinding.Builder setDisplayName(String value)

Display Name for the Group.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public ReportSummary.GroupFinding.Builder setDisplayNameBytes(ByteString value)

Display Name for the Group.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setOverlappingAssetCount(long value) (deprecated)

public ReportSummary.GroupFinding.Builder setOverlappingAssetCount(long value)

Deprecated. google.cloud.migrationcenter.v1.ReportSummary.GroupFinding.overlapping_asset_count is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=4038

This field is deprecated, do not rely on it having a value.

int64 overlapping_asset_count = 4 [deprecated = true];

Parameter
Name Description
value long

The overlappingAssetCount to set.

Returns
Type Description
ReportSummary.GroupFinding.Builder

This builder for chaining.

setPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding value)

public ReportSummary.GroupFinding.Builder setPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding value)

Findings for each of the PreferenceSets for this group.

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

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

setPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)

public ReportSummary.GroupFinding.Builder setPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)

Findings for each of the PreferenceSets for this group.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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