Class Company

  • All Implemented Interfaces:
    CompanyOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class Company
    extends com.google.protobuf.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
    See Also:
    Serialized Form
    • Field Detail

      • DISPLAY_NAME_FIELD_NUMBER

        public static final int DISPLAY_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXTERNAL_ID_FIELD_NUMBER

        public static final int EXTERNAL_ID_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HEADQUARTERS_ADDRESS_FIELD_NUMBER

        public static final int HEADQUARTERS_ADDRESS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • HIRING_AGENCY_FIELD_NUMBER

        public static final int HIRING_AGENCY_FIELD_NUMBER
        See Also:
        Constant Field Values
      • WEBSITE_URI_FIELD_NUMBER

        public static final int WEBSITE_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • CAREER_SITE_URI_FIELD_NUMBER

        public static final int CAREER_SITE_URI_FIELD_NUMBER
        See Also:
        Constant Field Values
      • KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER

        public static final int KEYWORD_SEARCHABLE_JOB_CUSTOM_ATTRIBUTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DERIVED_INFO_FIELD_NUMBER

        public static final int DERIVED_INFO_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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;
        Specified by:
        getName in interface CompanyOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.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;
        Specified by:
        getNameBytes in interface CompanyOrBuilder
        Returns:
        The bytes for name.
      • getDisplayName

        public String getDisplayName()
         Required. The display name of the company, for example, "Google LLC".
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDisplayName in interface CompanyOrBuilder
        Returns:
        The displayName.
      • getDisplayNameBytes

        public com.google.protobuf.ByteString getDisplayNameBytes()
         Required. The display name of the company, for example, "Google LLC".
         
        string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDisplayNameBytes in interface CompanyOrBuilder
        Returns:
        The bytes for displayName.
      • 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];
        Specified by:
        getExternalId in interface CompanyOrBuilder
        Returns:
        The externalId.
      • getExternalIdBytes

        public com.google.protobuf.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];
        Specified by:
        getExternalIdBytes in interface CompanyOrBuilder
        Returns:
        The bytes for externalId.
      • getSizeValue

        public int getSizeValue()
         The employer's company size.
         
        .google.cloud.talent.v4.CompanySize size = 4;
        Specified by:
        getSizeValue in interface CompanyOrBuilder
        Returns:
        The enum numeric value on the wire for size.
      • getSize

        public CompanySize getSize()
         The employer's company size.
         
        .google.cloud.talent.v4.CompanySize size = 4;
        Specified by:
        getSize in interface CompanyOrBuilder
        Returns:
        The size.
      • 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][google.cloud.talent.v4.Company.DerivedInfo.headquarters_location].
         
        string headquarters_address = 5;
        Specified by:
        getHeadquartersAddress in interface CompanyOrBuilder
        Returns:
        The headquartersAddress.
      • getHeadquartersAddressBytes

        public com.google.protobuf.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][google.cloud.talent.v4.Company.DerivedInfo.headquarters_location].
         
        string headquarters_address = 5;
        Specified by:
        getHeadquartersAddressBytes in interface CompanyOrBuilder
        Returns:
        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;
        Specified by:
        getHiringAgency in interface CompanyOrBuilder
        Returns:
        The hiringAgency.
      • 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;
        Specified by:
        getEeoText in interface CompanyOrBuilder
        Returns:
        The eeoText.
      • getEeoTextBytes

        public com.google.protobuf.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;
        Specified by:
        getEeoTextBytes in interface CompanyOrBuilder
        Returns:
        The bytes for eeoText.
      • 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;
        Specified by:
        getWebsiteUri in interface CompanyOrBuilder
        Returns:
        The websiteUri.
      • getWebsiteUriBytes

        public com.google.protobuf.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;
        Specified by:
        getWebsiteUriBytes in interface CompanyOrBuilder
        Returns:
        The bytes for websiteUri.
      • 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;
        Specified by:
        getCareerSiteUri in interface CompanyOrBuilder
        Returns:
        The careerSiteUri.
      • getCareerSiteUriBytes

        public com.google.protobuf.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;
        Specified by:
        getCareerSiteUriBytes in interface CompanyOrBuilder
        Returns:
        The bytes for careerSiteUri.
      • getImageUri

        public String getImageUri()
         A URI that hosts the employer's company logo.
         
        string image_uri = 10;
        Specified by:
        getImageUri in interface CompanyOrBuilder
        Returns:
        The imageUri.
      • getImageUriBytes

        public com.google.protobuf.ByteString getImageUriBytes()
         A URI that hosts the employer's company logo.
         
        string image_uri = 10;
        Specified by:
        getImageUriBytes in interface CompanyOrBuilder
        Returns:
        The bytes for imageUri.
      • getKeywordSearchableJobCustomAttributesList

        @Deprecated
        public com.google.protobuf.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][google.cloud.talent.v4.Job.custom_attributes] going
         forward.
        
         A list of keys of filterable
         [Job.custom_attributes][google.cloud.talent.v4.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];
        Specified by:
        getKeywordSearchableJobCustomAttributesList in interface CompanyOrBuilder
        Returns:
        A list containing the keywordSearchableJobCustomAttributes.
      • 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][google.cloud.talent.v4.Job.custom_attributes] going
         forward.
        
         A list of keys of filterable
         [Job.custom_attributes][google.cloud.talent.v4.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];
        Specified by:
        getKeywordSearchableJobCustomAttributesCount in interface CompanyOrBuilder
        Returns:
        The count of keywordSearchableJobCustomAttributes.
      • getKeywordSearchableJobCustomAttributes

        @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][google.cloud.talent.v4.Job.custom_attributes] going
         forward.
        
         A list of keys of filterable
         [Job.custom_attributes][google.cloud.talent.v4.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];
        Specified by:
        getKeywordSearchableJobCustomAttributes in interface CompanyOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The keywordSearchableJobCustomAttributes at the given index.
      • getKeywordSearchableJobCustomAttributesBytes

        @Deprecated
        public com.google.protobuf.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][google.cloud.talent.v4.Job.custom_attributes] going
         forward.
        
         A list of keys of filterable
         [Job.custom_attributes][google.cloud.talent.v4.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];
        Specified by:
        getKeywordSearchableJobCustomAttributesBytes in interface CompanyOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the keywordSearchableJobCustomAttributes at the given index.
      • 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];
        Specified by:
        hasDerivedInfo in interface CompanyOrBuilder
        Returns:
        Whether the derivedInfo field is set.
      • 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];
        Specified by:
        getDerivedInfo in interface CompanyOrBuilder
        Returns:
        The derivedInfo.
      • 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];
        Specified by:
        getSuspended in interface CompanyOrBuilder
        Returns:
        The suspended.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Company parseFrom​(ByteBuffer data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Company parseFrom​(ByteBuffer data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Company parseFrom​(com.google.protobuf.ByteString data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Company parseFrom​(com.google.protobuf.ByteString data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Company parseFrom​(byte[] data)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Company parseFrom​(byte[] data,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Company parseFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Company.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Company.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Company.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Company getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Company> parser()
      • getParserForType

        public com.google.protobuf.Parser<Company> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Company getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder