Class ListFindingTypeStatsResponse.Builder (2.40.0)

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

Response for the ListFindingTypeStats method.

Protobuf type google.cloud.websecurityscanner.v1beta.ListFindingTypeStatsResponse

Static Methods

getDescriptor()

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

Methods

addAllFindingTypeStats(Iterable<? extends FindingTypeStats> values)

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

The list of FindingTypeStats returned.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.websecurityscanner.v1beta.FindingTypeStats>
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

addFindingTypeStats(FindingTypeStats value)

public ListFindingTypeStatsResponse.Builder addFindingTypeStats(FindingTypeStats value)

The list of FindingTypeStats returned.

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

Parameter
NameDescription
valueFindingTypeStats
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

addFindingTypeStats(FindingTypeStats.Builder builderForValue)

public ListFindingTypeStatsResponse.Builder addFindingTypeStats(FindingTypeStats.Builder builderForValue)

The list of FindingTypeStats returned.

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

Parameter
NameDescription
builderForValueFindingTypeStats.Builder
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

addFindingTypeStats(int index, FindingTypeStats value)

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

The list of FindingTypeStats returned.

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

Parameters
NameDescription
indexint
valueFindingTypeStats
Returns
TypeDescription
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.v1beta.FindingTypeStats finding_type_stats = 1;

Parameters
NameDescription
indexint
builderForValueFindingTypeStats.Builder
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

addFindingTypeStatsBuilder()

public FindingTypeStats.Builder addFindingTypeStatsBuilder()

The list of FindingTypeStats returned.

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

Returns
TypeDescription
FindingTypeStats.Builder

addFindingTypeStatsBuilder(int index)

public FindingTypeStats.Builder addFindingTypeStatsBuilder(int index)

The list of FindingTypeStats returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FindingTypeStats.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListFindingTypeStatsResponse build()
Returns
TypeDescription
ListFindingTypeStatsResponse

buildPartial()

public ListFindingTypeStatsResponse buildPartial()
Returns
TypeDescription
ListFindingTypeStatsResponse

clear()

public ListFindingTypeStatsResponse.Builder clear()
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFindingTypeStats()

public ListFindingTypeStatsResponse.Builder clearFindingTypeStats()

The list of FindingTypeStats returned.

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

Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFindingTypeStatsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder
Overrides

clone()

public ListFindingTypeStatsResponse.Builder clone()
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFindingTypeStatsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFindingTypeStatsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFindingTypeStats(int index)

public FindingTypeStats getFindingTypeStats(int index)

The list of FindingTypeStats returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FindingTypeStats

getFindingTypeStatsBuilder(int index)

public FindingTypeStats.Builder getFindingTypeStatsBuilder(int index)

The list of FindingTypeStats returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FindingTypeStats.Builder

getFindingTypeStatsBuilderList()

public List<FindingTypeStats.Builder> getFindingTypeStatsBuilderList()

The list of FindingTypeStats returned.

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

Returns
TypeDescription
List<Builder>

getFindingTypeStatsCount()

public int getFindingTypeStatsCount()

The list of FindingTypeStats returned.

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

Returns
TypeDescription
int

getFindingTypeStatsList()

public List<FindingTypeStats> getFindingTypeStatsList()

The list of FindingTypeStats returned.

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

Returns
TypeDescription
List<FindingTypeStats>

getFindingTypeStatsOrBuilder(int index)

public FindingTypeStatsOrBuilder getFindingTypeStatsOrBuilder(int index)

The list of FindingTypeStats returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FindingTypeStatsOrBuilder

getFindingTypeStatsOrBuilderList()

public List<? extends FindingTypeStatsOrBuilder> getFindingTypeStatsOrBuilderList()

The list of FindingTypeStats returned.

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

Returns
TypeDescription
List<? extends com.google.cloud.websecurityscanner.v1beta.FindingTypeStatsOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListFindingTypeStatsResponse other)

public ListFindingTypeStatsResponse.Builder mergeFrom(ListFindingTypeStatsResponse other)
Parameter
NameDescription
otherListFindingTypeStatsResponse
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFindingTypeStatsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder
Overrides

removeFindingTypeStats(int index)

public ListFindingTypeStatsResponse.Builder removeFindingTypeStats(int index)

The list of FindingTypeStats returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFindingTypeStatsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1beta.FindingTypeStats finding_type_stats = 1;

Parameters
NameDescription
indexint
valueFindingTypeStats
Returns
TypeDescription
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.v1beta.FindingTypeStats finding_type_stats = 1;

Parameters
NameDescription
indexint
builderForValueFindingTypeStats.Builder
Returns
TypeDescription
ListFindingTypeStatsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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