Class UserAttribute.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
com.google.ads.googleads.v18.common.UserAttribute.Builder
- All Implemented Interfaces:
UserAttributeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UserAttribute
public static final class UserAttribute.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
implements UserAttributeOrBuilder
User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job type.Protobuf type
google.ads.googleads.v18.common.UserAttribute-
Method Summary
Modifier and TypeMethodDescriptionaddAllEventAttribute(Iterable<? extends EventAttribute> values) Optional.addEventAttribute(int index, EventAttribute value) Optional.addEventAttribute(int index, EventAttribute.Builder builderForValue) Optional.addEventAttribute(EventAttribute value) Optional.addEventAttribute(EventAttribute.Builder builderForValue) Optional.Optional.addEventAttributeBuilder(int index) Optional.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Timestamp when the user was acquired.Advertiser defined average number of purchases that are made by the user in a 30 day period.Advertiser defined average purchase value in micros for the user.Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.Timestamp of the last purchase made by the user.Optional.Advertiser defined lifetime value bucket for the user.Advertiser defined lifetime value for the user.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The shopping loyalty related data.clone()Timestamp when the user was acquired.com.google.protobuf.ByteStringTimestamp when the user was acquired.intAdvertiser defined average number of purchases that are made by the user in a 30 day period.longAdvertiser defined average purchase value in micros for the user.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEventAttribute(int index) Optional.getEventAttributeBuilder(int index) Optional.Optional.intOptional.Optional.getEventAttributeOrBuilder(int index) Optional.List<? extends EventAttributeOrBuilder>Optional.Optional.com.google.protobuf.ByteStringOptional.Timestamp of the last purchase made by the user.com.google.protobuf.ByteStringTimestamp of the last purchase made by the user.Optional.com.google.protobuf.ByteStringOptional.intAdvertiser defined lifetime value bucket for the user.longAdvertiser defined lifetime value for the user.The shopping loyalty related data.The shopping loyalty related data.The shopping loyalty related data.booleanAdvertiser defined lifetime value bucket for the user.booleanAdvertiser defined lifetime value for the user.booleanThe shopping loyalty related data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(UserAttribute other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The shopping loyalty related data.final UserAttribute.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEventAttribute(int index) Optional.setAcquisitionDateTime(String value) Timestamp when the user was acquired.setAcquisitionDateTimeBytes(com.google.protobuf.ByteString value) Timestamp when the user was acquired.setAveragePurchaseCount(int value) Advertiser defined average number of purchases that are made by the user in a 30 day period.setAveragePurchaseValueMicros(long value) Advertiser defined average purchase value in micros for the user.setEventAttribute(int index, EventAttribute value) Optional.setEventAttribute(int index, EventAttribute.Builder builderForValue) Optional.setFirstPurchaseDateTime(String value) Optional.setFirstPurchaseDateTimeBytes(com.google.protobuf.ByteString value) Optional.setLastPurchaseDateTime(String value) Timestamp of the last purchase made by the user.setLastPurchaseDateTimeBytes(com.google.protobuf.ByteString value) Timestamp of the last purchase made by the user.setLifecycleStage(String value) Optional.setLifecycleStageBytes(com.google.protobuf.ByteString value) Optional.setLifetimeValueBucket(int value) Advertiser defined lifetime value bucket for the user.setLifetimeValueMicros(long value) Advertiser defined lifetime value for the user.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The shopping loyalty related data.setShoppingLoyalty(ShoppingLoyalty.Builder builderForValue) The shopping loyalty related data.final UserAttribute.BuildersetUnknownFields(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<UserAttribute.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<UserAttribute.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<UserAttribute.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<UserAttribute.Builder>
-
setField
public UserAttribute.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<UserAttribute.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
setRepeatedField
public UserAttribute.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<UserAttribute.Builder>
-
addRepeatedField
public UserAttribute.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<UserAttribute.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserAttribute.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
mergeFrom
public UserAttribute.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<UserAttribute.Builder>- Throws:
IOException
-
hasLifetimeValueMicros
public boolean hasLifetimeValueMicros()Advertiser defined lifetime value for the user.
optional int64 lifetime_value_micros = 1;- Specified by:
hasLifetimeValueMicrosin interfaceUserAttributeOrBuilder- Returns:
- Whether the lifetimeValueMicros field is set.
-
getLifetimeValueMicros
public long getLifetimeValueMicros()Advertiser defined lifetime value for the user.
optional int64 lifetime_value_micros = 1;- Specified by:
getLifetimeValueMicrosin interfaceUserAttributeOrBuilder- Returns:
- The lifetimeValueMicros.
-
setLifetimeValueMicros
Advertiser defined lifetime value for the user.
optional int64 lifetime_value_micros = 1;- Parameters:
value- The lifetimeValueMicros to set.- Returns:
- This builder for chaining.
-
clearLifetimeValueMicros
Advertiser defined lifetime value for the user.
optional int64 lifetime_value_micros = 1;- Returns:
- This builder for chaining.
-
hasLifetimeValueBucket
public boolean hasLifetimeValueBucket()Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted.
optional int32 lifetime_value_bucket = 2;- Specified by:
hasLifetimeValueBucketin interfaceUserAttributeOrBuilder- Returns:
- Whether the lifetimeValueBucket field is set.
-
getLifetimeValueBucket
public int getLifetimeValueBucket()Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted.
optional int32 lifetime_value_bucket = 2;- Specified by:
getLifetimeValueBucketin interfaceUserAttributeOrBuilder- Returns:
- The lifetimeValueBucket.
-
setLifetimeValueBucket
Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted.
optional int32 lifetime_value_bucket = 2;- Parameters:
value- The lifetimeValueBucket to set.- Returns:
- This builder for chaining.
-
clearLifetimeValueBucket
Advertiser defined lifetime value bucket for the user. The valid range for a lifetime value bucket is from 1 (low) to 10 (high), except for remove operation where 0 will also be accepted.
optional int32 lifetime_value_bucket = 2;- Returns:
- This builder for chaining.
-
getLastPurchaseDateTime
Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string last_purchase_date_time = 3;- Specified by:
getLastPurchaseDateTimein interfaceUserAttributeOrBuilder- Returns:
- The lastPurchaseDateTime.
-
getLastPurchaseDateTimeBytes
public com.google.protobuf.ByteString getLastPurchaseDateTimeBytes()Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string last_purchase_date_time = 3;- Specified by:
getLastPurchaseDateTimeBytesin interfaceUserAttributeOrBuilder- Returns:
- The bytes for lastPurchaseDateTime.
-
setLastPurchaseDateTime
Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string last_purchase_date_time = 3;- Parameters:
value- The lastPurchaseDateTime to set.- Returns:
- This builder for chaining.
-
clearLastPurchaseDateTime
Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string last_purchase_date_time = 3;- Returns:
- This builder for chaining.
-
setLastPurchaseDateTimeBytes
Timestamp of the last purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string last_purchase_date_time = 3;- Parameters:
value- The bytes for lastPurchaseDateTime to set.- Returns:
- This builder for chaining.
-
getAveragePurchaseCount
public int getAveragePurchaseCount()Advertiser defined average number of purchases that are made by the user in a 30 day period.
int32 average_purchase_count = 4;- Specified by:
getAveragePurchaseCountin interfaceUserAttributeOrBuilder- Returns:
- The averagePurchaseCount.
-
setAveragePurchaseCount
Advertiser defined average number of purchases that are made by the user in a 30 day period.
int32 average_purchase_count = 4;- Parameters:
value- The averagePurchaseCount to set.- Returns:
- This builder for chaining.
-
clearAveragePurchaseCount
Advertiser defined average number of purchases that are made by the user in a 30 day period.
int32 average_purchase_count = 4;- Returns:
- This builder for chaining.
-
getAveragePurchaseValueMicros
public long getAveragePurchaseValueMicros()Advertiser defined average purchase value in micros for the user.
int64 average_purchase_value_micros = 5;- Specified by:
getAveragePurchaseValueMicrosin interfaceUserAttributeOrBuilder- Returns:
- The averagePurchaseValueMicros.
-
setAveragePurchaseValueMicros
Advertiser defined average purchase value in micros for the user.
int64 average_purchase_value_micros = 5;- Parameters:
value- The averagePurchaseValueMicros to set.- Returns:
- This builder for chaining.
-
clearAveragePurchaseValueMicros
Advertiser defined average purchase value in micros for the user.
int64 average_purchase_value_micros = 5;- Returns:
- This builder for chaining.
-
getAcquisitionDateTime
Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string acquisition_date_time = 6;- Specified by:
getAcquisitionDateTimein interfaceUserAttributeOrBuilder- Returns:
- The acquisitionDateTime.
-
getAcquisitionDateTimeBytes
public com.google.protobuf.ByteString getAcquisitionDateTimeBytes()Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string acquisition_date_time = 6;- Specified by:
getAcquisitionDateTimeBytesin interfaceUserAttributeOrBuilder- Returns:
- The bytes for acquisitionDateTime.
-
setAcquisitionDateTime
Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string acquisition_date_time = 6;- Parameters:
value- The acquisitionDateTime to set.- Returns:
- This builder for chaining.
-
clearAcquisitionDateTime
Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string acquisition_date_time = 6;- Returns:
- This builder for chaining.
-
setAcquisitionDateTimeBytes
Timestamp when the user was acquired. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string acquisition_date_time = 6;- Parameters:
value- The bytes for acquisitionDateTime to set.- Returns:
- This builder for chaining.
-
hasShoppingLoyalty
public boolean hasShoppingLoyalty()The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7;- Specified by:
hasShoppingLoyaltyin interfaceUserAttributeOrBuilder- Returns:
- Whether the shoppingLoyalty field is set.
-
getShoppingLoyalty
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7;- Specified by:
getShoppingLoyaltyin interfaceUserAttributeOrBuilder- Returns:
- The shoppingLoyalty.
-
setShoppingLoyalty
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7; -
setShoppingLoyalty
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7; -
mergeShoppingLoyalty
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7; -
clearShoppingLoyalty
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7; -
getShoppingLoyaltyBuilder
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7; -
getShoppingLoyaltyOrBuilder
The shopping loyalty related data. Shopping utilizes this data to provide users with a better experience. Accessible only to merchants on the allow-list with the user's consent.
optional .google.ads.googleads.v18.common.ShoppingLoyalty shopping_loyalty = 7;- Specified by:
getShoppingLoyaltyOrBuilderin interfaceUserAttributeOrBuilder
-
getLifecycleStage
Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", "Active" and "Churned".
string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLifecycleStagein interfaceUserAttributeOrBuilder- Returns:
- The lifecycleStage.
-
getLifecycleStageBytes
public com.google.protobuf.ByteString getLifecycleStageBytes()Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", "Active" and "Churned".
string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLifecycleStageBytesin interfaceUserAttributeOrBuilder- Returns:
- The bytes for lifecycleStage.
-
setLifecycleStage
Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", "Active" and "Churned".
string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The lifecycleStage to set.- Returns:
- This builder for chaining.
-
clearLifecycleStage
Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", "Active" and "Churned".
string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setLifecycleStageBytes
Optional. Advertiser defined lifecycle stage for the user. The accepted values are "Lead", "Active" and "Churned".
string lifecycle_stage = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for lifecycleStage to set.- Returns:
- This builder for chaining.
-
getFirstPurchaseDateTime
Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFirstPurchaseDateTimein interfaceUserAttributeOrBuilder- Returns:
- The firstPurchaseDateTime.
-
getFirstPurchaseDateTimeBytes
public com.google.protobuf.ByteString getFirstPurchaseDateTimeBytes()Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFirstPurchaseDateTimeBytesin interfaceUserAttributeOrBuilder- Returns:
- The bytes for firstPurchaseDateTime.
-
setFirstPurchaseDateTime
Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The firstPurchaseDateTime to set.- Returns:
- This builder for chaining.
-
clearFirstPurchaseDateTime
Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setFirstPurchaseDateTimeBytes
Optional. Timestamp of the first purchase made by the user. The format is YYYY-MM-DD HH:MM:SS[+/-HH:MM], where [+/-HH:MM] is an optional timezone offset from UTC. If the offset is absent, the API will use the account's timezone as default.
string first_purchase_date_time = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for firstPurchaseDateTime to set.- Returns:
- This builder for chaining.
-
getEventAttributeList
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributeListin interfaceUserAttributeOrBuilder
-
getEventAttributeCount
public int getEventAttributeCount()Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributeCountin interfaceUserAttributeOrBuilder
-
getEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributein interfaceUserAttributeOrBuilder
-
setEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
setEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
addEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
addEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
addEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
addEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
addAllEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
clearEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
removeEventAttribute
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getEventAttributeBuilder
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getEventAttributeOrBuilder
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributeOrBuilderin interfaceUserAttributeOrBuilder
-
getEventAttributeOrBuilderList
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributeOrBuilderListin interfaceUserAttributeOrBuilder
-
addEventAttributeBuilder
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
addEventAttributeBuilder
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getEventAttributeBuilderList
Optional. Advertiser defined events and their attributes. All the values in the nested fields are required. Currently this field is in beta.
repeated .google.ads.googleads.v18.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL]; -
setUnknownFields
public final UserAttribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
mergeUnknownFields
public final UserAttribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-