- 2.55.0 (latest)
- 2.54.0
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.ComplianceVersion> |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComplianceNote.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ComplianceVersion |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ComplianceVersion.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ComplianceVersion |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ComplianceVersion.Builder |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
addVersionBuilder()
public ComplianceVersion.Builder addVersionBuilder()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ComplianceVersion.Builder |
build()
public ComplianceNote build()
Returns | |
---|---|
Type | Description |
ComplianceNote |
buildPartial()
public ComplianceNote buildPartial()
Returns | |
---|---|
Type | Description |
ComplianceNote |
clear()
public ComplianceNote.Builder clear()
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
clearCisBenchmark()
public ComplianceNote.Builder clearCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
clearComplianceType()
public ComplianceNote.Builder clearComplianceType()
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
clearDescription()
public ComplianceNote.Builder clearDescription()
A description about this compliance check.
string description = 2;
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ComplianceNote.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComplianceNote.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
clearRationale()
public ComplianceNote.Builder clearRationale()
A rationale for the existence of this compliance check.
string rationale = 4;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearScanInstructions()
public ComplianceNote.Builder clearScanInstructions()
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
clearTitle()
public ComplianceNote.Builder clearTitle()
The title that identifies this compliance check.
string title = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
clone()
public ComplianceNote.Builder clone()
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
getCisBenchmark()
public ComplianceNote.CisBenchmark getCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Returns | |
---|---|
Type | Description |
ComplianceNote.CisBenchmark | The cisBenchmark. |
getCisBenchmarkBuilder()
public ComplianceNote.CisBenchmark.Builder getCisBenchmarkBuilder()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Returns | |
---|---|
Type | Description |
ComplianceNote.CisBenchmark.Builder |
getCisBenchmarkOrBuilder()
public ComplianceNote.CisBenchmarkOrBuilder getCisBenchmarkOrBuilder()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Returns | |
---|---|
Type | Description |
ComplianceNote.CisBenchmarkOrBuilder |
getComplianceTypeCase()
public ComplianceNote.ComplianceTypeCase getComplianceTypeCase()
Returns | |
---|---|
Type | Description |
ComplianceNote.ComplianceTypeCase |
getDefaultInstanceForType()
public ComplianceNote getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComplianceNote |
getDescription()
public String getDescription()
A description about this compliance check.
string description = 2;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
A description about this compliance check.
string description = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getRationale()
public String getRationale()
A rationale for the existence of this compliance check.
string rationale = 4;
Returns | |
---|---|
Type | Description |
String | The rationale. |
getRationaleBytes()
public ByteString getRationaleBytes()
A rationale for the existence of this compliance check.
string rationale = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for rationale. |
getRemediation()
public String getRemediation()
A description of remediation steps if the compliance check fails.
string remediation = 5;
Returns | |
---|---|
Type | Description |
String | The remediation. |
getRemediationBytes()
public ByteString getRemediationBytes()
A description of remediation steps if the compliance check fails.
string remediation = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for remediation. |
getScanInstructions()
public ByteString getScanInstructions()
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
Returns | |
---|---|
Type | Description |
ByteString | The scanInstructions. |
getTitle()
public String getTitle()
The title that identifies this compliance check.
string title = 1;
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
The title that identifies this compliance check.
string title = 1;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
List<Builder> |
getVersionCount()
public int getVersionCount()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Returns | |
---|---|
Type | Description |
int |
getVersionList()
public List<ComplianceVersion> getVersionList()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ComplianceVersionOrBuilder |
getVersionOrBuilderList()
public List<? extends ComplianceVersionOrBuilder> getVersionOrBuilderList()
The OS and config versions the benchmark applies to.
repeated .grafeas.v1.ComplianceVersion version = 3;
Returns | |
---|---|
Type | Description |
List<? extends io.grafeas.v1.ComplianceVersionOrBuilder> |
hasCisBenchmark()
public boolean hasCisBenchmark()
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Returns | |
---|---|
Type | Description |
boolean | Whether the cisBenchmark field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCisBenchmark(ComplianceNote.CisBenchmark value)
public ComplianceNote.Builder mergeCisBenchmark(ComplianceNote.CisBenchmark value)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Parameter | |
---|---|
Name | Description |
value | ComplianceNote.CisBenchmark |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComplianceNote.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ComplianceNote.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
mergeFrom(ComplianceNote other)
public ComplianceNote.Builder mergeFrom(ComplianceNote other)
Parameter | |
---|---|
Name | Description |
other | ComplianceNote |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceNote.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
setCisBenchmark(ComplianceNote.CisBenchmark value)
public ComplianceNote.Builder setCisBenchmark(ComplianceNote.CisBenchmark value)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Parameter | |
---|---|
Name | Description |
value | ComplianceNote.CisBenchmark |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
setCisBenchmark(ComplianceNote.CisBenchmark.Builder builderForValue)
public ComplianceNote.Builder setCisBenchmark(ComplianceNote.CisBenchmark.Builder builderForValue)
.grafeas.v1.ComplianceNote.CisBenchmark cis_benchmark = 6;
Parameter | |
---|---|
Name | Description |
builderForValue | ComplianceNote.CisBenchmark.Builder |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
setDescription(String value)
public ComplianceNote.Builder setDescription(String value)
A description about this compliance check.
string description = 2;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ComplianceNote.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The rationale to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for rationale to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The remediation to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for remediation to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |
setScanInstructions(ByteString value)
public ComplianceNote.Builder setScanInstructions(ByteString value)
Serialized scan instructions with a predefined format.
bytes scan_instructions = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The scanInstructions to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComplianceNote.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | ComplianceVersion |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | ComplianceVersion.Builder |
Returns | |
---|---|
Type | Description |
ComplianceNote.Builder |