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

Implements

CompanyOrBuilder

Static Fields

CAREER_SITE_URI_FIELD_NUMBER

public static final int CAREER_SITE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

DERIVED_INFO_FIELD_NUMBER

public static final int DERIVED_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EEO_TEXT_FIELD_NUMBER

public static final int EEO_TEXT_FIELD_NUMBER
Field Value
TypeDescription
int

EXTERNAL_ID_FIELD_NUMBER

public static final int EXTERNAL_ID_FIELD_NUMBER
Field Value
TypeDescription
int

HEADQUARTERS_ADDRESS_FIELD_NUMBER

public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER
Field Value
TypeDescription
int

HIRING_AGENCY_FIELD_NUMBER

public static final int HIRING_AGENCY_FIELD_NUMBER
Field Value
TypeDescription
int

IMAGE_URI_FIELD_NUMBER

public static final int IMAGE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER

public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_FIELD_NUMBER

public static final int SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

SUSPENDED_FIELD_NUMBER

public static final int SUSPENDED_FIELD_NUMBER
Field Value
TypeDescription
int

WEBSITE_URI_FIELD_NUMBER

public static final int WEBSITE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Company getDefaultInstance()
Returns
TypeDescription
Company

getDescriptor()

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

newBuilder()

public static Company.Builder newBuilder()
Returns
TypeDescription
Company.Builder

newBuilder(Company prototype)

public static Company.Builder newBuilder(Company prototype)
Parameter
NameDescription
prototypeCompany
Returns
TypeDescription
Company.Builder

parseDelimitedFrom(InputStream input)

public static Company parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Company
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Company parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Company
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Company parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Company
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Company
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Company parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Company
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Company
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Company parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Company
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Company
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Company parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Company
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Company
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Company parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Company
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Company parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Company
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Company> parser()
Returns
TypeDescription
Parser<Company>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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.

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

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.

getParserForType()

public Parser<Company> getParserForType()
Returns
TypeDescription
Parser<Company>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Company.Builder newBuilderForType()
Returns
TypeDescription
Company.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Company.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Company.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Company.Builder toBuilder()
Returns
TypeDescription
Company.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException