- 2.51.0 (latest)
- 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.RemediationOrBuilder
Represents 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()
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;
Name | Description |
values | Iterable<String> The compliantValues to add. |
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;
Name | Description |
value | String The compliantValues to add. |
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;
Name | Description |
value | ByteString The bytes of the compliantValues to add. |
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)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Violation.Remediation.Builder |
build()
public Violation.Remediation build()
Type | Description |
Violation.Remediation |
buildPartial()
public Violation.Remediation buildPartial()
Type | Description |
Violation.Remediation |
clear()
public Violation.Remediation.Builder clear()
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;
Type | Description |
Violation.Remediation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Violation.Remediation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
Type | Description |
Violation.Remediation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Violation.Remediation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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];
Type | Description |
Violation.Remediation.Builder | This builder for chaining. |
clone()
public Violation.Remediation.Builder clone()
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
Type | Description |
ProtocolStringList | A list containing the compliantValues. |
getDefaultInstanceForType()
public Violation.Remediation getDefaultInstanceForType()
Type | Description |
Violation.Remediation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
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];
Type | Description |
boolean | Whether the instructions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Violation.Remediation other)
public Violation.Remediation.Builder mergeFrom(Violation.Remediation other)
Name | Description |
other | Violation.Remediation |
Type | Description |
Violation.Remediation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Violation.Remediation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Violation.Remediation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Violation.Remediation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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];
Name | Description |
value | Violation.Remediation.Instructions |
Type | Description |
Violation.Remediation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Violation.Remediation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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;
Name | Description |
index | int The index to set the value at. |
value | String The compliantValues to set. |
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)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | Violation.Remediation.Instructions |
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];
Name | Description |
builderForValue | Violation.Remediation.Instructions.Builder |
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];
Name | Description |
value | Violation.Remediation.RemediationType The remediationType to set. |
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];
Name | Description |
value | int The enum numeric value on the wire for remediationType to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Violation.Remediation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Violation.Remediation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Violation.Remediation.Builder |