Interface ViolationInfoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ViolationInfo, ViolationInfo.Builder

public interface ViolationInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getConstraint

      String getConstraint()
       Optional. Constraint name
       
      string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The constraint.
    • getConstraintBytes

      com.google.protobuf.ByteString getConstraintBytes()
       Optional. Constraint name
       
      string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for constraint.
    • getErrorMessage

      String getErrorMessage()
       Optional. Error message that policy is indicating.
       
      string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      com.google.protobuf.ByteString getErrorMessageBytes()
       Optional. Error message that policy is indicating.
       
      string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for errorMessage.
    • getCheckedValue

      String getCheckedValue()
       Optional. Value that is being checked for the policy.
       This could be in encrypted form (if pii sensitive).
       This field will only be emitted in LIST_POLICY types
       
      string checked_value = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The checkedValue.
    • getCheckedValueBytes

      com.google.protobuf.ByteString getCheckedValueBytes()
       Optional. Value that is being checked for the policy.
       This could be in encrypted form (if pii sensitive).
       This field will only be emitted in LIST_POLICY types
       
      string checked_value = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for checkedValue.
    • getPolicyTypeValue

      int getPolicyTypeValue()
       Optional. Indicates the type of the policy.
       
      .google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for policyType.
    • getPolicyType

      ViolationInfo.PolicyType getPolicyType()
       Optional. Indicates the type of the policy.
       
      .google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The policyType.