public final class UserPropertyValue extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
INDEX_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SET_TIMESTAMP_USEC_FIELD_NUMBER
public static final int SET_TIMESTAMP_USEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UserPropertyValue getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UserPropertyValue.Builder newBuilder()
newBuilder(UserPropertyValue prototype)
public static UserPropertyValue.Builder newBuilder(UserPropertyValue prototype)
public static UserPropertyValue parseDelimitedFrom(InputStream input)
public static UserPropertyValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UserPropertyValue parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UserPropertyValue parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(CodedInputStream input)
public static UserPropertyValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(InputStream input)
public static UserPropertyValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UserPropertyValue parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UserPropertyValue> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public UserPropertyValue getDefaultInstanceForType()
getIndex()
Index for user property (one-based).
int32 index = 3;
Returns |
Type |
Description |
int |
The index.
|
getParserForType()
public Parser<UserPropertyValue> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSetTimestampUsec()
public long getSetTimestampUsec()
UTC client time when user property was last set.
int64 set_timestamp_usec = 2;
Returns |
Type |
Description |
long |
The setTimestampUsec.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getValue()
public AnalyticsValue getValue()
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UserPropertyValue.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UserPropertyValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UserPropertyValue.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides