public final class DeviceInfo extends GeneratedMessageV3 implements DeviceInfoOrBuilder
Message containing device informations.
Protobuf type google.events.firebase.analytics.v1.DeviceInfo
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
DEVICE_CATEGORY_FIELD_NUMBER
public static final int DEVICE_CATEGORY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEVICE_ID_FIELD_NUMBER
public static final int DEVICE_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEVICE_MODEL_FIELD_NUMBER
public static final int DEVICE_MODEL_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DEVICE_TIME_ZONE_OFFSET_SECONDS_FIELD_NUMBER
public static final int DEVICE_TIME_ZONE_OFFSET_SECONDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LIMITED_AD_TRACKING_FIELD_NUMBER
public static final int LIMITED_AD_TRACKING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MOBILE_BRAND_NAME_FIELD_NUMBER
public static final int MOBILE_BRAND_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MOBILE_MARKETING_NAME_FIELD_NUMBER
public static final int MOBILE_MARKETING_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MOBILE_MODEL_NAME_FIELD_NUMBER
public static final int MOBILE_MODEL_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PLATFORM_VERSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESETTABLE_DEVICE_ID_FIELD_NUMBER
public static final int RESETTABLE_DEVICE_ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
USER_DEFAULT_LANGUAGE_FIELD_NUMBER
public static final int USER_DEFAULT_LANGUAGE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DeviceInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DeviceInfo.Builder newBuilder()
newBuilder(DeviceInfo prototype)
public static DeviceInfo.Builder newBuilder(DeviceInfo prototype)
public static DeviceInfo parseDelimitedFrom(InputStream input)
public static DeviceInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DeviceInfo parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DeviceInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(CodedInputStream input)
public static DeviceInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(InputStream input)
public static DeviceInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DeviceInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeviceInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DeviceInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DeviceInfo getDefaultInstanceForType()
getDeviceCategory()
public String getDeviceCategory()
Device category.
Eg. tablet or mobile.
string device_category = 1;
Returns |
Type |
Description |
String |
The deviceCategory.
|
getDeviceCategoryBytes()
public ByteString getDeviceCategoryBytes()
Device category.
Eg. tablet or mobile.
string device_category = 1;
Returns |
Type |
Description |
ByteString |
The bytes for deviceCategory.
|
getDeviceId()
public String getDeviceId()
Vendor specific device identifier. This is IDFV on iOS. Not used for
Android.
Example: "599F9C00-92DC-4B5C-9464-7971F01F8370"
string device_id = 7;
Returns |
Type |
Description |
String |
The deviceId.
|
getDeviceIdBytes()
public ByteString getDeviceIdBytes()
Vendor specific device identifier. This is IDFV on iOS. Not used for
Android.
Example: "599F9C00-92DC-4B5C-9464-7971F01F8370"
string device_id = 7;
Returns |
Type |
Description |
ByteString |
The bytes for deviceId.
|
getDeviceModel()
public String getDeviceModel()
Device model.
Eg. GT-I9192
string device_model = 12;
Returns |
Type |
Description |
String |
The deviceModel.
|
getDeviceModelBytes()
public ByteString getDeviceModelBytes()
Device model.
Eg. GT-I9192
string device_model = 12;
Returns |
Type |
Description |
ByteString |
The bytes for deviceModel.
|
getDeviceTimeZoneOffsetSeconds()
public int getDeviceTimeZoneOffsetSeconds()
The timezone of the device when data was uploaded as seconds skew from UTC.
int32 device_time_zone_offset_seconds = 10;
Returns |
Type |
Description |
int |
The deviceTimeZoneOffsetSeconds.
|
getLimitedAdTracking()
public boolean getLimitedAdTracking()
The device's Limit Ad Tracking setting.
When true, we cannot use device_id for remarketing, demographics or
influencing ads serving behaviour. However, we can use device_id for
conversion tracking and campaign attribution.
bool limited_ad_tracking = 11;
Returns |
Type |
Description |
boolean |
The limitedAdTracking.
|
getMobileBrandName()
public String getMobileBrandName()
Device brand name.
Eg. Samsung, HTC, etc.
string mobile_brand_name = 2;
Returns |
Type |
Description |
String |
The mobileBrandName.
|
getMobileBrandNameBytes()
public ByteString getMobileBrandNameBytes()
Device brand name.
Eg. Samsung, HTC, etc.
string mobile_brand_name = 2;
Returns |
Type |
Description |
ByteString |
The bytes for mobileBrandName.
|
getMobileMarketingName()
public String getMobileMarketingName()
Device marketing name.
Eg. Galaxy S4 Mini
string mobile_marketing_name = 4;
Returns |
Type |
Description |
String |
The mobileMarketingName.
|
getMobileMarketingNameBytes()
public ByteString getMobileMarketingNameBytes()
Device marketing name.
Eg. Galaxy S4 Mini
string mobile_marketing_name = 4;
Returns |
Type |
Description |
ByteString |
The bytes for mobileMarketingName.
|
getMobileModelName()
public String getMobileModelName()
Device model name.
Eg. GT-I9192
string mobile_model_name = 3;
Returns |
Type |
Description |
String |
The mobileModelName.
|
getMobileModelNameBytes()
public ByteString getMobileModelNameBytes()
Device model name.
Eg. GT-I9192
string mobile_model_name = 3;
Returns |
Type |
Description |
ByteString |
The bytes for mobileModelName.
|
getParserForType()
public Parser<DeviceInfo> getParserForType()
Overrides
public String getPlatformVersion()
Device OS version when data capture ended.
Eg. 4.4.2
string platform_version = 6;
Returns |
Type |
Description |
String |
The platformVersion.
|
public ByteString getPlatformVersionBytes()
Device OS version when data capture ended.
Eg. 4.4.2
string platform_version = 6;
Returns |
Type |
Description |
ByteString |
The bytes for platformVersion.
|
getResettableDeviceId()
public String getResettableDeviceId()
The type of the resettable_device_id is always IDFA on iOS and AdId
on Android.
Example: "71683BF9-FA3B-4B0D-9535-A1F05188BAF3"
string resettable_device_id = 8;
Returns |
Type |
Description |
String |
The resettableDeviceId.
|
getResettableDeviceIdBytes()
public ByteString getResettableDeviceIdBytes()
The type of the resettable_device_id is always IDFA on iOS and AdId
on Android.
Example: "71683BF9-FA3B-4B0D-9535-A1F05188BAF3"
string resettable_device_id = 8;
Returns |
Type |
Description |
ByteString |
The bytes for resettableDeviceId.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUserDefaultLanguage()
public String getUserDefaultLanguage()
The user language.
Eg. "en-us", "en-za", "zh-tw", "jp"
string user_default_language = 9;
Returns |
Type |
Description |
String |
The userDefaultLanguage.
|
getUserDefaultLanguageBytes()
public ByteString getUserDefaultLanguageBytes()
The user language.
Eg. "en-us", "en-za", "zh-tw", "jp"
string user_default_language = 9;
Returns |
Type |
Description |
ByteString |
The bytes for userDefaultLanguage.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DeviceInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeviceInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public DeviceInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides