Class AnalyticsLogData.Builder (0.14.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.events.firebase.analytics.v1.EventDimensions>
Returns
TypeDescription
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
NameDescription
valueEventDimensions
Returns
TypeDescription
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
NameDescription
builderForValueEventDimensions.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEventDimensions
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventDimensions.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EventDimensions.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnalyticsLogData build()
Returns
TypeDescription
AnalyticsLogData

buildPartial()

public AnalyticsLogData buildPartial()
Returns
TypeDescription
AnalyticsLogData

clear()

public AnalyticsLogData.Builder clear()
Returns
TypeDescription
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
TypeDescription
AnalyticsLogData.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUserDim()

public AnalyticsLogData.Builder clearUserDim()

User related dimensions.

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

Returns
TypeDescription
AnalyticsLogData.Builder

clone()

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

getDefaultInstanceForType()

public AnalyticsLogData getDefaultInstanceForType()
Returns
TypeDescription
AnalyticsLogData

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getEventDimCount()

public int getEventDimCount()

A repeated record of event related dimensions.

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

Returns
TypeDescription
int

getEventDimList()

public List<EventDimensions> getEventDimList()

A repeated record of event related dimensions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UserDimensions

The userDim.

getUserDimBuilder()

public UserDimensions.Builder getUserDimBuilder()

User related dimensions.

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

Returns
TypeDescription
UserDimensions.Builder

getUserDimOrBuilder()

public UserDimensionsOrBuilder getUserDimOrBuilder()

User related dimensions.

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

Returns
TypeDescription
UserDimensionsOrBuilder

hasUserDim()

public boolean hasUserDim()

User related dimensions.

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

Returns
TypeDescription
boolean

Whether the userDim field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyticsLogData other)

public AnalyticsLogData.Builder mergeFrom(AnalyticsLogData other)
Parameter
NameDescription
otherAnalyticsLogData
Returns
TypeDescription
AnalyticsLogData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyticsLogData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueUserDimensions
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEventDimensions
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventDimensions.Builder
Returns
TypeDescription
AnalyticsLogData.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final AnalyticsLogData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueUserDimensions
Returns
TypeDescription
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
NameDescription
builderForValueUserDimensions.Builder
Returns
TypeDescription
AnalyticsLogData.Builder