- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class ComplianceNote.Builder extends GeneratedMessageV3.Builder<ComplianceNote.Builder> implements ComplianceNoteOrBuilder
Protobuf type grafeas.v1.ComplianceNote
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComplianceNote.BuilderImplements
ComplianceNoteOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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;
Name | Description |
values | Iterable<? extends io.grafeas.v1.ComplianceVersion> |
Type | Description |
ComplianceNote.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComplianceNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComplianceNote.Builder |
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;
Name | Description |
index | int |
value | ComplianceVersion |
Type | Description |
ComplianceNote.Builder |
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;
Name | Description |
index | int |
builderForValue | ComplianceVersion.Builder |
Type | Description |
ComplianceNote.Builder |
addVersion(ComplianceVersion value)
public ComplianceNote.Builder addVersion(ComplianceVersion value)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Name | Description |
value | ComplianceVersion |
Type | Description |
ComplianceNote.Builder |
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;
Name | Description |
builderForValue | ComplianceVersion.Builder |
Type | Description |
ComplianceNote.Builder |
addVersionBuilder()
public ComplianceVersion.Builder addVersionBuilder()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Type | Description |
ComplianceVersion.Builder |
addVersionBuilder(int index)
public ComplianceVersion.Builder addVersionBuilder(int index)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Name | Description |
index | int |
Type | Description |
ComplianceVersion.Builder |
build()
public ComplianceNote build()
Type | Description |
ComplianceNote |
buildPartial()
public ComplianceNote buildPartial()
Type | Description |
ComplianceNote |
clear()
public ComplianceNote.Builder clear()
Type | Description |
ComplianceNote.Builder |
clearCisBenchmark()
public ComplianceNote.Builder clearCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Type | Description |
ComplianceNote.Builder |
clearComplianceType()
public ComplianceNote.Builder clearComplianceType()
Type | Description |
ComplianceNote.Builder |
clearDescription()
public ComplianceNote.Builder clearDescription()
A description about this compliance check.
string description = 2;
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ComplianceNote.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ComplianceNote.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComplianceNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ComplianceNote.Builder |
clearRationale()
public ComplianceNote.Builder clearRationale()
A rationale for the existence of this compliance check.
string rationale = 4;
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearRemediation()
public ComplianceNote.Builder clearRemediation()
A description of remediation steps if the compliance check fails.
string remediation = 5;
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearScanInstructions()
public ComplianceNote.Builder clearScanInstructions()
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearTitle()
public ComplianceNote.Builder clearTitle()
The title that identifies this compliance check.
string title = 1;
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearVersion()
public ComplianceNote.Builder clearVersion()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Type | Description |
ComplianceNote.Builder |
clone()
public ComplianceNote.Builder clone()
Type | Description |
ComplianceNote.Builder |
getCisBenchmark()
public ComplianceNote.CisBenchmark getCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Type | Description |
ComplianceNote.CisBenchmark | The cisBenchmark. |
getCisBenchmarkBuilder()
public ComplianceNote.CisBenchmark.Builder getCisBenchmarkBuilder()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Type | Description |
ComplianceNote.CisBenchmark.Builder |
getCisBenchmarkOrBuilder()
public ComplianceNote.CisBenchmarkOrBuilder getCisBenchmarkOrBuilder()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Type | Description |
ComplianceNote.CisBenchmarkOrBuilder |
getComplianceTypeCase()
public ComplianceNote.ComplianceTypeCase getComplianceTypeCase()
Type | Description |
ComplianceNote.ComplianceTypeCase |
getDefaultInstanceForType()
public ComplianceNote getDefaultInstanceForType()
Type | Description |
ComplianceNote |
getDescription()
public String getDescription()
A description about this compliance check.
string description = 2;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A description about this compliance check.
string description = 2;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getRationale()
public String getRationale()
A rationale for the existence of this compliance check.
string rationale = 4;
Type | Description |
String | The rationale. |
getRationaleBytes()
public ByteString getRationaleBytes()
A rationale for the existence of this compliance check.
string rationale = 4;
Type | Description |
ByteString | The bytes for rationale. |
getRemediation()
public String getRemediation()
A description of remediation steps if the compliance check fails.
string remediation = 5;
Type | Description |
String | The remediation. |
getRemediationBytes()
public ByteString getRemediationBytes()
A description of remediation steps if the compliance check fails.
string remediation = 5;
Type | Description |
ByteString | The bytes for remediation. |
getScanInstructions()
public ByteString getScanInstructions()
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
Type | Description |
ByteString | The scanInstructions. |
getTitle()
public String getTitle()
The title that identifies this compliance check.
string title = 1;
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
The title that identifies this compliance check.
string title = 1;
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;
Name | Description |
index | int |
Type | Description |
ComplianceVersion |
getVersionBuilder(int index)
public ComplianceVersion.Builder getVersionBuilder(int index)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Name | Description |
index | int |
Type | Description |
ComplianceVersion.Builder |
getVersionBuilderList()
public List<ComplianceVersion.Builder> getVersionBuilderList()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Type | Description |
List<Builder> |
getVersionCount()
public int getVersionCount()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Type | Description |
int |
getVersionList()
public List<ComplianceVersion> getVersionList()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Type | Description |
List<ComplianceVersion> |
getVersionOrBuilder(int index)
public ComplianceVersionOrBuilder getVersionOrBuilder(int index)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Name | Description |
index | int |
Type | Description |
ComplianceVersionOrBuilder |
getVersionOrBuilderList()
public List<? extends ComplianceVersionOrBuilder> getVersionOrBuilderList()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Type | Description |
List<? extends io.grafeas.v1.ComplianceVersionOrBuilder> |
hasCisBenchmark()
public boolean hasCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Type | Description |
boolean | Whether the cisBenchmark field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCisBenchmark(ComplianceNote.CisBenchmark value)
public ComplianceNote.Builder mergeCisBenchmark(ComplianceNote.CisBenchmark value)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Name | Description |
value | ComplianceNote.CisBenchmark |
Type | Description |
ComplianceNote.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComplianceNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ComplianceNote.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ComplianceNote.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ComplianceNote.Builder |
mergeFrom(ComplianceNote other)
public ComplianceNote.Builder mergeFrom(ComplianceNote other)
Name | Description |
other | ComplianceNote |
Type | Description |
ComplianceNote.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComplianceNote.Builder |
removeVersion(int index)
public ComplianceNote.Builder removeVersion(int index)
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Name | Description |
index | int |
Type | Description |
ComplianceNote.Builder |
setCisBenchmark(ComplianceNote.CisBenchmark value)
public ComplianceNote.Builder setCisBenchmark(ComplianceNote.CisBenchmark value)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Name | Description |
value | ComplianceNote.CisBenchmark |
Type | Description |
ComplianceNote.Builder |
setCisBenchmark(ComplianceNote.CisBenchmark.Builder builderForValue)
public ComplianceNote.Builder setCisBenchmark(ComplianceNote.CisBenchmark.Builder builderForValue)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Name | Description |
builderForValue | ComplianceNote.CisBenchmark.Builder |
Type | Description |
ComplianceNote.Builder |
setDescription(String value)
public ComplianceNote.Builder setDescription(String value)
A description about this compliance check.
string description = 2;
Name | Description |
value | String The description to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public ComplianceNote.Builder setDescriptionBytes(ByteString value)
A description about this compliance check.
string description = 2;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ComplianceNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ComplianceNote.Builder |
setRationale(String value)
public ComplianceNote.Builder setRationale(String value)
A rationale for the existence of this compliance check.
string rationale = 4;
Name | Description |
value | String The rationale to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setRationaleBytes(ByteString value)
public ComplianceNote.Builder setRationaleBytes(ByteString value)
A rationale for the existence of this compliance check.
string rationale = 4;
Name | Description |
value | ByteString The bytes for rationale to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setRemediation(String value)
public ComplianceNote.Builder setRemediation(String value)
A description of remediation steps if the compliance check fails.
string remediation = 5;
Name | Description |
value | String The remediation to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setRemediationBytes(ByteString value)
public ComplianceNote.Builder setRemediationBytes(ByteString value)
A description of remediation steps if the compliance check fails.
string remediation = 5;
Name | Description |
value | ByteString The bytes for remediation to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComplianceNote.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ComplianceNote.Builder |
setScanInstructions(ByteString value)
public ComplianceNote.Builder setScanInstructions(ByteString value)
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
Name | Description |
value | ByteString The scanInstructions to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setTitle(String value)
public ComplianceNote.Builder setTitle(String value)
The title that identifies this compliance check.
string title = 1;
Name | Description |
value | String The title to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public ComplianceNote.Builder setTitleBytes(ByteString value)
The title that identifies this compliance check.
string title = 1;
Name | Description |
value | ByteString The bytes for title to set. |
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ComplianceNote.Builder |
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;
Name | Description |
index | int |
value | ComplianceVersion |
Type | Description |
ComplianceNote.Builder |
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;
Name | Description |
index | int |
builderForValue | ComplianceVersion.Builder |
Type | Description |
ComplianceNote.Builder |