Class PolicyTopicEntry
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.PolicyTopicEntry
- All Implemented Interfaces:
PolicyTopicEntryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PolicyTopicEntry
extends com.google.protobuf.GeneratedMessageV3
implements PolicyTopicEntryOrBuilder
Policy finding attached to a resource (for example, alcohol policy associated with a site that sells alcohol). Each PolicyTopicEntry has a topic that indicates the specific ads policy the entry is about and a type to indicate the effect that the entry will have on serving. It may optionally have one or more evidences that indicate the reason for the finding. It may also optionally have one or more constraints that provide details about how serving may be restricted.Protobuf type
google.ads.googleads.v18.common.PolicyTopicEntry- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPolicy finding attached to a resource (for example, alcohol policy associated with a site that sells alcohol).Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetConstraints(int index) Indicates how serving of this resource may be affected (for example, not serving in a country).intIndicates how serving of this resource may be affected (for example, not serving in a country).Indicates how serving of this resource may be affected (for example, not serving in a country).getConstraintsOrBuilder(int index) Indicates how serving of this resource may be affected (for example, not serving in a country).List<? extends PolicyTopicConstraintOrBuilder>Indicates how serving of this resource may be affected (for example, not serving in a country).static PolicyTopicEntrystatic final com.google.protobuf.Descriptors.DescriptorgetEvidences(int index) Additional information that explains policy finding (for example, the brand name for a trademark finding).intAdditional information that explains policy finding (for example, the brand name for a trademark finding).Additional information that explains policy finding (for example, the brand name for a trademark finding).getEvidencesOrBuilder(int index) Additional information that explains policy finding (for example, the brand name for a trademark finding).List<? extends PolicyTopicEvidenceOrBuilder>Additional information that explains policy finding (for example, the brand name for a trademark finding).com.google.protobuf.Parser<PolicyTopicEntry>intgetTopic()Policy topic this finding refers to.com.google.protobuf.ByteStringPolicy topic this finding refers to.getType()Describes the negative or positive effect this policy will have on serving.intDescribes the negative or positive effect this policy will have on serving.inthashCode()booleanhasTopic()Policy topic this finding refers to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic PolicyTopicEntry.Builderstatic PolicyTopicEntry.BuildernewBuilder(PolicyTopicEntry prototype) protected PolicyTopicEntry.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PolicyTopicEntryparseDelimitedFrom(InputStream input) static PolicyTopicEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicEntryparseFrom(byte[] data) static PolicyTopicEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicEntryparseFrom(com.google.protobuf.ByteString data) static PolicyTopicEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicEntryparseFrom(com.google.protobuf.CodedInputStream input) static PolicyTopicEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicEntryparseFrom(InputStream input) static PolicyTopicEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicEntryparseFrom(ByteBuffer data) static PolicyTopicEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PolicyTopicEntry>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
EVIDENCES_FIELD_NUMBER
public static final int EVIDENCES_FIELD_NUMBER- See Also:
-
CONSTRAINTS_FIELD_NUMBER
public static final int CONSTRAINTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasTopic
public boolean hasTopic()Policy topic this finding refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API version and may change at any time.
optional string topic = 5;- Specified by:
hasTopicin interfacePolicyTopicEntryOrBuilder- Returns:
- Whether the topic field is set.
-
getTopic
Policy topic this finding refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API version and may change at any time.
optional string topic = 5;- Specified by:
getTopicin interfacePolicyTopicEntryOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()Policy topic this finding refers to. For example, "ALCOHOL", "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible policy topics is not fixed for a particular API version and may change at any time.
optional string topic = 5;- Specified by:
getTopicBytesin interfacePolicyTopicEntryOrBuilder- Returns:
- The bytes for topic.
-
getTypeValue
public int getTypeValue()Describes the negative or positive effect this policy will have on serving.
.google.ads.googleads.v18.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2;- Specified by:
getTypeValuein interfacePolicyTopicEntryOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
Describes the negative or positive effect this policy will have on serving.
.google.ads.googleads.v18.enums.PolicyTopicEntryTypeEnum.PolicyTopicEntryType type = 2;- Specified by:
getTypein interfacePolicyTopicEntryOrBuilder- Returns:
- The type.
-
getEvidencesList
Additional information that explains policy finding (for example, the brand name for a trademark finding).
repeated .google.ads.googleads.v18.common.PolicyTopicEvidence evidences = 3;- Specified by:
getEvidencesListin interfacePolicyTopicEntryOrBuilder
-
getEvidencesOrBuilderList
Additional information that explains policy finding (for example, the brand name for a trademark finding).
repeated .google.ads.googleads.v18.common.PolicyTopicEvidence evidences = 3;- Specified by:
getEvidencesOrBuilderListin interfacePolicyTopicEntryOrBuilder
-
getEvidencesCount
public int getEvidencesCount()Additional information that explains policy finding (for example, the brand name for a trademark finding).
repeated .google.ads.googleads.v18.common.PolicyTopicEvidence evidences = 3;- Specified by:
getEvidencesCountin interfacePolicyTopicEntryOrBuilder
-
getEvidences
Additional information that explains policy finding (for example, the brand name for a trademark finding).
repeated .google.ads.googleads.v18.common.PolicyTopicEvidence evidences = 3;- Specified by:
getEvidencesin interfacePolicyTopicEntryOrBuilder
-
getEvidencesOrBuilder
Additional information that explains policy finding (for example, the brand name for a trademark finding).
repeated .google.ads.googleads.v18.common.PolicyTopicEvidence evidences = 3;- Specified by:
getEvidencesOrBuilderin interfacePolicyTopicEntryOrBuilder
-
getConstraintsList
Indicates how serving of this resource may be affected (for example, not serving in a country).
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint constraints = 4;- Specified by:
getConstraintsListin interfacePolicyTopicEntryOrBuilder
-
getConstraintsOrBuilderList
Indicates how serving of this resource may be affected (for example, not serving in a country).
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint constraints = 4;- Specified by:
getConstraintsOrBuilderListin interfacePolicyTopicEntryOrBuilder
-
getConstraintsCount
public int getConstraintsCount()Indicates how serving of this resource may be affected (for example, not serving in a country).
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint constraints = 4;- Specified by:
getConstraintsCountin interfacePolicyTopicEntryOrBuilder
-
getConstraints
Indicates how serving of this resource may be affected (for example, not serving in a country).
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint constraints = 4;- Specified by:
getConstraintsin interfacePolicyTopicEntryOrBuilder
-
getConstraintsOrBuilder
Indicates how serving of this resource may be affected (for example, not serving in a country).
repeated .google.ads.googleads.v18.common.PolicyTopicConstraint constraints = 4;- Specified by:
getConstraintsOrBuilderin interfacePolicyTopicEntryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PolicyTopicEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PolicyTopicEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PolicyTopicEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PolicyTopicEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PolicyTopicEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PolicyTopicEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-