Send feedback
Class EventDimensions (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class EventDimensions extends GeneratedMessageV3 implements EventDimensionsOrBuilder
Message containing information pertaining to the event.
Protobuf type google.events.firebase.analytics.v1.EventDimensions
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATE_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
Field Value
Type
Description
int
PREVIOUS_TIMESTAMP_MICROS_FIELD_NUMBER
public static final int PREVIOUS_TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
Type
Description
int
TIMESTAMP_MICROS_FIELD_NUMBER
public static final int TIMESTAMP_MICROS_FIELD_NUMBER
Field Value
Type
Description
int
VALUE_IN_USD_FIELD_NUMBER
public static final int VALUE_IN_USD_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static EventDimensions getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static EventDimensions . Builder newBuilder ()
newBuilder(EventDimensions prototype)
public static EventDimensions . Builder newBuilder ( EventDimensions prototype )
public static EventDimensions parseDelimitedFrom ( InputStream input )
public static EventDimensions parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static EventDimensions parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static EventDimensions parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static EventDimensions parseFrom ( CodedInputStream input )
public static EventDimensions parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static EventDimensions parseFrom ( InputStream input )
public static EventDimensions parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static EventDimensions parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<EventDimensions> parser ()
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
Name
Description
key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDate()
The date on which this event was logged.
(YYYYMMDD format in the registered timezone of your app.)
string date = 6;
Returns
Type
Description
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
Type
Description
ByteString
The bytes for date.
getDefaultInstanceForType()
public EventDimensions getDefaultInstanceForType ()
getName()
The name of this event.
string name = 1;
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
The name of this event.
string name = 1;
Returns
Type
Description
ByteString
The bytes for name.
getParams()
public Map<String , AnalyticsValue > getParams ()
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
Type
Description
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;
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;
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
Name
Description
key
String
getParserForType()
public Parser<EventDimensions> getParserForType ()
Overrides
getPreviousTimestampMicros()
public long getPreviousTimestampMicros ()
UTC client time when the previous event happened.
int64 previous_timestamp_micros = 5;
Returns
Type
Description
long
The previousTimestampMicros.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTimestampMicros()
public long getTimestampMicros ()
UTC client time when the event happened.
int64 timestamp_micros = 4;
Returns
Type
Description
long
The timestampMicros.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
getValueInUsd()
public double getValueInUsd ()
Value param in USD.
double value_in_usd = 7;
Returns
Type
Description
double
The valueInUsd.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Name
Description
number
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public EventDimensions . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EventDimensions . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public EventDimensions . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
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-10-10 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-10-10 UTC."],[],[]]