public final class EventDimensions extends GeneratedMessageV3 implements EventDimensionsOrBuilder
Message containing information pertaining to the event.
Protobuf type google.events.firebase.analytics.v1.EventDimensions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > EventDimensionsImplements
EventDimensionsOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
EventDimensions |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static EventDimensions.Builder newBuilder()
Returns | |
---|---|
Type | Description |
EventDimensions.Builder |
newBuilder(EventDimensions prototype)
public static EventDimensions.Builder newBuilder(EventDimensions prototype)
Parameter | |
---|---|
Name | Description |
prototype | EventDimensions |
Returns | |
---|---|
Type | Description |
EventDimensions.Builder |
parseDelimitedFrom(InputStream input)
public static EventDimensions parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static EventDimensions parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static EventDimensions parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static EventDimensions parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static EventDimensions parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static EventDimensions parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static EventDimensions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventDimensions |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<EventDimensions> parser()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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 | |
---|---|
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()
Returns | |
---|---|
Type | Description |
EventDimensions |
getName()
public String 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()
Use #getParamsMap() instead.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
defaultValue | AnalyticsValue |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
AnalyticsValue |
getParserForType()
public Parser<EventDimensions> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<EventDimensions> |
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 |
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()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
getValueInUsd()
public double getValueInUsd()
Value param in USD.
double value_in_usd = 7;
Returns | |
---|---|
Type | Description |
double | The valueInUsd. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public EventDimensions.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
EventDimensions.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected EventDimensions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
EventDimensions.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public EventDimensions.Builder toBuilder()
Returns | |
---|---|
Type | Description |
EventDimensions.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |