public final class DeviceManufacturerTargeting extends GeneratedMessageV3 implements DeviceManufacturerTargetingOrBuilder
Device Manufacturer Targeting.
Can be used to target/exclude users on devices made by specific brands or
companies, such as Apple, Google, Samsung and others. For more information,
see https://support.google.com/admanager/answer/2884033 ("Targeting types >
Device manufacturer").
Protobuf type google.ads.admanager.v1.DeviceManufacturerTargeting
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
EXCLUDED_DEVICE_MANUFACTURERS_FIELD_NUMBER
public static final int EXCLUDED_DEVICE_MANUFACTURERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXCLUDED_MOBILE_DEVICES_FIELD_NUMBER
public static final int EXCLUDED_MOBILE_DEVICES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXCLUDED_MOBILE_DEVICE_SUBMODELS_FIELD_NUMBER
public static final int EXCLUDED_MOBILE_DEVICE_SUBMODELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGETED_DEVICE_MANUFACTURERS_FIELD_NUMBER
public static final int TARGETED_DEVICE_MANUFACTURERS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGETED_MOBILE_DEVICES_FIELD_NUMBER
public static final int TARGETED_MOBILE_DEVICES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGETED_MOBILE_DEVICE_SUBMODELS_FIELD_NUMBER
public static final int TARGETED_MOBILE_DEVICE_SUBMODELS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DeviceManufacturerTargeting getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DeviceManufacturerTargeting.Builder newBuilder()
newBuilder(DeviceManufacturerTargeting prototype)
public static DeviceManufacturerTargeting.Builder newBuilder(DeviceManufacturerTargeting prototype)
public static DeviceManufacturerTargeting parseDelimitedFrom(InputStream input)
public static DeviceManufacturerTargeting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DeviceManufacturerTargeting parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeviceManufacturerTargeting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DeviceManufacturerTargeting parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeviceManufacturerTargeting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeviceManufacturerTargeting parseFrom(CodedInputStream input)
public static DeviceManufacturerTargeting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeviceManufacturerTargeting parseFrom(InputStream input)
public static DeviceManufacturerTargeting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DeviceManufacturerTargeting parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DeviceManufacturerTargeting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DeviceManufacturerTargeting> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DeviceManufacturerTargeting getDefaultInstanceForType()
getExcludedDeviceManufacturers(int index)
public String getExcludedDeviceManufacturers(int index)
Optional. A list of device manufacturer resource names that should be
excluded.
repeated string excluded_device_manufacturers = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The excludedDeviceManufacturers at the given index.
|
getExcludedDeviceManufacturersBytes(int index)
public ByteString getExcludedDeviceManufacturersBytes(int index)
Optional. A list of device manufacturer resource names that should be
excluded.
repeated string excluded_device_manufacturers = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the excludedDeviceManufacturers at the given index.
|
getExcludedDeviceManufacturersCount()
public int getExcludedDeviceManufacturersCount()
Optional. A list of device manufacturer resource names that should be
excluded.
repeated string excluded_device_manufacturers = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of excludedDeviceManufacturers.
|
getExcludedDeviceManufacturersList()
public ProtocolStringList getExcludedDeviceManufacturersList()
Optional. A list of device manufacturer resource names that should be
excluded.
repeated string excluded_device_manufacturers = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the excludedDeviceManufacturers.
|
getExcludedMobileDeviceSubmodels(int index)
public String getExcludedMobileDeviceSubmodels(int index)
Optional. A list of mobile device submodel resource names that should be
excluded.
repeated string excluded_mobile_device_submodels = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The excludedMobileDeviceSubmodels at the given index.
|
getExcludedMobileDeviceSubmodelsBytes(int index)
public ByteString getExcludedMobileDeviceSubmodelsBytes(int index)
Optional. A list of mobile device submodel resource names that should be
excluded.
repeated string excluded_mobile_device_submodels = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the excludedMobileDeviceSubmodels at the given index.
|
getExcludedMobileDeviceSubmodelsCount()
public int getExcludedMobileDeviceSubmodelsCount()
Optional. A list of mobile device submodel resource names that should be
excluded.
repeated string excluded_mobile_device_submodels = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of excludedMobileDeviceSubmodels.
|
getExcludedMobileDeviceSubmodelsList()
public ProtocolStringList getExcludedMobileDeviceSubmodelsList()
Optional. A list of mobile device submodel resource names that should be
excluded.
repeated string excluded_mobile_device_submodels = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the excludedMobileDeviceSubmodels.
|
getExcludedMobileDevices(int index)
public String getExcludedMobileDevices(int index)
Optional. A list of mobile device resource names that should be excluded.
repeated string excluded_mobile_devices = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The excludedMobileDevices at the given index.
|
getExcludedMobileDevicesBytes(int index)
public ByteString getExcludedMobileDevicesBytes(int index)
Optional. A list of mobile device resource names that should be excluded.
repeated string excluded_mobile_devices = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the excludedMobileDevices at the given index.
|
getExcludedMobileDevicesCount()
public int getExcludedMobileDevicesCount()
Optional. A list of mobile device resource names that should be excluded.
repeated string excluded_mobile_devices = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of excludedMobileDevices.
|
getExcludedMobileDevicesList()
public ProtocolStringList getExcludedMobileDevicesList()
Optional. A list of mobile device resource names that should be excluded.
repeated string excluded_mobile_devices = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getParserForType()
public Parser<DeviceManufacturerTargeting> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTargetedDeviceManufacturers(int index)
public String getTargetedDeviceManufacturers(int index)
Optional. A list of device manufacturer resource names that should be
targeted/included.
repeated string targeted_device_manufacturers = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The targetedDeviceManufacturers at the given index.
|
getTargetedDeviceManufacturersBytes(int index)
public ByteString getTargetedDeviceManufacturersBytes(int index)
Optional. A list of device manufacturer resource names that should be
targeted/included.
repeated string targeted_device_manufacturers = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the targetedDeviceManufacturers at the given index.
|
getTargetedDeviceManufacturersCount()
public int getTargetedDeviceManufacturersCount()
Optional. A list of device manufacturer resource names that should be
targeted/included.
repeated string targeted_device_manufacturers = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of targetedDeviceManufacturers.
|
getTargetedDeviceManufacturersList()
public ProtocolStringList getTargetedDeviceManufacturersList()
Optional. A list of device manufacturer resource names that should be
targeted/included.
repeated string targeted_device_manufacturers = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the targetedDeviceManufacturers.
|
getTargetedMobileDeviceSubmodels(int index)
public String getTargetedMobileDeviceSubmodels(int index)
Optional. A list of mobile device submodel resource names that should be
targeted/included.
repeated string targeted_mobile_device_submodels = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The targetedMobileDeviceSubmodels at the given index.
|
getTargetedMobileDeviceSubmodelsBytes(int index)
public ByteString getTargetedMobileDeviceSubmodelsBytes(int index)
Optional. A list of mobile device submodel resource names that should be
targeted/included.
repeated string targeted_mobile_device_submodels = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the targetedMobileDeviceSubmodels at the given index.
|
getTargetedMobileDeviceSubmodelsCount()
public int getTargetedMobileDeviceSubmodelsCount()
Optional. A list of mobile device submodel resource names that should be
targeted/included.
repeated string targeted_mobile_device_submodels = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of targetedMobileDeviceSubmodels.
|
getTargetedMobileDeviceSubmodelsList()
public ProtocolStringList getTargetedMobileDeviceSubmodelsList()
Optional. A list of mobile device submodel resource names that should be
targeted/included.
repeated string targeted_mobile_device_submodels = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
ProtocolStringList |
A list containing the targetedMobileDeviceSubmodels.
|
getTargetedMobileDevices(int index)
public String getTargetedMobileDevices(int index)
Optional. A list of mobile device resource names that should be
targeted/included.
repeated string targeted_mobile_devices = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The targetedMobileDevices at the given index.
|
getTargetedMobileDevicesBytes(int index)
public ByteString getTargetedMobileDevicesBytes(int index)
Optional. A list of mobile device resource names that should be
targeted/included.
repeated string targeted_mobile_devices = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the targetedMobileDevices at the given index.
|
getTargetedMobileDevicesCount()
public int getTargetedMobileDevicesCount()
Optional. A list of mobile device resource names that should be
targeted/included.
repeated string targeted_mobile_devices = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of targetedMobileDevices.
|
getTargetedMobileDevicesList()
public ProtocolStringList getTargetedMobileDevicesList()
Optional. A list of mobile device resource names that should be
targeted/included.
repeated string targeted_mobile_devices = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DeviceManufacturerTargeting.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DeviceManufacturerTargeting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public DeviceManufacturerTargeting.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides