Class AnalyticsLogData.Builder (0.16.0)

public static final class AnalyticsLogData.Builder extends GeneratedMessageV3.Builder<AnalyticsLogData.Builder> implements AnalyticsLogDataOrBuilder

The data within Firebase Analytics log events.

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

Static Methods

getDescriptor()

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

Methods

addAllEventDim(Iterable<? extends EventDimensions> values)

public AnalyticsLogData.Builder addAllEventDim(Iterable<? extends EventDimensions> values)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
values Iterable<? extends com.google.events.firebase.analytics.v1.EventDimensions>
Returns
Type Description
AnalyticsLogData.Builder

addEventDim(EventDimensions value)

public AnalyticsLogData.Builder addEventDim(EventDimensions value)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
value EventDimensions
Returns
Type Description
AnalyticsLogData.Builder

addEventDim(EventDimensions.Builder builderForValue)

public AnalyticsLogData.Builder addEventDim(EventDimensions.Builder builderForValue)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
builderForValue EventDimensions.Builder
Returns
Type Description
AnalyticsLogData.Builder

addEventDim(int index, EventDimensions value)

public AnalyticsLogData.Builder addEventDim(int index, EventDimensions value)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameters
Name Description
index int
value EventDimensions
Returns
Type Description
AnalyticsLogData.Builder

addEventDim(int index, EventDimensions.Builder builderForValue)

public AnalyticsLogData.Builder addEventDim(int index, EventDimensions.Builder builderForValue)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameters
Name Description
index int
builderForValue EventDimensions.Builder
Returns
Type Description
AnalyticsLogData.Builder

addEventDimBuilder()

public EventDimensions.Builder addEventDimBuilder()

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Returns
Type Description
EventDimensions.Builder

addEventDimBuilder(int index)

public EventDimensions.Builder addEventDimBuilder(int index)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
index int
Returns
Type Description
EventDimensions.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyticsLogData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyticsLogData.Builder
Overrides

build()

public AnalyticsLogData build()
Returns
Type Description
AnalyticsLogData

buildPartial()

public AnalyticsLogData buildPartial()
Returns
Type Description
AnalyticsLogData

clear()

public AnalyticsLogData.Builder clear()
Returns
Type Description
AnalyticsLogData.Builder
Overrides

clearEventDim()

public AnalyticsLogData.Builder clearEventDim()

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Returns
Type Description
AnalyticsLogData.Builder

clearField(Descriptors.FieldDescriptor field)

public AnalyticsLogData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyticsLogData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyticsLogData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AnalyticsLogData.Builder
Overrides

clearUserDim()

public AnalyticsLogData.Builder clearUserDim()

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Returns
Type Description
AnalyticsLogData.Builder

clone()

public AnalyticsLogData.Builder clone()
Returns
Type Description
AnalyticsLogData.Builder
Overrides

getDefaultInstanceForType()

public AnalyticsLogData getDefaultInstanceForType()
Returns
Type Description
AnalyticsLogData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventDim(int index)

public EventDimensions getEventDim(int index)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
index int
Returns
Type Description
EventDimensions

getEventDimBuilder(int index)

public EventDimensions.Builder getEventDimBuilder(int index)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
index int
Returns
Type Description
EventDimensions.Builder

getEventDimBuilderList()

public List<EventDimensions.Builder> getEventDimBuilderList()

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Returns
Type Description
List<Builder>

getEventDimCount()

public int getEventDimCount()

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Returns
Type Description
int

getEventDimList()

public List<EventDimensions> getEventDimList()

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Returns
Type Description
List<EventDimensions>

getEventDimOrBuilder(int index)

public EventDimensionsOrBuilder getEventDimOrBuilder(int index)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
index int
Returns
Type Description
EventDimensionsOrBuilder

getEventDimOrBuilderList()

public List<? extends EventDimensionsOrBuilder> getEventDimOrBuilderList()

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Returns
Type Description
List<? extends com.google.events.firebase.analytics.v1.EventDimensionsOrBuilder>

getUserDim()

public UserDimensions getUserDim()

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Returns
Type Description
UserDimensions

The userDim.

getUserDimBuilder()

public UserDimensions.Builder getUserDimBuilder()

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Returns
Type Description
UserDimensions.Builder

getUserDimOrBuilder()

public UserDimensionsOrBuilder getUserDimOrBuilder()

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Returns
Type Description
UserDimensionsOrBuilder

hasUserDim()

public boolean hasUserDim()

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Returns
Type Description
boolean

Whether the userDim field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyticsLogData other)

public AnalyticsLogData.Builder mergeFrom(AnalyticsLogData other)
Parameter
Name Description
other AnalyticsLogData
Returns
Type Description
AnalyticsLogData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AnalyticsLogData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AnalyticsLogData.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AnalyticsLogData.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AnalyticsLogData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyticsLogData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyticsLogData.Builder
Overrides

mergeUserDim(UserDimensions value)

public AnalyticsLogData.Builder mergeUserDim(UserDimensions value)

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Parameter
Name Description
value UserDimensions
Returns
Type Description
AnalyticsLogData.Builder

removeEventDim(int index)

public AnalyticsLogData.Builder removeEventDim(int index)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyticsLogData.Builder

setEventDim(int index, EventDimensions value)

public AnalyticsLogData.Builder setEventDim(int index, EventDimensions value)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameters
Name Description
index int
value EventDimensions
Returns
Type Description
AnalyticsLogData.Builder

setEventDim(int index, EventDimensions.Builder builderForValue)

public AnalyticsLogData.Builder setEventDim(int index, EventDimensions.Builder builderForValue)

A repeated record of event related dimensions.

repeated .google.events.firebase.analytics.v1.EventDimensions event_dim = 2;

Parameters
Name Description
index int
builderForValue EventDimensions.Builder
Returns
Type Description
AnalyticsLogData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AnalyticsLogData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AnalyticsLogData.Builder
Overrides

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

public AnalyticsLogData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnalyticsLogData.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyticsLogData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyticsLogData.Builder
Overrides

setUserDim(UserDimensions value)

public AnalyticsLogData.Builder setUserDim(UserDimensions value)

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Parameter
Name Description
value UserDimensions
Returns
Type Description
AnalyticsLogData.Builder

setUserDim(UserDimensions.Builder builderForValue)

public AnalyticsLogData.Builder setUserDim(UserDimensions.Builder builderForValue)

User related dimensions.

.google.events.firebase.analytics.v1.UserDimensions user_dim = 1;

Parameter
Name Description
builderForValue UserDimensions.Builder
Returns
Type Description
AnalyticsLogData.Builder