public interface CompanyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAddress()
public abstract String getAddress()Optional. The address for the Company.
This value has a maximum length of 1024 characters.
optional string address = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The address. |
getAddressBytes()
public abstract ByteString getAddressBytes()Optional. The address for the Company.
This value has a maximum length of 1024 characters.
optional string address = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for address. |
getAppliedLabels(int index)
public abstract AppliedLabel getAppliedLabels(int index)Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AppliedLabel |
|
getAppliedLabelsCount()
public abstract int getAppliedLabelsCount()Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAppliedLabelsList()
public abstract List<AppliedLabel> getAppliedLabelsList()Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AppliedLabel> |
|
getAppliedLabelsOrBuilder(int index)
public abstract AppliedLabelOrBuilder getAppliedLabelsOrBuilder(int index)Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AppliedLabelOrBuilder |
|
getAppliedLabelsOrBuilderList()
public abstract List<? extends AppliedLabelOrBuilder> getAppliedLabelsOrBuilderList()Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.AppliedLabelOrBuilder> |
|
getAppliedTeams(int index)
public abstract String getAppliedTeams(int index)Optional. The resource names of Teams that are directly associated with the Company. Format: "networks/{network_code}/teams/{team_id}"
repeated string applied_teams = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The appliedTeams at the given index. |
getAppliedTeamsBytes(int index)
public abstract ByteString getAppliedTeamsBytes(int index)Optional. The resource names of Teams that are directly associated with the Company. Format: "networks/{network_code}/teams/{team_id}"
repeated string applied_teams = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the appliedTeams at the given index. |
getAppliedTeamsCount()
public abstract int getAppliedTeamsCount()Optional. The resource names of Teams that are directly associated with the Company. Format: "networks/{network_code}/teams/{team_id}"
repeated string applied_teams = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of appliedTeams. |
getAppliedTeamsList()
public abstract List<String> getAppliedTeamsList()Optional. The resource names of Teams that are directly associated with the Company. Format: "networks/{network_code}/teams/{team_id}"
repeated string applied_teams = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the appliedTeams. |
getComment()
public abstract String getComment()Optional. Comments about the Company.
This value has a maximum length of 1024 characters.
optional string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The comment. |
getCommentBytes()
public abstract ByteString getCommentBytes()Optional. Comments about the Company.
This value has a maximum length of 1024 characters.
optional string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for comment. |
getCompanyId() (deprecated)
public abstract long getCompanyId()Deprecated. google.ads.admanager.v1.Company.company_id is deprecated. See google/ads/admanager/v1/company_messages.proto;l=47
Output only. Deprecated: Company ID.
optional int64 company_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The companyId. |
getCreditStatus()
public abstract CompanyCreditStatusEnum.CompanyCreditStatus getCreditStatus()Optional. The credit status of the Company.
This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance settings are enabled.
optional .google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CompanyCreditStatusEnum.CompanyCreditStatus |
The creditStatus. |
getCreditStatusValue()
public abstract int getCreditStatusValue()Optional. The credit status of the Company.
This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance settings are enabled.
optional .google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for creditStatus. |
getDisplayName()
public abstract String getDisplayName()Required. The display name of the Company.
This value 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 display name of the Company.
This value 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 email for the Company.
This value has a maximum length of 128 characters.
optional string email = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The email. |
getEmailBytes()
public abstract ByteString getEmailBytes()Optional. The email for the Company.
This value has a maximum length of 128 characters.
optional string email = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for email. |
getExternalId()
public abstract String getExternalId()Optional. The external ID for the Company.
This value has a maximum length of 255 characters.
optional string external_id = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The externalId. |
getExternalIdBytes()
public abstract ByteString getExternalIdBytes()Optional. The external ID for the Company.
This value has a maximum length of 255 characters.
optional string external_id = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for externalId. |
getFax()
public abstract String getFax()Optional. The fax number for the Company.
This value has a maximum length of 63 characters.
optional string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The fax. |
getFaxBytes()
public abstract ByteString getFaxBytes()Optional. The fax number for the Company.
This value has a maximum length of 63 characters.
optional string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fax. |
getName()
public abstract String getName() Identifier. The resource name of the
Company. Format:
networks/{network_code}/companies/{company_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
Company. Format:
networks/{network_code}/companies/{company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPhone()
public abstract String getPhone()Optional. The phone number for the Company.
This value has a maximum length of 63 characters.
optional string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The phone. |
getPhoneBytes()
public abstract ByteString getPhoneBytes()Optional. The phone number for the Company.
This value has a maximum length of 63 characters.
optional string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phone. |
getPrimaryContact()
public abstract String getPrimaryContact()Optional. The resource names of primary Contact of the Company. Format: "networks/{network_code}/contacts/{contact_id}"
optional string primary_contact = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The primaryContact. |
getPrimaryContactBytes()
public abstract ByteString getPrimaryContactBytes()Optional. The resource names of primary Contact of the Company. Format: "networks/{network_code}/contacts/{contact_id}"
optional string primary_contact = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for primaryContact. |
getThirdPartyCompanyId()
public abstract long getThirdPartyCompanyId()Optional. The ID of the Google-recognized canonicalized form of the Company.
optional int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The thirdPartyCompanyId. |
getType()
public abstract CompanyTypeEnum.CompanyType getType()Required. The type of the Company.
optional .google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CompanyTypeEnum.CompanyType |
The type. |
getTypeValue()
public abstract int getTypeValue()Required. The type of the Company.
optional .google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getUpdateTime()
public abstract Timestamp getUpdateTime()Output only. The time the Company was last modified.
optional .google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time the Company was last modified.
optional .google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasAddress()
public abstract boolean hasAddress()Optional. The address for the Company.
This value has a maximum length of 1024 characters.
optional string address = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the address field is set. |
hasComment()
public abstract boolean hasComment()Optional. Comments about the Company.
This value has a maximum length of 1024 characters.
optional string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the comment field is set. |
hasCompanyId() (deprecated)
public abstract boolean hasCompanyId()Deprecated. google.ads.admanager.v1.Company.company_id is deprecated. See google/ads/admanager/v1/company_messages.proto;l=47
Output only. Deprecated: Company ID.
optional int64 company_id = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the companyId field is set. |
hasCreditStatus()
public abstract boolean hasCreditStatus()Optional. The credit status of the Company.
This attribute defaults to [CompanyCreditStatus.ACTIVE][] if basic settings are enabled and [CompanyCreditStatus.ON_HOLD][] if advance settings are enabled.
optional .google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creditStatus field is set. |
hasDisplayName()
public abstract boolean hasDisplayName()Required. The display name of the Company.
This value 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 email for the Company.
This value has a maximum length of 128 characters.
optional string email = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the email field is set. |
hasExternalId()
public abstract boolean hasExternalId()Optional. The external ID for the Company.
This value has a maximum length of 255 characters.
optional string external_id = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the externalId field is set. |
hasFax()
public abstract boolean hasFax()Optional. The fax number for the Company.
This value has a maximum length of 63 characters.
optional string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fax field is set. |
hasPhone()
public abstract boolean hasPhone()Optional. The phone number for the Company.
This value has a maximum length of 63 characters.
optional string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the phone field is set. |
hasPrimaryContact()
public abstract boolean hasPrimaryContact()Optional. The resource names of primary Contact of the Company. Format: "networks/{network_code}/contacts/{contact_id}"
optional string primary_contact = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the primaryContact field is set. |
hasThirdPartyCompanyId()
public abstract boolean hasThirdPartyCompanyId()Optional. The ID of the Google-recognized canonicalized form of the Company.
optional int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the thirdPartyCompanyId field is set. |
hasType()
public abstract boolean hasType()Required. The type of the Company.
optional .google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the type field is set. |
hasUpdateTime()
public abstract boolean hasUpdateTime()Output only. The time the Company was last modified.
optional .google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |