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.v1.FindingTypeStats
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FindingTypeStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FindingTypeStats build()
buildPartial()
public FindingTypeStats buildPartial()
clear()
public FindingTypeStats.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public FindingTypeStats.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFindingCount()
public FindingTypeStats.Builder clearFindingCount()
Output only. The count of findings belonging to this finding type.
int32 finding_count = 2;
clearFindingType()
public FindingTypeStats.Builder clearFindingType()
Output only. The finding type associated with the stats.
string finding_type = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public FindingTypeStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FindingTypeStats.Builder clone()
Overrides
getDefaultInstanceForType()
public FindingTypeStats getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFindingCount()
public int getFindingCount()
Output only. The count of findings belonging to this finding type.
int32 finding_count = 2;
Returns |
---|
Type | Description |
int | The findingCount.
|
getFindingType()
public String getFindingType()
Output only. The finding type associated with the stats.
string finding_type = 1;
Returns |
---|
Type | Description |
String | The findingType.
|
getFindingTypeBytes()
public ByteString getFindingTypeBytes()
Output only. The finding type associated with the stats.
string finding_type = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for findingType.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FindingTypeStats other)
public FindingTypeStats.Builder mergeFrom(FindingTypeStats other)
public FindingTypeStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FindingTypeStats.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FindingTypeStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public FindingTypeStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFindingCount(int value)
public FindingTypeStats.Builder setFindingCount(int value)
Output only. The count of findings belonging to this finding type.
int32 finding_count = 2;
Parameter |
---|
Name | Description |
value | int
The findingCount to set.
|
setFindingType(String value)
public FindingTypeStats.Builder setFindingType(String value)
Output only. The finding type associated with the stats.
string finding_type = 1;
Parameter |
---|
Name | Description |
value | String
The findingType to set.
|
setFindingTypeBytes(ByteString value)
public FindingTypeStats.Builder setFindingTypeBytes(ByteString value)
Output only. The finding type associated with the stats.
string finding_type = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for findingType to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FindingTypeStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FindingTypeStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides