Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
408 lines (367 sloc) 16.9 KB
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: google/cloud/talent/v4beta1/application.proto
package talent
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
_ "google.golang.org/genproto/googleapis/api/annotations"
date "google.golang.org/genproto/googleapis/type/date"
)
// 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
// Enum that represents the application status.
type Application_ApplicationState int32
const (
// Default value.
Application_APPLICATION_STATE_UNSPECIFIED Application_ApplicationState = 0
// The current stage is in progress or pending, for example, interviews in
// progress.
Application_IN_PROGRESS Application_ApplicationState = 1
// The current stage was terminated by a candidate decision.
Application_CANDIDATE_WITHDREW Application_ApplicationState = 2
// The current stage was terminated by an employer or agency decision.
Application_EMPLOYER_WITHDREW Application_ApplicationState = 3
// The current stage is successfully completed, but the next stage (if
// applicable) has not begun.
Application_COMPLETED Application_ApplicationState = 4
// The current stage was closed without an exception, or terminated for
// reasons unrealated to the candidate.
Application_CLOSED Application_ApplicationState = 5
)
var Application_ApplicationState_name = map[int32]string{
0: "APPLICATION_STATE_UNSPECIFIED",
1: "IN_PROGRESS",
2: "CANDIDATE_WITHDREW",
3: "EMPLOYER_WITHDREW",
4: "COMPLETED",
5: "CLOSED",
}
var Application_ApplicationState_value = map[string]int32{
"APPLICATION_STATE_UNSPECIFIED": 0,
"IN_PROGRESS": 1,
"CANDIDATE_WITHDREW": 2,
"EMPLOYER_WITHDREW": 3,
"COMPLETED": 4,
"CLOSED": 5,
}
func (x Application_ApplicationState) String() string {
return proto.EnumName(Application_ApplicationState_name, int32(x))
}
func (Application_ApplicationState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_17aa3b44422c8555, []int{0, 0}
}
// The stage of the application.
type Application_ApplicationStage int32
const (
// Default value.
Application_APPLICATION_STAGE_UNSPECIFIED Application_ApplicationStage = 0
// Candidate has applied or a recruiter put candidate into consideration but
// candidate is not yet screened / no decision has been made to move or not
// move the candidate to the next stage.
Application_NEW Application_ApplicationStage = 1
// A recruiter decided to screen the candidate for this role.
Application_SCREEN Application_ApplicationStage = 2
// Candidate is being / was sent to the customer / hiring manager for
// detailed review.
Application_HIRING_MANAGER_REVIEW Application_ApplicationStage = 3
// Candidate was approved by the client / hiring manager and is being / was
// interviewed for the role.
Application_INTERVIEW Application_ApplicationStage = 4
// Candidate will be / has been given an offer of employment.
Application_OFFER_EXTENDED Application_ApplicationStage = 5
// Candidate has accepted their offer of employment.
Application_OFFER_ACCEPTED Application_ApplicationStage = 6
// Candidate has begun (or completed) their employment or assignment with
// the employer.
Application_STARTED Application_ApplicationStage = 7
)
var Application_ApplicationStage_name = map[int32]string{
0: "APPLICATION_STAGE_UNSPECIFIED",
1: "NEW",
2: "SCREEN",
3: "HIRING_MANAGER_REVIEW",
4: "INTERVIEW",
5: "OFFER_EXTENDED",
6: "OFFER_ACCEPTED",
7: "STARTED",
}
var Application_ApplicationStage_value = map[string]int32{
"APPLICATION_STAGE_UNSPECIFIED": 0,
"NEW": 1,
"SCREEN": 2,
"HIRING_MANAGER_REVIEW": 3,
"INTERVIEW": 4,
"OFFER_EXTENDED": 5,
"OFFER_ACCEPTED": 6,
"STARTED": 7,
}
func (x Application_ApplicationStage) String() string {
return proto.EnumName(Application_ApplicationStage_name, int32(x))
}
func (Application_ApplicationStage) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_17aa3b44422c8555, []int{0, 1}
}
// Resource that represents a job application record of a candidate.
type Application struct {
// Required during application update.
//
// Resource name assigned to an application by the API.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}/applications/{application_id}".
// For example, "projects/foo/tenants/bar/profiles/baz/applications/qux".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Client side application identifier, used to uniquely identify the
// application.
//
// The maximum number of allowed characters is 255.
ExternalId string `protobuf:"bytes,31,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
// Output only. Resource name of the candidate of this application.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}".
// For example, "projects/foo/tenants/bar/profiles/baz".
Profile string `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"`
// One of either a job or a company is required.
//
// Resource name of the job which the candidate applied for.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}". For example,
// "projects/foo/tenants/bar/jobs/baz".
Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"`
// One of either a job or a company is required.
//
// Resource name of the company which the candidate applied for.
//
// The format is
// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}".
// For example, "projects/foo/tenants/bar/companies/baz".
Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"`
// The application date.
ApplicationDate *date.Date `protobuf:"bytes,7,opt,name=application_date,json=applicationDate,proto3" json:"application_date,omitempty"`
// Required. What is the most recent stage of the application (that is, new,
// screen, send cv, hired, finished work)? This field is intentionally not
// comprehensive of every possible status, but instead, represents statuses
// that would be used to indicate to the ML models good / bad matches.
Stage Application_ApplicationStage `protobuf:"varint,11,opt,name=stage,proto3,enum=google.cloud.talent.v4beta1.Application_ApplicationStage" json:"stage,omitempty"`
// The application state.
State Application_ApplicationState `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.talent.v4beta1.Application_ApplicationState" json:"state,omitempty"`
// All interviews (screen, onsite, and so on) conducted as part of this
// application (includes details such as user conducting the interview,
// timestamp, feedback, and so on).
Interviews []*Interview `protobuf:"bytes,16,rep,name=interviews,proto3" json:"interviews,omitempty"`
// If the candidate is referred by a employee.
Referral *wrappers.BoolValue `protobuf:"bytes,18,opt,name=referral,proto3" json:"referral,omitempty"`
// Required. Reflects the time that the application was created.
CreateTime *timestamp.Timestamp `protobuf:"bytes,19,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// The last update timestamp.
UpdateTime *timestamp.Timestamp `protobuf:"bytes,20,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Free text reason behind the recruitement outcome (for example, reason for
// withdraw / reject, reason for an unsuccessful finish, and so on).
//
// Number of characters allowed is 100.
OutcomeNotes string `protobuf:"bytes,21,opt,name=outcome_notes,json=outcomeNotes,proto3" json:"outcome_notes,omitempty"`
// Outcome positiveness shows how positive the outcome is.
Outcome Outcome `protobuf:"varint,22,opt,name=outcome,proto3,enum=google.cloud.talent.v4beta1.Outcome" json:"outcome,omitempty"`
// Output only. Indicates whether this job application is a match to
// application related filters. This value is only applicable in profile
// search response.
IsMatch *wrappers.BoolValue `protobuf:"bytes,28,opt,name=is_match,json=isMatch,proto3" json:"is_match,omitempty"`
// Output only. Job title snippet shows how the job title is related to a
// search query. It's empty if the job title isn't related to the search
// query.
JobTitleSnippet string `protobuf:"bytes,29,opt,name=job_title_snippet,json=jobTitleSnippet,proto3" json:"job_title_snippet,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Application) Reset() { *m = Application{} }
func (m *Application) String() string { return proto.CompactTextString(m) }
func (*Application) ProtoMessage() {}
func (*Application) Descriptor() ([]byte, []int) {
return fileDescriptor_17aa3b44422c8555, []int{0}
}
func (m *Application) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Application.Unmarshal(m, b)
}
func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Application.Marshal(b, m, deterministic)
}
func (m *Application) XXX_Merge(src proto.Message) {
xxx_messageInfo_Application.Merge(m, src)
}
func (m *Application) XXX_Size() int {
return xxx_messageInfo_Application.Size(m)
}
func (m *Application) XXX_DiscardUnknown() {
xxx_messageInfo_Application.DiscardUnknown(m)
}
var xxx_messageInfo_Application proto.InternalMessageInfo
func (m *Application) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Application) GetExternalId() string {
if m != nil {
return m.ExternalId
}
return ""
}
func (m *Application) GetProfile() string {
if m != nil {
return m.Profile
}
return ""
}
func (m *Application) GetJob() string {
if m != nil {
return m.Job
}
return ""
}
func (m *Application) GetCompany() string {
if m != nil {
return m.Company
}
return ""
}
func (m *Application) GetApplicationDate() *date.Date {
if m != nil {
return m.ApplicationDate
}
return nil
}
func (m *Application) GetStage() Application_ApplicationStage {
if m != nil {
return m.Stage
}
return Application_APPLICATION_STAGE_UNSPECIFIED
}
func (m *Application) GetState() Application_ApplicationState {
if m != nil {
return m.State
}
return Application_APPLICATION_STATE_UNSPECIFIED
}
func (m *Application) GetInterviews() []*Interview {
if m != nil {
return m.Interviews
}
return nil
}
func (m *Application) GetReferral() *wrappers.BoolValue {
if m != nil {
return m.Referral
}
return nil
}
func (m *Application) GetCreateTime() *timestamp.Timestamp {
if m != nil {
return m.CreateTime
}
return nil
}
func (m *Application) GetUpdateTime() *timestamp.Timestamp {
if m != nil {
return m.UpdateTime
}
return nil
}
func (m *Application) GetOutcomeNotes() string {
if m != nil {
return m.OutcomeNotes
}
return ""
}
func (m *Application) GetOutcome() Outcome {
if m != nil {
return m.Outcome
}
return Outcome_OUTCOME_UNSPECIFIED
}
func (m *Application) GetIsMatch() *wrappers.BoolValue {
if m != nil {
return m.IsMatch
}
return nil
}
func (m *Application) GetJobTitleSnippet() string {
if m != nil {
return m.JobTitleSnippet
}
return ""
}
func init() {
proto.RegisterEnum("google.cloud.talent.v4beta1.Application_ApplicationState", Application_ApplicationState_name, Application_ApplicationState_value)
proto.RegisterEnum("google.cloud.talent.v4beta1.Application_ApplicationStage", Application_ApplicationStage_name, Application_ApplicationStage_value)
proto.RegisterType((*Application)(nil), "google.cloud.talent.v4beta1.Application")
}
func init() {
proto.RegisterFile("google/cloud/talent/v4beta1/application.proto", fileDescriptor_17aa3b44422c8555)
}
var fileDescriptor_17aa3b44422c8555 = []byte{
// 788 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x54, 0x5d, 0x6f, 0xdc, 0x44,
0x14, 0xc5, 0xbb, 0x49, 0xb6, 0xb9, 0x26, 0x8d, 0x33, 0x90, 0x68, 0x08, 0x0d, 0x09, 0xa1, 0x42,
0xfb, 0x82, 0x2d, 0x02, 0x42, 0x82, 0x22, 0x84, 0xe3, 0x9d, 0xa4, 0x96, 0x12, 0xaf, 0x35, 0x36,
0x0d, 0xf0, 0x62, 0xcd, 0x7a, 0x27, 0xae, 0x23, 0xdb, 0x63, 0xd9, 0xb3, 0x29, 0xfd, 0x03, 0xf0,
0xca, 0x6f, 0xe0, 0x8d, 0x7f, 0xc5, 0x4f, 0x41, 0xe3, 0x8f, 0x64, 0x15, 0xca, 0xf6, 0xa1, 0x6f,
0xbe, 0xe7, 0x9e, 0x73, 0x74, 0xee, 0xdc, 0x2b, 0xc3, 0x17, 0x89, 0x10, 0x49, 0xc6, 0xad, 0x38,
0x13, 0x8b, 0xb9, 0x25, 0x59, 0xc6, 0x0b, 0x69, 0xdd, 0x7e, 0x3d, 0xe3, 0x92, 0x7d, 0x69, 0xb1,
0xb2, 0xcc, 0xd2, 0x98, 0xc9, 0x54, 0x14, 0x66, 0x59, 0x09, 0x29, 0xd0, 0xc7, 0x2d, 0xdd, 0x6c,
0xe8, 0x66, 0x4b, 0x37, 0x3b, 0xfa, 0xfe, 0x93, 0xce, 0x8b, 0x95, 0xa9, 0xc5, 0x8a, 0x42, 0xc8,
0x46, 0x59, 0xb7, 0xd2, 0xfd, 0xc3, 0xa5, 0xee, 0x75, 0xca, 0xb3, 0x79, 0x34, 0xe3, 0x2f, 0xd9,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x8c, 0x4e, 0x7f, 0xd7, 0xe0, 0x30, 0x16,
0xf9, 0xaa, 0x05, 0x9f, 0xe2, 0xa5, 0x61, 0x28, 0xaf, 0xc5, 0xa2, 0x8a, 0xb9, 0xaf, 0x16, 0xe9,
0x6b, 0xbf, 0xda, 0x9d, 0x30, 0x11, 0x19, 0x2b, 0x12, 0x53, 0x54, 0x89, 0x95, 0xf0, 0xa2, 0x59,
0xb3, 0xd5, 0xb6, 0x58, 0x99, 0xd6, 0x6f, 0xfc, 0xd7, 0x3e, 0x6b, 0xcb, 0xbf, 0x06, 0x43, 0x27,
0x0c, 0x66, 0x1b, 0x8d, 0xe6, 0xab, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x7e, 0xa8, 0x82, 0x82,
0x29, 0x06, 0x00, 0x00,
}
You can’t perform that action at this time.