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
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 |
|
clearDisplayName()
public Application.Builder clearDisplayName()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 |
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. |
getDefaultInstanceForType()
public Application getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Application |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
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 |
|
setDisplayName(String value)
public Application.Builder setDisplayName(String value)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];
| 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)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName 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. |