Class PartnerMatchAdvertiserAccount.Builder (0.24.0)

public static final class PartnerMatchAdvertiserAccount.Builder extends GeneratedMessage.Builder<PartnerMatchAdvertiserAccount.Builder> implements PartnerMatchAdvertiserAccountOrBuilder

The advertiser account details.

Protobuf type google.ads.datamanager.v1.PartnerMatchAdvertiserAccount

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public PartnerMatchAdvertiserAccount build()
Returns
Type Description
PartnerMatchAdvertiserAccount

buildPartial()

public PartnerMatchAdvertiserAccount buildPartial()
Returns
Type Description
PartnerMatchAdvertiserAccount

clear()

public PartnerMatchAdvertiserAccount.Builder clear()
Returns
Type Description
PartnerMatchAdvertiserAccount.Builder
Overrides

clearAccountId()

public PartnerMatchAdvertiserAccount.Builder clearAccountId()

The Customer ID of the account.

string account_id = 2;

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

clearAccountType()

public PartnerMatchAdvertiserAccount.Builder clearAccountType()

The type of account (e.g. GOOGLE_ADS, DISPLAY_VIDEO_ADVERTISER).

string account_type = 1;

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

clearDisplayName()

public PartnerMatchAdvertiserAccount.Builder clearDisplayName()

The descriptive name of the account.

string display_name = 3;

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

getAccountId()

public String getAccountId()

The Customer ID of the account.

string account_id = 2;

Returns
Type Description
String

The accountId.

getAccountIdBytes()

public ByteString getAccountIdBytes()

The Customer ID of the account.

string account_id = 2;

Returns
Type Description
ByteString

The bytes for accountId.

getAccountType()

public String getAccountType()

The type of account (e.g. GOOGLE_ADS, DISPLAY_VIDEO_ADVERTISER).

string account_type = 1;

Returns
Type Description
String

The accountType.

getAccountTypeBytes()

public ByteString getAccountTypeBytes()

The type of account (e.g. GOOGLE_ADS, DISPLAY_VIDEO_ADVERTISER).

string account_type = 1;

Returns
Type Description
ByteString

The bytes for accountType.

getDefaultInstanceForType()

public PartnerMatchAdvertiserAccount getDefaultInstanceForType()
Returns
Type Description
PartnerMatchAdvertiserAccount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

The descriptive name of the account.

string display_name = 3;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The descriptive name of the account.

string display_name = 3;

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(PartnerMatchAdvertiserAccount other)

public PartnerMatchAdvertiserAccount.Builder mergeFrom(PartnerMatchAdvertiserAccount other)
Parameter
Name Description
other PartnerMatchAdvertiserAccount
Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PartnerMatchAdvertiserAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartnerMatchAdvertiserAccount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

setAccountId(String value)

public PartnerMatchAdvertiserAccount.Builder setAccountId(String value)

The Customer ID of the account.

string account_id = 2;

Parameter
Name Description
value String

The accountId to set.

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

setAccountIdBytes(ByteString value)

public PartnerMatchAdvertiserAccount.Builder setAccountIdBytes(ByteString value)

The Customer ID of the account.

string account_id = 2;

Parameter
Name Description
value ByteString

The bytes for accountId to set.

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

setAccountType(String value)

public PartnerMatchAdvertiserAccount.Builder setAccountType(String value)

The type of account (e.g. GOOGLE_ADS, DISPLAY_VIDEO_ADVERTISER).

string account_type = 1;

Parameter
Name Description
value String

The accountType to set.

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

setAccountTypeBytes(ByteString value)

public PartnerMatchAdvertiserAccount.Builder setAccountTypeBytes(ByteString value)

The type of account (e.g. GOOGLE_ADS, DISPLAY_VIDEO_ADVERTISER).

string account_type = 1;

Parameter
Name Description
value ByteString

The bytes for accountType to set.

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

setDisplayName(String value)

public PartnerMatchAdvertiserAccount.Builder setDisplayName(String value)

The descriptive name of the account.

string display_name = 3;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public PartnerMatchAdvertiserAccount.Builder setDisplayNameBytes(ByteString value)

The descriptive name of the account.

string display_name = 3;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
PartnerMatchAdvertiserAccount.Builder

This builder for chaining.