public static final class PartnerMatchAdGroup.Builder extends GeneratedMessage.Builder<PartnerMatchAdGroup.Builder> implements PartnerMatchAdGroupOrBuilderThe ad group details.
Protobuf type google.ads.datamanager.v1.PartnerMatchAdGroup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PartnerMatchAdGroup.BuilderImplements
PartnerMatchAdGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PartnerMatchAdGroup build()| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup |
|
buildPartial()
public PartnerMatchAdGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup |
|
clear()
public PartnerMatchAdGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
|
clearAdGroupId()
public PartnerMatchAdGroup.Builder clearAdGroupId()The ID of the ad group.
int64 ad_group_id = 1;
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
This builder for chaining. |
clearDisplayName()
public PartnerMatchAdGroup.Builder clearDisplayName()The descriptive name of the ad group.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
This builder for chaining. |
getAdGroupId()
public long getAdGroupId()The ID of the ad group.
int64 ad_group_id = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The adGroupId. |
getDefaultInstanceForType()
public PartnerMatchAdGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The descriptive name of the ad group.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The descriptive name of the ad group.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PartnerMatchAdGroup other)
public PartnerMatchAdGroup.Builder mergeFrom(PartnerMatchAdGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
PartnerMatchAdGroup |
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PartnerMatchAdGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PartnerMatchAdGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
|
setAdGroupId(long value)
public PartnerMatchAdGroup.Builder setAdGroupId(long value)The ID of the ad group.
int64 ad_group_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe adGroupId to set. |
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
This builder for chaining. |
setDisplayName(String value)
public PartnerMatchAdGroup.Builder setDisplayName(String value)The descriptive name of the ad group.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PartnerMatchAdGroup.Builder setDisplayNameBytes(ByteString value)The descriptive name of the ad group.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PartnerMatchAdGroup.Builder |
This builder for chaining. |