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 Details

    • 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

       Required. Remediation instructions to resolve violations
       
      .google.cloud.assuredworkloads.v1.Violation.Remediation.Instructions instructions = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The instructions.
    • 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

       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.