public static final class Application.Builder extends GeneratedMessage.Builder<Application.Builder> 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Application.BuilderImplements
ApplicationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAppStores(Iterable<? extends ApplicationStoreEnum.ApplicationStore> values)
public Application.Builder addAllAppStores(Iterable<? extends ApplicationStoreEnum.ApplicationStore> values)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 |
values |
Iterable<? extends com.google.ads.admanager.v1.ApplicationStoreEnum.ApplicationStore>The appStores to add. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
addAllAppStoresValue(Iterable<Integer> values)
public Application.Builder addAllAppStoresValue(Iterable<Integer> values)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 |
values |
Iterable<Integer>The enum numeric values on the wire for appStores to add. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
addAppStores(ApplicationStoreEnum.ApplicationStore value)
public Application.Builder addAppStores(ApplicationStoreEnum.ApplicationStore value)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 |
value |
ApplicationStoreEnum.ApplicationStoreThe appStores to add. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
addAppStoresValue(int value)
public Application.Builder addAppStoresValue(int value)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 |
value |
intThe enum numeric value on the wire for appStores to add. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
build()
public Application build()| Returns | |
|---|---|
| Type | Description |
Application |
|
buildPartial()
public Application buildPartial()| Returns | |
|---|---|
| Type | Description |
Application |
|
clear()
public Application.Builder clear()| Returns | |
|---|---|
| Type | Description |
Application.Builder |
|
clearAppStoreDisplayName()
public Application.Builder clearAppStoreDisplayName()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 |
Application.Builder |
This builder for chaining. |
clearAppStoreId()
public Application.Builder clearAppStoreId()Optional. The app store ID of the app to claim.
optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
clearAppStores()
public Application.Builder clearAppStores()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 |
Application.Builder |
This builder for chaining. |
clearApplicationCode()
public Application.Builder clearApplicationCode()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 |
Application.Builder |
This builder for chaining. |
clearApprovalStatus()
public Application.Builder clearApprovalStatus()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 |
Application.Builder |
This builder for chaining. |
clearArchived()
public Application.Builder clearArchived()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 |
Application.Builder |
This builder for chaining. |
clearDeveloper()
public Application.Builder clearDeveloper()Output only. The name of the developer of the application.
optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
clearDisplayName()
public Application.Builder clearDisplayName()Required. The display name of the application.
optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
clearDownloadUrl()
public Application.Builder clearDownloadUrl()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 |
Application.Builder |
This builder for chaining. |
clearFree()
public Application.Builder clearFree()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 |
Application.Builder |
This builder for chaining. |
clearName()
public Application.Builder clearName() 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 |
Application.Builder |
This builder for chaining. |
clearPlatform()
public Application.Builder clearPlatform()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 |
Application.Builder |
This builder for chaining. |
clearWebviewClaimingStatus()
public Application.Builder clearWebviewClaimingStatus()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 |
Application.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Application other)
public Application.Builder mergeFrom(Application other)| Parameter | |
|---|---|
| Name | Description |
other |
Application |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Application.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Application.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
|
setAppStoreDisplayName(String value)
public Application.Builder setAppStoreDisplayName(String value)Output only. The name of the application on the app store.
optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appStoreDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setAppStoreDisplayNameBytes(ByteString value)
public Application.Builder setAppStoreDisplayNameBytes(ByteString value)Output only. The name of the application on the app store.
optional string app_store_display_name = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appStoreDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setAppStoreId(String value)
public Application.Builder setAppStoreId(String value)Optional. The app store ID of the app to claim.
optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe appStoreId to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setAppStoreIdBytes(ByteString value)
public Application.Builder setAppStoreIdBytes(ByteString value)Optional. The app store ID of the app to claim.
optional string app_store_id = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for appStoreId to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setAppStores(int index, ApplicationStoreEnum.ApplicationStore value)
public Application.Builder setAppStores(int index, ApplicationStoreEnum.ApplicationStore value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
ApplicationStoreEnum.ApplicationStoreThe appStores to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setAppStoresValue(int index, int value)
public Application.Builder setAppStoresValue(int index, int value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
intThe enum numeric value on the wire for appStores to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setApplicationCode(String value)
public Application.Builder setApplicationCode(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe applicationCode to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setApplicationCodeBytes(ByteString value)
public Application.Builder setApplicationCodeBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for applicationCode to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setApprovalStatus(ApplicationApprovalStatusEnum.ApplicationApprovalStatus value)
public Application.Builder setApprovalStatus(ApplicationApprovalStatusEnum.ApplicationApprovalStatus value)Output only. The approval status for the application.
optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ApplicationApprovalStatusEnum.ApplicationApprovalStatusThe approvalStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setApprovalStatusValue(int value)
public Application.Builder setApprovalStatusValue(int value)Output only. The approval status for the application.
optional .google.ads.admanager.v1.ApplicationApprovalStatusEnum.ApplicationApprovalStatus approval_status = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for approvalStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setArchived(boolean value)
public Application.Builder setArchived(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe archived to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setDeveloper(String value)
public Application.Builder setDeveloper(String value)Output only. The name of the developer of the application.
optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe developer to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setDeveloperBytes(ByteString value)
public Application.Builder setDeveloperBytes(ByteString value)Output only. The name of the developer of the application.
optional string developer = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for developer to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setDisplayName(String value)
public Application.Builder setDisplayName(String value)Required. The display name of the application.
optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Application.Builder setDisplayNameBytes(ByteString value)Required. The display name of the application.
optional string display_name = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setDownloadUrl(String value)
public Application.Builder setDownloadUrl(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe downloadUrl to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setDownloadUrlBytes(ByteString value)
public Application.Builder setDownloadUrlBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for downloadUrl to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setFree(boolean value)
public Application.Builder setFree(boolean value)Output only. Whether the application is free on the app store it belongs to.
optional bool free = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe free to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setName(String value)
public Application.Builder setName(String value) Identifier. The resource name of the Application.
Format: networks/{network_code}/applications/{application_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Application.Builder setNameBytes(ByteString value) Identifier. The resource name of the Application.
Format: networks/{network_code}/applications/{application_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setPlatform(ApplicationPlatformEnum.ApplicationPlatform value)
public Application.Builder setPlatform(ApplicationPlatformEnum.ApplicationPlatform value)Output only. The platform the application runs on.
optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ApplicationPlatformEnum.ApplicationPlatformThe platform to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setPlatformValue(int value)
public Application.Builder setPlatformValue(int value)Output only. The platform the application runs on.
optional .google.ads.admanager.v1.ApplicationPlatformEnum.ApplicationPlatform platform = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for platform to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setWebviewClaimingStatus(WebviewClaimingStatusEnum.WebviewClaimingStatus value)
public Application.Builder setWebviewClaimingStatus(WebviewClaimingStatusEnum.WebviewClaimingStatus value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
WebviewClaimingStatusEnum.WebviewClaimingStatusThe webviewClaimingStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |
setWebviewClaimingStatusValue(int value)
public Application.Builder setWebviewClaimingStatusValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for webviewClaimingStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Application.Builder |
This builder for chaining. |