Send feedback
Class VulnerabilityOccurrencesSummary.Builder (2.4.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.4.6 keyboard_arrow_down
public static final class VulnerabilityOccurrencesSummary . Builder extends GeneratedMessageV3 . Builder<VulnerabilityOccurrencesSummary . Builder > implements VulnerabilityOccurrencesSummaryOrBuilder
A summary of how many vulnerability occurrences there are per resource and
severity type.
Protobuf type grafeas.v1beta1.VulnerabilityOccurrencesSummary
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllCounts(Iterable<? extends VulnerabilityOccurrencesSummary.FixableTotalByDigest> values)
public VulnerabilityOccurrencesSummary . Builder addAllCounts ( Iterable <? extends VulnerabilityOccurrencesSummary . FixableTotalByDigest > values )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Name Description values Iterable <? extends io.grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest >
Returns
addCounts(int index, VulnerabilityOccurrencesSummary.FixableTotalByDigest value)
public VulnerabilityOccurrencesSummary . Builder addCounts ( int index , VulnerabilityOccurrencesSummary . FixableTotalByDigest value )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameters
Returns
addCounts(int index, VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder builderForValue)
public VulnerabilityOccurrencesSummary . Builder addCounts ( int index , VulnerabilityOccurrencesSummary . FixableTotalByDigest . Builder builderForValue )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameters
Returns
addCounts(VulnerabilityOccurrencesSummary.FixableTotalByDigest value)
public VulnerabilityOccurrencesSummary . Builder addCounts ( VulnerabilityOccurrencesSummary . FixableTotalByDigest value )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
addCounts(VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder builderForValue)
public VulnerabilityOccurrencesSummary . Builder addCounts ( VulnerabilityOccurrencesSummary . FixableTotalByDigest . Builder builderForValue )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
addCountsBuilder()
public VulnerabilityOccurrencesSummary . FixableTotalByDigest . Builder addCountsBuilder ()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
addCountsBuilder(int index)
public VulnerabilityOccurrencesSummary . FixableTotalByDigest . Builder addCountsBuilder ( int index )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityOccurrencesSummary . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public VulnerabilityOccurrencesSummary build ()
Returns
buildPartial()
public VulnerabilityOccurrencesSummary buildPartial ()
Returns
clear()
public VulnerabilityOccurrencesSummary . Builder clear ()
Returns
Overrides
clearCounts()
public VulnerabilityOccurrencesSummary . Builder clearCounts ()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityOccurrencesSummary . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityOccurrencesSummary . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public VulnerabilityOccurrencesSummary . Builder clone ()
Returns
Overrides
getCounts(int index)
public VulnerabilityOccurrencesSummary . FixableTotalByDigest getCounts ( int index )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
getCountsBuilder(int index)
public VulnerabilityOccurrencesSummary . FixableTotalByDigest . Builder getCountsBuilder ( int index )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
getCountsBuilderList()
public List<VulnerabilityOccurrencesSummary . FixableTotalByDigest . Builder > getCountsBuilderList ()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
getCountsCount()
public int getCountsCount ()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
getCountsList()
public List<VulnerabilityOccurrencesSummary . FixableTotalByDigest > getCountsList ()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
getCountsOrBuilder(int index)
public VulnerabilityOccurrencesSummary . FixableTotalByDigestOrBuilder getCountsOrBuilder ( int index )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
getCountsOrBuilderList()
public List <? extends VulnerabilityOccurrencesSummary . FixableTotalByDigestOrBuilder > getCountsOrBuilderList ()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
Type Description List <? extends io.grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder >
getDefaultInstanceForType()
public VulnerabilityOccurrencesSummary getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
public VulnerabilityOccurrencesSummary . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VulnerabilityOccurrencesSummary . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(VulnerabilityOccurrencesSummary other)
public VulnerabilityOccurrencesSummary . Builder mergeFrom ( VulnerabilityOccurrencesSummary other )
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityOccurrencesSummary . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeCounts(int index)
public VulnerabilityOccurrencesSummary . Builder removeCounts ( int index )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Returns
setCounts(int index, VulnerabilityOccurrencesSummary.FixableTotalByDigest value)
public VulnerabilityOccurrencesSummary . Builder setCounts ( int index , VulnerabilityOccurrencesSummary . FixableTotalByDigest value )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameters
Returns
setCounts(int index, VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder builderForValue)
public VulnerabilityOccurrencesSummary . Builder setCounts ( int index , VulnerabilityOccurrencesSummary . FixableTotalByDigest . Builder builderForValue )
A listing by resource of the number of fixable and total vulnerabilities.
repeated .grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityOccurrencesSummary . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityOccurrencesSummary . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityOccurrencesSummary . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]