Class PartnerMatchAdGroup.Builder (0.24.0)

public static final class PartnerMatchAdGroup.Builder extends GeneratedMessage.Builder<PartnerMatchAdGroup.Builder> implements PartnerMatchAdGroupOrBuilder

The ad group details.

Protobuf type google.ads.datamanager.v1.PartnerMatchAdGroup

Static 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
Overrides

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
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PartnerMatchAdGroup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PartnerMatchAdGroup.Builder
Overrides

setAdGroupId(long value)

public PartnerMatchAdGroup.Builder setAdGroupId(long value)

The ID of the ad group.

int64 ad_group_id = 1;

Parameter
Name Description
value long

The 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 String

The 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 ByteString

The bytes for displayName to set.

Returns
Type Description
PartnerMatchAdGroup.Builder

This builder for chaining.