Class ComplianceVersion (2.31.0)

public final class ComplianceVersion extends GeneratedMessageV3 implements ComplianceVersionOrBuilder

Describes the CIS benchmark version that is applicable to a given OS and os version.

Protobuf type grafeas.v1.ComplianceVersion

Static Fields

BENCHMARK_DOCUMENT_FIELD_NUMBER

public static final int BENCHMARK_DOCUMENT_FIELD_NUMBER
Field Value
TypeDescription
int

CPE_URI_FIELD_NUMBER

public static final int CPE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComplianceVersion getDefaultInstance()
Returns
TypeDescription
ComplianceVersion

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ComplianceVersion.Builder newBuilder()
Returns
TypeDescription
ComplianceVersion.Builder

newBuilder(ComplianceVersion prototype)

public static ComplianceVersion.Builder newBuilder(ComplianceVersion prototype)
Parameter
NameDescription
prototypeComplianceVersion
Returns
TypeDescription
ComplianceVersion.Builder

parseDelimitedFrom(InputStream input)

public static ComplianceVersion parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComplianceVersion
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceVersion
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ComplianceVersion parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ComplianceVersion
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComplianceVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceVersion
Exceptions
TypeDescription