public final class ComplianceNote extends GeneratedMessageV3 implements ComplianceNoteOrBuilder
Protobuf type grafeas.v1.ComplianceNote
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
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.
|
getImpact()
public String getImpact()
Returns |
Type |
Description |
String |
The impact.
|
getImpactBytes()
public ByteString getImpactBytes()
Returns |
Type |
Description |
ByteString |
The bytes for impact.
|
getParserForType()
public Parser<ComplianceNote> getParserForType()
Overrides
getPotentialImpactCase()
public ComplianceNote.PotentialImpactCase getPotentialImpactCase()
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.
|
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.
|
hasImpact()
public boolean hasImpact()
Returns |
Type |
Description |
boolean |
Whether the impact 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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ComplianceNote.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides