public
static
final
class
ComplianceVersion
.
Builder
extends
GeneratedMessage
.
Builder<ComplianceVersion
.
Builder
>
implements
ComplianceVersionOrBuilder
Describes the CIS benchmark version that is applicable to a given OS and os version.
Protobuf type grafeas.v1.ComplianceVersion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComplianceVersion.BuilderImplements
ComplianceVersionOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
build()
public
ComplianceVersion
build
()
buildPartial()
public
ComplianceVersion
buildPartial
()
clear()
public
ComplianceVersion
.
Builder
clear
()
clearBenchmarkDocument()
public
ComplianceVersion
.
Builder
clearBenchmarkDocument
()
The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".
string benchmark_document = 3;
clearCpeUri()
public
ComplianceVersion
.
Builder
clearCpeUri
()
The CPE URI ( https://cpe.mitre.org/specification/ ) this benchmark is applicable to.
string cpe_uri = 1;
clearVersion()
public
ComplianceVersion
.
Builder
clearVersion
()
The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
string version = 2;
getBenchmarkDocument()
public
String
getBenchmarkDocument
()
The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".
string benchmark_document = 3;
getBenchmarkDocumentBytes()
public
ByteString
getBenchmarkDocumentBytes
()
The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".
string benchmark_document = 3;
getCpeUri()
public
String
getCpeUri
()
The CPE URI ( https://cpe.mitre.org/specification/ ) this benchmark is applicable to.
string cpe_uri = 1;
getCpeUriBytes()
public
ByteString
getCpeUriBytes
()
The CPE URI ( https://cpe.mitre.org/specification/ ) this benchmark is applicable to.
string cpe_uri = 1;
getDefaultInstanceForType()
public
ComplianceVersion
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getVersion()
public
String
getVersion
()
The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
string version = 2;
getVersionBytes()
public
ByteString
getVersionBytes
()
The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
string version = 2;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
ComplianceVersion
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
ComplianceVersion
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(ComplianceVersion other)
public
ComplianceVersion
.
Builder
mergeFrom
(
ComplianceVersion
other
)
setBenchmarkDocument(String value)
public
ComplianceVersion
.
Builder
setBenchmarkDocument
(
String
value
)
The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".
string benchmark_document = 3;
setBenchmarkDocumentBytes(ByteString value)
public
ComplianceVersion
.
Builder
setBenchmarkDocumentBytes
(
ByteString
value
)
The name of the document that defines this benchmark, e.g. "CIS Container-Optimized OS".
string benchmark_document = 3;
setCpeUri(String value)
public
ComplianceVersion
.
Builder
setCpeUri
(
String
value
)
The CPE URI ( https://cpe.mitre.org/specification/ ) this benchmark is applicable to.
string cpe_uri = 1;
setCpeUriBytes(ByteString value)
public
ComplianceVersion
.
Builder
setCpeUriBytes
(
ByteString
value
)
The CPE URI ( https://cpe.mitre.org/specification/ ) this benchmark is applicable to.
string cpe_uri = 1;
setVersion(String value)
public
ComplianceVersion
.
Builder
setVersion
(
String
value
)
The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
string version = 2;
setVersionBytes(ByteString value)
public
ComplianceVersion
.
Builder
setVersionBytes
(
ByteString
value
)
The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
string version = 2;

