Class TermsOfService.Builder (0.6.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TermsOfService build()
Returns
Type Description
TermsOfService

buildPartial()

public TermsOfService buildPartial()
Returns
Type Description
TermsOfService

clear()

public TermsOfService.Builder clear()
Returns
Type Description
TermsOfService.Builder
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];

Returns
Type Description
TermsOfService.Builder

This builder for chaining.

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];

Returns
Type Description
TermsOfServiceStatus

The customerMatchTermsOfServiceStatus.

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()
Returns
Type Description
TermsOfService

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TermsOfService other)

public TermsOfService.Builder mergeFrom(TermsOfService other)
Parameter
Name Description
other TermsOfService
Returns
Type Description
TermsOfService.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TermsOfService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TermsOfService.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TermsOfService.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TermsOfService.Builder
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];

Parameter
Name Description
value TermsOfServiceStatus

The customerMatchTermsOfServiceStatus to set.

Returns
Type Description
TermsOfService.Builder

This builder for chaining.

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.

Returns
Type Description
TermsOfService.Builder

This builder for chaining.