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 google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest>
|
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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameter
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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Parameters
Returns
addCountsBuilder()
public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder addCountsBuilder()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
getCountsCount()
public int getCountsCount()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
getCountsList()
public List<VulnerabilityOccurrencesSummary.FixableTotalByDigest> getCountsList()
A listing by resource of the number of fixable and total vulnerabilities.
repeated .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.VulnerabilityOccurrencesSummary.FixableTotalByDigest counts = 1;
Returns
Type | Description |
List<? extends com.google.containeranalysis.v1.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
mergeFrom(VulnerabilityOccurrencesSummary other)
public VulnerabilityOccurrencesSummary.Builder mergeFrom(VulnerabilityOccurrencesSummary other)
Parameter
Returns
public VulnerabilityOccurrencesSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VulnerabilityOccurrencesSummary.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.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 .google.devtools.containeranalysis.v1.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