Interface ProposalCompanyAssociationOrBuilder (0.62.0)

public interface ProposalCompanyAssociationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCompany()

public abstract String getCompany()

Required. The resource name of the Company associated with the Proposal. Format: networks/{network_code}/companies/{company_id}

optional string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The company.

getCompanyBytes()

public abstract ByteString getCompanyBytes()

Required. The resource name of the Company associated with the Proposal. Format: networks/{network_code}/companies/{company_id}

optional string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for company.

getSellerContacts(int index)

public abstract String getSellerContacts(int index)

Optional. The resource names of the Contacts associated with the Company. Format: networks/{network_code}/contacts/{contact_id}

repeated string seller_contacts = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sellerContacts at the given index.

getSellerContactsBytes(int index)

public abstract ByteString getSellerContactsBytes(int index)

Optional. The resource names of the Contacts associated with the Company. Format: networks/{network_code}/contacts/{contact_id}

repeated string seller_contacts = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sellerContacts at the given index.

getSellerContactsCount()

public abstract int getSellerContactsCount()

Optional. The resource names of the Contacts associated with the Company. Format: networks/{network_code}/contacts/{contact_id}

repeated string seller_contacts = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of sellerContacts.

getSellerContactsList()

public abstract List<String> getSellerContactsList()

Optional. The resource names of the Contacts associated with the Company. Format: networks/{network_code}/contacts/{contact_id}

repeated string seller_contacts = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the sellerContacts.

getType()

public abstract ProposalCompanyAssociationTypeEnum.ProposalCompanyAssociationType getType()

Required. The association type between the Company and the Proposal.

optional .google.ads.admanager.v1.ProposalCompanyAssociationTypeEnum.ProposalCompanyAssociationType type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProposalCompanyAssociationTypeEnum.ProposalCompanyAssociationType

The type.

getTypeValue()

public abstract int getTypeValue()

Required. The association type between the Company and the Proposal.

optional .google.ads.admanager.v1.ProposalCompanyAssociationTypeEnum.ProposalCompanyAssociationType type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for type.

hasCompany()

public abstract boolean hasCompany()

Required. The resource name of the Company associated with the Proposal. Format: networks/{network_code}/companies/{company_id}

optional string company = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the company field is set.

hasType()

public abstract boolean hasType()

Required. The association type between the Company and the Proposal.

optional .google.ads.admanager.v1.ProposalCompanyAssociationTypeEnum.ProposalCompanyAssociationType type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the type field is set.