Class PolicyTopicConstraint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
com.google.ads.googleads.v18.common.PolicyTopicConstraint.Builder
- All Implemented Interfaces:
PolicyTopicConstraintOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PolicyTopicConstraint
public static final class PolicyTopicConstraint.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
implements PolicyTopicConstraintOrBuilder
Describes the effect on serving that a policy topic entry will have.Protobuf type
google.ads.googleads.v18.common.PolicyTopicConstraint-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()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 the resource cannot serve.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Reseller constraint.clone()Countries 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 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 a certificate is required for serving.Countries where the resource cannot serve.Countries where the resource cannot serve.Countries where the resource cannot serve.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorReseller constraint.Reseller constraint.Reseller constraint.booleanCountries 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.booleanReseller constraint.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanCountries where the resource's domain is not covered by the certificates associated with it.Countries where a certificate is required for serving.Countries where the resource cannot serve.mergeFrom(PolicyTopicConstraint other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Reseller constraint.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Countries where the resource's domain is not covered by the certificates associated with it.setCertificateDomainMismatchInCountryList(PolicyTopicConstraint.CountryConstraintList.Builder builderForValue) Countries where the resource's domain is not covered by the certificates associated with it.Countries where a certificate is required for serving.setCertificateMissingInCountryList(PolicyTopicConstraint.CountryConstraintList.Builder builderForValue) Countries where a certificate is required for serving.Countries where the resource cannot serve.Countries where the resource cannot serve.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Reseller constraint.setResellerConstraint(PolicyTopicConstraint.ResellerConstraint.Builder builderForValue) Reseller constraint.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<PolicyTopicConstraint.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
setField
public PolicyTopicConstraint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
clearField
public PolicyTopicConstraint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
clearOneof
public PolicyTopicConstraint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
setRepeatedField
public PolicyTopicConstraint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
addRepeatedField
public PolicyTopicConstraint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolicyTopicConstraint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
mergeFrom
public PolicyTopicConstraint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PolicyTopicConstraint.Builder>- Throws:
IOException
-
getValueCase
- Specified by:
getValueCasein interfacePolicyTopicConstraintOrBuilder
-
clearValue
-
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.
-
setCountryConstraintList
public PolicyTopicConstraint.Builder setCountryConstraintList(PolicyTopicConstraint.CountryConstraintList value) Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1; -
setCountryConstraintList
public PolicyTopicConstraint.Builder setCountryConstraintList(PolicyTopicConstraint.CountryConstraintList.Builder builderForValue) Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1; -
mergeCountryConstraintList
public PolicyTopicConstraint.Builder mergeCountryConstraintList(PolicyTopicConstraint.CountryConstraintList value) Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1; -
clearCountryConstraintList
Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1; -
getCountryConstraintListBuilder
Countries where the resource cannot serve.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList country_constraint_list = 1; -
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.
-
setResellerConstraint
public PolicyTopicConstraint.Builder setResellerConstraint(PolicyTopicConstraint.ResellerConstraint value) Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2; -
setResellerConstraint
public PolicyTopicConstraint.Builder setResellerConstraint(PolicyTopicConstraint.ResellerConstraint.Builder builderForValue) Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2; -
mergeResellerConstraint
public PolicyTopicConstraint.Builder mergeResellerConstraint(PolicyTopicConstraint.ResellerConstraint value) Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2; -
clearResellerConstraint
Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2; -
getResellerConstraintBuilder
Reseller constraint.
.google.ads.googleads.v18.common.PolicyTopicConstraint.ResellerConstraint reseller_constraint = 2; -
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.
-
setCertificateMissingInCountryList
public PolicyTopicConstraint.Builder setCertificateMissingInCountryList(PolicyTopicConstraint.CountryConstraintList value) Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3; -
setCertificateMissingInCountryList
public PolicyTopicConstraint.Builder setCertificateMissingInCountryList(PolicyTopicConstraint.CountryConstraintList.Builder builderForValue) Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3; -
mergeCertificateMissingInCountryList
public PolicyTopicConstraint.Builder mergeCertificateMissingInCountryList(PolicyTopicConstraint.CountryConstraintList value) Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3; -
clearCertificateMissingInCountryList
Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3; -
getCertificateMissingInCountryListBuilder
public PolicyTopicConstraint.CountryConstraintList.Builder getCertificateMissingInCountryListBuilder()Countries where a certificate is required for serving.
.google.ads.googleads.v18.common.PolicyTopicConstraint.CountryConstraintList certificate_missing_in_country_list = 3; -
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.
-
setCertificateDomainMismatchInCountryList
public PolicyTopicConstraint.Builder setCertificateDomainMismatchInCountryList(PolicyTopicConstraint.CountryConstraintList value) 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; -
setCertificateDomainMismatchInCountryList
public PolicyTopicConstraint.Builder setCertificateDomainMismatchInCountryList(PolicyTopicConstraint.CountryConstraintList.Builder builderForValue) 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; -
mergeCertificateDomainMismatchInCountryList
public PolicyTopicConstraint.Builder mergeCertificateDomainMismatchInCountryList(PolicyTopicConstraint.CountryConstraintList value) 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; -
clearCertificateDomainMismatchInCountryList
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; -
getCertificateDomainMismatchInCountryListBuilder
public PolicyTopicConstraint.CountryConstraintList.Builder getCertificateDomainMismatchInCountryListBuilder()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; -
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
-
setUnknownFields
public final PolicyTopicConstraint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-
mergeUnknownFields
public final PolicyTopicConstraint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PolicyTopicConstraint.Builder>
-