public
static
final
class
ComplianceNote
.
Builder
extends
GeneratedMessage
.
Builder<ComplianceNote
.
Builder
>
implements
ComplianceNoteOrBuilder
Protobuf type grafeas.v1.ComplianceNote
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComplianceNote.BuilderImplements
ComplianceNoteOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
addAllVersion(Iterable<? extends ComplianceVersion> values)
public
ComplianceNote
.
Builder
addAllVersion
(
Iterable
< ?
extends
ComplianceVersion
>
values
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
addVersion(int index, ComplianceVersion value)
public
ComplianceNote
.
Builder
addVersion
(
int
index
,
ComplianceVersion
value
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
addVersion(int index, ComplianceVersion.Builder builderForValue)
public
ComplianceNote
.
Builder
addVersion
(
int
index
,
ComplianceVersion
.
Builder
builderForValue
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
addVersion(ComplianceVersion value)
public
ComplianceNote
.
Builder
addVersion
(
ComplianceVersion
value
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
addVersion(ComplianceVersion.Builder builderForValue)
public
ComplianceNote
.
Builder
addVersion
(
ComplianceVersion
.
Builder
builderForValue
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
addVersionBuilder()
public
ComplianceVersion
.
Builder
addVersionBuilder
()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
addVersionBuilder(int index)
public
ComplianceVersion
.
Builder
addVersionBuilder
(
int
index
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
build()
public
ComplianceNote
build
()
buildPartial()
public
ComplianceNote
buildPartial
()
clear()
public
ComplianceNote
.
Builder
clear
()
clearCisBenchmark()
public
ComplianceNote
.
Builder
clearCisBenchmark
()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
clearComplianceType()
public
ComplianceNote
.
Builder
clearComplianceType
()
clearDescription()
public
ComplianceNote
.
Builder
clearDescription
()
A description about this compliance check.
string description = 2;
clearImpact()
public
ComplianceNote
.
Builder
clearImpact
()
string impact = 8;
clearPotentialImpact()
public
ComplianceNote
.
Builder
clearPotentialImpact
()
clearRationale()
public
ComplianceNote
.
Builder
clearRationale
()
A rationale for the existence of this compliance check.
string rationale = 4;
clearRemediation()
public
ComplianceNote
.
Builder
clearRemediation
()
A description of remediation steps if the compliance check fails.
string remediation = 5;
clearScanInstructions()
public
ComplianceNote
.
Builder
clearScanInstructions
()
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
clearTitle()
public
ComplianceNote
.
Builder
clearTitle
()
The title that identifies this compliance check.
string title = 1;
clearVersion()
public
ComplianceNote
.
Builder
clearVersion
()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
getCisBenchmark()
public
ComplianceNote
.
CisBenchmark
getCisBenchmark
()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
getCisBenchmarkBuilder()
public
ComplianceNote
.
CisBenchmark
.
Builder
getCisBenchmarkBuilder
()
.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;
getDescriptionBytes()
public
ByteString
getDescriptionBytes
()
A description about this compliance check.
string description = 2;
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getImpact()
public
String
getImpact
()
string impact = 8;
getImpactBytes()
public
ByteString
getImpactBytes
()
string impact = 8;
getPotentialImpactCase()
public
ComplianceNote
.
PotentialImpactCase
getPotentialImpactCase
()
getRationale()
public
String
getRationale
()
A rationale for the existence of this compliance check.
string rationale = 4;
getRationaleBytes()
public
ByteString
getRationaleBytes
()
A rationale for the existence of this compliance check.
string rationale = 4;
getRemediation()
public
String
getRemediation
()
A description of remediation steps if the compliance check fails.
string remediation = 5;
getRemediationBytes()
public
ByteString
getRemediationBytes
()
A description of remediation steps if the compliance check fails.
string remediation = 5;
getScanInstructions()
public
ByteString
getScanInstructions
()
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
getTitle()
public
String
getTitle
()
The title that identifies this compliance check.
string title = 1;
getTitleBytes()
public
ByteString
getTitleBytes
()
The title that identifies this compliance check.
string title = 1;
getVersion(int index)
public
ComplianceVersion
getVersion
(
int
index
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
getVersionBuilder(int index)
public
ComplianceVersion
.
Builder
getVersionBuilder
(
int
index
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
getVersionBuilderList()
public
List<ComplianceVersion
.
Builder
>
getVersionBuilderList
()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
getVersionCount()
public
int
getVersionCount
()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
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;
getVersionOrBuilderList()
public
List
< ?
extends
ComplianceVersionOrBuilder
>
getVersionOrBuilderList
()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
hasCisBenchmark()
public
boolean
hasCisBenchmark
()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
hasImpact()
public
boolean
hasImpact
()
string impact = 8;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeCisBenchmark(ComplianceNote.CisBenchmark value)
public
ComplianceNote
.
Builder
mergeCisBenchmark
(
ComplianceNote
.
CisBenchmark
value
)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
ComplianceNote
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
ComplianceNote
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(ComplianceNote other)
public
ComplianceNote
.
Builder
mergeFrom
(
ComplianceNote
other
)
removeVersion(int index)
public
ComplianceNote
.
Builder
removeVersion
(
int
index
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
setCisBenchmark(ComplianceNote.CisBenchmark value)
public
ComplianceNote
.
Builder
setCisBenchmark
(
ComplianceNote
.
CisBenchmark
value
)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
setCisBenchmark(ComplianceNote.CisBenchmark.Builder builderForValue)
public
ComplianceNote
.
Builder
setCisBenchmark
(
ComplianceNote
.
CisBenchmark
.
Builder
builderForValue
)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
setDescription(String value)
public
ComplianceNote
.
Builder
setDescription
(
String
value
)
A description about this compliance check.
string description = 2;
setDescriptionBytes(ByteString value)
public
ComplianceNote
.
Builder
setDescriptionBytes
(
ByteString
value
)
A description about this compliance check.
string description = 2;
setImpact(String value)
public
ComplianceNote
.
Builder
setImpact
(
String
value
)
string impact = 8;
setImpactBytes(ByteString value)
public
ComplianceNote
.
Builder
setImpactBytes
(
ByteString
value
)
string impact = 8;
setRationale(String value)
public
ComplianceNote
.
Builder
setRationale
(
String
value
)
A rationale for the existence of this compliance check.
string rationale = 4;
setRationaleBytes(ByteString value)
public
ComplianceNote
.
Builder
setRationaleBytes
(
ByteString
value
)
A rationale for the existence of this compliance check.
string rationale = 4;
setRemediation(String value)
public
ComplianceNote
.
Builder
setRemediation
(
String
value
)
A description of remediation steps if the compliance check fails.
string remediation = 5;
setRemediationBytes(ByteString value)
public
ComplianceNote
.
Builder
setRemediationBytes
(
ByteString
value
)
A description of remediation steps if the compliance check fails.
string remediation = 5;
setScanInstructions(ByteString value)
public
ComplianceNote
.
Builder
setScanInstructions
(
ByteString
value
)
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
setTitle(String value)
public
ComplianceNote
.
Builder
setTitle
(
String
value
)
The title that identifies this compliance check.
string title = 1;
setTitleBytes(ByteString value)
public
ComplianceNote
.
Builder
setTitleBytes
(
ByteString
value
)
The title that identifies this compliance check.
string title = 1;
setVersion(int index, ComplianceVersion value)
public
ComplianceNote
.
Builder
setVersion
(
int
index
,
ComplianceVersion
value
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
setVersion(int index, ComplianceVersion.Builder builderForValue)
public
ComplianceNote
.
Builder
setVersion
(
int
index
,
ComplianceVersion
.
Builder
builderForValue
)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;

