public final class Application extends GeneratedMessage implements ApplicationOrBuilderAn 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ApplicationImplements
ApplicationOrBuilderStatic Fields
APPLICATION_CODE_FIELD_NUMBER
public static final int APPLICATION_CODE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APPROVAL_STATUS_FIELD_NUMBER
public static final int APPROVAL_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APP_STORES_FIELD_NUMBER
public static final int APP_STORES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APP_STORE_DISPLAY_NAME_FIELD_NUMBER
public static final int APP_STORE_DISPLAY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
APP_STORE_ID_FIELD_NUMBER
public static final int APP_STORE_ID_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ARCHIVED_FIELD_NUMBER
public static final int ARCHIVED_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DEVELOPER_FIELD_NUMBER
public static final int DEVELOPER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DOWNLOAD_URL_FIELD_NUMBER
public static final int DOWNLOAD_URL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
FREE_FIELD_NUMBER
public static final int FREE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PLATFORM_FIELD_NUMBER
public static final int PLATFORM_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
WEBVIEW_CLAIMING_STATUS_FIELD_NUMBER
public static final int WEBVIEW_CLAIMING_STATUS_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 |
|
getAppStoreDisplayName()
public String getAppStoreDisplayName()Output only. The name of the application on the app store.
optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The appStoreDisplayName. |
getAppStoreDisplayNameBytes()
public ByteString getAppStoreDisplayNameBytes()Output only. The name of the application on the app store.
optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appStoreDisplayName. |
getAppStoreId()
public String getAppStoreId()Optional. The app store ID of the app to claim.
optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The appStoreId. |
getAppStoreIdBytes()
public ByteString getAppStoreIdBytes()Optional. The app store ID of the app to claim.
optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for appStoreId. |
getAppStores(int index)
public ApplicationStoreEnum.ApplicationStore getAppStores(int index)Optional. The app stores the application belongs to. This attribute is mutable to allow for third party app store linking.
repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
ApplicationStoreEnum.ApplicationStore |
The appStores at the given index. |
getAppStoresCount()
public int getAppStoresCount()Optional. The app stores the application belongs to. This attribute is mutable to allow for third party app store linking.
repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of appStores. |
getAppStoresList()
public List<ApplicationStoreEnum.ApplicationStore> getAppStoresList()Optional. The app stores the application belongs to. This attribute is mutable to allow for third party app store linking.
repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ApplicationStore> |
A list containing the appStores. |
getAppStoresValue(int index)
public int getAppStoresValue(int index)Optional. The app stores the application belongs to. This attribute is mutable to allow for third party app store linking.
repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire of appStores at the given index. |
getAppStoresValueList()
public List<Integer> getAppStoresValueList()Optional. The app stores the application belongs to. This attribute is mutable to allow for third party app store linking.
repeated .google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore app_stores = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for appStores. |
getApplicationCode()
public String getApplicationCode()Output only. The application code used to identify the app in the SDK.
Note that the UI refers to this as "App ID".
optional string application_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The applicationCode. |
getApplicationCodeBytes()
public ByteString getApplicationCodeBytes()Output only. The application code used to identify the app in the SDK.
Note that the UI refers to this as "App ID".
optional string application_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for applicationCode. |
getApprovalStatus()
public ApplicationApprovalStatusEnum.ApplicationApprovalStatus getApprovalStatus()Output only. The approval status for the application.
optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ApplicationApprovalStatusEnum.ApplicationApprovalStatus |
The approvalStatus. |
getApprovalStatusValue()
public int getApprovalStatusValue()Output only. The approval status for the application.
optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for approvalStatus. |
getArchived()
public boolean getArchived()Output only. The archival status of the application.
When true, an application cannot be targeted and will not serve ads,
regardless of its status.
optional bool archived = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The archived. |
getDefaultInstanceForType()
public Application getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Application |
|
getDeveloper()
public String getDeveloper()Output only. The name of the developer of the application.
optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The developer. |
getDeveloperBytes()
public ByteString getDeveloperBytes()Output only. The name of the developer of the application.
optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for developer. |
getDisplayName()
public String getDisplayName()Required. The display name of the application.
optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. The display name of the application.
optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getDownloadUrl()
public String getDownloadUrl()Output only. The download URL of the application on the app store it belongs to.
optional string download_url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The downloadUrl. |
getDownloadUrlBytes()
public ByteString getDownloadUrlBytes()Output only. The download URL of the application on the app store it belongs to.
optional string download_url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for downloadUrl. |
getFree()
public boolean getFree()Output only. Whether the application is free on the app store it belongs to.
optional bool free = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The free. |
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> |
|
getPlatform()
public ApplicationPlatformEnum.ApplicationPlatform getPlatform()Output only. The platform the application runs on.
optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ApplicationPlatformEnum.ApplicationPlatform |
The platform. |
getPlatformValue()
public int getPlatformValue()Output only. The platform the application runs on.
optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for platform. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getWebviewClaimingStatus()
public WebviewClaimingStatusEnum.WebviewClaimingStatus getWebviewClaimingStatus()Output only. The webview claiming status for the application.
optional .google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatus webview_claiming_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
WebviewClaimingStatusEnum.WebviewClaimingStatus |
The webviewClaimingStatus. |
getWebviewClaimingStatusValue()
public int getWebviewClaimingStatusValue()Output only. The webview claiming status for the application.
optional .google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatus webview_claiming_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for webviewClaimingStatus. |
hasAppStoreDisplayName()
public boolean hasAppStoreDisplayName()Output only. The name of the application on the app store.
optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the appStoreDisplayName field is set. |
hasAppStoreId()
public boolean hasAppStoreId()Optional. The app store ID of the app to claim.
optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the appStoreId field is set. |
hasApplicationCode()
public boolean hasApplicationCode()Output only. The application code used to identify the app in the SDK.
Note that the UI refers to this as "App ID".
optional string application_code = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the applicationCode field is set. |
hasApprovalStatus()
public boolean hasApprovalStatus()Output only. The approval status for the application.
optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the approvalStatus field is set. |
hasArchived()
public boolean hasArchived()Output only. The archival status of the application.
When true, an application cannot be targeted and will not serve ads,
regardless of its status.
optional bool archived = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the archived field is set. |
hasDeveloper()
public boolean hasDeveloper()Output only. The name of the developer of the application.
optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the developer field is set. |
hasDisplayName()
public boolean hasDisplayName()Required. The display name of the application.
optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasDownloadUrl()
public boolean hasDownloadUrl()Output only. The download URL of the application on the app store it belongs to.
optional string download_url = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the downloadUrl field is set. |
hasFree()
public boolean hasFree()Output only. Whether the application is free on the app store it belongs to.
optional bool free = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the free field is set. |
hasPlatform()
public boolean hasPlatform()Output only. The platform the application runs on.
optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the platform field is set. |
hasWebviewClaimingStatus()
public boolean hasWebviewClaimingStatus()Output only. The webview claiming status for the application.
optional .google.ads.admanager.v1.WebviewClaimingStatusEnum.WebviewClaimingStatus webview_claiming_status = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the webviewClaimingStatus field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Application.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Application.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Application.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
|
toBuilder()
public Application.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Application.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|