Class Company (2.55.0)

public final class Company extends GeneratedMessageV3 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 Fields

CAREER_SITE_URI_FIELD_NUMBER

public static final int CAREER_SITE_URI_FIELD_NUMBER
Field Value
Type Description
int

DERIVED_INFO_FIELD_NUMBER

public static final int DERIVED_INFO_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

EEO_TEXT_FIELD_NUMBER

public static final int EEO_TEXT_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_ID_FIELD_NUMBER

public static final int EXTERNAL_ID_FIELD_NUMBER
Field Value
Type Description
int

HEADQUARTERS_ADDRESS_FIELD_NUMBER

public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

HIRING_AGENCY_FIELD_NUMBER

public static final int HIRING_AGENCY_FIELD_NUMBER
Field Value
Type Description
int

IMAGE_URI_FIELD_NUMBER

public static final int IMAGE_URI_FIELD_NUMBER
Field Value
Type Description
int

KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER

public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SIZE_FIELD_NUMBER

public static final int SIZE_FIELD_NUMBER
Field Value
Type Description
int

SUSPENDED_FIELD_NUMBER

public static final int SUSPENDED_FIELD_NUMBER
Field Value
Type Description
int

WEBSITE_URI_FIELD_NUMBER

public static final int WEBSITE_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Company getDefaultInstance()
Returns
Type Description
Company

getDescriptor()

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

newBuilder()

public static Company.Builder newBuilder()
Returns
Type Description
Company.Builder

newBuilder(Company prototype)

public static Company.Builder newBuilder(Company prototype)
Parameter
Name Description
prototype Company
Returns
Type Description
Company.Builder

parseDelimitedFrom(InputStream input)

public static Company parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Company
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Company parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Company
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Company parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Company
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Company
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Company parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Company
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Company
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Company parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Company
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Company
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Company parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Company
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Company
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Company parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Company
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Company
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Company> parser()
Returns
Type Description
Parser<Company>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

getParserForType()

public Parser<Company> getParserForType()
Returns
Type Description
Parser<Company>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Company.Builder newBuilderForType()
Returns
Type Description
Company.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Company.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Company.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Company.Builder toBuilder()
Returns
Type Description
Company.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException