Interface Violation.RemediationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Violation.Remediation
,Violation.Remediation.Builder
- Enclosing class:
- Violation
public static interface Violation.RemediationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 valuescom.google.protobuf.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 valuesint
getCompliantValuesCount()
Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied valuesList<String>
getCompliantValuesList()
Values that can resolve the violation For example: for list org policy violations, this will either be the list of allowed or denied valuesViolation.Remediation.Instructions
getInstructions()
Required.Violation.Remediation.InstructionsOrBuilder
getInstructionsOrBuilder()
Required.Violation.Remediation.RemediationType
getRemediationType()
Output only.int
getRemediationTypeValue()
Output only.boolean
hasInstructions()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInstructions
boolean hasInstructions()
Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the instructions field is set.
-
getInstructions
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:
- The instructions.
-
getInstructionsOrBuilder
Violation.Remediation.InstructionsOrBuilder getInstructionsOrBuilder()
Required. Remediation instructions to resolve violations
.google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
-
getCompliantValuesList
List<String> 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:
- A list containing the compliantValues.
-
getCompliantValuesCount
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:
- The count of compliantValues.
-
getCompliantValues
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The compliantValues at the given index.
-
getCompliantValuesBytes
com.google.protobuf.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the compliantValues at the given index.
-
getRemediationTypeValue
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:
- The enum numeric value on the wire for remediationType.
-
getRemediationType
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:
- The remediationType.
-
-