Class Company.Builder (2.18.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.v4.Company

Implements

CompanyOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllKeywordSearchableJobCustomAttributes(Iterable<String> values) (deprecated)

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

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

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
NameDescription
valuesIterable<String>

The keywordSearchableJobCustomAttributes to add.

Returns
TypeDescription
Company.Builder

This builder for chaining.

addKeywordSearchableJobCustomAttributes(String value) (deprecated)

public Company.Builder addKeywordSearchableJobCustomAttributes(String value)

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

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
NameDescription
valueString

The keywordSearchableJobCustomAttributes to add.

Returns
TypeDescription
Company.Builder

This builder for chaining.

addKeywordSearchableJobCustomAttributesBytes(ByteString value) (deprecated)

public Company.Builder addKeywordSearchableJobCustomAttributesBytes(ByteString value)

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

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
NameDescription
valueByteString

The bytes of the keywordSearchableJobCustomAttributes to add.

Returns
TypeDescription
Company.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Company.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Company.Builder
Overrides

build()

public Company build()
Returns
TypeDescription
Company

buildPartial()

public Company buildPartial()
Returns
TypeDescription
Company

clear()

public Company.Builder clear()
Returns
TypeDescription
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
TypeDescription
Company.Builder

This builder for chaining.

clearDerivedInfo()

public Company.Builder clearDerivedInfo()

Output only. Derived details about the company.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Company.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Company.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Company.Builder

This builder for chaining.

clearKeywordSearchableJobCustomAttributes() (deprecated)

public Company.Builder clearKeywordSearchableJobCustomAttributes()

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

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
TypeDescription
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".

string name = 1;

Returns
TypeDescription
Company.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Company.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Company.Builder
Overrides

clearSize()

public Company.Builder clearSize()

The employer's company size.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Company.Builder

This builder for chaining.

clone()

public Company.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for careerSiteUri.

getDefaultInstanceForType()

public Company getDefaultInstanceForType()
Returns
TypeDescription
Company

getDerivedInfo()

public Company.DerivedInfo getDerivedInfo()

Output only. Derived details about the company.

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

Returns
TypeDescription
Company.DerivedInfo

The derivedInfo.

getDerivedInfoBuilder()

public Company.DerivedInfo.Builder getDerivedInfoBuilder()

Output only. Derived details about the company.

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

Returns
TypeDescription
Company.DerivedInfo.Builder

getDerivedInfoOrBuilder()

public Company.DerivedInfoOrBuilder getDerivedInfoOrBuilder()

Output only. Derived details about the company.

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

Returns
TypeDescription
Company.DerivedInfoOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The hiringAgency.

getImageUri()

public String getImageUri()

A URI that hosts the employer's company logo.

string image_uri = 10;

Returns
TypeDescription
String

The imageUri.

getImageUriBytes()

public ByteString getImageUriBytes()

A URI that hosts the employer's company logo.

string image_uri = 10;

Returns
TypeDescription
ByteString

The bytes for imageUri.

getKeywordSearchableJobCustomAttributes(int index) (deprecated)

public String getKeywordSearchableJobCustomAttributes(int index)

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

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The keywordSearchableJobCustomAttributes at the given index.

getKeywordSearchableJobCustomAttributesBytes(int index) (deprecated)

public ByteString getKeywordSearchableJobCustomAttributesBytes(int index)

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

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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the keywordSearchableJobCustomAttributes at the given index.

getKeywordSearchableJobCustomAttributesCount() (deprecated)

public int getKeywordSearchableJobCustomAttributesCount()

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

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
TypeDescription
int

The count of keywordSearchableJobCustomAttributes.

getKeywordSearchableJobCustomAttributesList() (deprecated)

public ProtocolStringList getKeywordSearchableJobCustomAttributesList()

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

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
TypeDescription
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".

string name = 1;

Returns
TypeDescription
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".

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSize()

public CompanySize getSize()

The employer's company size.

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

Returns
TypeDescription
CompanySize

The size.

getSizeValue()

public int getSizeValue()

The employer's company size.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for websiteUri.

hasDerivedInfo()

public boolean hasDerivedInfo()

Output only. Derived details about the company.

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

Returns
TypeDescription
boolean

Whether the derivedInfo field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDerivedInfo(Company.DerivedInfo value)

public Company.Builder mergeDerivedInfo(Company.DerivedInfo value)

Output only. Derived details about the company.

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

Parameter
NameDescription
valueCompany.DerivedInfo
Returns
TypeDescription
Company.Builder

mergeFrom(Company other)

public Company.Builder mergeFrom(Company other)
Parameter
NameDescription
otherCompany
Returns
TypeDescription
Company.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Company.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Company.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Company.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Company.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Company.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The careerSiteUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for careerSiteUri to set.

Returns
TypeDescription
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.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueCompany.DerivedInfo
Returns
TypeDescription
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.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueCompany.DerivedInfo.Builder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valueString

The eeoText to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for eeoText to set.

Returns
TypeDescription
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
NameDescription
valueString

The externalId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for externalId to set.

Returns
TypeDescription
Company.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Company.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The headquartersAddress to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for headquartersAddress to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The hiringAgency to set.

Returns
TypeDescription
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
NameDescription
valueString

The imageUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for imageUri to set.

Returns
TypeDescription
Company.Builder

This builder for chaining.

setKeywordSearchableJobCustomAttributes(int index, String value) (deprecated)

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

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

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
NameDescription
indexint

The index to set the value at.

valueString

The keywordSearchableJobCustomAttributes to set.

Returns
TypeDescription
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".

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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".

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Company.Builder
Overrides

setSize(CompanySize value)

public Company.Builder setSize(CompanySize value)

The employer's company size.

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

Parameter
NameDescription
valueCompanySize

The size to set.

Returns
TypeDescription
Company.Builder

This builder for chaining.

setSizeValue(int value)

public Company.Builder setSizeValue(int value)

The employer's company size.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueboolean

The suspended to set.

Returns
TypeDescription
Company.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Company.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The websiteUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for websiteUri to set.

Returns
TypeDescription
Company.Builder

This builder for chaining.