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
CPE_URI_FIELD_NUMBER
public static final int CPE_URI_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ComplianceVersion getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ComplianceVersion.Builder newBuilder()
Returns
newBuilder(ComplianceVersion prototype)
public static ComplianceVersion.Builder newBuilder(ComplianceVersion prototype)
Parameter
Returns
public static ComplianceVersion parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComplianceVersion parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ComplianceVersion parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComplianceVersion parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ComplianceVersion parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComplianceVersion parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComplianceVersion parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ComplianceVersion parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComplianceVersion parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComplianceVersion parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ComplianceVersion parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComplianceVersion parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ComplianceVersion> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBenchmarkDocument()
public String getBenchmarkDocument()
The name of the document that defines this benchmark, e.g. "CIS
Container-Optimized OS".
string benchmark_document = 3;
Returns
Type | Description |
String | The benchmarkDocument.
|
getBenchmarkDocumentBytes()
public ByteString getBenchmarkDocumentBytes()
The name of the document that defines this benchmark, e.g. "CIS
Container-Optimized OS".
string benchmark_document = 3;
Returns
Type | Description |
ByteString | The bytes for benchmarkDocument.
|
getCpeUri()
public String getCpeUri()
Returns
Type | Description |
String | The cpeUri.
|
getCpeUriBytes()
public ByteString getCpeUriBytes()
Returns
getDefaultInstanceForType()
public ComplianceVersion getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ComplianceVersion> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVersion()
public String getVersion()
The version of the benchmark. This is set to the version of the OS-specific
CIS document the benchmark is defined in.
string version = 2;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
The version of the benchmark. This is set to the version of the OS-specific
CIS document the benchmark is defined in.
string version = 2;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ComplianceVersion.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComplianceVersion.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ComplianceVersion.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions