public final class Vulnerability extends GeneratedMessageV3 implements VulnerabilityOrBuilder
Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
Protobuf type google.cloud.securitycenter.v2.Vulnerability
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CVE_FIELD_NUMBER
public static final int CVE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FIXED_PACKAGE_FIELD_NUMBER
public static final int FIXED_PACKAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
OFFENDING_PACKAGE_FIELD_NUMBER
public static final int OFFENDING_PACKAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SECURITY_BULLETIN_FIELD_NUMBER
public static final int SECURITY_BULLETIN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Vulnerability getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Vulnerability.Builder newBuilder()
newBuilder(Vulnerability prototype)
public static Vulnerability.Builder newBuilder(Vulnerability prototype)
public static Vulnerability parseDelimitedFrom(InputStream input)
public static Vulnerability parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Vulnerability parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Vulnerability parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(CodedInputStream input)
public static Vulnerability parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(InputStream input)
public static Vulnerability parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Vulnerability parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Vulnerability> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCve()
Returns |
---|
Type | Description |
Cve | The cve.
|
getCveOrBuilder()
public CveOrBuilder getCveOrBuilder()
getDefaultInstanceForType()
public Vulnerability getDefaultInstanceForType()
getFixedPackage()
public Package getFixedPackage()
The fixed package is relevant to the finding.
.google.cloud.securitycenter.v2.Package fixed_package = 3;
Returns |
---|
Type | Description |
Package | The fixedPackage.
|
getFixedPackageOrBuilder()
public PackageOrBuilder getFixedPackageOrBuilder()
The fixed package is relevant to the finding.
.google.cloud.securitycenter.v2.Package fixed_package = 3;
getOffendingPackage()
public Package getOffendingPackage()
The offending package is relevant to the finding.
.google.cloud.securitycenter.v2.Package offending_package = 2;
Returns |
---|
Type | Description |
Package | The offendingPackage.
|
getOffendingPackageOrBuilder()
public PackageOrBuilder getOffendingPackageOrBuilder()
The offending package is relevant to the finding.
.google.cloud.securitycenter.v2.Package offending_package = 2;
getParserForType()
public Parser<Vulnerability> getParserForType()
Overrides
getSecurityBulletin()
public SecurityBulletin getSecurityBulletin()
The security bulletin is relevant to this finding.
.google.cloud.securitycenter.v2.SecurityBulletin security_bulletin = 4;
getSecurityBulletinOrBuilder()
public SecurityBulletinOrBuilder getSecurityBulletinOrBuilder()
The security bulletin is relevant to this finding.
.google.cloud.securitycenter.v2.SecurityBulletin security_bulletin = 4;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasCve()
Returns |
---|
Type | Description |
boolean | Whether the cve field is set.
|
hasFixedPackage()
public boolean hasFixedPackage()
The fixed package is relevant to the finding.
.google.cloud.securitycenter.v2.Package fixed_package = 3;
Returns |
---|
Type | Description |
boolean | Whether the fixedPackage field is set.
|
hasOffendingPackage()
public boolean hasOffendingPackage()
The offending package is relevant to the finding.
.google.cloud.securitycenter.v2.Package offending_package = 2;
Returns |
---|
Type | Description |
boolean | Whether the offendingPackage field is set.
|
hasSecurityBulletin()
public boolean hasSecurityBulletin()
The security bulletin is relevant to this finding.
.google.cloud.securitycenter.v2.SecurityBulletin security_bulletin = 4;
Returns |
---|
Type | Description |
boolean | Whether the securityBulletin field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Vulnerability.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Vulnerability.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Vulnerability.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides