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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDescription()

public ReportSummary.GroupFinding.Builder clearDescription()

Description for the Group.

string description = 2;

Returns
TypeDescription
ReportSummary.GroupFinding.Builder

This builder for chaining.

clearDisplayName()

public ReportSummary.GroupFinding.Builder clearDisplayName()

Display Name for the Group.

string display_name = 1;

Returns
TypeDescription
ReportSummary.GroupFinding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.GroupFinding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportSummary.GroupFinding.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.GroupFinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ReportSummary.GroupFinding.Builder

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(ReportSummary.GroupFinding other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDescription(String value)

public ReportSummary.GroupFinding.Builder setDescription(String value)

Description for the Group.

string description = 2;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
ReportSummary.GroupFinding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The overlappingAssetCount to set.

Returns
TypeDescription
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
NameDescription
indexint
valueReportSummary.GroupPreferenceSetFinding
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReportSummary.GroupPreferenceSetFinding.Builder
Returns
TypeDescription
ReportSummary.GroupFinding.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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