Class VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder (2.53.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 google.devtools.containeranalysis.v1.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

clearResourceUri()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearResourceUri()

The affected resource.

string resource_uri = 1;

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

clearSeverity()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearSeverity()

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

.grafeas.v1.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.

getResourceUri()

public String getResourceUri()

The affected resource.

string resource_uri = 1;

Returns
Type Description
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

The affected resource.

string resource_uri = 1;

Returns
Type Description
ByteString

The bytes for resourceUri.

getSeverity()

public Severity getSeverity()

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

.grafeas.v1.Severity severity = 2;

Returns
Type Description
io.grafeas.v1.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

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

.grafeas.v1.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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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

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

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

setResourceUri(String value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setResourceUri(String value)

The affected resource.

string resource_uri = 1;

Parameter
Name Description
value String

The resourceUri to set.

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

setResourceUriBytes(ByteString value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setResourceUriBytes(ByteString value)

The affected resource.

string resource_uri = 1;

Parameter
Name Description
value ByteString

The bytes for resourceUri to set.

Returns
Type Description
VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder

This builder for chaining.

setSeverity(Severity value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setSeverity(Severity value)

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

.grafeas.v1.Severity severity = 2;

Parameter
Name Description
value io.grafeas.v1.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.v1.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