Class PolicyTopicConstraint
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.common.PolicyTopicConstraint
- All Implemented Interfaces:
PolicyTopicConstraintOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class PolicyTopicConstraint
extends com.google.protobuf.GeneratedMessageV3
implements PolicyTopicConstraintOrBuilder
Describes the effect on serving that a policy topic entry will have.Protobuf type
google.ads.googleads.v18.common.PolicyTopicConstraint- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes the effect on serving that a policy topic entry will have.static final classIndicates that a resource's ability to serve in a particular country is constrained.static final classA list of countries where a resource's serving is constrained.static interfacestatic interfacestatic final classIndicates that a policy topic was constrained due to disapproval of the website for reseller purposes.static interfacestatic enumNested 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 TypeMethodDescriptionbooleanCountries where the resource's domain is not covered by the certificates associated with it.Countries where the resource's domain is not covered by the certificates associated with it.Countries where a certificate is required for serving.Countries where a certificate is required for serving.Countries where the resource cannot serve.Countries where the resource cannot serve.static PolicyTopicConstraintstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<PolicyTopicConstraint>Reseller constraint.Reseller constraint.intbooleanCountries where the resource's domain is not covered by the certificates associated with it.booleanCountries where a certificate is required for serving.booleanCountries where the resource cannot serve.inthashCode()booleanReseller constraint.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(PolicyTopicConstraint prototype) protected PolicyTopicConstraint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static PolicyTopicConstraintparseDelimitedFrom(InputStream input) static PolicyTopicConstraintparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicConstraintparseFrom(byte[] data) static PolicyTopicConstraintparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicConstraintparseFrom(com.google.protobuf.ByteString data) static PolicyTopicConstraintparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicConstraintparseFrom(com.google.protobuf.CodedInputStream input) static PolicyTopicConstraintparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicConstraintparseFrom(InputStream input) static PolicyTopicConstraintparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PolicyTopicConstraintparseFrom(ByteBuffer data) static PolicyTopicConstraintparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PolicyTopicConstraint>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
-
COUNTRY_CONSTRAINT_LIST_FIELD_NUMBER
public static final int COUNTRY_CONSTRAINT_LIST_FIELD_NUMBER- See Also:
-
RESELLER_CONSTRAINT_FIELD_NUMBER
public static final int RESELLER_CONSTRAINT_FIELD_NUMBER- See Also:
-
CERTIFICATE_MISSING_IN_COUNTRY_LIST_FIELD_NUMBER
public static final int CERTIFICATE_MISSING_IN_COUNTRY_LIST_FIELD_NUMBER- See Also:
-
CERTIFICATE_DOMAIN_MISMATCH_IN_COUNTRY_LIST_FIELD_NUMBER
public static final int CERTIFICATE_DOMAIN_MISMATCH_IN_COUNTRY_LIST_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
-
getValueCase
- Specified by:
getValueCasein interfacePolicyTopicConstraintOrBuilder
-
hasCountryConstraintList
public boolean hasCountryConstraintList()Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1;- Specified by:
hasCountryConstraintListin interfacePolicyTopicConstraintOrBuilder- Returns:
- Whether the countryConstraintList field is set.
-
getCountryConstraintList
Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1;- Specified by:
getCountryConstraintListin interfacePolicyTopicConstraintOrBuilder- Returns:
- The countryConstraintList.
-
getCountryConstraintListOrBuilder
Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1;- Specified by:
getCountryConstraintListOrBuilderin interfacePolicyTopicConstraintOrBuilder
-
hasResellerConstraint
public boolean hasResellerConstraint()Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2;- Specified by:
hasResellerConstraintin interfacePolicyTopicConstraintOrBuilder- Returns:
- Whether the resellerConstraint field is set.
-
getResellerConstraint
Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2;- Specified by:
getResellerConstraintin interfacePolicyTopicConstraintOrBuilder- Returns:
- The resellerConstraint.
-
getResellerConstraintOrBuilder
Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2;- Specified by:
getResellerConstraintOrBuilderin interfacePolicyTopicConstraintOrBuilder
-
hasCertificateMissingInCountryList
public boolean hasCertificateMissingInCountryList()Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3;- Specified by:
hasCertificateMissingInCountryListin interfacePolicyTopicConstraintOrBuilder- Returns:
- Whether the certificateMissingInCountryList field is set.
-
getCertificateMissingInCountryList
Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3;- Specified by:
getCertificateMissingInCountryListin interfacePolicyTopicConstraintOrBuilder- Returns:
- The certificateMissingInCountryList.
-
getCertificateMissingInCountryListOrBuilder
public PolicyTopicConstraint.CountryConstraintListOrBuilder getCertificateMissingInCountryListOrBuilder()Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3;- Specified by:
getCertificateMissingInCountryListOrBuilderin interfacePolicyTopicConstraintOrBuilder
-
hasCertificateDomainMismatchInCountryList
public boolean hasCertificateDomainMismatchInCountryList()Countries where the resource's domain is not covered by the certificates associated with it.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list = 4;- Specified by:
hasCertificateDomainMismatchInCountryListin interfacePolicyTopicConstraintOrBuilder- Returns:
- Whether the certificateDomainMismatchInCountryList field is set.
-
getCertificateDomainMismatchInCountryList
Countries where the resource's domain is not covered by the certificates associated with it.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list = 4;- Specified by:
getCertificateDomainMismatchInCountryListin interfacePolicyTopicConstraintOrBuilder- Returns:
- The certificateDomainMismatchInCountryList.
-
getCertificateDomainMismatchInCountryListOrBuilder
public PolicyTopicConstraint.CountryConstraintListOrBuilder getCertificateDomainMismatchInCountryListOrBuilder()Countries where the resource's domain is not covered by the certificates associated with it.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_domain_mismatch_in_country_list = 4;- Specified by:
getCertificateDomainMismatchInCountryListOrBuilderin interfacePolicyTopicConstraintOrBuilder
-
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 PolicyTopicConstraint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicConstraint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicConstraint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicConstraint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicConstraint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PolicyTopicConstraint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PolicyTopicConstraint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PolicyTopicConstraint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PolicyTopicConstraint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PolicyTopicConstraint 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 PolicyTopicConstraint.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
-