| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/talent/v4beta1/completion_service.proto |
| 20 |
|
| 21 |
package talentpb |
| 22 |
|
| 23 |
import ( |
| 24 |
context "context" |
| 25 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
reflect "reflect" |
| 32 |
sync "sync" |
| 33 |
) |
| 34 |
|
| 35 |
const ( |
| 36 |
// Verify that this generated code is sufficiently up-to-date. |
| 37 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 38 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 39 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 40 |
) |
| 41 |
|
| 42 |
// Enum to specify the scope of completion. |
| 43 |
type CompleteQueryRequest_CompletionScope int32 |
| 44 |
|
| 45 |
const ( |
| 46 |
// Default value. |
| 47 |
CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED CompleteQueryRequest_CompletionScope = 0 |
| 48 |
// Suggestions are based only on the data provided by the client. |
| 49 |
CompleteQueryRequest_TENANT CompleteQueryRequest_CompletionScope = 1 |
| 50 |
// Suggestions are based on all jobs data in the system that's visible to |
| 51 |
// the client |
| 52 |
CompleteQueryRequest_PUBLIC CompleteQueryRequest_CompletionScope = 2 |
| 53 |
) |
| 54 |
|
| 55 |
// Enum value maps for CompleteQueryRequest_CompletionScope. |
| 56 |
var ( |
| 57 |
CompleteQueryRequest_CompletionScope_name = map[int32]string{ |
| 58 |
0: "COMPLETION_SCOPE_UNSPECIFIED", |
| 59 |
1: "TENANT", |
| 60 |
2: "PUBLIC", |
| 61 |
} |
| 62 |
CompleteQueryRequest_CompletionScope_value = map[string]int32{ |
| 63 |
"COMPLETION_SCOPE_UNSPECIFIED": 0, |
| 64 |
"TENANT": 1, |
| 65 |
"PUBLIC": 2, |
| 66 |
} |
| 67 |
) |
| 68 |
|
| 69 |
func (x CompleteQueryRequest_CompletionScope) Enum() *CompleteQueryRequest_CompletionScope { |
| 70 |
p := new(CompleteQueryRequest_CompletionScope) |
| 71 |
*p = x |
| 72 |
return p |
| 73 |
} |
| 74 |
|
| 75 |
func (x CompleteQueryRequest_CompletionScope) String() string { |
| 76 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 77 |
} |
| 78 |
|
| 79 |
func (CompleteQueryRequest_CompletionScope) Descriptor() protoreflect.EnumDescriptor { |
| 80 |
return file_google_cloud_talent_v4beta1_completion_service_proto_enumTypes[0].Descriptor() |
| 81 |
} |
| 82 |
|
| 83 |
func (CompleteQueryRequest_CompletionScope) Type() protoreflect.EnumType { |
| 84 |
return &file_google_cloud_talent_v4beta1_completion_service_proto_enumTypes[0] |
| 85 |
} |
| 86 |
|
| 87 |
func (x CompleteQueryRequest_CompletionScope) Number() protoreflect.EnumNumber { |
| 88 |
return protoreflect.EnumNumber(x) |
| 89 |
} |
| 90 |
|
| 91 |
// Deprecated: Use CompleteQueryRequest_CompletionScope.Descriptor instead. |
| 92 |
func (CompleteQueryRequest_CompletionScope) EnumDescriptor() ([]byte, []int) { |
| 93 |
return file_google_cloud_talent_v4beta1_completion_service_proto_rawDescGZIP(), []int{0, 0} |
| 94 |
} |
| 95 |
|
| 96 |
// Enum to specify auto-completion topics. |
| 97 |
type CompleteQueryRequest_CompletionType int32 |
| 98 |
|
| 99 |
const ( |
| 100 |
// Default value. |
| 101 |
CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED CompleteQueryRequest_CompletionType = 0 |
| 102 |
// Suggest job titles for jobs autocomplete. |
| 103 |
// |
| 104 |
// For |
| 105 |
// [CompletionType.JOB_TITLE][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.JOB_TITLE] |
| 106 |
// type, only open jobs with the same |
| 107 |
// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] |
| 108 |
// are returned. |
| 109 |
CompleteQueryRequest_JOB_TITLE CompleteQueryRequest_CompletionType = 1 |
| 110 |
// Suggest company names for jobs autocomplete. |
| 111 |
// |
| 112 |
// For |
| 113 |
// [CompletionType.COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME] |
| 114 |
// type, only companies having open jobs with the same |
| 115 |
// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] |
| 116 |
// are returned. |
| 117 |
CompleteQueryRequest_COMPANY_NAME CompleteQueryRequest_CompletionType = 2 |
| 118 |
// Suggest both job titles and company names for jobs autocomplete. |
| 119 |
// |
| 120 |
// For |
| 121 |
// [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED] |
| 122 |
// type, only open jobs with the same |
| 123 |
// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] |
| 124 |
// or companies having open jobs with the same |
| 125 |
// [language_codes][google.cloud.talent.v4beta1.CompleteQueryRequest.language_codes] |
| 126 |
// are returned. |
| 127 |
CompleteQueryRequest_COMBINED CompleteQueryRequest_CompletionType = 3 |
| 128 |
) |
| 129 |
|
| 130 |
// Enum value maps for CompleteQueryRequest_CompletionType. |
| 131 |
var ( |
| 132 |
CompleteQueryRequest_CompletionType_name = map[int32]string{ |
| 133 |
0: "COMPLETION_TYPE_UNSPECIFIED", |
| 134 |
1: "JOB_TITLE", |
| 135 |
2: "COMPANY_NAME", |
| 136 |
3: "COMBINED", |
| 137 |
} |
| 138 |
CompleteQueryRequest_CompletionType_value = map[string]int32{ |
| 139 |
"COMPLETION_TYPE_UNSPECIFIED": 0, |
| 140 |
"JOB_TITLE": 1, |
| 141 |
"COMPANY_NAME": 2, |
| 142 |
"COMBINED": 3, |
| 143 |
} |
| 144 |
) |
| 145 |
|
| 146 |
func (x CompleteQueryRequest_CompletionType) Enum() *CompleteQueryRequest_CompletionType { |
| 147 |
p := new(CompleteQueryRequest_CompletionType) |
| 148 |
*p = x |
| 149 |
return p |
| 150 |
} |
| 151 |
|
| 152 |
func (x CompleteQueryRequest_CompletionType) String() string { |
| 153 |
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 154 |
} |
| 155 |
|
| 156 |
func (CompleteQueryRequest_CompletionType) Descriptor() protoreflect.EnumDescriptor { |
| 157 |
return file_google_cloud_talent_v4beta1_completion_service_proto_enumTypes[1].Descriptor() |
| 158 |
} |
| 159 |
|
| 160 |
func (CompleteQueryRequest_CompletionType) Type() protoreflect.EnumType { |
| 161 |
return &file_google_cloud_talent_v4beta1_completion_service_proto_enumTypes[1] |
| 162 |
} |
| 163 |
|
| 164 |
func (x CompleteQueryRequest_CompletionType) Number() protoreflect.EnumNumber { |
| 165 |
return protoreflect.EnumNumber(x) |
| 166 |
} |
| 167 |
|
| 168 |
// Deprecated: Use CompleteQueryRequest_CompletionType.Descriptor instead. |
| 169 |
func (CompleteQueryRequest_CompletionType) EnumDescriptor() ([]byte, []int) { |
| 170 |
return file_google_cloud_talent_v4beta1_completion_service_proto_rawDescGZIP(), []int{0, 1} |
| 171 |
} |
| 172 |
|
| 173 |
// Auto-complete parameters. |
| 174 |
type CompleteQueryRequest struct { |
| 175 |
state protoimpl.MessageState |
| 176 |
sizeCache protoimpl.SizeCache |
| 177 |
unknownFields protoimpl.UnknownFields |
| 178 |
|
| 179 |
// Required. Resource name of tenant the completion is performed within. |
| 180 |
// |
| 181 |
// The format is "projects/{project_id}/tenants/{tenant_id}", for example, |
| 182 |
// "projects/foo/tenant/bar". |
| 183 |
// |
| 184 |
// If tenant id is unspecified, the default tenant is used, for |
| 185 |
// example, "projects/foo". |
| 186 |
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` |
| 187 |
// Required. The query used to generate suggestions. |
| 188 |
// |
| 189 |
// The maximum number of allowed characters is 255. |
| 190 |
Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` |
| 191 |
// The list of languages of the query. This is |
| 192 |
// the BCP-47 language code, such as "en-US" or "sr-Latn". |
| 193 |
// For more information, see |
| 194 |
// [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47). |
| 195 |
// |
| 196 |
// The maximum number of allowed characters is 255. |
| 197 |
LanguageCodes []string `protobuf:"bytes,3,rep,name=language_codes,json=languageCodes,proto3" json:"language_codes,omitempty"` |
| 198 |
// Required. Completion result count. |
| 199 |
// |
| 200 |
// The maximum allowed page size is 10. |
| 201 |
PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 202 |
// If provided, restricts completion to specified company. |
| 203 |
// |
| 204 |
// The format is |
| 205 |
// "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for |
| 206 |
// example, "projects/foo/tenants/bar/companies/baz". |
| 207 |
// |
| 208 |
// If tenant id is unspecified, the default tenant is used, for |
| 209 |
// example, "projects/foo". |
| 210 |
Company string `protobuf:"bytes,5,opt,name=company,proto3" json:"company,omitempty"` |
| 211 |
// The scope of the completion. The defaults is |
| 212 |
// [CompletionScope.PUBLIC][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope.PUBLIC]. |
| 213 |
Scope CompleteQueryRequest_CompletionScope `protobuf:"varint,6,opt,name=scope,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionScope" json:"scope,omitempty"` |
| 214 |
// The completion topic. The default is |
| 215 |
// [CompletionType.COMBINED][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMBINED]. |
| 216 |
Type CompleteQueryRequest_CompletionType `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType" json:"type,omitempty"` |
| 217 |
} |
| 218 |
|
| 219 |
func (x *CompleteQueryRequest) Reset() { |
| 220 |
*x = CompleteQueryRequest{} |
| 221 |
mi := &file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes[0] |
| 222 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 223 |
ms.StoreMessageInfo(mi) |
| 224 |
} |
| 225 |
|
| 226 |
func (x *CompleteQueryRequest) String() string { |
| 227 |
return protoimpl.X.MessageStringOf(x) |
| 228 |
} |
| 229 |
|
| 230 |
func (*CompleteQueryRequest) ProtoMessage() {} |
| 231 |
|
| 232 |
func (x *CompleteQueryRequest) ProtoReflect() protoreflect.Message { |
| 233 |
mi := &file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes[0] |
| 234 |
if x != nil { |
| 235 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 236 |
if ms.LoadMessageInfo() == nil { |
| 237 |
ms.StoreMessageInfo(mi) |
| 238 |
} |
| 239 |
return ms |
| 240 |
} |
| 241 |
return mi.MessageOf(x) |
| 242 |
} |
| 243 |
|
| 244 |
// Deprecated: Use CompleteQueryRequest.ProtoReflect.Descriptor instead. |
| 245 |
func (*CompleteQueryRequest) Descriptor() ([]byte, []int) { |
| 246 |
return file_google_cloud_talent_v4beta1_completion_service_proto_rawDescGZIP(), []int{0} |
| 247 |
} |
| 248 |
|
| 249 |
func (x *CompleteQueryRequest) GetParent() string { |
| 250 |
if x != nil { |
| 251 |
return x.Parent |
| 252 |
} |
| 253 |
return "" |
| 254 |
} |
| 255 |
|
| 256 |
func (x *CompleteQueryRequest) GetQuery() string { |
| 257 |
if x != nil { |
| 258 |
return x.Query |
| 259 |
} |
| 260 |
return "" |
| 261 |
} |
| 262 |
|
| 263 |
func (x *CompleteQueryRequest) GetLanguageCodes() []string { |
| 264 |
if x != nil { |
| 265 |
return x.LanguageCodes |
| 266 |
} |
| 267 |
return nil |
| 268 |
} |
| 269 |
|
| 270 |
func (x *CompleteQueryRequest) GetPageSize() int32 { |
| 271 |
if x != nil { |
| 272 |
return x.PageSize |
| 273 |
} |
| 274 |
return 0 |
| 275 |
} |
| 276 |
|
| 277 |
func (x *CompleteQueryRequest) GetCompany() string { |
| 278 |
if x != nil { |
| 279 |
return x.Company |
| 280 |
} |
| 281 |
return "" |
| 282 |
} |
| 283 |
|
| 284 |
func (x *CompleteQueryRequest) GetScope() CompleteQueryRequest_CompletionScope { |
| 285 |
if x != nil { |
| 286 |
return x.Scope |
| 287 |
} |
| 288 |
return CompleteQueryRequest_COMPLETION_SCOPE_UNSPECIFIED |
| 289 |
} |
| 290 |
|
| 291 |
func (x *CompleteQueryRequest) GetType() CompleteQueryRequest_CompletionType { |
| 292 |
if x != nil { |
| 293 |
return x.Type |
| 294 |
} |
| 295 |
return CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED |
| 296 |
} |
| 297 |
|
| 298 |
// Response of auto-complete query. |
| 299 |
type CompleteQueryResponse struct { |
| 300 |
state protoimpl.MessageState |
| 301 |
sizeCache protoimpl.SizeCache |
| 302 |
unknownFields protoimpl.UnknownFields |
| 303 |
|
| 304 |
// Results of the matching job/company candidates. |
| 305 |
CompletionResults []*CompleteQueryResponse_CompletionResult `protobuf:"bytes,1,rep,name=completion_results,json=completionResults,proto3" json:"completion_results,omitempty"` |
| 306 |
// Additional information for the API invocation, such as the request |
| 307 |
// tracking id. |
| 308 |
Metadata *ResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` |
| 309 |
} |
| 310 |
|
| 311 |
func (x *CompleteQueryResponse) Reset() { |
| 312 |
*x = CompleteQueryResponse{} |
| 313 |
mi := &file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes[1] |
| 314 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 315 |
ms.StoreMessageInfo(mi) |
| 316 |
} |
| 317 |
|
| 318 |
func (x *CompleteQueryResponse) String() string { |
| 319 |
return protoimpl.X.MessageStringOf(x) |
| 320 |
} |
| 321 |
|
| 322 |
func (*CompleteQueryResponse) ProtoMessage() {} |
| 323 |
|
| 324 |
func (x *CompleteQueryResponse) ProtoReflect() protoreflect.Message { |
| 325 |
mi := &file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes[1] |
| 326 |
if x != nil { |
| 327 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 328 |
if ms.LoadMessageInfo() == nil { |
| 329 |
ms.StoreMessageInfo(mi) |
| 330 |
} |
| 331 |
return ms |
| 332 |
} |
| 333 |
return mi.MessageOf(x) |
| 334 |
} |
| 335 |
|
| 336 |
// Deprecated: Use CompleteQueryResponse.ProtoReflect.Descriptor instead. |
| 337 |
func (*CompleteQueryResponse) Descriptor() ([]byte, []int) { |
| 338 |
return file_google_cloud_talent_v4beta1_completion_service_proto_rawDescGZIP(), []int{1} |
| 339 |
} |
| 340 |
|
| 341 |
func (x *CompleteQueryResponse) GetCompletionResults() []*CompleteQueryResponse_CompletionResult { |
| 342 |
if x != nil { |
| 343 |
return x.CompletionResults |
| 344 |
} |
| 345 |
return nil |
| 346 |
} |
| 347 |
|
| 348 |
func (x *CompleteQueryResponse) GetMetadata() *ResponseMetadata { |
| 349 |
if x != nil { |
| 350 |
return x.Metadata |
| 351 |
} |
| 352 |
return nil |
| 353 |
} |
| 354 |
|
| 355 |
// Resource that represents completion results. |
| 356 |
type CompleteQueryResponse_CompletionResult struct { |
| 357 |
state protoimpl.MessageState |
| 358 |
sizeCache protoimpl.SizeCache |
| 359 |
unknownFields protoimpl.UnknownFields |
| 360 |
|
| 361 |
// The suggestion for the query. |
| 362 |
Suggestion string `protobuf:"bytes,1,opt,name=suggestion,proto3" json:"suggestion,omitempty"` |
| 363 |
// The completion topic. |
| 364 |
Type CompleteQueryRequest_CompletionType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.talent.v4beta1.CompleteQueryRequest_CompletionType" json:"type,omitempty"` |
| 365 |
// The URI of the company image for |
| 366 |
// [COMPANY_NAME][google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType.COMPANY_NAME]. |
| 367 |
ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"` |
| 368 |
} |
| 369 |
|
| 370 |
func (x *CompleteQueryResponse_CompletionResult) Reset() { |
| 371 |
*x = CompleteQueryResponse_CompletionResult{} |
| 372 |
mi := &file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes[2] |
| 373 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 374 |
ms.StoreMessageInfo(mi) |
| 375 |
} |
| 376 |
|
| 377 |
func (x *CompleteQueryResponse_CompletionResult) String() string { |
| 378 |
return protoimpl.X.MessageStringOf(x) |
| 379 |
} |
| 380 |
|
| 381 |
func (*CompleteQueryResponse_CompletionResult) ProtoMessage() {} |
| 382 |
|
| 383 |
func (x *CompleteQueryResponse_CompletionResult) ProtoReflect() protoreflect.Message { |
| 384 |
mi := &file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes[2] |
| 385 |
if x != nil { |
| 386 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 387 |
if ms.LoadMessageInfo() == nil { |
| 388 |
ms.StoreMessageInfo(mi) |
| 389 |
} |
| 390 |
return ms |
| 391 |
} |
| 392 |
return mi.MessageOf(x) |
| 393 |
} |
| 394 |
|
| 395 |
// Deprecated: Use CompleteQueryResponse_CompletionResult.ProtoReflect.Descriptor instead. |
| 396 |
func (*CompleteQueryResponse_CompletionResult) Descriptor() ([]byte, []int) { |
| 397 |
return file_google_cloud_talent_v4beta1_completion_service_proto_rawDescGZIP(), []int{1, 0} |
| 398 |
} |
| 399 |
|
| 400 |
func (x *CompleteQueryResponse_CompletionResult) GetSuggestion() string { |
| 401 |
if x != nil { |
| 402 |
return x.Suggestion |
| 403 |
} |
| 404 |
return "" |
| 405 |
} |
| 406 |
|
| 407 |
func (x *CompleteQueryResponse_CompletionResult) GetType() CompleteQueryRequest_CompletionType { |
| 408 |
if x != nil { |
| 409 |
return x.Type |
| 410 |
} |
| 411 |
return CompleteQueryRequest_COMPLETION_TYPE_UNSPECIFIED |
| 412 |
} |
| 413 |
|
| 414 |
func (x *CompleteQueryResponse_CompletionResult) GetImageUri() string { |
| 415 |
if x != nil { |
| 416 |
return x.ImageUri |
| 417 |
} |
| 418 |
return "" |
| 419 |
} |
| 420 |
|
| 421 |
var File_google_cloud_talent_v4beta1_completion_service_proto protoreflect.FileDescriptor |
| 422 |
|
| 423 |
var file_google_cloud_talent_v4beta1_completion_service_proto_rawDesc = []byte{ |
| 424 |
0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, |
| 425 |
0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, |
| 426 |
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 427 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 428 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, |
| 429 |
0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, |
| 430 |
0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 431 |
0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, |
| 432 |
0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, |
| 433 |
0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, |
| 434 |
0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, |
| 435 |
0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 436 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, |
| 437 |
0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x62, 0x65, |
| 438 |
0x74, 0x61, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 439 |
0x22, 0xd1, 0x04, 0x0a, 0x14, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x65, |
| 440 |
0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x72, |
| 441 |
0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, |
| 442 |
0x1d, 0x12, 0x1b, 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, |
| 443 |
0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x06, |
| 444 |
0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, |
| 445 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, |
| 446 |
0x79, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, |
| 447 |
0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, |
| 448 |
0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, |
| 449 |
0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x02, |
| 450 |
0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x63, 0x6f, |
| 451 |
0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d, |
| 452 |
0x0a, 0x1b, 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, |
| 453 |
0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x07, 0x63, |
| 454 |
0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x57, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, |
| 455 |
0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 456 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, |
| 457 |
0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, |
| 458 |
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, |
| 459 |
0x69, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x12, |
| 460 |
0x54, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x40, 0x2e, |
| 461 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, |
| 462 |
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, |
| 463 |
0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 464 |
0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, |
| 465 |
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x4b, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, |
| 466 |
0x69, 0x6f, 0x6e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x43, 0x4f, 0x4d, 0x50, |
| 467 |
0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, |
| 468 |
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x45, |
| 469 |
0x4e, 0x41, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, |
| 470 |
0x10, 0x02, 0x22, 0x60, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, |
| 471 |
0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x49, |
| 472 |
0x4f, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, |
| 473 |
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x4f, 0x42, 0x5f, 0x54, 0x49, 0x54, |
| 474 |
0x4c, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x4f, 0x4d, 0x50, 0x41, 0x4e, 0x59, 0x5f, |
| 475 |
0x4e, 0x41, 0x4d, 0x45, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x42, 0x49, 0x4e, |
| 476 |
0x45, 0x44, 0x10, 0x03, 0x22, 0xfe, 0x02, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, |
| 477 |
0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, |
| 478 |
0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, |
| 479 |
0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, |
| 480 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, |
| 481 |
0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, |
| 482 |
0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, |
| 483 |
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, |
| 484 |
0x11, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, 0x6c, |
| 485 |
0x74, 0x73, 0x12, 0x49, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, |
| 486 |
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, |
| 487 |
0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, |
| 488 |
0x61, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, |
| 489 |
0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0xa5, 0x01, |
| 490 |
0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, |
| 491 |
0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, |
| 492 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, |
| 493 |
0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, |
| 494 |
0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 495 |
0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, |
| 496 |
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, |
| 497 |
0x65, 0x73, 0x74, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, |
| 498 |
0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, |
| 499 |
0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, |
| 500 |
0x67, 0x65, 0x55, 0x72, 0x69, 0x32, 0xd5, 0x02, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, |
| 501 |
0x74, 0x69, 0x6f, 0x6e, 0x12, 0xd8, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, |
| 502 |
0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 503 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, |
| 504 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x65, |
| 505 |
0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 506 |
0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, |
| 507 |
0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, |
| 508 |
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x60, 0x82, |
| 509 |
0xd3, 0xe4, 0x93, 0x02, 0x5a, 0x5a, 0x27, 0x12, 0x25, 0x2f, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, |
| 510 |
0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| 511 |
0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2f, |
| 512 |
0x2f, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, |
| 513 |
0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x65, 0x6e, 0x61, |
| 514 |
0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x1a, |
| 515 |
0x6c, 0xca, 0x41, 0x13, 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, |
| 516 |
0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x53, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, |
| 517 |
0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, |
| 518 |
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, |
| 519 |
0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, |
| 520 |
0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, |
| 521 |
0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x42, 0x7a, 0x0a, |
| 522 |
0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 523 |
0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 524 |
0x42, 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, |
| 525 |
0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, |
| 526 |
0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, |
| 527 |
0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x34, 0x62, 0x65, 0x74, 0x61, |
| 528 |
0x31, 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x3b, 0x74, 0x61, 0x6c, 0x65, 0x6e, |
| 529 |
0x74, 0x70, 0x62, 0xa2, 0x02, 0x03, 0x43, 0x54, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 530 |
0x33, |
| 531 |
} |
| 532 |
|
| 533 |
var ( |
| 534 |
file_google_cloud_talent_v4beta1_completion_service_proto_rawDescOnce sync.Once |
| 535 |
file_google_cloud_talent_v4beta1_completion_service_proto_rawDescData = file_google_cloud_talent_v4beta1_completion_service_proto_rawDesc |
| 536 |
) |
| 537 |
|
| 538 |
func file_google_cloud_talent_v4beta1_completion_service_proto_rawDescGZIP() []byte { |
| 539 |
file_google_cloud_talent_v4beta1_completion_service_proto_rawDescOnce.Do(func() { |
| 540 |
file_google_cloud_talent_v4beta1_completion_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_talent_v4beta1_completion_service_proto_rawDescData) |
| 541 |
}) |
| 542 |
return file_google_cloud_talent_v4beta1_completion_service_proto_rawDescData |
| 543 |
} |
| 544 |
|
| 545 |
var file_google_cloud_talent_v4beta1_completion_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| 546 |
var file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 547 |
var file_google_cloud_talent_v4beta1_completion_service_proto_goTypes = []any{ |
| 548 |
(CompleteQueryRequest_CompletionScope)(0), // 0: google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope |
| 549 |
(CompleteQueryRequest_CompletionType)(0), // 1: google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType |
| 550 |
(*CompleteQueryRequest)(nil), // 2: google.cloud.talent.v4beta1.CompleteQueryRequest |
| 551 |
(*CompleteQueryResponse)(nil), // 3: google.cloud.talent.v4beta1.CompleteQueryResponse |
| 552 |
(*CompleteQueryResponse_CompletionResult)(nil), // 4: google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult |
| 553 |
(*ResponseMetadata)(nil), // 5: google.cloud.talent.v4beta1.ResponseMetadata |
| 554 |
} |
| 555 |
var file_google_cloud_talent_v4beta1_completion_service_proto_depIdxs = []int32{ |
| 556 |
0, // 0: google.cloud.talent.v4beta1.CompleteQueryRequest.scope:type_name -> google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope |
| 557 |
1, // 1: google.cloud.talent.v4beta1.CompleteQueryRequest.type:type_name -> google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType |
| 558 |
4, // 2: google.cloud.talent.v4beta1.CompleteQueryResponse.completion_results:type_name -> google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult |
| 559 |
5, // 3: google.cloud.talent.v4beta1.CompleteQueryResponse.metadata:type_name -> google.cloud.talent.v4beta1.ResponseMetadata |
| 560 |
1, // 4: google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult.type:type_name -> google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType |
| 561 |
2, // 5: google.cloud.talent.v4beta1.Completion.CompleteQuery:input_type -> google.cloud.talent.v4beta1.CompleteQueryRequest |
| 562 |
3, // 6: google.cloud.talent.v4beta1.Completion.CompleteQuery:output_type -> google.cloud.talent.v4beta1.CompleteQueryResponse |
| 563 |
6, // [6:7] is the sub-list for method output_type |
| 564 |
5, // [5:6] is the sub-list for method input_type |
| 565 |
5, // [5:5] is the sub-list for extension type_name |
| 566 |
5, // [5:5] is the sub-list for extension extendee |
| 567 |
0, // [0:5] is the sub-list for field type_name |
| 568 |
} |
| 569 |
|
| 570 |
func init() { file_google_cloud_talent_v4beta1_completion_service_proto_init() } |
| 571 |
func file_google_cloud_talent_v4beta1_completion_service_proto_init() { |
| 572 |
if File_google_cloud_talent_v4beta1_completion_service_proto != nil { |
| 573 |
return |
| 574 |
} |
| 575 |
file_google_cloud_talent_v4beta1_common_proto_init() |
| 576 |
type x struct{} |
| 577 |
out := protoimpl.TypeBuilder{ |
| 578 |
File: protoimpl.DescBuilder{ |
| 579 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 580 |
RawDescriptor: file_google_cloud_talent_v4beta1_completion_service_proto_rawDesc, |
| 581 |
NumEnums: 2, |
| 582 |
NumMessages: 3, |
| 583 |
NumExtensions: 0, |
| 584 |
NumServices: 1, |
| 585 |
}, |
| 586 |
GoTypes: file_google_cloud_talent_v4beta1_completion_service_proto_goTypes, |
| 587 |
DependencyIndexes: file_google_cloud_talent_v4beta1_completion_service_proto_depIdxs, |
| 588 |
EnumInfos: file_google_cloud_talent_v4beta1_completion_service_proto_enumTypes, |
| 589 |
MessageInfos: file_google_cloud_talent_v4beta1_completion_service_proto_msgTypes, |
| 590 |
}.Build() |
| 591 |
File_google_cloud_talent_v4beta1_completion_service_proto = out.File |
| 592 |
file_google_cloud_talent_v4beta1_completion_service_proto_rawDesc = nil |
| 593 |
file_google_cloud_talent_v4beta1_completion_service_proto_goTypes = nil |
| 594 |
file_google_cloud_talent_v4beta1_completion_service_proto_depIdxs = nil |
| 595 |
} |
| 596 |
|
| 597 |
// Reference imports to suppress errors if they are not otherwise used. |
| 598 |
var _ context.Context |
| 599 |
var _ grpc.ClientConnInterface |
| 600 |
|
| 601 |
// This is a compile-time assertion to ensure that this generated file |
| 602 |
// is compatible with the grpc package it is being compiled against. |
| 603 |
const _ = grpc.SupportPackageIsVersion6 |
| 604 |
|
| 605 |
// CompletionClient is the client API for Completion service. |
| 606 |
// |
| 607 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 608 |
type CompletionClient interface { |
| 609 |
// Completes the specified prefix with keyword suggestions. |
| 610 |
// Intended for use by a job search auto-complete search box. |
| 611 |
CompleteQuery(ctx context.Context, in *CompleteQueryRequest, opts ...grpc.CallOption) (*CompleteQueryResponse, error) |
| 612 |
} |
| 613 |
|
| 614 |
type completionClient struct { |
| 615 |
cc grpc.ClientConnInterface |
| 616 |
} |
| 617 |
|
| 618 |
func NewCompletionClient(cc grpc.ClientConnInterface) CompletionClient { |
| 619 |
return &completionClient{cc} |
| 620 |
} |
| 621 |
|
| 622 |
func (c *completionClient) CompleteQuery(ctx context.Context, in *CompleteQueryRequest, opts ...grpc.CallOption) (*CompleteQueryResponse, error) { |
| 623 |
out := new(CompleteQueryResponse) |
| 624 |
err := c.cc.Invoke(ctx, "/google.cloud.talent.v4beta1.Completion/CompleteQuery", in, out, opts...) |
| 625 |
if err != nil { |
| 626 |
return nil, err |
| 627 |
} |
| 628 |
return out, nil |
| 629 |
} |
| 630 |
|
| 631 |
// CompletionServer is the server API for Completion service. |
| 632 |
type CompletionServer interface { |
| 633 |
// Completes the specified prefix with keyword suggestions. |
| 634 |
// Intended for use by a job search auto-complete search box. |
| 635 |
CompleteQuery(context.Context, *CompleteQueryRequest) (*CompleteQueryResponse, error) |
| 636 |
} |
| 637 |
|
| 638 |
// UnimplementedCompletionServer can be embedded to have forward compatible implementations. |
| 639 |
type UnimplementedCompletionServer struct { |
| 640 |
} |
| 641 |
|
| 642 |
func (*UnimplementedCompletionServer) CompleteQuery(context.Context, *CompleteQueryRequest) (*CompleteQueryResponse, error) { |
| 643 |
return nil, status.Errorf(codes.Unimplemented, "method CompleteQuery not implemented") |
| 644 |
} |
| 645 |
|
| 646 |
func RegisterCompletionServer(s *grpc.Server, srv CompletionServer) { |
| 647 |
s.RegisterService(&_Completion_serviceDesc, srv) |
| 648 |
} |
| 649 |
|
| 650 |
func _Completion_CompleteQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 651 |
in := new(CompleteQueryRequest) |
| 652 |
if err := dec(in); err != nil { |
| 653 |
return nil, err |
| 654 |
} |
| 655 |
if interceptor == nil { |
| 656 |
return srv.(CompletionServer).CompleteQuery(ctx, in) |
| 657 |
} |
| 658 |
info := &grpc.UnaryServerInfo{ |
| 659 |
Server: srv, |
| 660 |
FullMethod: "/google.cloud.talent.v4beta1.Completion/CompleteQuery", |
| 661 |
} |
| 662 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 663 |
return srv.(CompletionServer).CompleteQuery(ctx, req.(*CompleteQueryRequest)) |
| 664 |
} |
| 665 |
return interceptor(ctx, in, info, handler) |
| 666 |
} |
| 667 |
|
| 668 |
var _Completion_serviceDesc = grpc.ServiceDesc{ |
| 669 |
ServiceName: "google.cloud.talent.v4beta1.Completion", |
| 670 |
HandlerType: (*CompletionServer)(nil), |
| 671 |
Methods: []grpc.MethodDesc{ |
| 672 |
{ |
| 673 |
MethodName: "CompleteQuery", |
| 674 |
Handler: _Completion_CompleteQuery_Handler, |
| 675 |
}, |
| 676 |
}, |
| 677 |
Streams: []grpc.StreamDesc{}, |
| 678 |
Metadata: "google/cloud/talent/v4beta1/completion_service.proto", |
| 679 |
} |