public static final class RemediationStep.Builder extends GeneratedMessage.Builder<RemediationStep.Builder> implements RemediationStepOrBuilderRemediation steps that can be taken to rectify the finding.
Protobuf type google.cloud.designcenter.v1.RemediationStep
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RemediationStep.BuilderImplements
RemediationStepOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllRemediationSteps(Iterable<String> values)
public RemediationStep.Builder addAllRemediationSteps(Iterable<String> values)Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The remediationSteps to add. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
addRemediationSteps(String value)
public RemediationStep.Builder addRemediationSteps(String value)Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe remediationSteps to add. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
addRemediationStepsBytes(ByteString value)
public RemediationStep.Builder addRemediationStepsBytes(ByteString value)Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the remediationSteps to add. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
build()
public RemediationStep build()| Returns | |
|---|---|
| Type | Description |
RemediationStep |
|
buildPartial()
public RemediationStep buildPartial()| Returns | |
|---|---|
| Type | Description |
RemediationStep |
|
clear()
public RemediationStep.Builder clear()| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
|
clearNote()
public RemediationStep.Builder clearNote()Optional. Any other note related to the remediation.
string note = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
clearRemediationDocumentationUrl()
public RemediationStep.Builder clearRemediationDocumentationUrl()Optional. Remediation documentation URL.
string remediation_documentation_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
clearRemediationSteps()
public RemediationStep.Builder clearRemediationSteps()Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RemediationStep getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RemediationStep |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNote()
public String getNote()Optional. Any other note related to the remediation.
string note = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The note. |
getNoteBytes()
public ByteString getNoteBytes()Optional. Any other note related to the remediation.
string note = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for note. |
getRemediationDocumentationUrl()
public String getRemediationDocumentationUrl()Optional. Remediation documentation URL.
string remediation_documentation_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The remediationDocumentationUrl. |
getRemediationDocumentationUrlBytes()
public ByteString getRemediationDocumentationUrlBytes()Optional. Remediation documentation URL.
string remediation_documentation_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for remediationDocumentationUrl. |
getRemediationSteps(int index)
public String getRemediationSteps(int index)Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The remediationSteps at the given index. |
getRemediationStepsBytes(int index)
public ByteString getRemediationStepsBytes(int index)Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the remediationSteps at the given index. |
getRemediationStepsCount()
public int getRemediationStepsCount()Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of remediationSteps. |
getRemediationStepsList()
public ProtocolStringList getRemediationStepsList()Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the remediationSteps. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RemediationStep other)
public RemediationStep.Builder mergeFrom(RemediationStep other)| Parameter | |
|---|---|
| Name | Description |
other |
RemediationStep |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemediationStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RemediationStep.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
|
setNote(String value)
public RemediationStep.Builder setNote(String value)Optional. Any other note related to the remediation.
string note = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe note to set. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
setNoteBytes(ByteString value)
public RemediationStep.Builder setNoteBytes(ByteString value)Optional. Any other note related to the remediation.
string note = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for note to set. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
setRemediationDocumentationUrl(String value)
public RemediationStep.Builder setRemediationDocumentationUrl(String value)Optional. Remediation documentation URL.
string remediation_documentation_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe remediationDocumentationUrl to set. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
setRemediationDocumentationUrlBytes(ByteString value)
public RemediationStep.Builder setRemediationDocumentationUrlBytes(ByteString value)Optional. Remediation documentation URL.
string remediation_documentation_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for remediationDocumentationUrl to set. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |
setRemediationSteps(int index, String value)
public RemediationStep.Builder setRemediationSteps(int index, String value)Required. A description of the steps that users can take to remediate the findings.
repeated string remediation_steps = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe remediationSteps to set. |
| Returns | |
|---|---|
| Type | Description |
RemediationStep.Builder |
This builder for chaining. |