Package ai.promoted.proto.common
Class Device
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- ai.promoted.proto.common.Device
-
- All Implemented Interfaces:
DeviceOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Device extends com.google.protobuf.GeneratedMessageV3 implements DeviceOrBuilder
Protobuf typecommon.Device- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDevice.BuilderProtobuf typecommon.Device-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBRAND_FIELD_NUMBERstatic intBROWSER_FIELD_NUMBERstatic intDEVICE_TYPE_FIELD_NUMBERstatic intIDENTIFIER_FIELD_NUMBERstatic intIP_ADDRESS_FIELD_NUMBERstatic intLOCALE_FIELD_NUMBERstatic intLOCATION_FIELD_NUMBERstatic intMANUFACTURER_FIELD_NUMBERstatic intOS_VERSION_FIELD_NUMBERstatic intPLATFORM_APP_VERSION_FIELD_NUMBERstatic intPROMOTED_MOBILE_SDK_VERSION_FIELD_NUMBERstatic intSCREEN_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)StringgetBrand()string brand = 2 [json_name = "brand"];com.google.protobuf.ByteStringgetBrandBytes()string brand = 2 [json_name = "brand"];BrowsergetBrowser().common.Browser browser = 10 [json_name = "browser"];BrowserOrBuildergetBrowserOrBuilder().common.Browser browser = 10 [json_name = "browser"];static DevicegetDefaultInstance()DevicegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DeviceTypegetDeviceType().common.DeviceType device_type = 1 [json_name = "deviceType"];intgetDeviceTypeValue().common.DeviceType device_type = 1 [json_name = "deviceType"];StringgetIdentifier()string identifier = 4 [json_name = "identifier"];com.google.protobuf.ByteStringgetIdentifierBytes()string identifier = 4 [json_name = "identifier"];StringgetIpAddress()string ip_address = 8 [json_name = "ipAddress"];com.google.protobuf.ByteStringgetIpAddressBytes()string ip_address = 8 [json_name = "ipAddress"];LocalegetLocale()Deprecated.LocaleOrBuildergetLocaleOrBuilder()Deprecated.LocationgetLocation().common.Location location = 9 [json_name = "location"];LocationOrBuildergetLocationOrBuilder().common.Location location = 9 [json_name = "location"];StringgetManufacturer()string manufacturer = 3 [json_name = "manufacturer"];com.google.protobuf.ByteStringgetManufacturerBytes()string manufacturer = 3 [json_name = "manufacturer"];StringgetOsVersion()string os_version = 5 [json_name = "osVersion"];com.google.protobuf.ByteStringgetOsVersionBytes()string os_version = 5 [json_name = "osVersion"];com.google.protobuf.Parser<Device>getParserForType()StringgetPlatformAppVersion()string platform_app_version = 11 [json_name = "platformAppVersion"];com.google.protobuf.ByteStringgetPlatformAppVersionBytes()string platform_app_version = 11 [json_name = "platformAppVersion"];StringgetPromotedMobileSdkVersion()string promoted_mobile_sdk_version = 12 [json_name = "promotedMobileSdkVersion"];com.google.protobuf.ByteStringgetPromotedMobileSdkVersionBytes()string promoted_mobile_sdk_version = 12 [json_name = "promotedMobileSdkVersion"];ScreengetScreen().common.Screen screen = 7 [json_name = "screen"];ScreenOrBuildergetScreenOrBuilder().common.Screen screen = 7 [json_name = "screen"];intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBrowser().common.Browser browser = 10 [json_name = "browser"];inthashCode()booleanhasLocale()Deprecated.booleanhasLocation().common.Location location = 9 [json_name = "location"];booleanhasScreen().common.Screen screen = 7 [json_name = "screen"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Device.BuildernewBuilder()static Device.BuildernewBuilder(Device prototype)Device.BuildernewBuilderForType()protected Device.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DeviceparseDelimitedFrom(InputStream input)static DeviceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceparseFrom(byte[] data)static DeviceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceparseFrom(com.google.protobuf.ByteString data)static DeviceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceparseFrom(com.google.protobuf.CodedInputStream input)static DeviceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceparseFrom(InputStream input)static DeviceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DeviceparseFrom(ByteBuffer data)static DeviceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Device>parser()Device.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DEVICE_TYPE_FIELD_NUMBER
public static final int DEVICE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BRAND_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANUFACTURER_FIELD_NUMBER
public static final int MANUFACTURER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDENTIFIER_FIELD_NUMBER
public static final int IDENTIFIER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OS_VERSION_FIELD_NUMBER
public static final int OS_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALE_FIELD_NUMBER
public static final int LOCALE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCREEN_FIELD_NUMBER
public static final int SCREEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BROWSER_FIELD_NUMBER
public static final int BROWSER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLATFORM_APP_VERSION_FIELD_NUMBER
public static final int PLATFORM_APP_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTED_MOBILE_SDK_VERSION_FIELD_NUMBER
public static final int PROMOTED_MOBILE_SDK_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDeviceTypeValue
public int getDeviceTypeValue()
.common.DeviceType device_type = 1 [json_name = "deviceType"];- Specified by:
getDeviceTypeValuein interfaceDeviceOrBuilder- Returns:
- The enum numeric value on the wire for deviceType.
-
getDeviceType
public DeviceType getDeviceType()
.common.DeviceType device_type = 1 [json_name = "deviceType"];- Specified by:
getDeviceTypein interfaceDeviceOrBuilder- Returns:
- The deviceType.
-
getBrand
public String getBrand()
string brand = 2 [json_name = "brand"];- Specified by:
getBrandin interfaceDeviceOrBuilder- Returns:
- The brand.
-
getBrandBytes
public com.google.protobuf.ByteString getBrandBytes()
string brand = 2 [json_name = "brand"];- Specified by:
getBrandBytesin interfaceDeviceOrBuilder- Returns:
- The bytes for brand.
-
getManufacturer
public String getManufacturer()
string manufacturer = 3 [json_name = "manufacturer"];- Specified by:
getManufacturerin interfaceDeviceOrBuilder- Returns:
- The manufacturer.
-
getManufacturerBytes
public com.google.protobuf.ByteString getManufacturerBytes()
string manufacturer = 3 [json_name = "manufacturer"];- Specified by:
getManufacturerBytesin interfaceDeviceOrBuilder- Returns:
- The bytes for manufacturer.
-
getIdentifier
public String getIdentifier()
string identifier = 4 [json_name = "identifier"];- Specified by:
getIdentifierin interfaceDeviceOrBuilder- Returns:
- The identifier.
-
getIdentifierBytes
public com.google.protobuf.ByteString getIdentifierBytes()
string identifier = 4 [json_name = "identifier"];- Specified by:
getIdentifierBytesin interfaceDeviceOrBuilder- Returns:
- The bytes for identifier.
-
getOsVersion
public String getOsVersion()
string os_version = 5 [json_name = "osVersion"];- Specified by:
getOsVersionin interfaceDeviceOrBuilder- Returns:
- The osVersion.
-
getOsVersionBytes
public com.google.protobuf.ByteString getOsVersionBytes()
string os_version = 5 [json_name = "osVersion"];- Specified by:
getOsVersionBytesin interfaceDeviceOrBuilder- Returns:
- The bytes for osVersion.
-
hasLocale
@Deprecated public boolean hasLocale()
Deprecated..common.Locale locale = 6 [json_name = "locale", deprecated = true];- Specified by:
hasLocalein interfaceDeviceOrBuilder- Returns:
- Whether the locale field is set.
-
getLocale
@Deprecated public Locale getLocale()
Deprecated..common.Locale locale = 6 [json_name = "locale", deprecated = true];- Specified by:
getLocalein interfaceDeviceOrBuilder- Returns:
- The locale.
-
getLocaleOrBuilder
@Deprecated public LocaleOrBuilder getLocaleOrBuilder()
Deprecated..common.Locale locale = 6 [json_name = "locale", deprecated = true];- Specified by:
getLocaleOrBuilderin interfaceDeviceOrBuilder
-
hasScreen
public boolean hasScreen()
.common.Screen screen = 7 [json_name = "screen"];- Specified by:
hasScreenin interfaceDeviceOrBuilder- Returns:
- Whether the screen field is set.
-
getScreen
public Screen getScreen()
.common.Screen screen = 7 [json_name = "screen"];- Specified by:
getScreenin interfaceDeviceOrBuilder- Returns:
- The screen.
-
getScreenOrBuilder
public ScreenOrBuilder getScreenOrBuilder()
.common.Screen screen = 7 [json_name = "screen"];- Specified by:
getScreenOrBuilderin interfaceDeviceOrBuilder
-
getIpAddress
public String getIpAddress()
string ip_address = 8 [json_name = "ipAddress"];- Specified by:
getIpAddressin interfaceDeviceOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
string ip_address = 8 [json_name = "ipAddress"];- Specified by:
getIpAddressBytesin interfaceDeviceOrBuilder- Returns:
- The bytes for ipAddress.
-
hasLocation
public boolean hasLocation()
.common.Location location = 9 [json_name = "location"];- Specified by:
hasLocationin interfaceDeviceOrBuilder- Returns:
- Whether the location field is set.
-
getLocation
public Location getLocation()
.common.Location location = 9 [json_name = "location"];- Specified by:
getLocationin interfaceDeviceOrBuilder- Returns:
- The location.
-
getLocationOrBuilder
public LocationOrBuilder getLocationOrBuilder()
.common.Location location = 9 [json_name = "location"];- Specified by:
getLocationOrBuilderin interfaceDeviceOrBuilder
-
hasBrowser
public boolean hasBrowser()
.common.Browser browser = 10 [json_name = "browser"];- Specified by:
hasBrowserin interfaceDeviceOrBuilder- Returns:
- Whether the browser field is set.
-
getBrowser
public Browser getBrowser()
.common.Browser browser = 10 [json_name = "browser"];- Specified by:
getBrowserin interfaceDeviceOrBuilder- Returns:
- The browser.
-
getBrowserOrBuilder
public BrowserOrBuilder getBrowserOrBuilder()
.common.Browser browser = 10 [json_name = "browser"];- Specified by:
getBrowserOrBuilderin interfaceDeviceOrBuilder
-
getPlatformAppVersion
public String getPlatformAppVersion()
string platform_app_version = 11 [json_name = "platformAppVersion"];- Specified by:
getPlatformAppVersionin interfaceDeviceOrBuilder- Returns:
- The platformAppVersion.
-
getPlatformAppVersionBytes
public com.google.protobuf.ByteString getPlatformAppVersionBytes()
string platform_app_version = 11 [json_name = "platformAppVersion"];- Specified by:
getPlatformAppVersionBytesin interfaceDeviceOrBuilder- Returns:
- The bytes for platformAppVersion.
-
getPromotedMobileSdkVersion
public String getPromotedMobileSdkVersion()
string promoted_mobile_sdk_version = 12 [json_name = "promotedMobileSdkVersion"];- Specified by:
getPromotedMobileSdkVersionin interfaceDeviceOrBuilder- Returns:
- The promotedMobileSdkVersion.
-
getPromotedMobileSdkVersionBytes
public com.google.protobuf.ByteString getPromotedMobileSdkVersionBytes()
string promoted_mobile_sdk_version = 12 [json_name = "promotedMobileSdkVersion"];- Specified by:
getPromotedMobileSdkVersionBytesin interfaceDeviceOrBuilder- Returns:
- The bytes for promotedMobileSdkVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Device parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Device parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Device parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Device parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Device parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Device parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Device parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Device parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Device parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Device parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Device parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Device parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Device.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Device.Builder newBuilder()
-
newBuilder
public static Device.Builder newBuilder(Device prototype)
-
toBuilder
public Device.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Device.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Device getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Device> parser()
-
getParserForType
public com.google.protobuf.Parser<Device> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Device getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-