Interface PolicyViolationKeyOrBuilder

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

public interface PolicyViolationKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Unique ID of the violated policy.
    com.google.protobuf.ByteString
    Unique ID of the violated policy.
    The text that violates the policy if specified.
    com.google.protobuf.ByteString
    The text that violates the policy if specified.
    boolean
    Unique ID of the violated policy.
    boolean
    The text that violates the policy if specified.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasPolicyName

      boolean hasPolicyName()
       Unique ID of the violated policy.
       
      optional string policy_name = 3;
      Returns:
      Whether the policyName field is set.
    • getPolicyName

      String getPolicyName()
       Unique ID of the violated policy.
       
      optional string policy_name = 3;
      Returns:
      The policyName.
    • getPolicyNameBytes

      com.google.protobuf.ByteString getPolicyNameBytes()
       Unique ID of the violated policy.
       
      optional string policy_name = 3;
      Returns:
      The bytes for policyName.
    • hasViolatingText

      boolean hasViolatingText()
       The text that violates the policy if specified.
       Otherwise, refers to the policy in general
       (for example, when requesting to be exempt from the whole policy).
       If not specified for criterion exemptions, the whole policy is implied.
       Must be specified for ad exemptions.
       
      optional string violating_text = 4;
      Returns:
      Whether the violatingText field is set.
    • getViolatingText

      String getViolatingText()
       The text that violates the policy if specified.
       Otherwise, refers to the policy in general
       (for example, when requesting to be exempt from the whole policy).
       If not specified for criterion exemptions, the whole policy is implied.
       Must be specified for ad exemptions.
       
      optional string violating_text = 4;
      Returns:
      The violatingText.
    • getViolatingTextBytes

      com.google.protobuf.ByteString getViolatingTextBytes()
       The text that violates the policy if specified.
       Otherwise, refers to the policy in general
       (for example, when requesting to be exempt from the whole policy).
       If not specified for criterion exemptions, the whole policy is implied.
       Must be specified for ad exemptions.
       
      optional string violating_text = 4;
      Returns:
      The bytes for violatingText.