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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getPolicyName()
      Unique ID of the violated policy.
      com.google.protobuf.ByteString getPolicyNameBytes()
      Unique ID of the violated policy.
      java.lang.String getViolatingText()
      The text that violates the policy if specified.
      com.google.protobuf.ByteString getViolatingTextBytes()
      The text that violates the policy if specified.
      boolean hasPolicyName()
      Unique ID of the violated policy.
      boolean hasViolatingText()
      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 Detail

      • hasPolicyName

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

        java.lang.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
         (e.g., 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

        java.lang.String getViolatingText()
         The text that violates the policy if specified.
         Otherwise, refers to the policy in general
         (e.g., 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
         (e.g., 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.