public
final
class
Company
extends
GeneratedMessageV3
implements
CompanyOrBuilder
The Company
resource.
Protobuf type google.ads.admanager.v1.Company
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CompanyImplements
CompanyOrBuilderStatic Fields
ADDRESS_FIELD_NUMBER
public
static
final
int
ADDRESS_FIELD_NUMBER
APPLIED_LABELS_FIELD_NUMBER
public
static
final
int
APPLIED_LABELS_FIELD_NUMBER
APPLIED_TEAMS_FIELD_NUMBER
public
static
final
int
APPLIED_TEAMS_FIELD_NUMBER
COMMENT_FIELD_NUMBER
public
static
final
int
COMMENT_FIELD_NUMBER
COMPANY_ID_FIELD_NUMBER
public
static
final
int
COMPANY_ID_FIELD_NUMBER
CREDIT_STATUS_FIELD_NUMBER
public
static
final
int
CREDIT_STATUS_FIELD_NUMBER
DISPLAY_NAME_FIELD_NUMBER
public
static
final
int
DISPLAY_NAME_FIELD_NUMBER
EMAIL_FIELD_NUMBER
public
static
final
int
EMAIL_FIELD_NUMBER
EXTERNAL_ID_FIELD_NUMBER
public
static
final
int
EXTERNAL_ID_FIELD_NUMBER
FAX_FIELD_NUMBER
public
static
final
int
FAX_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
PHONE_FIELD_NUMBER
public
static
final
int
PHONE_FIELD_NUMBER
PRIMARY_CONTACT_FIELD_NUMBER
public
static
final
int
PRIMARY_CONTACT_FIELD_NUMBER
THIRD_PARTY_COMPANY_ID_FIELD_NUMBER
public
static
final
int
THIRD_PARTY_COMPANY_ID_FIELD_NUMBER
TYPE_FIELD_NUMBER
public
static
final
int
TYPE_FIELD_NUMBER
UPDATE_TIME_FIELD_NUMBER
public
static
final
int
UPDATE_TIME_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Company
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Company
.
Builder
newBuilder
()
newBuilder(Company prototype)
public
static
Company
.
Builder
newBuilder
(
Company
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Company
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Company
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Company
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Company
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Company
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Company
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Company
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Company
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Company
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Company
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Company
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Company
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Company>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getAddress()
public
String
getAddress
()
Optional. The address for the Company
.
This value has a maximum length of 1024 characters.
string address = 5 [(.google.api.field_behavior) = OPTIONAL];
getAddressBytes()
public
ByteString
getAddressBytes
()
Optional. The address for the Company
.
This value has a maximum length of 1024 characters.
string address = 5 [(.google.api.field_behavior) = OPTIONAL];
getAppliedLabels(int index)
public
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];
getAppliedLabelsCount()
public
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];
getAppliedLabelsList()
public
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];
getAppliedLabelsOrBuilder(int index)
public
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];
getAppliedLabelsOrBuilderList()
public
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];
getAppliedTeams(int index)
public
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) = { ... }
getAppliedTeamsBytes(int index)
public
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) = { ... }
getAppliedTeamsCount()
public
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) = { ... }
getAppliedTeamsList()
public
ProtocolStringList
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) = { ... }
getComment()
public
String
getComment
()
Optional. Comments about the Company
.
This value has a maximum length of 1024 characters.
string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
getCommentBytes()
public
ByteString
getCommentBytes
()
Optional. Comments about the Company
.
This value has a maximum length of 1024 characters.
string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
getCompanyId()
public
long
getCompanyId
()
Output only. Company
ID.
int64 company_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreditStatus()
public
CompanyCreditStatusEnum
.
CompanyCreditStatus
getCreditStatus
()
Optional. The credit status of the Company
.
This attribute defaults to ACTIVE
if basic settings are enabled and ON_HOLD
if advance settings are enabled.
.google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL];
getCreditStatusValue()
public
int
getCreditStatusValue
()
Optional. The credit status of the Company
.
This attribute defaults to ACTIVE
if basic settings are enabled and ON_HOLD
if advance settings are enabled.
.google.ads.admanager.v1.CompanyCreditStatusEnum.CompanyCreditStatus credit_status = 11 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public
Company
getDefaultInstanceForType
()
getDisplayName()
public
String
getDisplayName
()
Required. The display name of the Company
.
This value has a maximum length of 127 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
getDisplayNameBytes()
public
ByteString
getDisplayNameBytes
()
Required. The display name of the Company
.
This value has a maximum length of 127 characters.
string display_name = 3 [(.google.api.field_behavior) = REQUIRED];
getEmail()
public
String
getEmail
()
Optional. The email for the Company
.
This value has a maximum length of 128 characters.
string email = 6 [(.google.api.field_behavior) = OPTIONAL];
getEmailBytes()
public
ByteString
getEmailBytes
()
Optional. The email for the Company
.
This value has a maximum length of 128 characters.
string email = 6 [(.google.api.field_behavior) = OPTIONAL];
getExternalId()
public
String
getExternalId
()
Optional. The external ID for the Company
.
This value has a maximum length of 255 characters.
string external_id = 9 [(.google.api.field_behavior) = OPTIONAL];
getExternalIdBytes()
public
ByteString
getExternalIdBytes
()
Optional. The external ID for the Company
.
This value has a maximum length of 255 characters.
string external_id = 9 [(.google.api.field_behavior) = OPTIONAL];
getFax()
public
String
getFax
()
Optional. The fax number for the Company
.
This value has a maximum length of 63 characters.
string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
getFaxBytes()
public
ByteString
getFaxBytes
()
Optional. The fax number for the Company
.
This value has a maximum length of 63 characters.
string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
getName()
public
String
getName
()
Identifier. The resource name of the Company
.
Format: networks/{network_code}/companies/{company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getNameBytes()
public
ByteString
getNameBytes
()
Identifier. The resource name of the Company
.
Format: networks/{network_code}/companies/{company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getParserForType()
public
Parser<Company>
getParserForType
()
getPhone()
public
String
getPhone
()
Optional. The phone number for the Company
.
This value has a maximum length of 63 characters.
string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
getPhoneBytes()
public
ByteString
getPhoneBytes
()
Optional. The phone number for the Company
.
This value has a maximum length of 63 characters.
string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
getPrimaryContact()
public
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) = { ... }
getPrimaryContactBytes()
public
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) = { ... }
getSerializedSize()
public
int
getSerializedSize
()
getThirdPartyCompanyId()
public
long
getThirdPartyCompanyId
()
Optional. The ID of the Google-recognized canonicalized form of the Company
.
int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL];
getType()
public
CompanyTypeEnum
.
CompanyType
getType
()
Required. The type of the Company
.
.google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
getTypeValue()
public
int
getTypeValue
()
Required. The type of the Company
.
.google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
getUpdateTime()
public
Timestamp
getUpdateTime
()
Output only. The time the Company
was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder()
public
TimestampOrBuilder
getUpdateTimeOrBuilder
()
Output only. The time the Company
was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPrimaryContact()
public
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) = { ... }
hasUpdateTime()
public
boolean
hasUpdateTime
()
Output only. The time the Company
was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Company
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Company
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Company
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)