Interface DeviceInfoOrBuilder (0.14.0)

public interface DeviceInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBrand()

public abstract String getBrand()

Optional. The brand of the device.

string brand = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The brand.

getBrandBytes()

public abstract ByteString getBrandBytes()

Optional. The brand of the device.

string brand = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for brand.

getBrowser()

public abstract String getBrowser()

Optional. The brand or type of the browser.

string browser = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The browser.

getBrowserBytes()

public abstract ByteString getBrowserBytes()

Optional. The brand or type of the browser.

string browser = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for browser.

getBrowserVersion()

public abstract String getBrowserVersion()

Optional. The version of the browser.

string browser_version = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The browserVersion.

getBrowserVersionBytes()

public abstract ByteString getBrowserVersionBytes()

Optional. The version of the browser.

string browser_version = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for browserVersion.

getCategory()

public abstract String getCategory()

Optional. The category of device. For example, “desktop”, “tablet”, “mobile”, “smart TV”.

string category = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The category.

getCategoryBytes()

public abstract ByteString getCategoryBytes()

Optional. The category of device. For example, “desktop”, “tablet”, “mobile”, “smart TV”.

string category = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for category.

getIpAddress()

public abstract String getIpAddress()

Optional. The IP address of the device for the given context.

Note: Google Ads does not support IP address matching for end users in the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to conditionally exclude sharing IP addresses from users from these regions and ensure that you provide users with clear and comprehensive information about the data you collect on your sites, apps, and other properties and get consent where required by law or any applicable Google policies. See the About offline conversion imports page for more details.

string ip_address = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

Optional. The IP address of the device for the given context.

Note: Google Ads does not support IP address matching for end users in the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH). Add logic to conditionally exclude sharing IP addresses from users from these regions and ensure that you provide users with clear and comprehensive information about the data you collect on your sites, apps, and other properties and get consent where required by law or any applicable Google policies. See the About offline conversion imports page for more details.

string ip_address = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for ipAddress.

getLanguageCode()

public abstract String getLanguageCode()

Optional. The language the device uses in ISO 639-1 format.

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Optional. The language the device uses in ISO 639-1 format.

string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for languageCode.

getModel()

public abstract String getModel()

Optional. The model of the device.

string model = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The model.

getModelBytes()

public abstract ByteString getModelBytes()

Optional. The model of the device.

string model = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for model.

getOperatingSystem()

public abstract String getOperatingSystem()

Optional. The operating system or platform of the device.

string operating_system = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The operatingSystem.

getOperatingSystemBytes()

public abstract ByteString getOperatingSystemBytes()

Optional. The operating system or platform of the device.

string operating_system = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for operatingSystem.

getOperatingSystemVersion()

public abstract String getOperatingSystemVersion()

Optional. The version of the operating system or platform.

string operating_system_version = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The operatingSystemVersion.

getOperatingSystemVersionBytes()

public abstract ByteString getOperatingSystemVersionBytes()

Optional. The version of the operating system or platform.

string operating_system_version = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for operatingSystemVersion.

getScreenHeight()

public abstract int getScreenHeight()

Optional. The height of the screen in pixels.

int32 screen_height = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The screenHeight.

getScreenWidth()

public abstract int getScreenWidth()

Optional. The width of the screen in pixels.

int32 screen_width = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The screenWidth.

getUserAgent()

public abstract String getUserAgent()

Optional. The user-agent string of the device for the given context.

string user_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The userAgent.

getUserAgentBytes()

public abstract ByteString getUserAgentBytes()

Optional. The user-agent string of the device for the given context.

string user_agent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for userAgent.