Class Company.Builder (2.55.0)

public static final class Company.Builder extends GeneratedMessageV3.Builder<Company.Builder> implements CompanyOrBuilder

A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.

Protobuf type google.cloud.talent.v4beta1.Company

Implements

CompanyOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllKeywordSearchableJobCustomAttributes(Iterable<String> values) (deprecated)

public Company.Builder addAllKeywordSearchableJobCustomAttributes(Iterable<String> values)

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Parameter
Name Description
values Iterable<String>

The keywordSearchableJobCustomAttributes to add.

Returns
Type Description
Company.Builder

This builder for chaining.

addKeywordSearchableJobCustomAttributes(String value) (deprecated)

public Company.Builder addKeywordSearchableJobCustomAttributes(String value)

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Parameter
Name Description
value String

The keywordSearchableJobCustomAttributes to add.

Returns
Type Description
Company.Builder

This builder for chaining.

addKeywordSearchableJobCustomAttributesBytes(ByteString value) (deprecated)

public Company.Builder addKeywordSearchableJobCustomAttributesBytes(ByteString value)

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Parameter
Name Description
value ByteString

The bytes of the keywordSearchableJobCustomAttributes 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
Overrides

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
Overrides

clearCareerSiteUri()

public Company.Builder clearCareerSiteUri()

The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

string career_site_uri = 9;

Returns
Type Description
Company.Builder

This builder for chaining.

clearDerivedInfo()

public Company.Builder clearDerivedInfo()

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Company.Builder

clearDisplayName()

public Company.Builder clearDisplayName()

Required. The display name of the company, for example, "Google LLC".

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

Returns
Type Description
Company.Builder

This builder for chaining.

clearEeoText()

public Company.Builder clearEeoText()

Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.

The maximum number of allowed characters is 500.

string eeo_text = 7;

Returns
Type Description
Company.Builder

This builder for chaining.

clearExternalId()

public Company.Builder clearExternalId()

Required. Client side company identifier, used to uniquely identify the company.

The maximum number of allowed characters is 255.

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

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
Overrides

clearHeadquartersAddress()

public Company.Builder clearHeadquartersAddress()

The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.

string headquarters_address = 5;

Returns
Type Description
Company.Builder

This builder for chaining.

clearHiringAgency()

public Company.Builder clearHiringAgency()

Set to true if it is the hiring agency that post jobs for other employers.

Defaults to false if not provided.

bool hiring_agency = 6;

Returns
Type Description
Company.Builder

This builder for chaining.

clearImageUri()

public Company.Builder clearImageUri()

A URI that hosts the employer's company logo.

string image_uri = 10;

Returns
Type Description
Company.Builder

This builder for chaining.

clearKeywordSearchableJobCustomAttributes() (deprecated)

public Company.Builder clearKeywordSearchableJobCustomAttributes()

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Returns
Type Description
Company.Builder

This builder for chaining.

clearName()

public Company.Builder clearName()

Required during company update.

The resource name for a company. This is generated by the service when a company is created.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".

string name = 1;

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
Overrides

clearSize()

public Company.Builder clearSize()

The employer's company size.

.google.cloud.talent.v4beta1.CompanySize size = 4;

Returns
Type Description
Company.Builder

This builder for chaining.

clearSuspended()

public Company.Builder clearSuspended()

Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.

bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Company.Builder

This builder for chaining.

clearWebsiteUri()

public Company.Builder clearWebsiteUri()

The URI representing the company's primary web site or home page, for example, "https://www.google.com".

The maximum number of allowed characters is 255.

string website_uri = 8;

Returns
Type Description
Company.Builder

This builder for chaining.

clone()

public Company.Builder clone()
Returns
Type Description
Company.Builder
Overrides

getCareerSiteUri()

public String getCareerSiteUri()

The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

string career_site_uri = 9;

Returns
Type Description
String

The careerSiteUri.

getCareerSiteUriBytes()

public ByteString getCareerSiteUriBytes()

The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

string career_site_uri = 9;

Returns
Type Description
ByteString

The bytes for careerSiteUri.

getDefaultInstanceForType()

public Company getDefaultInstanceForType()
Returns
Type Description
Company

getDerivedInfo()

public Company.DerivedInfo getDerivedInfo()

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Company.DerivedInfo

The derivedInfo.

getDerivedInfoBuilder()

public Company.DerivedInfo.Builder getDerivedInfoBuilder()

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Company.DerivedInfo.Builder

getDerivedInfoOrBuilder()

public Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder()

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Company.DerivedInfoOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisplayName()

public String getDisplayName()

Required. The display name of the company, for example, "Google LLC".

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Required. The display name of the company, for example, "Google LLC".

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

Returns
Type Description
ByteString

The bytes for displayName.

getEeoText()

public String getEeoText()

Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.

The maximum number of allowed characters is 500.

string eeo_text = 7;

Returns
Type Description
String

The eeoText.

getEeoTextBytes()

public ByteString getEeoTextBytes()

Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.

The maximum number of allowed characters is 500.

string eeo_text = 7;

Returns
Type Description
ByteString

The bytes for eeoText.

getExternalId()

public String getExternalId()

Required. Client side company identifier, used to uniquely identify the company.

The maximum number of allowed characters is 255.

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

Returns
Type Description
String

The externalId.

getExternalIdBytes()

public ByteString getExternalIdBytes()

Required. Client side company identifier, used to uniquely identify the company.

The maximum number of allowed characters is 255.

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

Returns
Type Description
ByteString

The bytes for externalId.

getHeadquartersAddress()

public String getHeadquartersAddress()

The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.

string headquarters_address = 5;

Returns
Type Description
String

The headquartersAddress.

getHeadquartersAddressBytes()

public ByteString getHeadquartersAddressBytes()

The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.

string headquarters_address = 5;

Returns
Type Description
ByteString

The bytes for headquartersAddress.

getHiringAgency()

public boolean getHiringAgency()

Set to true if it is the hiring agency that post jobs for other employers.

Defaults to false if not provided.

bool hiring_agency = 6;

Returns
Type Description
boolean

The hiringAgency.

getImageUri()

public String getImageUri()

A URI that hosts the employer's company logo.

string image_uri = 10;

Returns
Type Description
String

The imageUri.

getImageUriBytes()

public ByteString getImageUriBytes()

A URI that hosts the employer's company logo.

string image_uri = 10;

Returns
Type Description
ByteString

The bytes for imageUri.

getKeywordSearchableJobCustomAttributes(int index) (deprecated)

public String getKeywordSearchableJobCustomAttributes(int index)

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The keywordSearchableJobCustomAttributes at the given index.

getKeywordSearchableJobCustomAttributesBytes(int index) (deprecated)

public ByteString getKeywordSearchableJobCustomAttributesBytes(int index)

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the keywordSearchableJobCustomAttributes at the given index.

getKeywordSearchableJobCustomAttributesCount() (deprecated)

public int getKeywordSearchableJobCustomAttributesCount()

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Returns
Type Description
int

The count of keywordSearchableJobCustomAttributes.

getKeywordSearchableJobCustomAttributesList() (deprecated)

public ProtocolStringList getKeywordSearchableJobCustomAttributesList()

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Returns
Type Description
ProtocolStringList

A list containing the keywordSearchableJobCustomAttributes.

getName()

public String getName()

Required during company update.

The resource name for a company. This is generated by the service when a company is created.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required during company update.

The resource name for a company. This is generated by the service when a company is created.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSize()

public CompanySize getSize()

The employer's company size.

.google.cloud.talent.v4beta1.CompanySize size = 4;

Returns
Type Description
CompanySize

The size.

getSizeValue()

public int getSizeValue()

The employer's company size.

.google.cloud.talent.v4beta1.CompanySize size = 4;

Returns
Type Description
int

The enum numeric value on the wire for size.

getSuspended()

public boolean getSuspended()

Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.

bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The suspended.

getWebsiteUri()

public String getWebsiteUri()

The URI representing the company's primary web site or home page, for example, "https://www.google.com".

The maximum number of allowed characters is 255.

string website_uri = 8;

Returns
Type Description
String

The websiteUri.

getWebsiteUriBytes()

public ByteString getWebsiteUriBytes()

The URI representing the company's primary web site or home page, for example, "https://www.google.com".

The maximum number of allowed characters is 255.

string website_uri = 8;

Returns
Type Description
ByteString

The bytes for websiteUri.

hasDerivedInfo()

public boolean hasDerivedInfo()

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the derivedInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDerivedInfo(Company.DerivedInfo value)

public Company.Builder mergeDerivedInfo(Company.DerivedInfo value)

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Company.DerivedInfo
Returns
Type Description
Company.Builder

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Company.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Company.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Company.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Company.Builder
Overrides

setCareerSiteUri(String value)

public Company.Builder setCareerSiteUri(String value)

The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

string career_site_uri = 9;

Parameter
Name Description
value String

The careerSiteUri to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setCareerSiteUriBytes(ByteString value)

public Company.Builder setCareerSiteUriBytes(ByteString value)

The URI to employer's career site or careers page on the employer's web site, for example, "https://careers.google.com".

string career_site_uri = 9;

Parameter
Name Description
value ByteString

The bytes for careerSiteUri to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setDerivedInfo(Company.DerivedInfo value)

public Company.Builder setDerivedInfo(Company.DerivedInfo value)

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Company.DerivedInfo
Returns
Type Description
Company.Builder

setDerivedInfo(Company.DerivedInfo.Builder builderForValue)

public Company.Builder setDerivedInfo(Company.DerivedInfo.Builder builderForValue)

Output only. Derived details about the company.

.google.cloud.talent.v4beta1.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Company.DerivedInfo.Builder
Returns
Type Description
Company.Builder

setDisplayName(String value)

public Company.Builder setDisplayName(String value)

Required. The display name of the company, for example, "Google LLC".

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

Parameter
Name Description
value String

The 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, for example, "Google LLC".

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

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setEeoText(String value)

public Company.Builder setEeoText(String value)

Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.

The maximum number of allowed characters is 500.

string eeo_text = 7;

Parameter
Name Description
value String

The eeoText to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setEeoTextBytes(ByteString value)

public Company.Builder setEeoTextBytes(ByteString value)

Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles.

The maximum number of allowed characters is 500.

string eeo_text = 7;

Parameter
Name Description
value ByteString

The bytes for eeoText to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setExternalId(String value)

public Company.Builder setExternalId(String value)

Required. Client side company identifier, used to uniquely identify the company.

The maximum number of allowed characters is 255.

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

Parameter
Name Description
value String

The externalId to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setExternalIdBytes(ByteString value)

public Company.Builder setExternalIdBytes(ByteString value)

Required. Client side company identifier, used to uniquely identify the company.

The maximum number of allowed characters is 255.

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

Parameter
Name Description
value ByteString

The bytes for externalId 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
Overrides

setHeadquartersAddress(String value)

public Company.Builder setHeadquartersAddress(String value)

The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.

string headquarters_address = 5;

Parameter
Name Description
value String

The headquartersAddress to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setHeadquartersAddressBytes(ByteString value)

public Company.Builder setHeadquartersAddressBytes(ByteString value)

The street address of the company's main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.

string headquarters_address = 5;

Parameter
Name Description
value ByteString

The bytes for headquartersAddress to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setHiringAgency(boolean value)

public Company.Builder setHiringAgency(boolean value)

Set to true if it is the hiring agency that post jobs for other employers.

Defaults to false if not provided.

bool hiring_agency = 6;

Parameter
Name Description
value boolean

The hiringAgency to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setImageUri(String value)

public Company.Builder setImageUri(String value)

A URI that hosts the employer's company logo.

string image_uri = 10;

Parameter
Name Description
value String

The imageUri to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setImageUriBytes(ByteString value)

public Company.Builder setImageUriBytes(ByteString value)

A URI that hosts the employer's company logo.

string image_uri = 10;

Parameter
Name Description
value ByteString

The bytes for imageUri to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setKeywordSearchableJobCustomAttributes(int index, String value) (deprecated)

public Company.Builder setKeywordSearchableJobCustomAttributes(int index, String value)

Deprecated. google.cloud.talent.v4beta1.Company.keyword_searchable_job_custom_attributes is deprecated. See google/cloud/talent/v4beta1/company.proto;l=116

This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward.

A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword searches. Jobs with string_values under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and those keyword queries must be surrounded by quotes.

repeated string keyword_searchable_job_custom_attributes = 11 [deprecated = true];

Parameters
Name Description
index int

The index to set the value at.

value String

The keywordSearchableJobCustomAttributes to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setName(String value)

public Company.Builder setName(String value)

Required during company update.

The resource name for a company. This is generated by the service when a company is created.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Company.Builder setNameBytes(ByteString value)

Required during company update.

The resource name for a company. This is generated by the service when a company is created.

The format is "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for example, "projects/foo/tenants/bar/companies/baz".

If tenant id is unspecified, the default tenant is used. For example, "projects/foo/companies/bar".

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name 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
Overrides

setSize(CompanySize value)

public Company.Builder setSize(CompanySize value)

The employer's company size.

.google.cloud.talent.v4beta1.CompanySize size = 4;

Parameter
Name Description
value CompanySize

The size to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setSizeValue(int value)

public Company.Builder setSizeValue(int value)

The employer's company size.

.google.cloud.talent.v4beta1.CompanySize size = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for size to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setSuspended(boolean value)

public Company.Builder setSuspended(boolean value)

Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.

bool suspended = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The suspended 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
Overrides

setWebsiteUri(String value)

public Company.Builder setWebsiteUri(String value)

The URI representing the company's primary web site or home page, for example, "https://www.google.com".

The maximum number of allowed characters is 255.

string website_uri = 8;

Parameter
Name Description
value String

The websiteUri to set.

Returns
Type Description
Company.Builder

This builder for chaining.

setWebsiteUriBytes(ByteString value)

public Company.Builder setWebsiteUriBytes(ByteString value)

The URI representing the company's primary web site or home page, for example, "https://www.google.com".

The maximum number of allowed characters is 255.

string website_uri = 8;

Parameter
Name Description
value ByteString

The bytes for websiteUri to set.

Returns
Type Description
Company.Builder

This builder for chaining.