public static final class DeviceManufacturerTargeting.Builder extends GeneratedMessageV3.Builder<DeviceManufacturerTargeting.Builder> implements DeviceManufacturerTargetingOrBuilderDevice 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeviceManufacturerTargeting.BuilderImplements
DeviceManufacturerTargetingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludedDeviceManufacturers(Iterable<String> values)
public DeviceManufacturerTargeting.Builder addAllExcludedDeviceManufacturers(Iterable<String> values)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 |
values |
Iterable<String>The excludedDeviceManufacturers to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addAllExcludedMobileDeviceSubmodels(Iterable<String> values)
public DeviceManufacturerTargeting.Builder addAllExcludedMobileDeviceSubmodels(Iterable<String> values)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 |
values |
Iterable<String>The excludedMobileDeviceSubmodels to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addAllExcludedMobileDevices(Iterable<String> values)
public DeviceManufacturerTargeting.Builder addAllExcludedMobileDevices(Iterable<String> values)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 |
values |
Iterable<String>The excludedMobileDevices to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addAllTargetedDeviceManufacturers(Iterable<String> values)
public DeviceManufacturerTargeting.Builder addAllTargetedDeviceManufacturers(Iterable<String> values)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 |
values |
Iterable<String>The targetedDeviceManufacturers to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addAllTargetedMobileDeviceSubmodels(Iterable<String> values)
public DeviceManufacturerTargeting.Builder addAllTargetedMobileDeviceSubmodels(Iterable<String> values)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 |
values |
Iterable<String>The targetedMobileDeviceSubmodels to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addAllTargetedMobileDevices(Iterable<String> values)
public DeviceManufacturerTargeting.Builder addAllTargetedMobileDevices(Iterable<String> values)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 |
values |
Iterable<String>The targetedMobileDevices to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addExcludedDeviceManufacturers(String value)
public DeviceManufacturerTargeting.Builder addExcludedDeviceManufacturers(String value)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 |
value |
StringThe excludedDeviceManufacturers to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addExcludedDeviceManufacturersBytes(ByteString value)
public DeviceManufacturerTargeting.Builder addExcludedDeviceManufacturersBytes(ByteString value)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 |
value |
ByteStringThe bytes of the excludedDeviceManufacturers to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addExcludedMobileDeviceSubmodels(String value)
public DeviceManufacturerTargeting.Builder addExcludedMobileDeviceSubmodels(String value)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 |
value |
StringThe excludedMobileDeviceSubmodels to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addExcludedMobileDeviceSubmodelsBytes(ByteString value)
public DeviceManufacturerTargeting.Builder addExcludedMobileDeviceSubmodelsBytes(ByteString value)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 |
value |
ByteStringThe bytes of the excludedMobileDeviceSubmodels to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addExcludedMobileDevices(String value)
public DeviceManufacturerTargeting.Builder addExcludedMobileDevices(String value)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 |
value |
StringThe excludedMobileDevices to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addExcludedMobileDevicesBytes(ByteString value)
public DeviceManufacturerTargeting.Builder addExcludedMobileDevicesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the excludedMobileDevices to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeviceManufacturerTargeting.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
addTargetedDeviceManufacturers(String value)
public DeviceManufacturerTargeting.Builder addTargetedDeviceManufacturers(String value)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 |
value |
StringThe targetedDeviceManufacturers to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addTargetedDeviceManufacturersBytes(ByteString value)
public DeviceManufacturerTargeting.Builder addTargetedDeviceManufacturersBytes(ByteString value)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 |
value |
ByteStringThe bytes of the targetedDeviceManufacturers to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addTargetedMobileDeviceSubmodels(String value)
public DeviceManufacturerTargeting.Builder addTargetedMobileDeviceSubmodels(String value)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 |
value |
StringThe targetedMobileDeviceSubmodels to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addTargetedMobileDeviceSubmodelsBytes(ByteString value)
public DeviceManufacturerTargeting.Builder addTargetedMobileDeviceSubmodelsBytes(ByteString value)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 |
value |
ByteStringThe bytes of the targetedMobileDeviceSubmodels to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addTargetedMobileDevices(String value)
public DeviceManufacturerTargeting.Builder addTargetedMobileDevices(String value)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 |
value |
StringThe targetedMobileDevices to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
addTargetedMobileDevicesBytes(ByteString value)
public DeviceManufacturerTargeting.Builder addTargetedMobileDevicesBytes(ByteString value)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 |
value |
ByteStringThe bytes of the targetedMobileDevices to add. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
build()
public DeviceManufacturerTargeting build()| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting |
|
buildPartial()
public DeviceManufacturerTargeting buildPartial()| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting |
|
clear()
public DeviceManufacturerTargeting.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
clearExcludedDeviceManufacturers()
public DeviceManufacturerTargeting.Builder clearExcludedDeviceManufacturers()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 |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
clearExcludedMobileDeviceSubmodels()
public DeviceManufacturerTargeting.Builder clearExcludedMobileDeviceSubmodels()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 |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
clearExcludedMobileDevices()
public DeviceManufacturerTargeting.Builder clearExcludedMobileDevices()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 |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeviceManufacturerTargeting.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DeviceManufacturerTargeting.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
clearTargetedDeviceManufacturers()
public DeviceManufacturerTargeting.Builder clearTargetedDeviceManufacturers()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 |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
clearTargetedMobileDeviceSubmodels()
public DeviceManufacturerTargeting.Builder clearTargetedMobileDeviceSubmodels()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 |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
clearTargetedMobileDevices()
public DeviceManufacturerTargeting.Builder clearTargetedMobileDevices()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 |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
clone()
public DeviceManufacturerTargeting.Builder clone()| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
getDefaultInstanceForType()
public DeviceManufacturerTargeting getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludedMobileDevices. |
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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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 |
intThe 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the targetedMobileDevices. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeviceManufacturerTargeting other)
public DeviceManufacturerTargeting.Builder mergeFrom(DeviceManufacturerTargeting other)| Parameter | |
|---|---|
| Name | Description |
other |
DeviceManufacturerTargeting |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeviceManufacturerTargeting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeviceManufacturerTargeting.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeviceManufacturerTargeting.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
setExcludedDeviceManufacturers(int index, String value)
public DeviceManufacturerTargeting.Builder setExcludedDeviceManufacturers(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedDeviceManufacturers to set. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
setExcludedMobileDeviceSubmodels(int index, String value)
public DeviceManufacturerTargeting.Builder setExcludedMobileDeviceSubmodels(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedMobileDeviceSubmodels to set. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
setExcludedMobileDevices(int index, String value)
public DeviceManufacturerTargeting.Builder setExcludedMobileDevices(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedMobileDevices to set. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeviceManufacturerTargeting.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeviceManufacturerTargeting.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|
setTargetedDeviceManufacturers(int index, String value)
public DeviceManufacturerTargeting.Builder setTargetedDeviceManufacturers(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe targetedDeviceManufacturers to set. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
setTargetedMobileDeviceSubmodels(int index, String value)
public DeviceManufacturerTargeting.Builder setTargetedMobileDeviceSubmodels(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe targetedMobileDeviceSubmodels to set. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
setTargetedMobileDevices(int index, String value)
public DeviceManufacturerTargeting.Builder setTargetedMobileDevices(int index, String value)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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe targetedMobileDevices to set. |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeviceManufacturerTargeting.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DeviceManufacturerTargeting.Builder |
|