Class LtvInfo.Builder (0.14.1)

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

Implements

LtvInfoOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LtvInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LtvInfo.Builder
Overrides

build()

public LtvInfo build()
Returns
TypeDescription
LtvInfo

buildPartial()

public LtvInfo buildPartial()
Returns
TypeDescription
LtvInfo

clear()

public LtvInfo.Builder clear()
Returns
TypeDescription
LtvInfo.Builder
Overrides

clearCurrency()

public LtvInfo.Builder clearCurrency()

The currency corresponding to the revenue.

string currency = 2;

Returns
TypeDescription
LtvInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LtvInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LtvInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LtvInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LtvInfo.Builder
Overrides

clearRevenue()

public LtvInfo.Builder clearRevenue()

The Lifetime Value revenue of this user.

double revenue = 1;

Returns
TypeDescription
LtvInfo.Builder

This builder for chaining.

clone()

public LtvInfo.Builder clone()
Returns
TypeDescription
LtvInfo.Builder
Overrides

getCurrency()

public String getCurrency()

The currency corresponding to the revenue.

string currency = 2;

Returns
TypeDescription
String

The currency.

getCurrencyBytes()

public ByteString getCurrencyBytes()

The currency corresponding to the revenue.

string currency = 2;

Returns
TypeDescription
ByteString

The bytes for currency.

getDefaultInstanceForType()

public LtvInfo getDefaultInstanceForType()
Returns
TypeDescription
LtvInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRevenue()

public double getRevenue()

The Lifetime Value revenue of this user.

double revenue = 1;

Returns
TypeDescription
double

The revenue.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LtvInfo other)

public LtvInfo.Builder mergeFrom(LtvInfo other)
Parameter
NameDescription
otherLtvInfo
Returns
TypeDescription
LtvInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LtvInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LtvInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LtvInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LtvInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LtvInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LtvInfo.Builder
Overrides

setCurrency(String value)

public LtvInfo.Builder setCurrency(String value)

The currency corresponding to the revenue.

string currency = 2;

Parameter
NameDescription
valueString

The currency to set.

Returns
TypeDescription
LtvInfo.Builder

This builder for chaining.

setCurrencyBytes(ByteString value)

public LtvInfo.Builder setCurrencyBytes(ByteString value)

The currency corresponding to the revenue.

string currency = 2;

Parameter
NameDescription
valueByteString

The bytes for currency to set.

Returns
TypeDescription
LtvInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LtvInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LtvInfo.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LtvInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LtvInfo.Builder
Overrides

setRevenue(double value)

public LtvInfo.Builder setRevenue(double value)

The Lifetime Value revenue of this user.

double revenue = 1;

Parameter
NameDescription
valuedouble

The revenue to set.

Returns
TypeDescription
LtvInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final LtvInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LtvInfo.Builder
Overrides