public final class UserDimensions extends GeneratedMessageV3 implements UserDimensionsOrBuilder
Message containing information about the user associated with the event.
Protobuf type google.events.firebase.analytics.v1.UserDimensions
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
APP_INFO_FIELD_NUMBER
public static final int APP_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BUNDLE_INFO_FIELD_NUMBER
public static final int BUNDLE_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEVICE_INFO_FIELD_NUMBER
public static final int DEVICE_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FIRST_OPEN_TIMESTAMP_MICROS_FIELD_NUMBER
public static final int FIRST_OPEN_TIMESTAMP_MICROS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
GEO_INFO_FIELD_NUMBER
public static final int GEO_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LTV_INFO_FIELD_NUMBER
public static final int LTV_INFO_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TRAFFIC_SOURCE_FIELD_NUMBER
public static final int TRAFFIC_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USER_PROPERTIES_FIELD_NUMBER
public static final int USER_PROPERTIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static UserDimensions getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UserDimensions.Builder newBuilder()
newBuilder(UserDimensions prototype)
public static UserDimensions.Builder newBuilder(UserDimensions prototype)
public static UserDimensions parseDelimitedFrom(InputStream input)
public static UserDimensions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UserDimensions parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UserDimensions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UserDimensions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserDimensions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UserDimensions parseFrom(CodedInputStream input)
public static UserDimensions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UserDimensions parseFrom(InputStream input)
public static UserDimensions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UserDimensions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UserDimensions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UserDimensions> parser()
Methods
containsUserProperties(String key)
public boolean containsUserProperties(String key)
Parameter |
Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAppInfo()
public AppInfo getAppInfo()
App information.
.google.events.firebase.analytics.v1.AppInfo app_info = 6;
Returns |
Type |
Description |
AppInfo |
The appInfo.
|
getAppInfoOrBuilder()
public AppInfoOrBuilder getAppInfoOrBuilder()
App information.
.google.events.firebase.analytics.v1.AppInfo app_info = 6;
getBundleInfo()
public ExportBundleInfo getBundleInfo()
Information regarding the bundle in which these events were uploaded.
.google.events.firebase.analytics.v1.ExportBundleInfo bundle_info = 8;
getBundleInfoOrBuilder()
public ExportBundleInfoOrBuilder getBundleInfoOrBuilder()
Information regarding the bundle in which these events were uploaded.
.google.events.firebase.analytics.v1.ExportBundleInfo bundle_info = 8;
getDefaultInstanceForType()
public UserDimensions getDefaultInstanceForType()
getDeviceInfo()
public DeviceInfo getDeviceInfo()
Device information.
.google.events.firebase.analytics.v1.DeviceInfo device_info = 4;
Returns |
Type |
Description |
DeviceInfo |
The deviceInfo.
|
getDeviceInfoOrBuilder()
public DeviceInfoOrBuilder getDeviceInfoOrBuilder()
Device information.
.google.events.firebase.analytics.v1.DeviceInfo device_info = 4;
getFirstOpenTimestampMicros()
public long getFirstOpenTimestampMicros()
The time (in microseconds) at which the user first opened the app.
int64 first_open_timestamp_micros = 2;
Returns |
Type |
Description |
long |
The firstOpenTimestampMicros.
|
getGeoInfo()
public GeoInfo getGeoInfo()
User's geographic information.
.google.events.firebase.analytics.v1.GeoInfo geo_info = 5;
Returns |
Type |
Description |
GeoInfo |
The geoInfo.
|
getGeoInfoOrBuilder()
public GeoInfoOrBuilder getGeoInfoOrBuilder()
User's geographic information.
.google.events.firebase.analytics.v1.GeoInfo geo_info = 5;
getLtvInfo()
public LtvInfo getLtvInfo()
Lifetime Value information about this user.
.google.events.firebase.analytics.v1.LtvInfo ltv_info = 9;
Returns |
Type |
Description |
LtvInfo |
The ltvInfo.
|
getLtvInfoOrBuilder()
public LtvInfoOrBuilder getLtvInfoOrBuilder()
Lifetime Value information about this user.
.google.events.firebase.analytics.v1.LtvInfo ltv_info = 9;
getParserForType()
public Parser<UserDimensions> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTrafficSource()
public TrafficSource getTrafficSource()
Information about marketing campaign which acquired the user.
.google.events.firebase.analytics.v1.TrafficSource traffic_source = 7;
getTrafficSourceOrBuilder()
public TrafficSourceOrBuilder getTrafficSourceOrBuilder()
Information about marketing campaign which acquired the user.
.google.events.firebase.analytics.v1.TrafficSource traffic_source = 7;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUserId()
public String getUserId()
The user ID set via the setUserId API.
string user_id = 1;
Returns |
Type |
Description |
String |
The userId.
|
getUserIdBytes()
public ByteString getUserIdBytes()
The user ID set via the setUserId API.
string user_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for userId.
|
getUserProperties()
public Map<String,UserPropertyValue> getUserProperties()
getUserPropertiesCount()
public int getUserPropertiesCount()
Returns |
Type |
Description |
int |
|
getUserPropertiesMap()
public Map<String,UserPropertyValue> getUserPropertiesMap()
getUserPropertiesOrDefault(String key, UserPropertyValue defaultValue)
public UserPropertyValue getUserPropertiesOrDefault(String key, UserPropertyValue defaultValue)
getUserPropertiesOrThrow(String key)
public UserPropertyValue getUserPropertiesOrThrow(String key)
Parameter |
Name |
Description |
key |
String
|
hasAppInfo()
public boolean hasAppInfo()
App information.
.google.events.firebase.analytics.v1.AppInfo app_info = 6;
Returns |
Type |
Description |
boolean |
Whether the appInfo field is set.
|
hasBundleInfo()
public boolean hasBundleInfo()
Information regarding the bundle in which these events were uploaded.
.google.events.firebase.analytics.v1.ExportBundleInfo bundle_info = 8;
Returns |
Type |
Description |
boolean |
Whether the bundleInfo field is set.
|
hasDeviceInfo()
public boolean hasDeviceInfo()
Device information.
.google.events.firebase.analytics.v1.DeviceInfo device_info = 4;
Returns |
Type |
Description |
boolean |
Whether the deviceInfo field is set.
|
hasGeoInfo()
public boolean hasGeoInfo()
User's geographic information.
.google.events.firebase.analytics.v1.GeoInfo geo_info = 5;
Returns |
Type |
Description |
boolean |
Whether the geoInfo field is set.
|
hasLtvInfo()
public boolean hasLtvInfo()
Lifetime Value information about this user.
.google.events.firebase.analytics.v1.LtvInfo ltv_info = 9;
Returns |
Type |
Description |
boolean |
Whether the ltvInfo field is set.
|
hasTrafficSource()
public boolean hasTrafficSource()
Information about marketing campaign which acquired the user.
.google.events.firebase.analytics.v1.TrafficSource traffic_source = 7;
Returns |
Type |
Description |
boolean |
Whether the trafficSource field is set.
|
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 UserDimensions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UserDimensions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public UserDimensions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides