public static final class FirstPartyMobileApplicationTargeting.Builder extends GeneratedMessage.Builder<FirstPartyMobileApplicationTargeting.Builder> implements FirstPartyMobileApplicationTargetingOrBuilderFirst-party mobile application targeting.
Protobuf type google.ads.admanager.v1.FirstPartyMobileApplicationTargeting
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FirstPartyMobileApplicationTargeting.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludedApplications(Iterable<String> values)
public FirstPartyMobileApplicationTargeting.Builder addAllExcludedApplications(Iterable<String> values)Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludedApplications to add. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
addAllTargetedApplications(Iterable<String> values)
public FirstPartyMobileApplicationTargeting.Builder addAllTargetedApplications(Iterable<String> values)Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The targetedApplications to add. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
addExcludedApplications(String value)
public FirstPartyMobileApplicationTargeting.Builder addExcludedApplications(String value)Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludedApplications to add. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
addExcludedApplicationsBytes(ByteString value)
public FirstPartyMobileApplicationTargeting.Builder addExcludedApplicationsBytes(ByteString value)Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludedApplications to add. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
addTargetedApplications(String value)
public FirstPartyMobileApplicationTargeting.Builder addTargetedApplications(String value)Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe targetedApplications to add. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
addTargetedApplicationsBytes(ByteString value)
public FirstPartyMobileApplicationTargeting.Builder addTargetedApplicationsBytes(ByteString value)Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the targetedApplications to add. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
build()
public FirstPartyMobileApplicationTargeting build()| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting |
|
buildPartial()
public FirstPartyMobileApplicationTargeting buildPartial()| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting |
|
clear()
public FirstPartyMobileApplicationTargeting.Builder clear()| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
|
clearExcludedApplications()
public FirstPartyMobileApplicationTargeting.Builder clearExcludedApplications()Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
clearTargetedApplications()
public FirstPartyMobileApplicationTargeting.Builder clearTargetedApplications()Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public FirstPartyMobileApplicationTargeting getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExcludedApplications(int index)
public String getExcludedApplications(int index)Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.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 excludedApplications at the given index. |
getExcludedApplicationsBytes(int index)
public ByteString getExcludedApplicationsBytes(int index)Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.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 excludedApplications at the given index. |
getExcludedApplicationsCount()
public int getExcludedApplicationsCount()Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludedApplications. |
getExcludedApplicationsList()
public ProtocolStringList getExcludedApplicationsList()Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludedApplications. |
getTargetedApplications(int index)
public String getTargetedApplications(int index)Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.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 targetedApplications at the given index. |
getTargetedApplicationsBytes(int index)
public ByteString getTargetedApplicationsBytes(int index)Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.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 targetedApplications at the given index. |
getTargetedApplicationsCount()
public int getTargetedApplicationsCount()Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of targetedApplications. |
getTargetedApplicationsList()
public ProtocolStringList getTargetedApplicationsList()Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the targetedApplications. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FirstPartyMobileApplicationTargeting other)
public FirstPartyMobileApplicationTargeting.Builder mergeFrom(FirstPartyMobileApplicationTargeting other)| Parameter | |
|---|---|
| Name | Description |
other |
FirstPartyMobileApplicationTargeting |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FirstPartyMobileApplicationTargeting.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FirstPartyMobileApplicationTargeting.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
|
setExcludedApplications(int index, String value)
public FirstPartyMobileApplicationTargeting.Builder setExcludedApplications(int index, String value)Optional. The resource names of the first-party applications that should be excluded.
repeated string excluded_applications = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedApplications to set. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |
setTargetedApplications(int index, String value)
public FirstPartyMobileApplicationTargeting.Builder setTargetedApplications(int index, String value)Optional. The resource names of the first-party applications that should be targeted.
repeated string targeted_applications = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe targetedApplications to set. |
| Returns | |
|---|---|
| Type | Description |
FirstPartyMobileApplicationTargeting.Builder |
This builder for chaining. |