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.v1alpha.FindingTypeStats
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FindingTypeStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public FindingTypeStats build()
Returns
buildPartial()
public FindingTypeStats buildPartial()
Returns
clear()
public FindingTypeStats.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public FindingTypeStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFindingCount()
public FindingTypeStats.Builder clearFindingCount()
The count of findings belonging to this finding type.
int32 finding_count = 2;
Returns
clearFindingType()
public FindingTypeStats.Builder clearFindingType()
The finding type associated with the stats.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public FindingTypeStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public FindingTypeStats.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public FindingTypeStats getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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 Finding.FindingType getFindingType()
The finding type associated with the stats.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 1;
Returns
getFindingTypeValue()
public int getFindingTypeValue()
The finding type associated with the stats.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 1;
Returns
Type | Description |
int | The enum numeric value on the wire for findingType.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(FindingTypeStats other)
public FindingTypeStats.Builder mergeFrom(FindingTypeStats other)
Parameter
Returns
public FindingTypeStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FindingTypeStats.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FindingTypeStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FindingTypeStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setFindingType(Finding.FindingType value)
public FindingTypeStats.Builder setFindingType(Finding.FindingType value)
The finding type associated with the stats.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 1;
Parameter
Returns
setFindingTypeValue(int value)
public FindingTypeStats.Builder setFindingTypeValue(int value)
The finding type associated with the stats.
.google.cloud.websecurityscanner.v1alpha.Finding.FindingType finding_type = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for findingType to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FindingTypeStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FindingTypeStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides