Interface AdPartnerDeclarationOrBuilder (0.1.0)

public interface AdPartnerDeclarationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAdPartners(int index)

public abstract String getAdPartners(int index)

The resource names of AdPartners being declared. Format: "networks/{network_code}/adPartners/{ad_partner_id}"

repeated string ad_partners = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The adPartners at the given index.

getAdPartnersBytes(int index)

public abstract ByteString getAdPartnersBytes(int index)

The resource names of AdPartners being declared. Format: "networks/{network_code}/adPartners/{ad_partner_id}"

repeated string ad_partners = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the adPartners at the given index.

getAdPartnersCount()

public abstract int getAdPartnersCount()

The resource names of AdPartners being declared. Format: "networks/{network_code}/adPartners/{ad_partner_id}"

repeated string ad_partners = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of adPartners.

getAdPartnersList()

public abstract List<String> getAdPartnersList()

The resource names of AdPartners being declared. Format: "networks/{network_code}/adPartners/{ad_partner_id}"

repeated string ad_partners = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the adPartners.

getType()

public abstract DeclarationTypeEnum.DeclarationType getType()

They type of declaration.

.google.ads.admanager.v1.DeclarationTypeEnum.DeclarationType type = 1;

Returns
Type Description
DeclarationTypeEnum.DeclarationType

The type.

getTypeValue()

public abstract int getTypeValue()

They type of declaration.

.google.ads.admanager.v1.DeclarationTypeEnum.DeclarationType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.