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 | |
RATIONALE_FIELD_NUMBER
public static final int RATIONALE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ComplianceNote.Builder newBuilder()
newBuilder(ComplianceNote prototype)
public static ComplianceNote.Builder newBuilder(ComplianceNote prototype)
public static ComplianceNote parseDelimitedFrom(InputStream input)
public static ComplianceNote parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ComplianceNote parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ComplianceNote parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(CodedInputStream input)
public static ComplianceNote parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(InputStream input)
public static ComplianceNote parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ComplianceNote parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ComplianceNote parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ComplianceNote> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCisBenchmark()
public ComplianceNote.CisBenchmark getCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
getCisBenchmarkOrBuilder()
public ComplianceNote.CisBenchmarkOrBuilder getCisBenchmarkOrBuilder()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
getComplianceTypeCase()
public ComplianceNote.ComplianceTypeCase getComplianceTypeCase()
getDefaultInstanceForType()
public ComplianceNote getDefaultInstanceForType()
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()
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 |
---|
Type | Description |
ByteString | The bytes for rationale.
|
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 |
---|
Type | Description |
ByteString | The scanInstructions.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for title.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Name | Description |
index | int
|
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;
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
|
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ComplianceNote.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ComplianceNote.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ComplianceNote.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides