Send feedback
Class UserPropertyValue.Builder (0.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.15.0 keyboard_arrow_down
public static final class UserPropertyValue . Builder extends GeneratedMessageV3 . Builder<UserPropertyValue . Builder > implements UserPropertyValueOrBuilder
Predefined (eg: LTV) or custom properties (eg: birthday) stored on client
side and associated with subsequent HitBundles.
Protobuf type google.events.firebase.analytics.v1.UserPropertyValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserPropertyValue . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public UserPropertyValue build ()
buildPartial()
public UserPropertyValue buildPartial ()
clear()
public UserPropertyValue . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UserPropertyValue . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearIndex()
public UserPropertyValue . Builder clearIndex ()
Index for user property (one-based).
int32 index = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public UserPropertyValue . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearSetTimestampUsec()
public UserPropertyValue . Builder clearSetTimestampUsec ()
UTC client time when user property was last set.
int64 set_timestamp_usec = 2;
clearValue()
public UserPropertyValue . Builder clearValue ()
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
clone()
public UserPropertyValue . Builder clone ()
Overrides
getDefaultInstanceForType()
public UserPropertyValue getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getIndex()
Index for user property (one-based).
int32 index = 3;
Returns
Type
Description
int
The index.
getSetTimestampUsec()
public long getSetTimestampUsec ()
UTC client time when user property was last set.
int64 set_timestamp_usec = 2;
Returns
Type
Description
long
The setTimestampUsec.
getValue()
public AnalyticsValue getValue ()
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
getValueBuilder()
public AnalyticsValue . Builder getValueBuilder ()
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
getValueOrBuilder()
public AnalyticsValueOrBuilder getValueOrBuilder ()
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
hasValue()
public boolean hasValue ()
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
Returns
Type
Description
boolean
Whether the value field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(UserPropertyValue other)
public UserPropertyValue . Builder mergeFrom ( UserPropertyValue other )
public UserPropertyValue . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public UserPropertyValue . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserPropertyValue . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
mergeValue(AnalyticsValue value)
public UserPropertyValue . Builder mergeValue ( AnalyticsValue value )
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public UserPropertyValue . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setIndex(int value)
public UserPropertyValue . Builder setIndex ( int value )
Index for user property (one-based).
int32 index = 3;
Parameter
Name
Description
value
int
The index to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserPropertyValue . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setSetTimestampUsec(long value)
public UserPropertyValue . Builder setSetTimestampUsec ( long value )
UTC client time when user property was last set.
int64 set_timestamp_usec = 2;
Parameter
Name
Description
value
long
The setTimestampUsec to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final UserPropertyValue . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setValue(AnalyticsValue value)
public UserPropertyValue . Builder setValue ( AnalyticsValue value )
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
setValue(AnalyticsValue.Builder builderForValue)
public UserPropertyValue . Builder setValue ( AnalyticsValue . Builder builderForValue )
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]