Interface ContactOrBuilder (0.39.0)

public interface ContactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAddress()

public abstract String getAddress()

Optional. The address of the contact. This attribute has a maximum length of 1024 characters.

optional string address = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The address.

getAddressBytes()

public abstract ByteString getAddressBytes()

Optional. The address of the contact. This attribute has a maximum length of 1024 characters.

optional string address = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for address.

getCellPhone()

public abstract String getCellPhone()

Optional. The cell phone number where the contact can be reached.

optional string cell_phone = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The cellPhone.

getCellPhoneBytes()

public abstract ByteString getCellPhoneBytes()

Optional. The cell phone number where the contact can be reached.

optional string cell_phone = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for cellPhone.

getComment()

public abstract String getComment()

Optional. A free-form text comment for the contact. This attribute has a maximum length of 1024 characters.

optional string comment = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The comment.

getCommentBytes()

public abstract ByteString getCommentBytes()

Optional. A free-form text comment for the contact. This attribute has a maximum length of 1024 characters.

optional string comment = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for comment.

getCompany()

public abstract String getCompany()

Required. Immutable. The resource name of the Company. Format: "networks/{network_code}/companies/{company_id}"

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

Returns
Type Description
String

The company.

getCompanyBytes()

public abstract ByteString getCompanyBytes()

Required. Immutable. The resource name of the Company. Format: "networks/{network_code}/companies/{company_id}"

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

Returns
Type Description
ByteString

The bytes for company.

getDisplayName()

public abstract String getDisplayName()

Required. The name of the contact. This attribute has a maximum length of 127 characters.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The name of the contact. This attribute has a maximum length of 127 characters.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getEmail()

public abstract String getEmail()

Optional. The e-mail address where the contact can be reached. This attribute has a maximum length of 128 characters.

optional string email = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Optional. The e-mail address where the contact can be reached. This attribute has a maximum length of 128 characters.

optional string email = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for email.

getFax()

public abstract String getFax()

Optional. The fax number where the contact can be reached. This attribute has a maximum length of 1024 characters.

optional string fax = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The fax.

getFaxBytes()

public abstract ByteString getFaxBytes()

Optional. The fax number where the contact can be reached. This attribute has a maximum length of 1024 characters.

optional string fax = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for fax.

getName()

public abstract String getName()

Identifier. The resource name of the Contact. Format: networks/{network_code}/contacts/{contact_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the Contact. Format: networks/{network_code}/contacts/{contact_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getStatus()

public abstract ContactStatusEnum.ContactStatus getStatus()

Output only. The status of the contact. This attribute is assigned by Google.

optional .google.ads.admanager.v1.ContactStatusEnum.ContactStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContactStatusEnum.ContactStatus

The status.

getStatusValue()

public abstract int getStatusValue()

Output only. The status of the contact. This attribute is assigned by Google.

optional .google.ads.admanager.v1.ContactStatusEnum.ContactStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.

getTitle()

public abstract String getTitle()

Optional. The job title of the contact. This attribute has a maximum length of 1024 characters.

optional string title = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Optional. The job title of the contact. This attribute has a maximum length of 1024 characters.

optional string title = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for title.

getWorkPhone()

public abstract String getWorkPhone()

Optional. The work phone number where the contact can be reached. This attribute has a maximum length of 1024 characters.

optional string work_phone = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The workPhone.

getWorkPhoneBytes()

public abstract ByteString getWorkPhoneBytes()

Optional. The work phone number where the contact can be reached. This attribute has a maximum length of 1024 characters.

optional string work_phone = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for workPhone.

hasAddress()

public abstract boolean hasAddress()

Optional. The address of the contact. This attribute has a maximum length of 1024 characters.

optional string address = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the address field is set.

hasCellPhone()

public abstract boolean hasCellPhone()

Optional. The cell phone number where the contact can be reached.

optional string cell_phone = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the cellPhone field is set.

hasComment()

public abstract boolean hasComment()

Optional. A free-form text comment for the contact. This attribute has a maximum length of 1024 characters.

optional string comment = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the comment field is set.

hasCompany()

public abstract boolean hasCompany()

Required. Immutable. The resource name of the Company. Format: "networks/{network_code}/companies/{company_id}"

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

Returns
Type Description
boolean

Whether the company field is set.

hasDisplayName()

public abstract boolean hasDisplayName()

Required. The name of the contact. This attribute has a maximum length of 127 characters.

optional string display_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the displayName field is set.

hasEmail()

public abstract boolean hasEmail()

Optional. The e-mail address where the contact can be reached. This attribute has a maximum length of 128 characters.

optional string email = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the email field is set.

hasFax()

public abstract boolean hasFax()

Optional. The fax number where the contact can be reached. This attribute has a maximum length of 1024 characters.

optional string fax = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the fax field is set.

hasStatus()

public abstract boolean hasStatus()

Output only. The status of the contact. This attribute is assigned by Google.

optional .google.ads.admanager.v1.ContactStatusEnum.ContactStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.

hasTitle()

public abstract boolean hasTitle()

Optional. The job title of the contact. This attribute has a maximum length of 1024 characters.

optional string title = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the title field is set.

hasWorkPhone()

public abstract boolean hasWorkPhone()

Optional. The work phone number where the contact can be reached. This attribute has a maximum length of 1024 characters.

optional string work_phone = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the workPhone field is set.