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;