public static final class UserProperties.Builder extends GeneratedMessage.Builder<UserProperties.Builder> implements UserPropertiesOrBuilderAdvertiser-assessed information about the user at the time that the event happened. See https://support.google.com/google-ads/answer/14007601 for more details.
Protobuf type google.ads.datamanager.v1.UserProperties
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserProperties.BuilderImplements
UserPropertiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAdditionalUserProperties(UserProperty value)
public UserProperties.Builder addAdditionalUserProperties(UserProperty value)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
UserProperty |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
addAdditionalUserProperties(UserProperty.Builder builderForValue)
public UserProperties.Builder addAdditionalUserProperties(UserProperty.Builder builderForValue)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserProperty.Builder |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
addAdditionalUserProperties(int index, UserProperty value)
public UserProperties.Builder addAdditionalUserProperties(int index, UserProperty value)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UserProperty |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
addAdditionalUserProperties(int index, UserProperty.Builder builderForValue)
public UserProperties.Builder addAdditionalUserProperties(int index, UserProperty.Builder builderForValue)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UserProperty.Builder |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
addAdditionalUserPropertiesBuilder()
public UserProperty.Builder addAdditionalUserPropertiesBuilder()Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
|
addAdditionalUserPropertiesBuilder(int index)
public UserProperty.Builder addAdditionalUserPropertiesBuilder(int index)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
|
addAllAdditionalUserProperties(Iterable<? extends UserProperty> values)
public UserProperties.Builder addAllAdditionalUserProperties(Iterable<? extends UserProperty> values)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.ads.datamanager.v1.UserProperty> |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
build()
public UserProperties build()| Returns | |
|---|---|
| Type | Description |
UserProperties |
|
buildPartial()
public UserProperties buildPartial()| Returns | |
|---|---|
| Type | Description |
UserProperties |
|
clear()
public UserProperties.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
clearAdditionalUserProperties()
public UserProperties.Builder clearAdditionalUserProperties()Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
clearCustomerType()
public UserProperties.Builder clearCustomerType()Optional. Type of the customer associated with the event.
.google.ads.datamanager.v1.CustomerType customer_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
This builder for chaining. |
clearCustomerValueBucket()
public UserProperties.Builder clearCustomerValueBucket()Optional. The advertiser-assessed value of the customer.
.google.ads.datamanager.v1.CustomerValueBucket customer_value_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
This builder for chaining. |
getAdditionalUserProperties(int index)
public UserProperty getAdditionalUserProperties(int index)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserProperty |
|
getAdditionalUserPropertiesBuilder(int index)
public UserProperty.Builder getAdditionalUserPropertiesBuilder(int index)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserProperty.Builder |
|
getAdditionalUserPropertiesBuilderList()
public List<UserProperty.Builder> getAdditionalUserPropertiesBuilderList()Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAdditionalUserPropertiesCount()
public int getAdditionalUserPropertiesCount()Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAdditionalUserPropertiesList()
public List<UserProperty> getAdditionalUserPropertiesList()Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<UserProperty> |
|
getAdditionalUserPropertiesOrBuilder(int index)
public UserPropertyOrBuilder getAdditionalUserPropertiesOrBuilder(int index)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserPropertyOrBuilder |
|
getAdditionalUserPropertiesOrBuilderList()
public List<? extends UserPropertyOrBuilder> getAdditionalUserPropertiesOrBuilderList()Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.datamanager.v1.UserPropertyOrBuilder> |
|
getCustomerType()
public CustomerType getCustomerType()Optional. Type of the customer associated with the event.
.google.ads.datamanager.v1.CustomerType customer_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerType |
The customerType. |
getCustomerTypeValue()
public int getCustomerTypeValue()Optional. Type of the customer associated with the event.
.google.ads.datamanager.v1.CustomerType customer_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for customerType. |
getCustomerValueBucket()
public CustomerValueBucket getCustomerValueBucket()Optional. The advertiser-assessed value of the customer.
.google.ads.datamanager.v1.CustomerValueBucket customer_value_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CustomerValueBucket |
The customerValueBucket. |
getCustomerValueBucketValue()
public int getCustomerValueBucketValue()Optional. The advertiser-assessed value of the customer.
.google.ads.datamanager.v1.CustomerValueBucket customer_value_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for customerValueBucket. |
getDefaultInstanceForType()
public UserProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserProperties |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserProperties other)
public UserProperties.Builder mergeFrom(UserProperties other)| Parameter | |
|---|---|
| Name | Description |
other |
UserProperties |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
removeAdditionalUserProperties(int index)
public UserProperties.Builder removeAdditionalUserProperties(int index)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
setAdditionalUserProperties(int index, UserProperty value)
public UserProperties.Builder setAdditionalUserProperties(int index, UserProperty value)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
UserProperty |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
setAdditionalUserProperties(int index, UserProperty.Builder builderForValue)
public UserProperties.Builder setAdditionalUserProperties(int index, UserProperty.Builder builderForValue)Optional. A bucket of any additional user properties for the user associated with this event.
repeated .google.ads.datamanager.v1.UserProperty additional_user_properties = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
UserProperty.Builder |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
|
setCustomerType(CustomerType value)
public UserProperties.Builder setCustomerType(CustomerType value)Optional. Type of the customer associated with the event.
.google.ads.datamanager.v1.CustomerType customer_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomerTypeThe customerType to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
This builder for chaining. |
setCustomerTypeValue(int value)
public UserProperties.Builder setCustomerTypeValue(int value)Optional. Type of the customer associated with the event.
.google.ads.datamanager.v1.CustomerType customer_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for customerType to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
This builder for chaining. |
setCustomerValueBucket(CustomerValueBucket value)
public UserProperties.Builder setCustomerValueBucket(CustomerValueBucket value)Optional. The advertiser-assessed value of the customer.
.google.ads.datamanager.v1.CustomerValueBucket customer_value_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomerValueBucketThe customerValueBucket to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
This builder for chaining. |
setCustomerValueBucketValue(int value)
public UserProperties.Builder setCustomerValueBucketValue(int value)Optional. The advertiser-assessed value of the customer.
.google.ads.datamanager.v1.CustomerValueBucket customer_value_bucket = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for customerValueBucket to set. |
| Returns | |
|---|---|
| Type | Description |
UserProperties.Builder |
This builder for chaining. |