Class ComplianceNote.CisBenchmark (2.42.0)

public static final class ComplianceNote.CisBenchmark extends GeneratedMessageV3 implements ComplianceNote.CisBenchmarkOrBuilder

A compliance check that is a CIS benchmark.

Protobuf type grafeas.v1.ComplianceNote.CisBenchmark

Static Fields

PROFILE_LEVEL_FIELD_NUMBER

public static final int PROFILE_LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ComplianceNote.CisBenchmark getDefaultInstance()
Returns
TypeDescription
ComplianceNote.CisBenchmark

getDescriptor()

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

newBuilder()

public static ComplianceNote.CisBenchmark.Builder newBuilder()
Returns
TypeDescription
ComplianceNote.CisBenchmark.Builder

newBuilder(ComplianceNote.CisBenchmark prototype)

public static ComplianceNote.CisBenchmark.Builder newBuilder(ComplianceNote.CisBenchmark prototype)
Parameter
NameDescription
prototypeComplianceNote.CisBenchmark
Returns
TypeDescription
ComplianceNote.CisBenchmark.Builder

parseDelimitedFrom(InputStream input)

public static ComplianceNote.CisBenchmark parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote.CisBenchmark parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComplianceNote.CisBenchmark parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote.CisBenchmark parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComplianceNote.CisBenchmark parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote.CisBenchmark parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ComplianceNote.CisBenchmark parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote.CisBenchmark parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ComplianceNote.CisBenchmark parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote.CisBenchmark parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ComplianceNote.CisBenchmark
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ComplianceNote.CisBenchmark> parser()
Returns
TypeDescription
Parser<CisBenchmark>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ComplianceNote.CisBenchmark getDefaultInstanceForType()
Returns
TypeDescription
ComplianceNote.CisBenchmark

getParserForType()

public Parser<ComplianceNote.CisBenchmark> getParserForType()
Returns
TypeDescription
Parser<CisBenchmark>
Overrides

getProfileLevel()

public int getProfileLevel()

int32 profile_level = 1;

Returns
TypeDescription
int

The profileLevel.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public Severity getSeverity()

.grafeas.v1.Severity severity = 2;

Returns
TypeDescription
Severity

The severity.

getSeverityValue()

public int getSeverityValue()

.grafeas.v1.Severity severity = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ComplianceNote.CisBenchmark.Builder newBuilderForType()
Returns
TypeDescription
ComplianceNote.CisBenchmark.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComplianceNote.CisBenchmark.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ComplianceNote.CisBenchmark.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ComplianceNote.CisBenchmark.Builder toBuilder()
Returns
TypeDescription
ComplianceNote.CisBenchmark.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException