Class FindingTypeStats.Builder (2.43.0)

public static final class FindingTypeStats.Builder extends GeneratedMessageV3.Builder<FindingTypeStats.Builder> implements FindingTypeStatsOrBuilder

A FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.

Protobuf type google.cloud.websecurityscanner.v1beta.FindingTypeStats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FindingTypeStats build()
Returns
Type Description
FindingTypeStats

buildPartial()

public FindingTypeStats buildPartial()
Returns
Type Description
FindingTypeStats

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFindingCount()

public FindingTypeStats.Builder clearFindingCount()

The count of findings belonging to this finding type.

int32 finding_count = 2;

Returns
Type Description
FindingTypeStats.Builder

This builder for chaining.

clearFindingType()

public FindingTypeStats.Builder clearFindingType()

The finding type associated with the stats.

string finding_type = 1;

Returns
Type Description
FindingTypeStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FindingTypeStats getDefaultInstanceForType()
Returns
Type Description
FindingTypeStats

getDescriptorForType()

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

getFindingCount()

public int getFindingCount()

The count of findings belonging to this finding type.

int32 finding_count = 2;

Returns
Type Description
int

The findingCount.

getFindingType()

public String getFindingType()

The finding type associated with the stats.

string finding_type = 1;

Returns
Type Description
String

The findingType.

getFindingTypeBytes()

public ByteString getFindingTypeBytes()

The finding type associated with the stats.

string finding_type = 1;

Returns
Type Description
ByteString

The bytes for findingType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FindingTypeStats other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFindingCount(int value)

public FindingTypeStats.Builder setFindingCount(int value)

The count of findings belonging to this finding type.

int32 finding_count = 2;

Parameter
Name Description
value int

The findingCount to set.

Returns
Type Description
FindingTypeStats.Builder

This builder for chaining.

setFindingType(String value)

public FindingTypeStats.Builder setFindingType(String value)

The finding type associated with the stats.

string finding_type = 1;

Parameter
Name Description
value String

The findingType to set.

Returns
Type Description
FindingTypeStats.Builder

This builder for chaining.

setFindingTypeBytes(ByteString value)

public FindingTypeStats.Builder setFindingTypeBytes(ByteString value)

The finding type associated with the stats.

string finding_type = 1;

Parameter
Name Description
value ByteString

The bytes for findingType to set.

Returns
Type Description
FindingTypeStats.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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