Class TermsOfService.Builder (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.16.0 (latest)
0.15.0
0.14.0
0.12.0
0.9.0
0.8.0
0.6.0
0.4.0
0.3.0
0.2.0
0.1.0
public static final class TermsOfService . Builder extends GeneratedMessage . Builder<TermsOfService . Builder > implements TermsOfServiceOrBuilder
The terms of service that the user has accepted/rejected.
Protobuf type google.ads.datamanager.v1.TermsOfService
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public TermsOfService build ()
buildPartial()
public TermsOfService buildPartial ()
clear()
public TermsOfService . Builder clear ()
Overrides
clearCustomerMatchTermsOfServiceStatus()
public TermsOfService . Builder clearCustomerMatchTermsOfServiceStatus ()
Optional. The Customer Match terms of service:
https://support.google.com/adspolicy/answer/6299717 . This must be
accepted when ingesting
UserData
or MobileData .
This field is not required for Partner Match User list.
.google.ads.datamanager.v1.TermsOfServiceStatus customer_match_terms_of_service_status = 1 [(.google.api.field_behavior) = OPTIONAL];
getCustomerMatchTermsOfServiceStatus()
public TermsOfServiceStatus getCustomerMatchTermsOfServiceStatus ()
Optional. The Customer Match terms of service:
https://support.google.com/adspolicy/answer/6299717 . This must be
accepted when ingesting
UserData
or MobileData .
This field is not required for Partner Match User list.
.google.ads.datamanager.v1.TermsOfServiceStatus customer_match_terms_of_service_status = 1 [(.google.api.field_behavior) = OPTIONAL];
getCustomerMatchTermsOfServiceStatusValue()
public int getCustomerMatchTermsOfServiceStatusValue ()
Optional. The Customer Match terms of service:
https://support.google.com/adspolicy/answer/6299717 . This must be
accepted when ingesting
UserData
or MobileData .
This field is not required for Partner Match User list.
.google.ads.datamanager.v1.TermsOfServiceStatus customer_match_terms_of_service_status = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for customerMatchTermsOfServiceStatus.
getDefaultInstanceForType()
public TermsOfService getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(TermsOfService other)
public TermsOfService . Builder mergeFrom ( TermsOfService other )
public TermsOfService . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TermsOfService . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
setCustomerMatchTermsOfServiceStatus(TermsOfServiceStatus value)
public TermsOfService . Builder setCustomerMatchTermsOfServiceStatus ( TermsOfServiceStatus value )
Optional. The Customer Match terms of service:
https://support.google.com/adspolicy/answer/6299717 . This must be
accepted when ingesting
UserData
or MobileData .
This field is not required for Partner Match User list.
.google.ads.datamanager.v1.TermsOfServiceStatus customer_match_terms_of_service_status = 1 [(.google.api.field_behavior) = OPTIONAL];
setCustomerMatchTermsOfServiceStatusValue(int value)
public TermsOfService . Builder setCustomerMatchTermsOfServiceStatusValue ( int value )
Optional. The Customer Match terms of service:
https://support.google.com/adspolicy/answer/6299717 . This must be
accepted when ingesting
UserData
or MobileData .
This field is not required for Partner Match User list.
.google.ads.datamanager.v1.TermsOfServiceStatus customer_match_terms_of_service_status = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
int The enum numeric value on the wire for customerMatchTermsOfServiceStatus to set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]