1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/talent/v4beta1/completion_service.proto
3
4package talent
5
6import (
7	context "context"
8	fmt "fmt"
9	math "math"
10
11	proto "github.com/golang/protobuf/proto"
12	_ "google.golang.org/genproto/googleapis/api/annotations"
13	grpc "google.golang.org/grpc"
14	codes "google.golang.org/grpc/codes"
15	status "google.golang.org/grpc/status"
16)
17
18// Reference imports to suppress errors if they are not otherwise used.
19var _ = proto.Marshal
20var _ = fmt.Errorf
21var _ = math.Inf
22
23// This is a compile-time assertion to ensure that this generated file
24// is compatible with the proto package it is being compiled against.
25// A compilation error at this line likely means your copy of the
26// proto package needs to be updated.
27const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
28
29// Enum to specify the scope of completion.
30type CompleteQueryRequest_CompletionScope int32
31
32const (
33	// Default value.
34	CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED CompleteQueryRequest_CompletionScope = 0
35	// Suggestions are based only on the data provided by the client.
36	CompleteQueryRequest_TENANT CompleteQueryRequest_CompletionScope = 1
37	// Suggestions are based on all jobs data in the system that's visible to
38	// the client
39	CompleteQueryRequest_PUBLIC CompleteQueryRequest_CompletionScope = 2
40)
41
42var CompleteQueryRequest_CompletionScope_name = map[int32]string{
43	0: "COMPLETION_SCOPE_UNSPECIFIED",
44	1: "TENANT",
45	2: "PUBLIC",
46}
47
48var CompleteQueryRequest_CompletionScope_value = map[string]int32{
49	"COMPLETION_SCOPE_UNSPECIFIED": 0,
50	"TENANT":                       1,
51	"PUBLIC":                       2,
52}
53
54func (x CompleteQueryRequest_CompletionScope) String() string {
55	return proto.EnumName(CompleteQueryRequest_CompletionScope_name, int32(x))
56}
57
58func (CompleteQueryRequest_CompletionScope) EnumDescriptor() ([]byte, []int) {
59	return fileDescriptor_a6e2d15ed940916e, []int{0, 0}
60}
61
62// Enum to specify auto-completion topics.
63type CompleteQueryRequest_CompletionType int32
64
65const (
66	// Default value.
67	CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED CompleteQueryRequest_CompletionType = 0
68	// Suggest job titles for jobs autocomplete.
69	//
70	// For [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] type, only open jobs with the same
71	// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] are returned.
72	CompleteQueryRequest_JOB_TITLE CompleteQueryRequest_CompletionType = 1
73	// Suggest company names for jobs autocomplete.
74	//
75	// For [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] type,
76	// only companies having open jobs with the same [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] are
77	// returned.
78	CompleteQueryRequest_COMPANY_NAME CompleteQueryRequest_CompletionType = 2
79	// Suggest both job titles and company names for jobs autocomplete.
80	//
81	// For [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] type, only open jobs with the same
82	// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] or companies having open jobs with the same
83	// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] are returned.
84	CompleteQueryRequest_COMBINED CompleteQueryRequest_CompletionType = 3
85)
86
87var CompleteQueryRequest_CompletionType_name = map[int32]string{
88	0: "COMPLETION_TYPE_UNSPECIFIED",
89	1: "JOB_TITLE",
90	2: "COMPANY_NAME",
91	3: "COMBINED",
92}
93
94var CompleteQueryRequest_CompletionType_value = map[string]int32{
95	"COMPLETION_TYPE_UNSPECIFIED": 0,
96	"JOB_TITLE":                   1,
97	"COMPANY_NAME":                2,
98	"COMBINED":                    3,
99}
100
101func (x CompleteQueryRequest_CompletionType) String() string {
102	return proto.EnumName(CompleteQueryRequest_CompletionType_name, int32(x))
103}
104
105func (CompleteQueryRequest_CompletionType) EnumDescriptor() ([]byte, []int) {
106	return fileDescriptor_a6e2d15ed940916e, []int{0, 1}
107}
108
109// Auto-complete parameters.
110type CompleteQueryRequest struct {
111	// Required. Resource name of tenant the completion is performed within.
112	//
113	// The format is "projects/{project_id}/tenants/{tenant_id}", for example,
114	// "projects/foo/tenant/bar".
115	//
116	// If tenant id is unspecified, the default tenant is used, for
117	// example, "projects/foo".
118	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
119	// Required. The query used to generate suggestions.
120	//
121	// The maximum number of allowed characters is 255.
122	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
123	// The list of languages of the query. This is
124	// the BCP-47 language code, such as "en-US" or "sr-Latn".
125	// For more information, see
126	// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
127	//
128	// The maximum number of allowed characters is 255.
129	LanguageCodes []string `protobuf:"bytes,3,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"`
130	// Required. Completion result count.
131	//
132	// The maximum allowed page size is 10.
133	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
134	// If provided, restricts completion to specified company.
135	//
136	// The format is
137	// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
138	// example, "projects/foo/tenants/bar/companies/baz".
139	//
140	// If tenant id is unspecified, the default tenant is used, for
141	// example, "projects/foo".
142	Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"`
143	// The scope of the completion. The defaults is [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC].
144	Scope CompleteQueryRequest_CompletionScope `protobuf:"varint,6,opt,name=scope,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionScope" json:"scope,omitempty"`
145	// The completion topic. The default is [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED].
146	Type                 CompleteQueryRequest_CompletionType `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType" json:"type,omitempty"`
147	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
148	XXX_unrecognized     []byte                              `json:"-"`
149	XXX_sizecache        int32                               `json:"-"`
150}
151
152func (m *CompleteQueryRequest) Reset()         { *m = CompleteQueryRequest{} }
153func (m *CompleteQueryRequest) String() string { return proto.CompactTextString(m) }
154func (*CompleteQueryRequest) ProtoMessage()    {}
155func (*CompleteQueryRequest) Descriptor() ([]byte, []int) {
156	return fileDescriptor_a6e2d15ed940916e, []int{0}
157}
158
159func (m *CompleteQueryRequest) XXX_Unmarshal(b []byte) error {
160	return xxx_messageInfo_CompleteQueryRequest.Unmarshal(m, b)
161}
162func (m *CompleteQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
163	return xxx_messageInfo_CompleteQueryRequest.Marshal(b, m, deterministic)
164}
165func (m *CompleteQueryRequest) XXX_Merge(src proto.Message) {
166	xxx_messageInfo_CompleteQueryRequest.Merge(m, src)
167}
168func (m *CompleteQueryRequest) XXX_Size() int {
169	return xxx_messageInfo_CompleteQueryRequest.Size(m)
170}
171func (m *CompleteQueryRequest) XXX_DiscardUnknown() {
172	xxx_messageInfo_CompleteQueryRequest.DiscardUnknown(m)
173}
174
175var xxx_messageInfo_CompleteQueryRequest proto.InternalMessageInfo
176
177func (m *CompleteQueryRequest) GetParent() string {
178	if m != nil {
179		return m.Parent
180	}
181	return ""
182}
183
184func (m *CompleteQueryRequest) GetQuery() string {
185	if m != nil {
186		return m.Query
187	}
188	return ""
189}
190
191func (m *CompleteQueryRequest) GetLanguageCodes() []string {
192	if m != nil {
193		return m.LanguageCodes
194	}
195	return nil
196}
197
198func (m *CompleteQueryRequest) GetPageSize() int32 {
199	if m != nil {
200		return m.PageSize
201	}
202	return 0
203}
204
205func (m *CompleteQueryRequest) GetCompany() string {
206	if m != nil {
207		return m.Company
208	}
209	return ""
210}
211
212func (m *CompleteQueryRequest) GetScope() CompleteQueryRequest_CompletionScope {
213	if m != nil {
214		return m.Scope
215	}
216	return CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED
217}
218
219func (m *CompleteQueryRequest) GetType() CompleteQueryRequest_CompletionType {
220	if m != nil {
221		return m.Type
222	}
223	return CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED
224}
225
226// Response of auto-complete query.
227type CompleteQueryResponse struct {
228	// Results of the matching job/company candidates.
229	CompletionResults []*CompleteQueryResponse_CompletionResult `protobuf:"bytes,1,rep,name=completion_results,json=completionResults,proto3" json:"completion_results,omitempty"`
230	// Additional information for the API invocation, such as the request
231	// tracking id.
232	Metadata             *ResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
233	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
234	XXX_unrecognized     []byte            `json:"-"`
235	XXX_sizecache        int32             `json:"-"`
236}
237
238func (m *CompleteQueryResponse) Reset()         { *m = CompleteQueryResponse{} }
239func (m *CompleteQueryResponse) String() string { return proto.CompactTextString(m) }
240func (*CompleteQueryResponse) ProtoMessage()    {}
241func (*CompleteQueryResponse) Descriptor() ([]byte, []int) {
242	return fileDescriptor_a6e2d15ed940916e, []int{1}
243}
244
245func (m *CompleteQueryResponse) XXX_Unmarshal(b []byte) error {
246	return xxx_messageInfo_CompleteQueryResponse.Unmarshal(m, b)
247}
248func (m *CompleteQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
249	return xxx_messageInfo_CompleteQueryResponse.Marshal(b, m, deterministic)
250}
251func (m *CompleteQueryResponse) XXX_Merge(src proto.Message) {
252	xxx_messageInfo_CompleteQueryResponse.Merge(m, src)
253}
254func (m *CompleteQueryResponse) XXX_Size() int {
255	return xxx_messageInfo_CompleteQueryResponse.Size(m)
256}
257func (m *CompleteQueryResponse) XXX_DiscardUnknown() {
258	xxx_messageInfo_CompleteQueryResponse.DiscardUnknown(m)
259}
260
261var xxx_messageInfo_CompleteQueryResponse proto.InternalMessageInfo
262
263func (m *CompleteQueryResponse) GetCompletionResults() []*CompleteQueryResponse_CompletionResult {
264	if m != nil {
265		return m.CompletionResults
266	}
267	return nil
268}
269
270func (m *CompleteQueryResponse) GetMetadata() *ResponseMetadata {
271	if m != nil {
272		return m.Metadata
273	}
274	return nil
275}
276
277// Resource that represents completion results.
278type CompleteQueryResponse_CompletionResult struct {
279	// The suggestion for the query.
280	Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"`
281	// The completion topic.
282	Type CompleteQueryRequest_CompletionType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType" json:"type,omitempty"`
283	// The URI of the company image for
284	// [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME].
285	ImageUri             string   `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
286	XXX_NoUnkeyedLiteral struct{} `json:"-"`
287	XXX_unrecognized     []byte   `json:"-"`
288	XXX_sizecache        int32    `json:"-"`
289}
290
291func (m *CompleteQueryResponse_CompletionResult) Reset() {
292	*m = CompleteQueryResponse_CompletionResult{}
293}
294func (m *CompleteQueryResponse_CompletionResult) String() string { return proto.CompactTextString(m) }
295func (*CompleteQueryResponse_CompletionResult) ProtoMessage()    {}
296func (*CompleteQueryResponse_CompletionResult) Descriptor() ([]byte, []int) {
297	return fileDescriptor_a6e2d15ed940916e, []int{1, 0}
298}
299
300func (m *CompleteQueryResponse_CompletionResult) XXX_Unmarshal(b []byte) error {
301	return xxx_messageInfo_CompleteQueryResponse_CompletionResult.Unmarshal(m, b)
302}
303func (m *CompleteQueryResponse_CompletionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
304	return xxx_messageInfo_CompleteQueryResponse_CompletionResult.Marshal(b, m, deterministic)
305}
306func (m *CompleteQueryResponse_CompletionResult) XXX_Merge(src proto.Message) {
307	xxx_messageInfo_CompleteQueryResponse_CompletionResult.Merge(m, src)
308}
309func (m *CompleteQueryResponse_CompletionResult) XXX_Size() int {
310	return xxx_messageInfo_CompleteQueryResponse_CompletionResult.Size(m)
311}
312func (m *CompleteQueryResponse_CompletionResult) XXX_DiscardUnknown() {
313	xxx_messageInfo_CompleteQueryResponse_CompletionResult.DiscardUnknown(m)
314}
315
316var xxx_messageInfo_CompleteQueryResponse_CompletionResult proto.InternalMessageInfo
317
318func (m *CompleteQueryResponse_CompletionResult) GetSuggestion() string {
319	if m != nil {
320		return m.Suggestion
321	}
322	return ""
323}
324
325func (m *CompleteQueryResponse_CompletionResult) GetType() CompleteQueryRequest_CompletionType {
326	if m != nil {
327		return m.Type
328	}
329	return CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED
330}
331
332func (m *CompleteQueryResponse_CompletionResult) GetImageUri() string {
333	if m != nil {
334		return m.ImageUri
335	}
336	return ""
337}
338
339func init() {
340	proto.RegisterEnum("google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionScope", CompleteQueryRequest_CompletionScope_name, CompleteQueryRequest_CompletionScope_value)
341	proto.RegisterEnum("google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType", CompleteQueryRequest_CompletionType_name, CompleteQueryRequest_CompletionType_value)
342	proto.RegisterType((*CompleteQueryRequest)(nil), "google.cloud.talent.v4beta1.CompleteQueryRequest")
343	proto.RegisterType((*CompleteQueryResponse)(nil), "google.cloud.talent.v4beta1.CompleteQueryResponse")
344	proto.RegisterType((*CompleteQueryResponse_CompletionResult)(nil), "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult")
345}
346
347func init() {
348	proto.RegisterFile("google/cloud/talent/v4beta1/completion_service.proto", fileDescriptor_a6e2d15ed940916e)
349}
350
351var fileDescriptor_a6e2d15ed940916e = []byte{
352	// 770 bytes of a gzipped FileDescriptorProto
353	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x5f, 0x4f, 0xfb, 0x54,
354	0x18, 0xc7, 0x6d, 0xc7, 0xf6, 0xdb, 0xce, 0x0f, 0xb0, 0x1e, 0xff, 0x95, 0x0d, 0xa4, 0x99, 0x21,
355	0x2e, 0x46, 0xda, 0x30, 0xb9, 0x82, 0x98, 0xd8, 0x95, 0x9a, 0x4c, 0xd9, 0x1f, 0xbb, 0x12, 0x03,
356	0x37, 0xe3, 0xac, 0x3b, 0x94, 0x92, 0xae, 0xa7, 0xf4, 0x9c, 0x42, 0x86, 0xf1, 0xc6, 0xf8, 0x0e,
357	0x7c, 0x07, 0x26, 0xbe, 0x19, 0xef, 0xd4, 0x98, 0x78, 0xc9, 0x85, 0xaf, 0x82, 0x0b, 0x63, 0x4e,
358	0xdb, 0x41, 0x99, 0x64, 0x84, 0xe8, 0x5d, 0xf7, 0xed, 0xf3, 0xfd, 0x7c, 0x4f, 0xcf, 0x39, 0xcf,
359	0x33, 0xb0, 0xeb, 0x12, 0xe2, 0xfa, 0x58, 0x73, 0x7c, 0x12, 0x8f, 0x35, 0x86, 0x7c, 0x1c, 0x30,
360	0xed, 0x6a, 0x77, 0x84, 0x19, 0xda, 0xd1, 0x1c, 0x32, 0x09, 0x7d, 0xcc, 0x3c, 0x12, 0x0c, 0x29,
361	0x8e, 0xae, 0x3c, 0x07, 0xab, 0x61, 0x44, 0x18, 0x81, 0xb5, 0xd4, 0xa5, 0x26, 0x2e, 0x35, 0x75,
362	0xa9, 0x99, 0xab, 0xba, 0x9e, 0x21, 0x51, 0xe8, 0x69, 0x28, 0x08, 0x08, 0x43, 0x9c, 0x40, 0x53,
363	0x6b, 0x75, 0x33, 0xf7, 0xf6, 0xcc, 0xc3, 0xfe, 0x78, 0x38, 0xc2, 0xe7, 0xe8, 0xca, 0x23, 0x51,
364	0x56, 0xb0, 0x96, 0x2b, 0x88, 0x30, 0x25, 0x71, 0x34, 0x8b, 0xad, 0x36, 0x9e, 0x59, 0xec, 0x84,
365	0x04, 0x59, 0xe5, 0xfb, 0x39, 0x88, 0xe3, 0x7b, 0x7c, 0x79, 0xc9, 0x8b, 0xfa, 0xaf, 0x4b, 0xe0,
366	0x1d, 0x23, 0xfd, 0x2c, 0xfc, 0x75, 0x8c, 0xa3, 0xa9, 0x85, 0x2f, 0x63, 0x4c, 0x19, 0xdc, 0x07,
367	0xa5, 0x10, 0x45, 0x38, 0x60, 0xb2, 0xa0, 0x08, 0x8d, 0x4a, 0xeb, 0xc3, 0x5b, 0x5d, 0xbc, 0xd3,
368	0x37, 0x60, 0xed, 0x82, 0x8c, 0xa8, 0x9a, 0xe2, 0x50, 0xe8, 0x51, 0xd5, 0x21, 0x13, 0x8d, 0x13,
369	0x50, 0x30, 0xb5, 0x32, 0x0b, 0x5c, 0x03, 0xc5, 0x4b, 0x0e, 0x93, 0xc5, 0xc4, 0x5b, 0xb8, 0xd5,
370	0x45, 0x2b, 0x55, 0xe0, 0x16, 0x58, 0xf5, 0x51, 0xe0, 0xc6, 0xc8, 0xc5, 0x43, 0x87, 0x8c, 0x31,
371	0x95, 0x0b, 0x4a, 0xa1, 0x51, 0xb1, 0x56, 0x66, 0xaa, 0xc1, 0x45, 0xa8, 0x80, 0x4a, 0xc8, 0x4b,
372	0xa8, 0x77, 0x83, 0xe5, 0x25, 0x45, 0x68, 0x14, 0x53, 0x4a, 0x99, 0xab, 0x03, 0xef, 0x06, 0xc3,
373	0x3d, 0xf0, 0xca, 0x49, 0x63, 0xe5, 0x62, 0x92, 0xa2, 0xdc, 0xe9, 0x1b, 0x60, 0xe1, 0xf2, 0x66,
374	0x06, 0xf8, 0x0d, 0x28, 0x52, 0x87, 0x84, 0x58, 0x2e, 0x29, 0x42, 0x63, 0xb5, 0xa9, 0xab, 0x0b,
375	0xce, 0x4f, 0x7d, 0x6a, 0x7b, 0x66, 0xa2, 0x47, 0x82, 0x01, 0x07, 0x59, 0x29, 0x0f, 0xda, 0x60,
376	0x89, 0x4d, 0x43, 0x2c, 0xbf, 0x4a, 0xb8, 0x9f, 0xff, 0x17, 0xae, 0x3d, 0x0d, 0xb1, 0x95, 0xd0,
377	0xea, 0x5f, 0x81, 0x37, 0xe7, 0xf2, 0xa0, 0x02, 0xd6, 0x8d, 0x5e, 0xa7, 0x7f, 0x68, 0xda, 0xed,
378	0x5e, 0x77, 0x38, 0x30, 0x7a, 0x7d, 0x73, 0x78, 0xd4, 0x1d, 0xf4, 0x4d, 0xa3, 0xfd, 0x45, 0xdb,
379	0x3c, 0x90, 0xde, 0x80, 0x00, 0x94, 0x6c, 0xb3, 0xab, 0x77, 0x6d, 0x49, 0xe0, 0xcf, 0xfd, 0xa3,
380	0xd6, 0x61, 0xdb, 0x90, 0xc4, 0xfa, 0x29, 0x58, 0x7d, 0x1c, 0x02, 0x37, 0x41, 0x2d, 0xc7, 0xb2,
381	0x8f, 0xff, 0x85, 0x5a, 0x01, 0x95, 0x2f, 0x7b, 0xad, 0xa1, 0xdd, 0xb6, 0x0f, 0x4d, 0x49, 0x80,
382	0x12, 0x58, 0xe6, 0xf5, 0x7a, 0xf7, 0x78, 0xd8, 0xd5, 0x3b, 0xa6, 0x24, 0xc2, 0x65, 0x50, 0x36,
383	0x7a, 0x9d, 0x56, 0xbb, 0x6b, 0x1e, 0x48, 0x85, 0xfa, 0xdf, 0x22, 0x78, 0x77, 0xee, 0xe3, 0x68,
384	0x48, 0x02, 0x8a, 0x61, 0x04, 0x60, 0xae, 0x87, 0x22, 0x4c, 0x63, 0x9f, 0x51, 0x59, 0x50, 0x0a,
385	0x8d, 0xd7, 0x4d, 0xe3, 0x25, 0x9b, 0x95, 0xf2, 0x72, 0xbb, 0x65, 0x25, 0x2c, 0xeb, 0x2d, 0x67,
386	0x4e, 0xa1, 0xb0, 0x0d, 0xca, 0x13, 0xcc, 0xd0, 0x18, 0x31, 0x94, 0x5c, 0xc7, 0xd7, 0xcd, 0xed,
387	0x85, 0x49, 0x33, 0x78, 0x27, 0x33, 0x59, 0xf7, 0xf6, 0xea, 0xcf, 0x02, 0x90, 0xe6, 0x23, 0xe1,
388	0x07, 0x00, 0xd0, 0xd8, 0x75, 0x31, 0xe5, 0x5a, 0xda, 0x2c, 0x56, 0x4e, 0xb9, 0xbf, 0x12, 0xe2,
389	0xff, 0x79, 0x25, 0x60, 0x0d, 0x54, 0xbc, 0x09, 0x6f, 0x90, 0x38, 0xf2, 0xe4, 0x42, 0x12, 0x5a,
390	0x4e, 0x84, 0xa3, 0xc8, 0x6b, 0xfe, 0x21, 0x02, 0xf0, 0xe0, 0x82, 0x7f, 0x0a, 0x60, 0xe5, 0x11,
391	0x19, 0xee, 0xbc, 0x78, 0x15, 0xd5, 0xe6, 0xcb, 0x8f, 0xa7, 0x7e, 0xfa, 0xfd, 0xef, 0x7f, 0xfd,
392	0x28, 0x9e, 0x40, 0xed, 0x7e, 0x28, 0x7d, 0x9b, 0x0e, 0x88, 0xcf, 0xc2, 0x88, 0x5c, 0x60, 0x87,
393	0x51, 0xed, 0x63, 0x8d, 0xe1, 0x00, 0x05, 0xfc, 0xe9, 0xbb, 0xbd, 0xec, 0xf0, 0xf0, 0xc9, 0x47,
394	0x70, 0x6b, 0x81, 0xe5, 0xa1, 0xb0, 0xea, 0xff, 0xa2, 0xbf, 0xfd, 0x44, 0xc7, 0xff, 0xa6, 0x0f,
395	0xce, 0x19, 0x0b, 0xe9, 0x9e, 0xa6, 0x5d, 0x5f, 0x5f, 0xcf, 0x8f, 0x03, 0x14, 0xb3, 0xf3, 0x74,
396	0x66, 0x6e, 0x87, 0x3e, 0x62, 0x67, 0x24, 0x9a, 0x7c, 0xf2, 0x5c, 0x39, 0x0f, 0x69, 0xfd, 0x20,
397	0x80, 0x4d, 0x87, 0x4c, 0x16, 0xed, 0x44, 0xeb, 0xbd, 0x5c, 0xa7, 0xa6, 0xff, 0x11, 0x7d, 0x3e,
398	0x68, 0xfb, 0xc2, 0x89, 0x9e, 0xd9, 0x5c, 0xc2, 0x47, 0x9d, 0x4a, 0x22, 0x57, 0x73, 0x71, 0x90,
399	0x8c, 0x61, 0xed, 0x21, 0xf2, 0xc9, 0x61, 0xbe, 0x9f, 0xfe, 0xfc, 0x49, 0x2c, 0x18, 0xf6, 0x60,
400	0x54, 0x4a, 0x3c, 0x9f, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x10, 0x21, 0x1b, 0xcf, 0xac, 0x06,
401	0x00, 0x00,
402}
403
404// Reference imports to suppress errors if they are not otherwise used.
405var _ context.Context
406var _ grpc.ClientConnInterface
407
408// This is a compile-time assertion to ensure that this generated file
409// is compatible with the grpc package it is being compiled against.
410const _ = grpc.SupportPackageIsVersion6
411
412// CompletionClient is the client API for Completion service.
413//
414// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
415type CompletionClient interface {
416	// Completes the specified prefix with keyword suggestions.
417	// Intended for use by a job search auto-complete search box.
418	CompleteQuery(ctx context.Context, in *CompleteQueryRequest, opts ...grpc.CallOption) (*CompleteQueryResponse, error)
419}
420
421type completionClient struct {
422	cc grpc.ClientConnInterface
423}
424
425func NewCompletionClient(cc grpc.ClientConnInterface) CompletionClient {
426	return &completionClient{cc}
427}
428
429func (c *completionClient) CompleteQuery(ctx context.Context, in *CompleteQueryRequest, opts ...grpc.CallOption) (*CompleteQueryResponse, error) {
430	out := new(CompleteQueryResponse)
431	err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.Completion/CompleteQuery", in, out, opts...)
432	if err != nil {
433		return nil, err
434	}
435	return out, nil
436}
437
438// CompletionServer is the server API for Completion service.
439type CompletionServer interface {
440	// Completes the specified prefix with keyword suggestions.
441	// Intended for use by a job search auto-complete search box.
442	CompleteQuery(context.Context, *CompleteQueryRequest) (*CompleteQueryResponse, error)
443}
444
445// UnimplementedCompletionServer can be embedded to have forward compatible implementations.
446type UnimplementedCompletionServer struct {
447}
448
449func (*UnimplementedCompletionServer) CompleteQuery(ctx context.Context, req *CompleteQueryRequest) (*CompleteQueryResponse, error) {
450	return nil, status.Errorf(codes.Unimplemented, "method CompleteQuery not implemented")
451}
452
453func RegisterCompletionServer(s *grpc.Server, srv CompletionServer) {
454	s.RegisterService(&_Completion_serviceDesc, srv)
455}
456
457func _Completion_CompleteQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
458	in := new(CompleteQueryRequest)
459	if err := dec(in); err != nil {
460		return nil, err
461	}
462	if interceptor == nil {
463		return srv.(CompletionServer).CompleteQuery(ctx, in)
464	}
465	info := &grpc.UnaryServerInfo{
466		Server:     srv,
467		FullMethod: "/google.cloud.talent.v4beta1.Completion/CompleteQuery",
468	}
469	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
470		return srv.(CompletionServer).CompleteQuery(ctx, req.(*CompleteQueryRequest))
471	}
472	return interceptor(ctx, in, info, handler)
473}
474
475var _Completion_serviceDesc = grpc.ServiceDesc{
476	ServiceName: "google.cloud.talent.v4beta1.Completion",
477	HandlerType: (*CompletionServer)(nil),
478	Methods: []grpc.MethodDesc{
479		{
480			MethodName: "CompleteQuery",
481			Handler:    _Completion_CompleteQuery_Handler,
482		},
483	},
484	Streams:  []grpc.StreamDesc{},
485	Metadata: "google/cloud/talent/v4beta1/completion_service.proto",
486}
487