- 2.76.0 (latest)
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.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.39.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.27.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.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.1.0
- 2.0.0
- 1.1.0
- 1.0.4
- 0.9.0
- 0.8.2
public static final class Violation.Remediation.Builder extends GeneratedMessageV3.Builder<Violation.Remediation.Builder> implements Violation.RemediationOrBuilderRepresents remediation guidance to resolve compliance violation for AssuredWorkload
Protobuf type google.cloud.assuredworkloads.v1.Violation.Remediation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Violation.Remediation.BuilderImplements
Violation.RemediationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCompliantValues(Iterable<String> values)
public Violation.Remediation.Builder addAllCompliantValues(Iterable<String> values)Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The compliantValues to add. |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
addCompliantValues(String value)
public Violation.Remediation.Builder addCompliantValues(String value)Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe compliantValues to add. |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
addCompliantValuesBytes(ByteString value)
public Violation.Remediation.Builder addCompliantValuesBytes(ByteString value)Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the compliantValues to add. |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Violation.Remediation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
build()
public Violation.Remediation build()| Returns | |
|---|---|
| Type | Description |
Violation.Remediation |
|
buildPartial()
public Violation.Remediation buildPartial()| Returns | |
|---|---|
| Type | Description |
Violation.Remediation |
|
clear()
public Violation.Remediation.Builder clear()| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
clearCompliantValues()
public Violation.Remediation.Builder clearCompliantValues()Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Violation.Remediation.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
clearInstructions()
public Violation.Remediation.Builder clearInstructions()Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public Violation.Remediation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
clearRemediationType()
public Violation.Remediation.Builder clearRemediationType()Output only. Reemediation type based on the type of org policy values violated
.google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
clone()
public Violation.Remediation.Builder clone()| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
getCompliantValues(int index)
public String getCompliantValues(int index)Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The compliantValues at the given index. |
getCompliantValuesBytes(int index)
public ByteString getCompliantValuesBytes(int index)Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the compliantValues at the given index. |
getCompliantValuesCount()
public int getCompliantValuesCount()Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of compliantValues. |
getCompliantValuesList()
public ProtocolStringList getCompliantValuesList()Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the compliantValues. |
getDefaultInstanceForType()
public Violation.Remediation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Violation.Remediation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstructions()
public Violation.Remediation.Instructions getInstructions()Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Instructions |
The instructions. |
getInstructionsBuilder()
public Violation.Remediation.Instructions.Builder getInstructionsBuilder()Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Instructions.Builder |
|
getInstructionsOrBuilder()
public Violation.Remediation.InstructionsOrBuilder getInstructionsOrBuilder()Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.InstructionsOrBuilder |
|
getRemediationType()
public Violation.Remediation.RemediationType getRemediationType()Output only. Reemediation type based on the type of org policy values violated
.google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.RemediationType |
The remediationType. |
getRemediationTypeValue()
public int getRemediationTypeValue()Output only. Reemediation type based on the type of org policy values violated
.google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for remediationType. |
hasInstructions()
public boolean hasInstructions()Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instructions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Violation.Remediation other)
public Violation.Remediation.Builder mergeFrom(Violation.Remediation other)| Parameter | |
|---|---|
| Name | Description |
other |
Violation.Remediation |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Violation.Remediation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Violation.Remediation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
mergeInstructions(Violation.Remediation.Instructions value)
public Violation.Remediation.Builder mergeInstructions(Violation.Remediation.Instructions value)Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Violation.Remediation.Instructions |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Violation.Remediation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
setCompliantValues(int index, String value)
public Violation.Remediation.Builder setCompliantValues(int index, String value)Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied values
repeated string compliant_values = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe compliantValues to set. |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Violation.Remediation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
setInstructions(Violation.Remediation.Instructions value)
public Violation.Remediation.Builder setInstructions(Violation.Remediation.Instructions value)Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Violation.Remediation.Instructions |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
setInstructions(Violation.Remediation.Instructions.Builder builderForValue)
public Violation.Remediation.Builder setInstructions(Violation.Remediation.Instructions.Builder builderForValue)Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Violation.Remediation.Instructions.Builder |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
setRemediationType(Violation.Remediation.RemediationType value)
public Violation.Remediation.Builder setRemediationType(Violation.Remediation.RemediationType value)Output only. Reemediation type based on the type of org policy values violated
.google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Violation.Remediation.RemediationTypeThe remediationType to set. |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
setRemediationTypeValue(int value)
public Violation.Remediation.Builder setRemediationTypeValue(int value)Output only. Reemediation type based on the type of org policy values violated
.google.cloud.assuredworkloads.v1.Violation.Remediation.RemediationType remediation_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for remediationType to set. |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Violation.Remediation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Violation.Remediation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Violation.Remediation.Builder |
|