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.v15.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,java.lang.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 typegoogle.ads.googleads.v15.common.UserAttribute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserAttribute.BuilderaddAllEventAttribute(java.lang.Iterable<? extends EventAttribute> values)Optional.UserAttribute.BuilderaddEventAttribute(int index, EventAttribute value)Optional.UserAttribute.BuilderaddEventAttribute(int index, EventAttribute.Builder builderForValue)Optional.UserAttribute.BuilderaddEventAttribute(EventAttribute value)Optional.UserAttribute.BuilderaddEventAttribute(EventAttribute.Builder builderForValue)Optional.EventAttribute.BuilderaddEventAttributeBuilder()Optional.EventAttribute.BuilderaddEventAttributeBuilder(int index)Optional.UserAttribute.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)UserAttributebuild()UserAttributebuildPartial()UserAttribute.Builderclear()UserAttribute.BuilderclearAcquisitionDateTime()Timestamp when the user was acquired.UserAttribute.BuilderclearAveragePurchaseCount()Advertiser defined average number of purchases that are made by the user in a 30 day period.UserAttribute.BuilderclearAveragePurchaseValueMicros()Advertiser defined average purchase value in micros for the user.UserAttribute.BuilderclearEventAttribute()Optional.UserAttribute.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UserAttribute.BuilderclearFirstPurchaseDateTime()Optional.UserAttribute.BuilderclearLastPurchaseDateTime()Timestamp of the last purchase made by the user.UserAttribute.BuilderclearLifecycleStage()Optional.UserAttribute.BuilderclearLifetimeValueBucket()Advertiser defined lifetime value bucket for the user.UserAttribute.BuilderclearLifetimeValueMicros()Advertiser defined lifetime value for the user.UserAttribute.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UserAttribute.BuilderclearShoppingLoyalty()The shopping loyalty related data.UserAttribute.Builderclone()java.lang.StringgetAcquisitionDateTime()Timestamp when the user was acquired.com.google.protobuf.ByteStringgetAcquisitionDateTimeBytes()Timestamp when the user was acquired.intgetAveragePurchaseCount()Advertiser defined average number of purchases that are made by the user in a 30 day period.longgetAveragePurchaseValueMicros()Advertiser defined average purchase value in micros for the user.UserAttributegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()EventAttributegetEventAttribute(int index)Optional.EventAttribute.BuildergetEventAttributeBuilder(int index)Optional.java.util.List<EventAttribute.Builder>getEventAttributeBuilderList()Optional.intgetEventAttributeCount()Optional.java.util.List<EventAttribute>getEventAttributeList()Optional.EventAttributeOrBuildergetEventAttributeOrBuilder(int index)Optional.java.util.List<? extends EventAttributeOrBuilder>getEventAttributeOrBuilderList()Optional.java.lang.StringgetFirstPurchaseDateTime()Optional.com.google.protobuf.ByteStringgetFirstPurchaseDateTimeBytes()Optional.java.lang.StringgetLastPurchaseDateTime()Timestamp of the last purchase made by the user.com.google.protobuf.ByteStringgetLastPurchaseDateTimeBytes()Timestamp of the last purchase made by the user.java.lang.StringgetLifecycleStage()Optional.com.google.protobuf.ByteStringgetLifecycleStageBytes()Optional.intgetLifetimeValueBucket()Advertiser defined lifetime value bucket for the user.longgetLifetimeValueMicros()Advertiser defined lifetime value for the user.ShoppingLoyaltygetShoppingLoyalty()The shopping loyalty related data.ShoppingLoyalty.BuildergetShoppingLoyaltyBuilder()The shopping loyalty related data.ShoppingLoyaltyOrBuildergetShoppingLoyaltyOrBuilder()The shopping loyalty related data.booleanhasLifetimeValueBucket()Advertiser defined lifetime value bucket for the user.booleanhasLifetimeValueMicros()Advertiser defined lifetime value for the user.booleanhasShoppingLoyalty()The shopping loyalty related data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UserAttribute.BuildermergeFrom(UserAttribute other)UserAttribute.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UserAttribute.BuildermergeFrom(com.google.protobuf.Message other)UserAttribute.BuildermergeShoppingLoyalty(ShoppingLoyalty value)The shopping loyalty related data.UserAttribute.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UserAttribute.BuilderremoveEventAttribute(int index)Optional.UserAttribute.BuildersetAcquisitionDateTime(java.lang.String value)Timestamp when the user was acquired.UserAttribute.BuildersetAcquisitionDateTimeBytes(com.google.protobuf.ByteString value)Timestamp when the user was acquired.UserAttribute.BuildersetAveragePurchaseCount(int value)Advertiser defined average number of purchases that are made by the user in a 30 day period.UserAttribute.BuildersetAveragePurchaseValueMicros(long value)Advertiser defined average purchase value in micros for the user.UserAttribute.BuildersetEventAttribute(int index, EventAttribute value)Optional.UserAttribute.BuildersetEventAttribute(int index, EventAttribute.Builder builderForValue)Optional.UserAttribute.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)UserAttribute.BuildersetFirstPurchaseDateTime(java.lang.String value)Optional.UserAttribute.BuildersetFirstPurchaseDateTimeBytes(com.google.protobuf.ByteString value)Optional.UserAttribute.BuildersetLastPurchaseDateTime(java.lang.String value)Timestamp of the last purchase made by the user.UserAttribute.BuildersetLastPurchaseDateTimeBytes(com.google.protobuf.ByteString value)Timestamp of the last purchase made by the user.UserAttribute.BuildersetLifecycleStage(java.lang.String value)Optional.UserAttribute.BuildersetLifecycleStageBytes(com.google.protobuf.ByteString value)Optional.UserAttribute.BuildersetLifetimeValueBucket(int value)Advertiser defined lifetime value bucket for the user.UserAttribute.BuildersetLifetimeValueMicros(long value)Advertiser defined lifetime value for the user.UserAttribute.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)UserAttribute.BuildersetShoppingLoyalty(ShoppingLoyalty value)The shopping loyalty related data.UserAttribute.BuildersetShoppingLoyalty(ShoppingLoyalty.Builder builderForValue)The shopping loyalty related data.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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public UserAttribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserAttribute build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserAttribute buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserAttribute.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
clearField
public UserAttribute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
clearOneof
public UserAttribute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
mergeFrom
public UserAttribute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserAttribute.Builder>
-
mergeFrom
public UserAttribute.Builder mergeFrom(UserAttribute other)
-
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 java.io.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:
java.io.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
public UserAttribute.Builder setLifetimeValueMicros(long value)
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
public UserAttribute.Builder 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
public UserAttribute.Builder setLifetimeValueBucket(int value)
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
public UserAttribute.Builder 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
public java.lang.String 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
public UserAttribute.Builder setLastPurchaseDateTime(java.lang.String value)
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
public UserAttribute.Builder 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
public UserAttribute.Builder setLastPurchaseDateTimeBytes(com.google.protobuf.ByteString value)
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
public UserAttribute.Builder setAveragePurchaseCount(int value)
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
public UserAttribute.Builder 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
public UserAttribute.Builder setAveragePurchaseValueMicros(long value)
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
public UserAttribute.Builder clearAveragePurchaseValueMicros()
Advertiser defined average purchase value in micros for the user.
int64 average_purchase_value_micros = 5;- Returns:
- This builder for chaining.
-
getAcquisitionDateTime
public java.lang.String 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
public UserAttribute.Builder setAcquisitionDateTime(java.lang.String value)
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
public UserAttribute.Builder 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
public UserAttribute.Builder setAcquisitionDateTimeBytes(com.google.protobuf.ByteString value)
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.v15.common.ShoppingLoyalty shopping_loyalty = 7;- Specified by:
hasShoppingLoyaltyin interfaceUserAttributeOrBuilder- Returns:
- Whether the shoppingLoyalty field is set.
-
getShoppingLoyalty
public ShoppingLoyalty 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.v15.common.ShoppingLoyalty shopping_loyalty = 7;- Specified by:
getShoppingLoyaltyin interfaceUserAttributeOrBuilder- Returns:
- The shoppingLoyalty.
-
setShoppingLoyalty
public UserAttribute.Builder setShoppingLoyalty(ShoppingLoyalty value)
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.v15.common.ShoppingLoyalty shopping_loyalty = 7;
-
setShoppingLoyalty
public UserAttribute.Builder setShoppingLoyalty(ShoppingLoyalty.Builder builderForValue)
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.v15.common.ShoppingLoyalty shopping_loyalty = 7;
-
mergeShoppingLoyalty
public UserAttribute.Builder mergeShoppingLoyalty(ShoppingLoyalty value)
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.v15.common.ShoppingLoyalty shopping_loyalty = 7;
-
clearShoppingLoyalty
public UserAttribute.Builder 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.v15.common.ShoppingLoyalty shopping_loyalty = 7;
-
getShoppingLoyaltyBuilder
public ShoppingLoyalty.Builder 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.v15.common.ShoppingLoyalty shopping_loyalty = 7;
-
getShoppingLoyaltyOrBuilder
public ShoppingLoyaltyOrBuilder 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.v15.common.ShoppingLoyalty shopping_loyalty = 7;- Specified by:
getShoppingLoyaltyOrBuilderin interfaceUserAttributeOrBuilder
-
getLifecycleStage
public java.lang.String 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
public UserAttribute.Builder setLifecycleStage(java.lang.String value)
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
public UserAttribute.Builder 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
public UserAttribute.Builder setLifecycleStageBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public UserAttribute.Builder setFirstPurchaseDateTime(java.lang.String value)
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
public UserAttribute.Builder 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
public UserAttribute.Builder setFirstPurchaseDateTimeBytes(com.google.protobuf.ByteString value)
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
public java.util.List<EventAttribute> 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.v15.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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributeCountin interfaceUserAttributeOrBuilder
-
getEventAttribute
public EventAttribute getEventAttribute(int index)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributein interfaceUserAttributeOrBuilder
-
setEventAttribute
public UserAttribute.Builder setEventAttribute(int index, EventAttribute value)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
setEventAttribute
public UserAttribute.Builder setEventAttribute(int index, EventAttribute.Builder builderForValue)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
addEventAttribute
public UserAttribute.Builder addEventAttribute(EventAttribute value)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
addEventAttribute
public UserAttribute.Builder addEventAttribute(int index, EventAttribute value)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
addEventAttribute
public UserAttribute.Builder addEventAttribute(EventAttribute.Builder builderForValue)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
addEventAttribute
public UserAttribute.Builder addEventAttribute(int index, EventAttribute.Builder builderForValue)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
addAllEventAttribute
public UserAttribute.Builder addAllEventAttribute(java.lang.Iterable<? extends EventAttribute> values)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
clearEventAttribute
public UserAttribute.Builder 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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
removeEventAttribute
public UserAttribute.Builder removeEventAttribute(int index)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getEventAttributeBuilder
public EventAttribute.Builder getEventAttributeBuilder(int index)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getEventAttributeOrBuilder
public EventAttributeOrBuilder getEventAttributeOrBuilder(int index)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributeOrBuilderin interfaceUserAttributeOrBuilder
-
getEventAttributeOrBuilderList
public java.util.List<? extends EventAttributeOrBuilder> 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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getEventAttributeOrBuilderListin interfaceUserAttributeOrBuilder
-
addEventAttributeBuilder
public EventAttribute.Builder 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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
addEventAttributeBuilder
public EventAttribute.Builder addEventAttributeBuilder(int index)
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.v15.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
getEventAttributeBuilderList
public java.util.List<EventAttribute.Builder> 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.v15.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>
-
-