Class ListFindingTypeStatsResponse.Builder (2.49.0)

public static final class ListFindingTypeStatsResponse.Builder extends GeneratedMessageV3.Builder<ListFindingTypeStatsResponse.Builder> implements ListFindingTypeStatsResponseOrBuilder

Response for the ListFindingTypeStats method.

Protobuf type google.cloud.websecurityscanner.v1.ListFindingTypeStatsResponse

Static Methods

getDescriptor()

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

Methods

addAllFindingTypeStats(Iterable<? extends FindingTypeStats> values)

public ListFindingTypeStatsResponse.Builder addAllFindingTypeStats(Iterable<? extends FindingTypeStats> values)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.websecurityscanner.v1.FindingTypeStats>
Returns
Type Description
ListFindingTypeStatsResponse.Builder

addFindingTypeStats(FindingTypeStats value)

public ListFindingTypeStatsResponse.Builder addFindingTypeStats(FindingTypeStats value)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
value FindingTypeStats
Returns
Type Description
ListFindingTypeStatsResponse.Builder

addFindingTypeStats(FindingTypeStats.Builder builderForValue)

public ListFindingTypeStatsResponse.Builder addFindingTypeStats(FindingTypeStats.Builder builderForValue)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
builderForValue FindingTypeStats.Builder
Returns
Type Description
ListFindingTypeStatsResponse.Builder

addFindingTypeStats(int index, FindingTypeStats value)

public ListFindingTypeStatsResponse.Builder addFindingTypeStats(int index, FindingTypeStats value)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameters
Name Description
index int
value FindingTypeStats
Returns
Type Description
ListFindingTypeStatsResponse.Builder

addFindingTypeStats(int index, FindingTypeStats.Builder builderForValue)

public ListFindingTypeStatsResponse.Builder addFindingTypeStats(int index, FindingTypeStats.Builder builderForValue)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameters
Name Description
index int
builderForValue FindingTypeStats.Builder
Returns
Type Description
ListFindingTypeStatsResponse.Builder

addFindingTypeStatsBuilder()

public FindingTypeStats.Builder addFindingTypeStatsBuilder()

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Returns
Type Description
FindingTypeStats.Builder

addFindingTypeStatsBuilder(int index)

public FindingTypeStats.Builder addFindingTypeStatsBuilder(int index)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
FindingTypeStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFindingTypeStatsResponse build()
Returns
Type Description
ListFindingTypeStatsResponse

buildPartial()

public ListFindingTypeStatsResponse buildPartial()
Returns
Type Description
ListFindingTypeStatsResponse

clear()

public ListFindingTypeStatsResponse.Builder clear()
Returns
Type Description
ListFindingTypeStatsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFindingTypeStats()

public ListFindingTypeStatsResponse.Builder clearFindingTypeStats()

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Returns
Type Description
ListFindingTypeStatsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListFindingTypeStatsResponse.Builder clone()
Returns
Type Description
ListFindingTypeStatsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFindingTypeStatsResponse getDefaultInstanceForType()
Returns
Type Description
ListFindingTypeStatsResponse

getDescriptorForType()

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

getFindingTypeStats(int index)

public FindingTypeStats getFindingTypeStats(int index)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
FindingTypeStats

getFindingTypeStatsBuilder(int index)

public FindingTypeStats.Builder getFindingTypeStatsBuilder(int index)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
FindingTypeStats.Builder

getFindingTypeStatsBuilderList()

public List<FindingTypeStats.Builder> getFindingTypeStatsBuilderList()

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Returns
Type Description
List<Builder>

getFindingTypeStatsCount()

public int getFindingTypeStatsCount()

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Returns
Type Description
int

getFindingTypeStatsList()

public List<FindingTypeStats> getFindingTypeStatsList()

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Returns
Type Description
List<FindingTypeStats>

getFindingTypeStatsOrBuilder(int index)

public FindingTypeStatsOrBuilder getFindingTypeStatsOrBuilder(int index)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
FindingTypeStatsOrBuilder

getFindingTypeStatsOrBuilderList()

public List<? extends FindingTypeStatsOrBuilder> getFindingTypeStatsOrBuilderList()

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Returns
Type Description
List<? extends com.google.cloud.websecurityscanner.v1.FindingTypeStatsOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFindingTypeStatsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFindingTypeStats(int index)

public ListFindingTypeStatsResponse.Builder removeFindingTypeStats(int index)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFindingTypeStatsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFindingTypeStats(int index, FindingTypeStats value)

public ListFindingTypeStatsResponse.Builder setFindingTypeStats(int index, FindingTypeStats value)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameters
Name Description
index int
value FindingTypeStats
Returns
Type Description
ListFindingTypeStatsResponse.Builder

setFindingTypeStats(int index, FindingTypeStats.Builder builderForValue)

public ListFindingTypeStatsResponse.Builder setFindingTypeStats(int index, FindingTypeStats.Builder builderForValue)

The list of FindingTypeStats returned.

repeated .google.cloud.websecurityscanner.v1.FindingTypeStats finding_type_stats = 1;

Parameters
Name Description
index int
builderForValue FindingTypeStats.Builder
Returns
Type Description
ListFindingTypeStatsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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