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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > UserPropertyValueImplements
UserPropertyValueOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
UserPropertyValue |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static UserPropertyValue.Builder newBuilder()
Returns | |
---|---|
Type | Description |
UserPropertyValue.Builder |
newBuilder(UserPropertyValue prototype)
public static UserPropertyValue.Builder newBuilder(UserPropertyValue prototype)
Parameter | |
---|---|
Name | Description |
prototype | UserPropertyValue |
Returns | |
---|---|
Type | Description |
UserPropertyValue.Builder |
parseDelimitedFrom(InputStream input)
public static UserPropertyValue parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static UserPropertyValue parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static UserPropertyValue parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static UserPropertyValue parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static UserPropertyValue parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static UserPropertyValue parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserPropertyValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserPropertyValue |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<UserPropertyValue> parser()
Returns | |
---|---|
Type | Description |
Parser<UserPropertyValue> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public UserPropertyValue getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UserPropertyValue |
getIndex()
public int getIndex()
Index for user property (one-based).
int32 index = 3;
Returns | |
---|---|
Type | Description |
int | The index. |
getParserForType()
public Parser<UserPropertyValue> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<UserPropertyValue> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
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()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
getValue()
public AnalyticsValue getValue()
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
Returns | |
---|---|
Type | Description |
AnalyticsValue | The value. |
getValueOrBuilder()
public AnalyticsValueOrBuilder getValueOrBuilder()
Last set value of user property.
.google.events.firebase.analytics.v1.AnalyticsValue value = 1;
Returns | |
---|---|
Type | Description |
AnalyticsValueOrBuilder |
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()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public UserPropertyValue.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
UserPropertyValue.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UserPropertyValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
UserPropertyValue.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public UserPropertyValue.Builder toBuilder()
Returns | |
---|---|
Type | Description |
UserPropertyValue.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |