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
Static Fields
CAREER_SITE_URI_FIELD_NUMBER
public static final int CAREER_SITE_URI_FIELD_NUMBER
Field Value
DERIVED_INFO_FIELD_NUMBER
public static final int DERIVED_INFO_FIELD_NUMBER
Field Value
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
EEO_TEXT_FIELD_NUMBER
public static final int EEO_TEXT_FIELD_NUMBER
Field Value
EXTERNAL_ID_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
Field Value
HEADQUARTERS_ADDRESS_FIELD_NUMBER
public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER
Field Value
HIRING_AGENCY_FIELD_NUMBER
public static final int HIRING_AGENCY_FIELD_NUMBER
Field Value
IMAGE_URI_FIELD_NUMBER
public static final int IMAGE_URI_FIELD_NUMBER
Field Value
KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER
public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SIZE_FIELD_NUMBER
public static final int SIZE_FIELD_NUMBER
Field Value
SUSPENDED_FIELD_NUMBER
public static final int SUSPENDED_FIELD_NUMBER
Field Value
WEBSITE_URI_FIELD_NUMBER
public static final int WEBSITE_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Company getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Company.Builder newBuilder()
Returns
newBuilder(Company prototype)
public static Company.Builder newBuilder(Company prototype)
Parameter
Returns
public static Company parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Company parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Company parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Company parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Company parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Company parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Company parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Company parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Company parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Company parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Company parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Company parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Company> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
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
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
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
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
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.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
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.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
Type | Description |
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
Type | Description |
ProtocolStringList | A list containing the keywordSearchableJobCustomAttributes.
|
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
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".
string name = 1;
Returns
getParserForType()
public Parser<Company> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSize()
public CompanySize getSize()
The employer's company size.
.google.cloud.talent.v4.CompanySize size = 4;
Returns
getSizeValue()
public int getSizeValue()
The employer's company size.
.google.cloud.talent.v4.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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.v4.Company.DerivedInfo derived_info = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the derivedInfo field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Company.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Company.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Company.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions