Class EventDimensions (0.14.1)

public final class EventDimensions extends GeneratedMessageV3 implements EventDimensionsOrBuilder

Message containing information pertaining to the event.

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

Static Fields

DATE_FIELD_NUMBER

public static final int DATE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PARAMS_FIELD_NUMBER

public static final int PARAMS_FIELD_NUMBER
Field Value
TypeDescription
int

PREVIOUS_TIMESTAMP_MICROS_FIELD_NUMBER

public static final int PREVIOUS_TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
TypeDescription
int

TIMESTAMP_MICROS_FIELD_NUMBER

public static final int TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_IN_USD_FIELD_NUMBER

public static final int VALUE_IN_USD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EventDimensions getDefaultInstance()
Returns
TypeDescription
EventDimensions

getDescriptor()

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

newBuilder()

public static EventDimensions.Builder newBuilder()
Returns
TypeDescription
EventDimensions.Builder

newBuilder(EventDimensions prototype)

public static EventDimensions.Builder newBuilder(EventDimensions prototype)
Parameter
NameDescription
prototypeEventDimensions
Returns
TypeDescription
EventDimensions.Builder

parseDelimitedFrom(InputStream input)

public static EventDimensions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventDimensions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static EventDimensions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static EventDimensions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static EventDimensions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static EventDimensions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static EventDimensions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static EventDimensions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static EventDimensions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static EventDimensions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static EventDimensions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static EventDimensions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventDimensions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<EventDimensions> parser()
Returns
TypeDescription
Parser<EventDimensions>

Methods

containsParams(String key)

public boolean containsParams(String key)

A repeated record of the parameters associated with this event.

map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDate()

public String getDate()

The date on which this event was logged. (YYYYMMDD format in the registered timezone of your app.)

string date = 6;

Returns
TypeDescription
String

The date.

getDateBytes()

public ByteString getDateBytes()

The date on which this event was logged. (YYYYMMDD format in the registered timezone of your app.)

string date = 6;

Returns
TypeDescription
ByteString

The bytes for date.

getDefaultInstanceForType()

public EventDimensions getDefaultInstanceForType()
Returns
TypeDescription
EventDimensions

getName()

public String getName()

The name of this event.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of this event.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParams()

public Map<String,AnalyticsValue> getParams()

Use #getParamsMap() instead.

Returns
TypeDescription
Map<String,AnalyticsValue>

getParamsCount()

public int getParamsCount()

A repeated record of the parameters associated with this event.

map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;

Returns
TypeDescription
int

getParamsMap()

public Map<String,AnalyticsValue> getParamsMap()

A repeated record of the parameters associated with this event.

map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;

Returns
TypeDescription
Map<String,AnalyticsValue>

getParamsOrDefault(String key, AnalyticsValue defaultValue)

public AnalyticsValue getParamsOrDefault(String key, AnalyticsValue defaultValue)

A repeated record of the parameters associated with this event.

map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;

Parameters
NameDescription
keyString
defaultValueAnalyticsValue
Returns
TypeDescription
AnalyticsValue

getParamsOrThrow(String key)

public AnalyticsValue getParamsOrThrow(String key)

A repeated record of the parameters associated with this event.

map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
AnalyticsValue

getParserForType()

public Parser<EventDimensions> getParserForType()
Returns
TypeDescription
Parser<EventDimensions>
Overrides

getPreviousTimestampMicros()

public long getPreviousTimestampMicros()

UTC client time when the previous event happened.

int64 previous_timestamp_micros = 5;

Returns
TypeDescription
long

The previousTimestampMicros.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTimestampMicros()

public long getTimestampMicros()

UTC client time when the event happened.

int64 timestamp_micros = 4;

Returns
TypeDescription
long

The timestampMicros.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValueInUsd()

public double getValueInUsd()

Value param in USD.

double value_in_usd = 7;

Returns
TypeDescription
double

The valueInUsd.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public EventDimensions.Builder newBuilderForType()
Returns
TypeDescription
EventDimensions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected EventDimensions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
EventDimensions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public EventDimensions.Builder toBuilder()
Returns
TypeDescription
EventDimensions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException