Class Application (0.39.0)

public final class Application extends GeneratedMessageV3 implements ApplicationOrBuilder

An application that has been added to or "claimed" by the network to be used for targeting purposes. These mobile apps can come from various app stores.

Protobuf type google.ads.admanager.v1.Application

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Application getDefaultInstance()
Returns
Type Description
Application

getDescriptor()

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

newBuilder()

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

newBuilder(Application prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Application getDefaultInstanceForType()
Returns
Type Description
Application

getDisplayName()

public String getDisplayName()

Optional. The display name of the application. This attribute is required and has a maximum length of 80 characters.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. The display name of the application. This attribute is required and has a maximum length of 80 characters.

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

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public String getName()

Identifier. The resource name of the Application. Format: networks/{network_code}/applications/{application_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the Application. Format: networks/{network_code}/applications/{application_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDisplayName()

public boolean hasDisplayName()

Optional. The display name of the application. This attribute is required and has a maximum length of 80 characters.

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

Returns
Type Description
boolean

Whether the displayName field is set.

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 Application.Builder newBuilderForType()
Returns
Type Description
Application.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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