public static final class Company.Builder extends GeneratedMessageV3.Builder<Company.Builder> implements CompanyOrBuilder The Company resource.
Protobuf type google.ads.admanager.v1.Company
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Company.BuilderImplements
CompanyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAppliedLabels(Iterable<? extends AppliedLabel> values)
public Company.Builder addAllAppliedLabels(Iterable<? extends AppliedLabel> values) 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 |
values |
Iterable<? extends com.google.ads.admanager.v1.AppliedLabel> |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
addAllAppliedTeams(Iterable<String> values)
public Company.Builder addAllAppliedTeams(Iterable<String> values) 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 |
values |
Iterable<String>The appliedTeams to add. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
addAppliedLabels(AppliedLabel value)
public Company.Builder addAppliedLabels(AppliedLabel value) 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 |
value |
AppliedLabel |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
addAppliedLabels(AppliedLabel.Builder builderForValue)
public Company.Builder addAppliedLabels(AppliedLabel.Builder builderForValue) 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 |
builderForValue |
AppliedLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
addAppliedLabels(int index, AppliedLabel value)
public Company.Builder addAppliedLabels(int index, AppliedLabel value) Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AppliedLabel |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
addAppliedLabels(int index, AppliedLabel.Builder builderForValue)
public Company.Builder addAppliedLabels(int index, AppliedLabel.Builder builderForValue) Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AppliedLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
addAppliedLabelsBuilder()
public AppliedLabel.Builder addAppliedLabelsBuilder() 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 |
AppliedLabel.Builder |
|
addAppliedLabelsBuilder(int index)
public AppliedLabel.Builder addAppliedLabelsBuilder(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.Builder |
|
addAppliedTeams(String value)
public Company.Builder addAppliedTeams(String value) 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 |
value |
StringThe appliedTeams to add. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
addAppliedTeamsBytes(ByteString value)
public Company.Builder addAppliedTeamsBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the appliedTeams to add. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Company.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
build()
public Company build()| Returns | |
|---|---|
| Type | Description |
Company |
|
buildPartial()
public Company buildPartial()| Returns | |
|---|---|
| Type | Description |
Company |
|
clear()
public Company.Builder clear()| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
clearAddress()
public Company.Builder clearAddress() Optional. The address for the Company.
This value has a maximum length of 1024 characters.
string address = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearAppliedLabels()
public Company.Builder clearAppliedLabels() 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 |
Company.Builder |
|
clearAppliedTeams()
public Company.Builder clearAppliedTeams() 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 |
Company.Builder |
This builder for chaining. |
clearComment()
public Company.Builder clearComment() Optional. Comments about the Company.
This value has a maximum length of 1024 characters.
string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearCompanyId()
public Company.Builder clearCompanyId() Output only. Company ID.
int64 company_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearCreditStatus()
public Company.Builder clearCreditStatus() 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];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearDisplayName()
public Company.Builder clearDisplayName() 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];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearEmail()
public Company.Builder clearEmail() Optional. The email for the Company.
This value has a maximum length of 128 characters.
string email = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearExternalId()
public Company.Builder clearExternalId() 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];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearFax()
public Company.Builder clearFax() Optional. The fax number for the Company.
This value has a maximum length of 63 characters.
string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Company.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
clearName()
public Company.Builder clearName() 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 |
Company.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Company.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
clearPhone()
public Company.Builder clearPhone() Optional. The phone number for the Company.
This value has a maximum length of 63 characters.
string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearPrimaryContact()
public Company.Builder clearPrimaryContact() 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 |
Company.Builder |
This builder for chaining. |
clearThirdPartyCompanyId()
public Company.Builder clearThirdPartyCompanyId() Optional. The ID of the Google-recognized canonicalized form of the
Company.
int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearType()
public Company.Builder clearType() Required. The type of the Company.
.google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
clearUpdateTime()
public Company.Builder clearUpdateTime() Output only. The time the Company was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
clone()
public Company.Builder clone()| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
String |
The address. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for address. |
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AppliedLabel |
|
getAppliedLabelsBuilder(int index)
public AppliedLabel.Builder getAppliedLabelsBuilder(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.Builder |
|
getAppliedLabelsBuilderList()
public List<AppliedLabel.Builder> getAppliedLabelsBuilderList() 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<Builder> |
|
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];
| Returns | |
|---|---|
| Type | Description |
int |
|
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];
| Returns | |
|---|---|
| Type | Description |
List<AppliedLabel> |
|
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];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AppliedLabelOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.ads.admanager.v1.AppliedLabelOrBuilder> |
|
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) = { ... }
| 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 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 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 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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the appliedTeams. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The comment. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for comment. |
getCompanyId()
public long getCompanyId() Output only. Company ID.
int64 company_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The companyId. |
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];
| Returns | |
|---|---|
| Type | Description |
CompanyCreditStatusEnum.CompanyCreditStatus |
The creditStatus. |
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];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for creditStatus. |
getDefaultInstanceForType()
public Company getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Company |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The email. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for email. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The externalId. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for externalId. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The fax. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fax. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
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];
| Returns | |
|---|---|
| Type | Description |
String |
The phone. |
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];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phone. |
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The primaryContact. |
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for primaryContact. |
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];
| Returns | |
|---|---|
| Type | Description |
long |
The thirdPartyCompanyId. |
getType()
public CompanyTypeEnum.CompanyType getType() Required. The type of the Company.
.google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CompanyTypeEnum.CompanyType |
The type. |
getTypeValue()
public int getTypeValue() Required. The type of the Company.
.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 Timestamp getUpdateTime() Output only. The time the Company was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder() Output only. The time the Company was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
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) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the primaryContact field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Company other)
public Company.Builder mergeFrom(Company other)| Parameter | |
|---|---|
| Name | Description |
other |
Company |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Company.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Company.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Company.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
mergeUpdateTime(Timestamp value)
public Company.Builder mergeUpdateTime(Timestamp value) Output only. The time the Company was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
removeAppliedLabels(int index)
public Company.Builder removeAppliedLabels(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 |
Company.Builder |
|
setAddress(String value)
public Company.Builder setAddress(String value) Optional. The address for the Company.
This value has a maximum length of 1024 characters.
string address = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe address to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setAddressBytes(ByteString value)
public Company.Builder setAddressBytes(ByteString value) Optional. The address for the Company.
This value has a maximum length of 1024 characters.
string address = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for address to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setAppliedLabels(int index, AppliedLabel value)
public Company.Builder setAppliedLabels(int index, AppliedLabel value) Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AppliedLabel |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
setAppliedLabels(int index, AppliedLabel.Builder builderForValue)
public Company.Builder setAppliedLabels(int index, AppliedLabel.Builder builderForValue) Optional. The labels that are directly applied to the Company.
repeated .google.ads.admanager.v1.AppliedLabel applied_labels = 12 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AppliedLabel.Builder |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
setAppliedTeams(int index, String value)
public Company.Builder setAppliedTeams(int index, String value) 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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe appliedTeams to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setComment(String value)
public Company.Builder setComment(String value) Optional. Comments about the Company.
This value has a maximum length of 1024 characters.
string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe comment to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setCommentBytes(ByteString value)
public Company.Builder setCommentBytes(ByteString value) Optional. Comments about the Company.
This value has a maximum length of 1024 characters.
string comment = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for comment to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setCompanyId(long value)
public Company.Builder setCompanyId(long value) Output only. Company ID.
int64 company_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe companyId to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setCreditStatus(CompanyCreditStatusEnum.CompanyCreditStatus value)
public Company.Builder setCreditStatus(CompanyCreditStatusEnum.CompanyCreditStatus value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
CompanyCreditStatusEnum.CompanyCreditStatusThe creditStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setCreditStatusValue(int value)
public Company.Builder setCreditStatusValue(int value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for creditStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setDisplayName(String value)
public Company.Builder setDisplayName(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Company.Builder setDisplayNameBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setEmail(String value)
public Company.Builder setEmail(String value) Optional. The email for the Company.
This value has a maximum length of 128 characters.
string email = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe email to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setEmailBytes(ByteString value)
public Company.Builder setEmailBytes(ByteString value) Optional. The email for the Company.
This value has a maximum length of 128 characters.
string email = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for email to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setExternalId(String value)
public Company.Builder setExternalId(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe externalId to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setExternalIdBytes(ByteString value)
public Company.Builder setExternalIdBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for externalId to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setFax(String value)
public Company.Builder setFax(String value) Optional. The fax number for the Company.
This value has a maximum length of 63 characters.
string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fax to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setFaxBytes(ByteString value)
public Company.Builder setFaxBytes(ByteString value) Optional. The fax number for the Company.
This value has a maximum length of 63 characters.
string fax = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fax to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Company.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
setName(String value)
public Company.Builder setName(String value) Identifier. The resource name of the Company.
Format: networks/{network_code}/companies/{company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Company.Builder setNameBytes(ByteString value) Identifier. The resource name of the Company.
Format: networks/{network_code}/companies/{company_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setPhone(String value)
public Company.Builder setPhone(String value) Optional. The phone number for the Company.
This value has a maximum length of 63 characters.
string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phone to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setPhoneBytes(ByteString value)
public Company.Builder setPhoneBytes(ByteString value) Optional. The phone number for the Company.
This value has a maximum length of 63 characters.
string phone = 8 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phone to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setPrimaryContact(String value)
public Company.Builder setPrimaryContact(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe primaryContact to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setPrimaryContactBytes(ByteString value)
public Company.Builder setPrimaryContactBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for primaryContact to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Company.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
setThirdPartyCompanyId(long value)
public Company.Builder setThirdPartyCompanyId(long value) Optional. The ID of the Google-recognized canonicalized form of the
Company.
int64 third_party_company_id = 16 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe thirdPartyCompanyId to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setType(CompanyTypeEnum.CompanyType value)
public Company.Builder setType(CompanyTypeEnum.CompanyType value) Required. The type of the Company.
.google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CompanyTypeEnum.CompanyTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setTypeValue(int value)
public Company.Builder setTypeValue(int value) Required. The type of the Company.
.google.ads.admanager.v1.CompanyTypeEnum.CompanyType type = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Company.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
setUpdateTime(Timestamp value)
public Company.Builder setUpdateTime(Timestamp value) Output only. The time the Company was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Company.Builder setUpdateTime(Timestamp.Builder builderForValue) Output only. The time the Company was last modified.
.google.protobuf.Timestamp update_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|