Class ComplianceNote.CisBenchmark.Builder (2.96.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class ComplianceNote.CisBenchmark.Builder extends GeneratedMessage.Builder<ComplianceNote.CisBenchmark.Builder> implements ComplianceNote.CisBenchmarkOrBuilder
A compliance check that is a CIS benchmark.
Protobuf type grafeas.v1.ComplianceNote.CisBenchmark
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ComplianceNote.CisBenchmark build()
buildPartial()
public ComplianceNote.CisBenchmark buildPartial()
clear()
public ComplianceNote.CisBenchmark.Builder clear()
Overrides
clearProfileLevel()
public ComplianceNote.CisBenchmark.Builder clearProfileLevel()
clearSeverity()
public ComplianceNote.CisBenchmark.Builder clearSeverity()
.grafeas.v1.Severity severity = 2;
getDefaultInstanceForType()
public ComplianceNote.CisBenchmark getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getProfileLevel()
public int getProfileLevel()
| Returns |
| Type |
Description |
int |
The profileLevel.
|
getSeverity()
public Severity getSeverity()
.grafeas.v1.Severity severity = 2;
| Returns |
| Type |
Description |
Severity |
The severity.
|
getSeverityValue()
public int getSeverityValue()
.grafeas.v1.Severity severity = 2;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for severity.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ComplianceNote.CisBenchmark.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ComplianceNote.CisBenchmark.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeFrom(ComplianceNote.CisBenchmark other)
public ComplianceNote.CisBenchmark.Builder mergeFrom(ComplianceNote.CisBenchmark other)
setProfileLevel(int value)
public ComplianceNote.CisBenchmark.Builder setProfileLevel(int value)
| Parameter |
| Name |
Description |
value |
int
The profileLevel to set.
|
setSeverity(Severity value)
public ComplianceNote.CisBenchmark.Builder setSeverity(Severity value)
.grafeas.v1.Severity severity = 2;
| Parameter |
| Name |
Description |
value |
Severity
The severity to set.
|
setSeverityValue(int value)
public ComplianceNote.CisBenchmark.Builder setSeverityValue(int value)
.grafeas.v1.Severity severity = 2;
| Parameter |
| Name |
Description |
value |
int
The enum numeric value on the wire for severity to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]