Send feedback
Class LtvInfo.Builder (0.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.14.1 keyboard_arrow_down
public static final class LtvInfo . Builder extends GeneratedMessageV3 . Builder<LtvInfo . Builder > implements LtvInfoOrBuilder
Lifetime Value information about this user.
Protobuf type google.events.firebase.analytics.v1.LtvInfo
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 LtvInfo . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
buildPartial()
public LtvInfo buildPartial ()
clear()
public LtvInfo . Builder clear ()
Overrides
clearCurrency()
public LtvInfo . Builder clearCurrency ()
The currency corresponding to the revenue.
string currency = 2;
clearField(Descriptors.FieldDescriptor field)
public LtvInfo . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LtvInfo . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRevenue()
public LtvInfo . Builder clearRevenue ()
The Lifetime Value revenue of this user.
double revenue = 1;
clone()
public LtvInfo . Builder clone ()
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRevenue()
public double getRevenue ()
The Lifetime Value revenue of this user.
double revenue = 1;
Returns Type Description double
The revenue.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(LtvInfo other)
public LtvInfo . Builder mergeFrom ( LtvInfo other )
Parameter Name Description other
LtvInfo
public LtvInfo . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public LtvInfo . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LtvInfo . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCurrency(String value)
public LtvInfo . Builder setCurrency ( String value )
The currency corresponding to the revenue.
string currency = 2;
Parameter Name Description value
String
The currency to set.
setCurrencyBytes(ByteString value)
public LtvInfo . Builder setCurrencyBytes ( ByteString value )
The currency corresponding to the revenue.
string currency = 2;
Parameter Name Description value
ByteString
The bytes for currency to set.
setField(Descriptors.FieldDescriptor field, Object value)
public LtvInfo . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LtvInfo . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRevenue(double value)
public LtvInfo . Builder setRevenue ( double value )
The Lifetime Value revenue of this user.
double revenue = 1;
Parameter Name Description value
double
The revenue to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final LtvInfo . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-03 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-03 UTC."],[],[]]