public static final class EventDimensions.Builder extends GeneratedMessageV3.Builder<EventDimensions.Builder> implements EventDimensionsOrBuilderMessage containing information pertaining to the event.
Protobuf type google.events.firebase.analytics.v1.EventDimensions
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EventDimensions.BuilderImplements
EventDimensionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventDimensions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
build()
public EventDimensions build()| Returns | |
|---|---|
| Type | Description |
EventDimensions |
|
buildPartial()
public EventDimensions buildPartial()| Returns | |
|---|---|
| Type | Description |
EventDimensions |
|
clear()
public EventDimensions.Builder clear()| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
clearDate()
public EventDimensions.Builder clearDate()The date on which this event was logged. (YYYYMMDD format in the registered timezone of your app.)
string date = 6;
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public EventDimensions.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
clearName()
public EventDimensions.Builder clearName()The name of this event.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EventDimensions.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
clearParams()
public EventDimensions.Builder clearParams()| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
clearPreviousTimestampMicros()
public EventDimensions.Builder clearPreviousTimestampMicros()UTC client time when the previous event happened.
int64 previous_timestamp_micros = 5;
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
clearTimestampMicros()
public EventDimensions.Builder clearTimestampMicros()UTC client time when the event happened.
int64 timestamp_micros = 4;
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
clearValueInUsd()
public EventDimensions.Builder clearValueInUsd()Value param in USD.
double value_in_usd = 7;
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
clone()
public EventDimensions.Builder clone()| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
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 |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableParams()
public Map<String,AnalyticsValue> getMutableParams()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,AnalyticsValue> |
|
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 |
|
getPreviousTimestampMicros()
public long getPreviousTimestampMicros()UTC client time when the previous event happened.
int64 previous_timestamp_micros = 5;
| Returns | |
|---|---|
| Type | Description |
long |
The previousTimestampMicros. |
getTimestampMicros()
public long getTimestampMicros()UTC client time when the event happened.
int64 timestamp_micros = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The timestampMicros. |
getValueInUsd()
public double getValueInUsd()Value param in USD.
double value_in_usd = 7;
| Returns | |
|---|---|
| Type | Description |
double |
The valueInUsd. |
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 |
|
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
MapField |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(EventDimensions other)
public EventDimensions.Builder mergeFrom(EventDimensions other)| Parameter | |
|---|---|
| Name | Description |
other |
EventDimensions |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EventDimensions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public EventDimensions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventDimensions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
putAllParams(Map<String,AnalyticsValue> values)
public EventDimensions.Builder putAllParams(Map<String,AnalyticsValue> values)A repeated record of the parameters associated with this event.
map<string, .google.events.firebase.analytics.v1.AnalyticsValue> params = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,AnalyticsValue> |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
putParams(String key, AnalyticsValue value)
public EventDimensions.Builder putParams(String key, AnalyticsValue value)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 |
value |
AnalyticsValue |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
removeParams(String key)
public EventDimensions.Builder removeParams(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 |
EventDimensions.Builder |
|
setDate(String value)
public EventDimensions.Builder setDate(String value)The date on which this event was logged. (YYYYMMDD format in the registered timezone of your app.)
string date = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe date to set. |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
setDateBytes(ByteString value)
public EventDimensions.Builder setDateBytes(ByteString value)The date on which this event was logged. (YYYYMMDD format in the registered timezone of your app.)
string date = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for date to set. |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public EventDimensions.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
setName(String value)
public EventDimensions.Builder setName(String value)The name of this event.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EventDimensions.Builder setNameBytes(ByteString value)The name of this event.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
setPreviousTimestampMicros(long value)
public EventDimensions.Builder setPreviousTimestampMicros(long value)UTC client time when the previous event happened.
int64 previous_timestamp_micros = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe previousTimestampMicros to set. |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventDimensions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
setTimestampMicros(long value)
public EventDimensions.Builder setTimestampMicros(long value)UTC client time when the event happened.
int64 timestamp_micros = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe timestampMicros to set. |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final EventDimensions.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
|
setValueInUsd(double value)
public EventDimensions.Builder setValueInUsd(double value)Value param in USD.
double value_in_usd = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe valueInUsd to set. |
| Returns | |
|---|---|
| Type | Description |
EventDimensions.Builder |
This builder for chaining. |