public static final class FindingTypeStats.Builder extends GeneratedMessage.Builder<FindingTypeStats.Builder> implements FindingTypeStatsOrBuilderA FindingTypeStats resource represents stats regarding a specific FindingType of Findings under a given ScanRun.
Protobuf type google.cloud.websecurityscanner.v1.FindingTypeStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FindingTypeStats.BuilderImplements
FindingTypeStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearFindingCount()
public FindingTypeStats.Builder clearFindingCount()Output only. 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()Output only. The finding type associated with the stats.
string finding_type = 1;
| Returns | |
|---|---|
| Type | Description |
FindingTypeStats.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FindingTypeStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FindingTypeStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FindingTypeStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FindingTypeStats.Builder |
|
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 |
intThe findingCount to set. |
| Returns | |
|---|---|
| Type | Description |
FindingTypeStats.Builder |
This builder for chaining. |
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 |
StringThe findingType to set. |
| Returns | |
|---|---|
| Type | Description |
FindingTypeStats.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for findingType to set. |
| Returns | |
|---|---|
| Type | Description |
FindingTypeStats.Builder |
This builder for chaining. |