Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
302 lines (271 sloc) 12.4 KB
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/talent/v4beta1/company.proto
package talent
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// 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.
type Company struct {
// 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".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The display name of the company, for example, "Google LLC".
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Required. Client side company identifier, used to uniquely identify the
// company.
//
// The maximum number of allowed characters is 255.
ExternalId string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
// The employer's company size.
Size CompanySize `protobuf:"varint,4,opt,name=size,proto3,enum=google.cloud.talent.v4beta1.CompanySize" json:"size,omitempty"`
// 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.v4beta1.Company.DerivedInfo.headquarters_location].
HeadquartersAddress string `protobuf:"bytes,5,opt,name=headquarters_address,json=headquartersAddress,proto3" json:"headquarters_address,omitempty"`
// Set to true if it is the hiring agency that post jobs for other
// employers.
//
// Defaults to false if not provided.
HiringAgency bool `protobuf:"varint,6,opt,name=hiring_agency,json=hiringAgency,proto3" json:"hiring_agency,omitempty"`
// 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.
EeoText string `protobuf:"bytes,7,opt,name=eeo_text,json=eeoText,proto3" json:"eeo_text,omitempty"`
// 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.
WebsiteUri string `protobuf:"bytes,8,opt,name=website_uri,json=websiteUri,proto3" json:"website_uri,omitempty"`
// The URI to employer's career site or careers page on the employer's web
// site, for example, "https://careers.google.com".
CareerSiteUri string `protobuf:"bytes,9,opt,name=career_site_uri,json=careerSiteUri,proto3" json:"career_site_uri,omitempty"`
// A URI that hosts the employer's company logo.
ImageUri string `protobuf:"bytes,10,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
// A list of keys of filterable
// [Job.custom_attributes][google.cloud.talent.v4beta1.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.
KeywordSearchableJobCustomAttributes []string `protobuf:"bytes,11,rep,name=keyword_searchable_job_custom_attributes,json=keywordSearchableJobCustomAttributes,proto3" json:"keyword_searchable_job_custom_attributes,omitempty"`
// Output only. Derived details about the company.
DerivedInfo *Company_DerivedInfo `protobuf:"bytes,12,opt,name=derived_info,json=derivedInfo,proto3" json:"derived_info,omitempty"`
// 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.
Suspended bool `protobuf:"varint,13,opt,name=suspended,proto3" json:"suspended,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Company) Reset() { *m = Company{} }
func (m *Company) String() string { return proto.CompactTextString(m) }
func (*Company) ProtoMessage() {}
func (*Company) Descriptor() ([]byte, []int) {
return fileDescriptor_bbff0b9f9d15156a, []int{0}
}
func (m *Company) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Company.Unmarshal(m, b)
}
func (m *Company) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Company.Marshal(b, m, deterministic)
}
func (m *Company) XXX_Merge(src proto.Message) {
xxx_messageInfo_Company.Merge(m, src)
}
func (m *Company) XXX_Size() int {
return xxx_messageInfo_Company.Size(m)
}
func (m *Company) XXX_DiscardUnknown() {
xxx_messageInfo_Company.DiscardUnknown(m)
}
var xxx_messageInfo_Company proto.InternalMessageInfo
func (m *Company) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Company) GetDisplayName() string {
if m != nil {
return m.DisplayName
}
return ""
}
func (m *Company) GetExternalId() string {
if m != nil {
return m.ExternalId
}
return ""
}
func (m *Company) GetSize() CompanySize {
if m != nil {
return m.Size
}
return CompanySize_COMPANY_SIZE_UNSPECIFIED
}
func (m *Company) GetHeadquartersAddress() string {
if m != nil {
return m.HeadquartersAddress
}
return ""
}
func (m *Company) GetHiringAgency() bool {
if m != nil {
return m.HiringAgency
}
return false
}
func (m *Company) GetEeoText() string {
if m != nil {
return m.EeoText
}
return ""
}
func (m *Company) GetWebsiteUri() string {
if m != nil {
return m.WebsiteUri
}
return ""
}
func (m *Company) GetCareerSiteUri() string {
if m != nil {
return m.CareerSiteUri
}
return ""
}
func (m *Company) GetImageUri() string {
if m != nil {
return m.ImageUri
}
return ""
}
func (m *Company) GetKeywordSearchableJobCustomAttributes() []string {
if m != nil {
return m.KeywordSearchableJobCustomAttributes
}
return nil
}
func (m *Company) GetDerivedInfo() *Company_DerivedInfo {
if m != nil {
return m.DerivedInfo
}
return nil
}
func (m *Company) GetSuspended() bool {
if m != nil {
return m.Suspended
}
return false
}
// Derived details about the company.
type Company_DerivedInfo struct {
// A structured headquarters location of the company, resolved from
// [Company.headquarters_address][google.cloud.talent.v4beta1.Company.headquarters_address]
// if provided.
HeadquartersLocation *Location `protobuf:"bytes,1,opt,name=headquarters_location,json=headquartersLocation,proto3" json:"headquarters_location,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Company_DerivedInfo) Reset() { *m = Company_DerivedInfo{} }
func (m *Company_DerivedInfo) String() string { return proto.CompactTextString(m) }
func (*Company_DerivedInfo) ProtoMessage() {}
func (*Company_DerivedInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_bbff0b9f9d15156a, []int{0, 0}
}
func (m *Company_DerivedInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Company_DerivedInfo.Unmarshal(m, b)
}
func (m *Company_DerivedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Company_DerivedInfo.Marshal(b, m, deterministic)
}
func (m *Company_DerivedInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_Company_DerivedInfo.Merge(m, src)
}
func (m *Company_DerivedInfo) XXX_Size() int {
return xxx_messageInfo_Company_DerivedInfo.Size(m)
}
func (m *Company_DerivedInfo) XXX_DiscardUnknown() {
xxx_messageInfo_Company_DerivedInfo.DiscardUnknown(m)
}
var xxx_messageInfo_Company_DerivedInfo proto.InternalMessageInfo
func (m *Company_DerivedInfo) GetHeadquartersLocation() *Location {
if m != nil {
return m.HeadquartersLocation
}
return nil
}
func init() {
proto.RegisterType((*Company)(nil), "google.cloud.talent.v4beta1.Company")
proto.RegisterType((*Company_DerivedInfo)(nil), "google.cloud.talent.v4beta1.Company.DerivedInfo")
}
func init() {
proto.RegisterFile("google/cloud/talent/v4beta1/company.proto", fileDescriptor_bbff0b9f9d15156a)
}
var fileDescriptor_bbff0b9f9d15156a = []byte{
// 555 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 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0x46, 0x96, 0x84, 0x1a, 0xa3, 0x78, 0x5a, 0x1b, 0xd0, 0x81,
0x3f, 0xe8, 0x84, 0xbd, 0xe4, 0xa0, 0xe5, 0x47, 0x73, 0xfc, 0xbd, 0x4c, 0x4f, 0x2d, 0x3c, 0x9c,
0xb3, 0xf8, 0x0b, 0xea, 0x33, 0x50, 0x7c, 0x02, 0x8c, 0x70, 0x71, 0x25, 0x83, 0xfe, 0xc0, 0x0b,
0xfd, 0xe3, 0x97, 0xff, 0x33, 0xf6, 0xe8, 0x9d, 0x2b, 0x3c, 0x13, 0x57, 0xb2, 0xb9, 0xc7, 0x4e,
0xe2, 0xb3, 0x85, 0x82, 0x9f, 0xa0, 0x9e, 0xae, 0x75, 0x05, 0x82, 0x01, 0x0b, 0xb6, 0x9b, 0x99,
0x3a, 0x68, 0xa1, 0xee, 0x72, 0xe4, 0x2f, 0xf5, 0xc0, 0x97, 0xe8, 0xe1, 0x9d, 0xcb, 0x2b, 0x64,
0x66, 0x77, 0xda, 0x6e, 0x9b, 0x7f, 0xfc, 0x7c, 0x65, 0xa8, 0x0f, 0x2d, 0x9c, 0xdc, 0x59, 0x80,
0x5b, 0xf5, 0xe4, 0x87, 0x87, 0xf6, 0x33, 0x59, 0xae, 0x6a, 0x71, 0xb2, 0xd3, 0x1e, 0x2c, 0x01,
0x2d, 0x6b, 0x95, 0xc1, 0x79, 0xb3, 0xfe, 0xe7, 0xde, 0xe5, 0xb0, 0x2d, 0xca, 0x65, 0x41, 0x45,
0x1e, 0x49, 0x95, 0xc7, 0x39, 0x08, 0xfb, 0x38, 0x62, 0x67, 0xd1, 0x8a, 0xeb, 0xbf, 0xbe, 0xa4,
0x37, 0xee, 0xf7, 0xe7, 0x5a, 0xe7, 0xf4, 0x62, 0x94, 0x6e, 0xda, 0x9a, 0x57, 0x7f, 0x02, 0x00,
0x00, 0xff, 0xff, 0xd6, 0x83, 0x2a, 0x43, 0x03, 0x04, 0x00, 0x00,
}
You can’t perform that action at this time.