Class LtvInfo (0.15.0)

public final class LtvInfo extends GeneratedMessageV3 implements LtvInfoOrBuilder

Lifetime Value information about this user.

Protobuf type google.events.firebase.analytics.v1.LtvInfo

Implements

LtvInfoOrBuilder

Static Fields

CURRENCY_FIELD_NUMBER

public static final int CURRENCY_FIELD_NUMBER
Field Value
Type Description
int

REVENUE_FIELD_NUMBER

public static final int REVENUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LtvInfo getDefaultInstance()
Returns
Type Description
LtvInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LtvInfo.Builder newBuilder()
Returns
Type Description
LtvInfo.Builder

newBuilder(LtvInfo prototype)

public static LtvInfo.Builder newBuilder(LtvInfo prototype)
Parameter
Name Description
prototype LtvInfo
Returns
Type Description
LtvInfo.Builder

parseDelimitedFrom(InputStream input)

public static LtvInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LtvInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LtvInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LtvInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LtvInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LtvInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LtvInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LtvInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LtvInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LtvInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LtvInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LtvInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LtvInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LtvInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LtvInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LtvInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LtvInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LtvInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LtvInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LtvInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LtvInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LtvInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LtvInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LtvInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LtvInfo> parser()
Returns
Type Description
Parser<LtvInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCurrency()

public String getCurrency()

The currency corresponding to the revenue.

string currency = 2;

Returns
Type Description
String

The currency.

getCurrencyBytes()

public ByteString getCurrencyBytes()

The currency corresponding to the revenue.

string currency = 2;

Returns
Type Description
ByteString

The bytes for currency.

getDefaultInstanceForType()

public LtvInfo getDefaultInstanceForType()
Returns
Type Description
LtvInfo

getParserForType()

public Parser<LtvInfo> getParserForType()
Returns
Type Description
Parser<LtvInfo>
Overrides

getRevenue()

public double getRevenue()

The Lifetime Value revenue of this user.

double revenue = 1;

Returns
Type Description
double

The revenue.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LtvInfo.Builder newBuilderForType()
Returns
Type Description
LtvInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LtvInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LtvInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LtvInfo.Builder toBuilder()
Returns
Type Description
LtvInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException