Class VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder (2.4.2)

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
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

clearResourceUri()

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder clearResourceUri()

The affected resource.

string resource_uri = 1;

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

getResourceUri()

public String getResourceUri()

The affected resource.

string resource_uri = 1;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

The affected resource.

string resource_uri = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VulnerabilityOccurrencesSummary.FixableTotalByDigest other)

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

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

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

setResourceUri(String value)

public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder setResourceUri(String value)

The affected resource.

string resource_uri = 1;

Parameter
NameDescription
valueString

The resourceUri to set.

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

The bytes for resourceUri to set.

Returns
TypeDescription
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
NameDescription
valueio.grafeas.v1.Severity

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