Class VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder (2.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

build()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest build()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest

buildPartial()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest buildPartial()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest

clear()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clear()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

clearFixableCount()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearFixableCount()

The number of fixable vulnerabilities associated with this resource.

int64 fixable_count = 3;

Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

clearResource()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

clone()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clone()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

getDefaultInstanceForType()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFixableCount()

public long getFixableCount()

The number of fixable vulnerabilities associated with this resource.

int64 fixable_count = 3;

Returns
TypeDescription
long

The fixableCount.

getResource()

public Resource getResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
Resource

The resource.

getResourceBuilder()

public Resource.Builder getResourceBuilder()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
Resource.Builder

getResourceOrBuilder()

public ResourceOrBuilder getResourceOrBuilder()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
ResourceOrBuilder

getSeverity()

public Severity getSeverity()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The totalCount.

hasResource()

public boolean hasResource()

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Returns
TypeDescription
boolean

Whether the resource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

mergeFrom(VulnerabilityOccurrencesSummary.FixableTotalByDigest other)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder mergeFrom(VulnerabilityOccurrencesSummary.FixableTotalByDigest other)
Parameter
NameDescription
otherVulnerabilityOccurrencesSummary.FixableTotalByDigest
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

mergeResource(Resource value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder mergeResource(Resource value)

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Parameter
NameDescription
valueResource
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuelong

The fixableCount to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides

setResource(Resource value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setResource(Resource value)

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Parameter
NameDescription
valueResource
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

setResource(Resource.Builder builderForValue)

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

The affected resource.

.grafeas.v1beta1.Resource resource = 1;

Parameter
NameDescription
builderForValueResource.Builder
Returns
TypeDescription
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
NameDescription
valueSeverity

The severity to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valuelong

The totalCount to set.

Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder
Overrides