public static final class VulnerabilityOccurrencesSummary.FixableTotalByDigest extends GeneratedMessageV3 implements VulnerabilityOccurrencesSummary.FixableTotalByDigestOrBuilder
Per resource and severity counts of fixable and total vulnerabilities.
Protobuf type grafeas.v1beta1.VulnerabilityOccurrencesSummary.FixableTotalByDigest
Static Fields
FIXABLE_COUNT_FIELD_NUMBER
public static final int FIXABLE_COUNT_FIELD_NUMBER
Field Value
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value
TOTAL_COUNT_FIELD_NUMBER
public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilder()
Returns
newBuilder(VulnerabilityOccurrencesSummary.FixableTotalByDigest prototype)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilder(VulnerabilityOccurrencesSummary.FixableTotalByDigest prototype)
Parameter
Returns
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VulnerabilityOccurrencesSummary.FixableTotalByDigest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstanceForType()
Returns
getFixableCount()
public long getFixableCount()
The number of fixable vulnerabilities associated with this resource.
int64 fixable_count = 3;
Returns
Type | Description |
long | The fixableCount.
|
getParserForType()
public Parser<VulnerabilityOccurrencesSummary.FixableTotalByDigest> getParserForType()
Returns
Overrides
getResource()
public Resource getResource()
The affected resource.
.grafeas.v1beta1.Resource resource = 1;
Returns
getResourceOrBuilder()
public ResourceOrBuilder getResourceOrBuilder()
The affected resource.
.grafeas.v1beta1.Resource resource = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSeverity()
public Severity getSeverity()
The severity for this count. SEVERITY_UNSPECIFIED indicates total across
all severities.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
Returns
getSeverityValue()
public int getSeverityValue()
The severity for this count. SEVERITY_UNSPECIFIED indicates total across
all severities.
.grafeas.v1beta1.vulnerability.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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasResource()
public boolean hasResource()
The affected resource.
.grafeas.v1beta1.Resource resource = 1;
Returns
Type | Description |
boolean | Whether the resource field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions