Class VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder (2.45.0)

public static final class VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder extends GeneratedMessageV3.Builder<VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder> implements VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder

Per resource and severity counts of fixable and total vulnerabilities.

Protobuf type grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest build()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest

buildPartial()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest buildPartial()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest

clear()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clear()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFixableCount()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearFixableCount()

The number of fixable vulnerabilities associated with this resource.

int64 fixable_count = 3;

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResource()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

clearSeverity()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearSeverity()

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

clearTotalCount()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearTotalCount()

The total number of vulnerabilities associated with this resource.

int64 total_count = 4;

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

clone()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clone()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

getDefaultInstanceForType()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstanceForType()
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest

getDescriptorForType()

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

getFixableCount()

public long getFixableCount()

The number of fixable vulnerabilities associated with this resource.

int64 fixable_count = 3;

Returns
Type Description
long

The fixableCount.

getResource()

public Resource getResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
Resource

The resource.

getResourceBuilder()

public Resource.Builder getResourceBuilder()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
Resource.Builder

getResourceOrBuilder()

public ResourceOrBuilder getResourceOrBuilder()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
ResourceOrBuilder

getSeverity()

public Severity getSeverity()

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Returns
Type Description
Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Returns
Type Description
int

The enum numeric value on the wire for severity.

getTotalCount()

public long getTotalCount()

The total number of vulnerabilities associated with this resource.

int64 total_count = 4;

Returns
Type Description
long

The totalCount.

hasResource()

public boolean hasResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
Type Description
boolean

Whether the resource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(VulnerabilityOccurrencesSummary.FixableTotalByDigest other)

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

mergeResource(Resource value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder mergeResource(Resource value)

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Parameter
Name Description
value Resource
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFixableCount(long value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setFixableCount(long value)

The number of fixable vulnerabilities associated with this resource.

int64 fixable_count = 3;

Parameter
Name Description
value long

The fixableCount to set.

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

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

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

setResource(Resource value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setResource(Resource value)

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Parameter
Name Description
value Resource
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

setResource(Resource.Builder builderForValue)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setResource(Resource.Builder builderForValue)

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Parameter
Name Description
builderForValue Resource.Builder
Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

setSeverity(Severity value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setSeverity(Severity value)

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Parameter
Name Description
value Severity

The severity to set.

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

setSeverityValue(int value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setSeverityValue(int value)

The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.

.grafeas.v1beta1.vulnerability.Severity severity = 2;

Parameter
Name Description
value int

The enum numeric value on the wire for severity to set.

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

setTotalCount(long value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setTotalCount(long value)

The total number of vulnerabilities associated with this resource.

int64 total_count = 4;

Parameter
Name Description
value long

The totalCount to set.

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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