Class UserPropertyValue (0.14.1)

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

Static Fields

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

SET_TIMESTAMP_USEC_FIELD_NUMBER

public static final int SET_TIMESTAMP_USEC_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UserPropertyValue getDefaultInstance()
Returns
TypeDescription
UserPropertyValue

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UserPropertyValue.Builder newBuilder()
Returns
TypeDescription
UserPropertyValue.Builder

newBuilder(UserPropertyValue prototype)

public static UserPropertyValue.Builder newBuilder(UserPropertyValue prototype)
Parameter
NameDescription
prototypeUserPropertyValue
Returns
TypeDescription
UserPropertyValue.Builder

parseDelimitedFrom(InputStream input)

public static UserPropertyValue parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserPropertyValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UserPropertyValue parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UserPropertyValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UserPropertyValue parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UserPropertyValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UserPropertyValue parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UserPropertyValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UserPropertyValue parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UserPropertyValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UserPropertyValue parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UserPropertyValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UserPropertyValue
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UserPropertyValue> parser()
Returns
TypeDescription
Parser<UserPropertyValue>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UserPropertyValue getDefaultInstanceForType()
Returns
TypeDescription
UserPropertyValue

getIndex()

public int getIndex()

Index for user property (one-based).

int32 index = 3;

Returns
TypeDescription
int

The index.

getParserForType()

public Parser<UserPropertyValue> getParserForType()
Returns
TypeDescription
Parser<UserPropertyValue>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSetTimestampUsec()

public long getSetTimestampUsec()

UTC client time when user property was last set.

int64 set_timestamp_usec = 2;

Returns
TypeDescription
long

The setTimestampUsec.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public AnalyticsValue getValue()

Last set value of user property.

.google.events.firebase.analytics.v1.AnalyticsValue value = 1;

Returns
TypeDescription
AnalyticsValue

The value.

getValueOrBuilder()

public AnalyticsValueOrBuilder getValueOrBuilder()

Last set value of user property.

.google.events.firebase.analytics.v1.AnalyticsValue value = 1;

Returns
TypeDescription
AnalyticsValueOrBuilder

hasValue()

public boolean hasValue()

Last set value of user property.

.google.events.firebase.analytics.v1.AnalyticsValue value = 1;

Returns
TypeDescription
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UserPropertyValue.Builder newBuilderForType()
Returns
TypeDescription
UserPropertyValue.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UserPropertyValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UserPropertyValue.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UserPropertyValue.Builder toBuilder()
Returns
TypeDescription
UserPropertyValue.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException