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 |
---|
Type | Description |
int | |
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TOTAL_COUNT_FIELD_NUMBER
public static final int TOTAL_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilder()
newBuilder(VulnerabilityOccurrencesSummary.FixableTotalByDigest prototype)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilder(VulnerabilityOccurrencesSummary.FixableTotalByDigest prototype)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseDelimitedFrom(InputStream input)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(CodedInputStream input)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(InputStream input)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VulnerabilityOccurrencesSummary.FixableTotalByDigest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<VulnerabilityOccurrencesSummary.FixableTotalByDigest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public VulnerabilityOccurrencesSummary.FixableTotalByDigest getDefaultInstanceForType()
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()
Overrides
getResource()
public Resource getResource()
The affected resource.
.grafeas.v1beta1.Resource resource = 1;
Returns |
---|
Type | Description |
Resource | The resource.
|
getResourceOrBuilder()
public ResourceOrBuilder getResourceOrBuilder()
The affected resource.
.grafeas.v1beta1.Resource resource = 1;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSeverity()
public Severity getSeverity()
The severity for this count. SEVERITY_UNSPECIFIED indicates total across
all severities.
.grafeas.v1beta1.vulnerability.Severity severity = 2;
Returns |
---|
Type | Description |
Severity | The severity.
|
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()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public VulnerabilityOccurrencesSummary.FixableTotalByDigest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides