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
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
RATIONALE_FIELD_NUMBER
public static final int RATIONALE_FIELD_NUMBER
Field Value
public static final int REMEDIATION_FIELD_NUMBER
Field Value
SCAN_INSTRUCTIONS_FIELD_NUMBER
public static final int SCAN_INSTRUCTIONS_FIELD_NUMBER
Field Value
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ComplianceNote getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ComplianceNote.Builder newBuilder()
Returns
newBuilder(ComplianceNote prototype)
public static ComplianceNote.Builder newBuilder(ComplianceNote prototype)
Parameter
Returns
public static ComplianceNote parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComplianceNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ComplianceNote parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ComplianceNote parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComplianceNote parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ComplianceNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ComplianceNote parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ComplianceNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ComplianceNote parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ComplianceNote> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCisBenchmark()
public ComplianceNote.CisBenchmark getCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Returns
getCisBenchmarkOrBuilder()
public ComplianceNote.CisBenchmarkOrBuilder getCisBenchmarkOrBuilder()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Returns
getComplianceTypeCase()
public ComplianceNote.ComplianceTypeCase getComplianceTypeCase()
Returns
getDefaultInstanceForType()
public ComplianceNote getDefaultInstanceForType()
Returns
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.
|
getParserForType()
public Parser<ComplianceNote> getParserForType()
Returns
Overrides
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
public String getRemediation()
A description of remediation steps if the compliance check fails.
string remediation = 5;
Returns
Type | Description |
String | The remediation.
|
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Returns
getVersionCount()
public int getVersionCount()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Returns
getVersionList()
public List<ComplianceVersion> getVersionList()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Returns
getVersionOrBuilder(int index)
public ComplianceVersionOrBuilder getVersionOrBuilder(int index)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Parameter
Returns
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ComplianceNote.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComplianceNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ComplianceNote.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions