Class ComplianceNote (2.55.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
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

IMPACT_FIELD_NUMBER

public static final int IMPACT_FIELD_NUMBER
Field Value
Type Description
int

RATIONALE_FIELD_NUMBER

public static final int RATIONALE_FIELD_NUMBER
Field Value
Type Description
int

REMEDIATION_FIELD_NUMBER

public static final int REMEDIATION_FIELD_NUMBER
Field Value
Type Description
int

SCAN_INSTRUCTIONS_FIELD_NUMBER

public static final int SCAN_INSTRUCTIONS_FIELD_NUMBER
Field Value
Type Description
int

TITLE_FIELD_NUMBER

public static final int TITLE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComplianceNote getDefaultInstance()
Returns
Type Description
ComplianceNote

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ComplianceNote.Builder newBuilder()
Returns
Type Description
ComplianceNote.Builder

newBuilder(ComplianceNote prototype)

public static ComplianceNote.Builder newBuilder(ComplianceNote prototype)
Parameter
Name Description
prototype ComplianceNote
Returns
Type Description
ComplianceNote.Builder

parseDelimitedFrom(InputStream input)

public static ComplianceNote parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComplianceNote
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceNote
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ComplianceNote parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ComplianceNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ComplianceNote parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ComplianceNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ComplianceNote parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ComplianceNote
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceNote
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ComplianceNote parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ComplianceNote
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceNote
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ComplianceNote parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ComplianceNote
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ComplianceNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceNote
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ComplianceNote> parser()
Returns
Type Description
Parser<ComplianceNote>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCisBenchmark()

public ComplianceNote.CisBenchmark getCisBenchmark()

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

Returns
Type Description
ComplianceNote.CisBenchmark

The cisBenchmark.

getCisBenchmarkOrBuilder()

public ComplianceNote.CisBenchmarkOrBuilder getCisBenchmarkOrBuilder()

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

Returns
Type Description
ComplianceNote.CisBenchmarkOrBuilder

getComplianceTypeCase()

public ComplianceNote.ComplianceTypeCase getComplianceTypeCase()
Returns
Type Description
ComplianceNote.ComplianceTypeCase

getDefaultInstanceForType()

public ComplianceNote getDefaultInstanceForType()
Returns
Type Description
ComplianceNote

getDescription()

public String getDescription()

A description about this compliance check.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description about this compliance check.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getImpact()

public String getImpact()

string impact = 8;

Returns
Type Description
String

The impact.

getImpactBytes()

public ByteString getImpactBytes()

string impact = 8;

Returns
Type Description
ByteString

The bytes for impact.

getParserForType()

public Parser<ComplianceNote> getParserForType()
Returns
Type Description
Parser<ComplianceNote>
Overrides

getPotentialImpactCase()

public ComplianceNote.PotentialImpactCase getPotentialImpactCase()
Returns
Type Description
ComplianceNote.PotentialImpactCase

getRationale()

public String getRationale()

A rationale for the existence of this compliance check.

string rationale = 4;

Returns
Type Description
String

The rationale.

getRationaleBytes()

public ByteString getRationaleBytes()

A rationale for the existence of this compliance check.

string rationale = 4;

Returns
Type Description
ByteString

The bytes for rationale.

getRemediation()

public String getRemediation()

A description of remediation steps if the compliance check fails.

string remediation = 5;

Returns
Type Description
String

The remediation.

getRemediationBytes()

public ByteString getRemediationBytes()

A description of remediation steps if the compliance check fails.

string remediation = 5;

Returns
Type Description
ByteString

The bytes for remediation.

getScanInstructions()

public ByteString getScanInstructions()

Serialized scan instructions with a predefined format.

bytes scan_instructions = 7;

Returns
Type Description
ByteString

The scanInstructions.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTitle()

public String getTitle()

The title that identifies this compliance check.

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

The title that identifies this compliance check.

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

getVersion(int index)

public ComplianceVersion getVersion(int index)

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Parameter
Name Description
index int
Returns
Type Description
ComplianceVersion

getVersionCount()

public int getVersionCount()

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Returns
Type Description
int

getVersionList()

public List<ComplianceVersion> getVersionList()

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ComplianceVersionOrBuilder

getVersionOrBuilderList()

public List<? extends ComplianceVersionOrBuilder> getVersionOrBuilderList()

The OS and config versions the benchmark applies to.

repeated .grafeas.v1.ComplianceVersion version = 3;

Returns
Type Description
List<? extends io.grafeas.v1.ComplianceVersionOrBuilder>

hasCisBenchmark()

public boolean hasCisBenchmark()

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

Returns
Type Description
boolean

Whether the cisBenchmark field is set.

hasImpact()

public boolean hasImpact()

string impact = 8;

Returns
Type Description
boolean

Whether the impact field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComplianceNote.Builder newBuilderForType()
Returns
Type Description
ComplianceNote.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ComplianceNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComplianceNote.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ComplianceNote.Builder toBuilder()
Returns
Type Description
ComplianceNote.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException