Class ComplianceNote.CisBenchmark.Builder (2.52.0)

public static final class ComplianceNote.CisBenchmark.Builder extends GeneratedMessageV3.Builder<ComplianceNote.CisBenchmark.Builder> implements ComplianceNote.CisBenchmarkOrBuilder

A compliance check that is a CIS benchmark.

Protobuf type grafeas.v1.ComplianceNote.CisBenchmark

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ComplianceNote.CisBenchmark.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

build()

public ComplianceNote.CisBenchmark build()
Returns
Type Description
ComplianceNote.CisBenchmark

buildPartial()

public ComplianceNote.CisBenchmark buildPartial()
Returns
Type Description
ComplianceNote.CisBenchmark

clear()

public ComplianceNote.CisBenchmark.Builder clear()
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ComplianceNote.CisBenchmark.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ComplianceNote.CisBenchmark.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

clearProfileLevel()

public ComplianceNote.CisBenchmark.Builder clearProfileLevel()

int32 profile_level = 1;

Returns
Type Description
ComplianceNote.CisBenchmark.Builder

This builder for chaining.

clearSeverity()

public ComplianceNote.CisBenchmark.Builder clearSeverity()

.grafeas.v1.Severity severity = 2;

Returns
Type Description
ComplianceNote.CisBenchmark.Builder

This builder for chaining.

clone()

public ComplianceNote.CisBenchmark.Builder clone()
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

getDefaultInstanceForType()

public ComplianceNote.CisBenchmark getDefaultInstanceForType()
Returns
Type Description
ComplianceNote.CisBenchmark

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProfileLevel()

public int getProfileLevel()

int32 profile_level = 1;

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ComplianceNote.CisBenchmark.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ComplianceNote.CisBenchmark.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

mergeFrom(ComplianceNote.CisBenchmark other)

public ComplianceNote.CisBenchmark.Builder mergeFrom(ComplianceNote.CisBenchmark other)
Parameter
Name Description
other ComplianceNote.CisBenchmark
Returns
Type Description
ComplianceNote.CisBenchmark.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ComplianceNote.CisBenchmark.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ComplianceNote.CisBenchmark.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

setProfileLevel(int value)

public ComplianceNote.CisBenchmark.Builder setProfileLevel(int value)

int32 profile_level = 1;

Parameter
Name Description
value int

The profileLevel to set.

Returns
Type Description
ComplianceNote.CisBenchmark.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ComplianceNote.CisBenchmark.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides

setSeverity(Severity value)

public ComplianceNote.CisBenchmark.Builder setSeverity(Severity value)

.grafeas.v1.Severity severity = 2;

Parameter
Name Description
value Severity

The severity to set.

Returns
Type Description
ComplianceNote.CisBenchmark.Builder

This builder for chaining.

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.

Returns
Type Description
ComplianceNote.CisBenchmark.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ComplianceNote.CisBenchmark.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ComplianceNote.CisBenchmark.Builder
Overrides