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 TypeMethodDescriptionUnique ID of the violated policy.com.google.protobuf.ByteStringUnique ID of the violated policy.The text that violates the policy if specified.com.google.protobuf.ByteStringThe text that violates the policy if specified.booleanUnique ID of the violated policy.booleanThe text that violates the policy if specified.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-