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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
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;
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;
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;
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;
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;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityOccurrencesSummary.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VulnerabilityOccurrencesSummary build()
buildPartial()
public VulnerabilityOccurrencesSummary buildPartial()
clear()
public VulnerabilityOccurrencesSummary.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityOccurrencesSummary.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityOccurrencesSummary.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public VulnerabilityOccurrencesSummary.Builder clone()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
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 |
---|
Type | Description |
int | |
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;
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 |
---|
Name | Description |
index | int
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VulnerabilityOccurrencesSummary other)
public VulnerabilityOccurrencesSummary.Builder mergeFrom(VulnerabilityOccurrencesSummary other)
public VulnerabilityOccurrencesSummary.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VulnerabilityOccurrencesSummary.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityOccurrencesSummary.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityOccurrencesSummary.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityOccurrencesSummary.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityOccurrencesSummary.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides