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.v13.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.v13.common.UserAttribute
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UserAttribute.Builder
addAllEventAttribute(java.lang.Iterable<? extends EventAttribute> values)
Optional.UserAttribute.Builder
addEventAttribute(int index, EventAttribute value)
Optional.UserAttribute.Builder
addEventAttribute(int index, EventAttribute.Builder builderForValue)
Optional.UserAttribute.Builder
addEventAttribute(EventAttribute value)
Optional.UserAttribute.Builder
addEventAttribute(EventAttribute.Builder builderForValue)
Optional.EventAttribute.Builder
addEventAttributeBuilder()
Optional.EventAttribute.Builder
addEventAttributeBuilder(int index)
Optional.UserAttribute.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserAttribute
build()
UserAttribute
buildPartial()
UserAttribute.Builder
clear()
UserAttribute.Builder
clearAcquisitionDateTime()
Timestamp when the user was acquired.UserAttribute.Builder
clearAveragePurchaseCount()
Advertiser defined average number of purchases that are made by the user in a 30 day period.UserAttribute.Builder
clearAveragePurchaseValueMicros()
Advertiser defined average purchase value in micros for the user.UserAttribute.Builder
clearEventAttribute()
Optional.UserAttribute.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UserAttribute.Builder
clearFirstPurchaseDateTime()
Optional.UserAttribute.Builder
clearLastPurchaseDateTime()
Timestamp of the last purchase made by the user.UserAttribute.Builder
clearLifecycleStage()
Optional.UserAttribute.Builder
clearLifetimeValueBucket()
Advertiser defined lifetime value bucket for the user.UserAttribute.Builder
clearLifetimeValueMicros()
Advertiser defined lifetime value for the user.UserAttribute.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UserAttribute.Builder
clearShoppingLoyalty()
The shopping loyalty related data.UserAttribute.Builder
clone()
java.lang.String
getAcquisitionDateTime()
Timestamp when the user was acquired.com.google.protobuf.ByteString
getAcquisitionDateTimeBytes()
Timestamp when the user was acquired.int
getAveragePurchaseCount()
Advertiser defined average number of purchases that are made by the user in a 30 day period.long
getAveragePurchaseValueMicros()
Advertiser defined average purchase value in micros for the user.UserAttribute
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
EventAttribute
getEventAttribute(int index)
Optional.EventAttribute.Builder
getEventAttributeBuilder(int index)
Optional.java.util.List<EventAttribute.Builder>
getEventAttributeBuilderList()
Optional.int
getEventAttributeCount()
Optional.java.util.List<EventAttribute>
getEventAttributeList()
Optional.EventAttributeOrBuilder
getEventAttributeOrBuilder(int index)
Optional.java.util.List<? extends EventAttributeOrBuilder>
getEventAttributeOrBuilderList()
Optional.java.lang.String
getFirstPurchaseDateTime()
Optional.com.google.protobuf.ByteString
getFirstPurchaseDateTimeBytes()
Optional.java.lang.String
getLastPurchaseDateTime()
Timestamp of the last purchase made by the user.com.google.protobuf.ByteString
getLastPurchaseDateTimeBytes()
Timestamp of the last purchase made by the user.java.lang.String
getLifecycleStage()
Optional.com.google.protobuf.ByteString
getLifecycleStageBytes()
Optional.int
getLifetimeValueBucket()
Advertiser defined lifetime value bucket for the user.long
getLifetimeValueMicros()
Advertiser defined lifetime value for the user.ShoppingLoyalty
getShoppingLoyalty()
The shopping loyalty related data.ShoppingLoyalty.Builder
getShoppingLoyaltyBuilder()
The shopping loyalty related data.ShoppingLoyaltyOrBuilder
getShoppingLoyaltyOrBuilder()
The shopping loyalty related data.boolean
hasLifetimeValueBucket()
Advertiser defined lifetime value bucket for the user.boolean
hasLifetimeValueMicros()
Advertiser defined lifetime value for the user.boolean
hasShoppingLoyalty()
The shopping loyalty related data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UserAttribute.Builder
mergeFrom(UserAttribute other)
UserAttribute.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UserAttribute.Builder
mergeFrom(com.google.protobuf.Message other)
UserAttribute.Builder
mergeShoppingLoyalty(ShoppingLoyalty value)
The shopping loyalty related data.UserAttribute.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UserAttribute.Builder
removeEventAttribute(int index)
Optional.UserAttribute.Builder
setAcquisitionDateTime(java.lang.String value)
Timestamp when the user was acquired.UserAttribute.Builder
setAcquisitionDateTimeBytes(com.google.protobuf.ByteString value)
Timestamp when the user was acquired.UserAttribute.Builder
setAveragePurchaseCount(int value)
Advertiser defined average number of purchases that are made by the user in a 30 day period.UserAttribute.Builder
setAveragePurchaseValueMicros(long value)
Advertiser defined average purchase value in micros for the user.UserAttribute.Builder
setEventAttribute(int index, EventAttribute value)
Optional.UserAttribute.Builder
setEventAttribute(int index, EventAttribute.Builder builderForValue)
Optional.UserAttribute.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
UserAttribute.Builder
setFirstPurchaseDateTime(java.lang.String value)
Optional.UserAttribute.Builder
setFirstPurchaseDateTimeBytes(com.google.protobuf.ByteString value)
Optional.UserAttribute.Builder
setLastPurchaseDateTime(java.lang.String value)
Timestamp of the last purchase made by the user.UserAttribute.Builder
setLastPurchaseDateTimeBytes(com.google.protobuf.ByteString value)
Timestamp of the last purchase made by the user.UserAttribute.Builder
setLifecycleStage(java.lang.String value)
Optional.UserAttribute.Builder
setLifecycleStageBytes(com.google.protobuf.ByteString value)
Optional.UserAttribute.Builder
setLifetimeValueBucket(int value)
Advertiser defined lifetime value bucket for the user.UserAttribute.Builder
setLifetimeValueMicros(long value)
Advertiser defined lifetime value for the user.UserAttribute.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
UserAttribute.Builder
setShoppingLoyalty(ShoppingLoyalty value)
The shopping loyalty related data.UserAttribute.Builder
setShoppingLoyalty(ShoppingLoyalty.Builder builderForValue)
The shopping loyalty related data.UserAttribute.Builder
setUnknownFields(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, internalGetMutableMapField, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
clear
public UserAttribute.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
getDefaultInstanceForType
public UserAttribute getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UserAttribute build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UserAttribute buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UserAttribute.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
setField
public UserAttribute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
clearField
public UserAttribute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
clearOneof
public UserAttribute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
addRepeatedField
public UserAttribute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
mergeFrom
public UserAttribute.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserAttribute.Builder>
-
mergeFrom
public UserAttribute.Builder mergeFrom(UserAttribute other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasLifetimeValueMicros
in 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:
getLifetimeValueMicros
in 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:
hasLifetimeValueBucket
in 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:
getLifetimeValueBucket
in 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:
getLastPurchaseDateTime
in 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:
getLastPurchaseDateTimeBytes
in 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:
getAveragePurchaseCount
in 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:
getAveragePurchaseValueMicros
in 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:
getAcquisitionDateTime
in 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:
getAcquisitionDateTimeBytes
in 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.v13.common.ShoppingLoyalty shopping_loyalty = 7;
- Specified by:
hasShoppingLoyalty
in 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.v13.common.ShoppingLoyalty shopping_loyalty = 7;
- Specified by:
getShoppingLoyalty
in 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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.common.ShoppingLoyalty shopping_loyalty = 7;
- Specified by:
getShoppingLoyaltyOrBuilder
in 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:
getLifecycleStage
in 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:
getLifecycleStageBytes
in 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:
getFirstPurchaseDateTime
in 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:
getFirstPurchaseDateTimeBytes
in 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.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEventAttributeList
in 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.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEventAttributeCount
in 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.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEventAttribute
in 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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.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.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEventAttributeOrBuilder
in 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.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getEventAttributeOrBuilderList
in 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.v13.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.v13.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.v13.common.EventAttribute event_attribute = 10 [(.google.api.field_behavior) = OPTIONAL];
-
setUnknownFields
public final UserAttribute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
mergeUnknownFields
public final UserAttribute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserAttribute.Builder>
-
-