Class FirstPartyMobileApplicationTargeting (0.39.0)

public final class FirstPartyMobileApplicationTargeting extends GeneratedMessageV3 implements FirstPartyMobileApplicationTargetingOrBuilder

First-party mobile application targeting.

Protobuf type google.ads.admanager.v1.FirstPartyMobileApplicationTargeting

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FirstPartyMobileApplicationTargeting

Static Fields

EXCLUDED_APPLICATIONS_FIELD_NUMBER

public static final int EXCLUDED_APPLICATIONS_FIELD_NUMBER
Field Value
Type Description
int

TARGETED_APPLICATIONS_FIELD_NUMBER

public static final int TARGETED_APPLICATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FirstPartyMobileApplicationTargeting getDefaultInstance()
Returns
Type Description
FirstPartyMobileApplicationTargeting

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FirstPartyMobileApplicationTargeting.Builder newBuilder()
Returns
Type Description
FirstPartyMobileApplicationTargeting.Builder

newBuilder(FirstPartyMobileApplicationTargeting prototype)

public static FirstPartyMobileApplicationTargeting.Builder newBuilder(FirstPartyMobileApplicationTargeting prototype)
Parameter
Name Description
prototype FirstPartyMobileApplicationTargeting
Returns
Type Description
FirstPartyMobileApplicationTargeting.Builder

parseDelimitedFrom(InputStream input)

public static FirstPartyMobileApplicationTargeting parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirstPartyMobileApplicationTargeting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FirstPartyMobileApplicationTargeting parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FirstPartyMobileApplicationTargeting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FirstPartyMobileApplicationTargeting parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FirstPartyMobileApplicationTargeting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FirstPartyMobileApplicationTargeting parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FirstPartyMobileApplicationTargeting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FirstPartyMobileApplicationTargeting parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirstPartyMobileApplicationTargeting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FirstPartyMobileApplicationTargeting parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FirstPartyMobileApplicationTargeting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirstPartyMobileApplicationTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FirstPartyMobileApplicationTargeting> parser()
Returns
Type Description
Parser<FirstPartyMobileApplicationTargeting>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FirstPartyMobileApplicationTargeting getDefaultInstanceForType()
Returns
Type Description
FirstPartyMobileApplicationTargeting

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 int

The 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 int

The 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.

getParserForType()

public Parser<FirstPartyMobileApplicationTargeting> getParserForType()
Returns
Type Description
Parser<FirstPartyMobileApplicationTargeting>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 int

The 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 int

The 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FirstPartyMobileApplicationTargeting.Builder newBuilderForType()
Returns
Type Description
FirstPartyMobileApplicationTargeting.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FirstPartyMobileApplicationTargeting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FirstPartyMobileApplicationTargeting.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FirstPartyMobileApplicationTargeting.Builder toBuilder()
Returns
Type Description
FirstPartyMobileApplicationTargeting.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException