Class ComplianceNote (2.3.0)

public final class ComplianceNote extends GeneratedMessageV3 implements ComplianceNoteOrBuilder

Protobuf type grafeas.v1.ComplianceNote

Static Fields

CIS_BENCHMARK_FIELD_NUMBER

public static final int CIS_BENCHMARK_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

RATIONALE_FIELD_NUMBER

public static final int RATIONALE_FIELD_NUMBER
Field Value
TypeDescription
int

REMEDIATION_FIELD_NUMBER

public static final int REMEDIATION_FIELD_NUMBER
Field Value
TypeDescription
int

SCAN_INSTRUCTIONS_FIELD_NUMBER

public static final int SCAN_INSTRUCTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

TITLE_FIELD_NUMBER

public static final int TITLE_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 ComplianceNote getDefaultInstance()
Returns
TypeDescription
ComplianceNote

getDescriptor()

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

newBuilder()

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

newBuilder(ComplianceNote prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCisBenchmark()

public ComplianceNote.CisBenchmark getCisBenchmark()

.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;

Returns
TypeDescription
ComplianceNote.CisBenchmark

The cisBenchmark.

getCisBenchmarkOrBuilder()

public ComplianceNote.CisBenchmarkOrBuilder getCisBenchmarkOrBuilder()

.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;

Returns
TypeDescription
ComplianceNote.CisBenchmarkOrBuilder

getComplianceTypeCase()

public ComplianceNote.ComplianceTypeCase getComplianceTypeCase()
Returns
TypeDescription
ComplianceNote.ComplianceTypeCase

getDefaultInstanceForType()

public ComplianceNote getDefaultInstanceForType()
Returns
TypeDescription
ComplianceNote

getDescription()

public String getDescription()

A description about this compliance check.

string description = 2;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description about this compliance check.

string description = 2;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

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

getRationale()

public String getRationale()

A rationale for the existence of this compliance check.

string rationale = 4;

Returns
TypeDescription
String

The rationale.

getRationaleBytes()

public ByteString getRationaleBytes()

A rationale for the existence of this compliance check.

string rationale = 4;

Returns
TypeDescription
ByteString

The bytes for rationale.

getRemediation()

public String getRemediation()

A description of remediation steps if the compliance check fails.

string remediation = 5;

Returns
TypeDescription
String

The remediation.

getRemediationBytes()

public ByteString getRemediationBytes()

A description of remediation steps if the compliance check fails.

string remediation = 5;

Returns
TypeDescription
ByteString

The bytes for remediation.

getScanInstructions()

public ByteString getScanInstructions()

Serialized scan instructions with a predefined format.

bytes scan_instructions = 7;

Returns
TypeDescription
ByteString

The scanInstructions.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTitle()

public String getTitle()

The title that identifies this compliance check.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The title that identifies this compliance check.

string title = 1;

Returns
TypeDescription
ByteString

The bytes for title.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVersion(int index)

public ComplianceVersion getVersion(int index)

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ComplianceVersion

getVersionCount()

public int getVersionCount()

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Returns
TypeDescription
int

getVersionList()

public List<ComplianceVersion> getVersionList()

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Returns
TypeDescription
List<ComplianceVersion>

getVersionOrBuilder(int index)

public ComplianceVersionOrBuilder getVersionOrBuilder(int index)

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ComplianceVersionOrBuilder

getVersionOrBuilderList()

public List<? extends ComplianceVersionOrBuilder> getVersionOrBuilderList()

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Returns
TypeDescription
List<? extends io.grafeas.v1.ComplianceVersionOrBuilder>

hasCisBenchmark()

public boolean hasCisBenchmark()

.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;

Returns
TypeDescription
boolean

Whether the cisBenchmark field is set.

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.Builder newBuilderForType()
Returns
TypeDescription
ComplianceNote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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