Debian Codegraph @

talent/apiv4/talentpb/company_service.pb.go

raw
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/v4/company_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 emptypb "google.golang.org/protobuf/types/known/emptypb"
32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // The Request of the CreateCompany method.
45 type CreateCompanyRequest struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Required. Resource name of the tenant under which the company is created.
51 //
52 // The format is "projects/{project_id}/tenants/{tenant_id}", for example,
53 // "projects/foo/tenants/bar".
54 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
55 // Required. The company to be created.
56 Company *Company `protobuf:"bytes,2,opt,name=company,proto3" json:"company,omitempty"`
57 }
58
59 func (x *CreateCompanyRequest) Reset() {
60 *x = CreateCompanyRequest{}
61 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[0]
62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63 ms.StoreMessageInfo(mi)
64 }
65
66 func (x *CreateCompanyRequest) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*CreateCompanyRequest) ProtoMessage() {}
71
72 func (x *CreateCompanyRequest) ProtoReflect() protoreflect.Message {
73 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[0]
74 if x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use CreateCompanyRequest.ProtoReflect.Descriptor instead.
85 func (*CreateCompanyRequest) Descriptor() ([]byte, []int) {
86 return file_google_cloud_talent_v4_company_service_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *CreateCompanyRequest) GetParent() string {
90 if x != nil {
91 return x.Parent
92 }
93 return ""
94 }
95
96 func (x *CreateCompanyRequest) GetCompany() *Company {
97 if x != nil {
98 return x.Company
99 }
100 return nil
101 }
102
103 // Request for getting a company by name.
104 type GetCompanyRequest struct {
105 state protoimpl.MessageState
106 sizeCache protoimpl.SizeCache
107 unknownFields protoimpl.UnknownFields
108
109 // Required. The resource name of the company to be retrieved.
110 //
111 // The format is
112 // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
113 // example, "projects/api-test-project/tenants/foo/companies/bar".
114 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
115 }
116
117 func (x *GetCompanyRequest) Reset() {
118 *x = GetCompanyRequest{}
119 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[1]
120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
121 ms.StoreMessageInfo(mi)
122 }
123
124 func (x *GetCompanyRequest) String() string {
125 return protoimpl.X.MessageStringOf(x)
126 }
127
128 func (*GetCompanyRequest) ProtoMessage() {}
129
130 func (x *GetCompanyRequest) ProtoReflect() protoreflect.Message {
131 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[1]
132 if x != nil {
133 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
134 if ms.LoadMessageInfo() == nil {
135 ms.StoreMessageInfo(mi)
136 }
137 return ms
138 }
139 return mi.MessageOf(x)
140 }
141
142 // Deprecated: Use GetCompanyRequest.ProtoReflect.Descriptor instead.
143 func (*GetCompanyRequest) Descriptor() ([]byte, []int) {
144 return file_google_cloud_talent_v4_company_service_proto_rawDescGZIP(), []int{1}
145 }
146
147 func (x *GetCompanyRequest) GetName() string {
148 if x != nil {
149 return x.Name
150 }
151 return ""
152 }
153
154 // Request for updating a specified company.
155 type UpdateCompanyRequest struct {
156 state protoimpl.MessageState
157 sizeCache protoimpl.SizeCache
158 unknownFields protoimpl.UnknownFields
159
160 // Required. The company resource to replace the current resource in the
161 // system.
162 Company *Company `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"`
163 // Strongly recommended for the best service experience.
164 //
165 // If [update_mask][google.cloud.talent.v4.UpdateCompanyRequest.update_mask]
166 // is provided, only the specified fields in
167 // [company][google.cloud.talent.v4.UpdateCompanyRequest.company] are updated.
168 // Otherwise all the fields are updated.
169 //
170 // A field mask to specify the company fields to be updated. Only
171 // top level fields of [Company][google.cloud.talent.v4.Company] are
172 // supported.
173 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
174 }
175
176 func (x *UpdateCompanyRequest) Reset() {
177 *x = UpdateCompanyRequest{}
178 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[2]
179 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
180 ms.StoreMessageInfo(mi)
181 }
182
183 func (x *UpdateCompanyRequest) String() string {
184 return protoimpl.X.MessageStringOf(x)
185 }
186
187 func (*UpdateCompanyRequest) ProtoMessage() {}
188
189 func (x *UpdateCompanyRequest) ProtoReflect() protoreflect.Message {
190 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[2]
191 if x != nil {
192 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
193 if ms.LoadMessageInfo() == nil {
194 ms.StoreMessageInfo(mi)
195 }
196 return ms
197 }
198 return mi.MessageOf(x)
199 }
200
201 // Deprecated: Use UpdateCompanyRequest.ProtoReflect.Descriptor instead.
202 func (*UpdateCompanyRequest) Descriptor() ([]byte, []int) {
203 return file_google_cloud_talent_v4_company_service_proto_rawDescGZIP(), []int{2}
204 }
205
206 func (x *UpdateCompanyRequest) GetCompany() *Company {
207 if x != nil {
208 return x.Company
209 }
210 return nil
211 }
212
213 func (x *UpdateCompanyRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
214 if x != nil {
215 return x.UpdateMask
216 }
217 return nil
218 }
219
220 // Request to delete a company.
221 type DeleteCompanyRequest struct {
222 state protoimpl.MessageState
223 sizeCache protoimpl.SizeCache
224 unknownFields protoimpl.UnknownFields
225
226 // Required. The resource name of the company to be deleted.
227 //
228 // The format is
229 // "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
230 // example, "projects/foo/tenants/bar/companies/baz".
231 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
232 }
233
234 func (x *DeleteCompanyRequest) Reset() {
235 *x = DeleteCompanyRequest{}
236 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[3]
237 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
238 ms.StoreMessageInfo(mi)
239 }
240
241 func (x *DeleteCompanyRequest) String() string {
242 return protoimpl.X.MessageStringOf(x)
243 }
244
245 func (*DeleteCompanyRequest) ProtoMessage() {}
246
247 func (x *DeleteCompanyRequest) ProtoReflect() protoreflect.Message {
248 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[3]
249 if x != nil {
250 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
251 if ms.LoadMessageInfo() == nil {
252 ms.StoreMessageInfo(mi)
253 }
254 return ms
255 }
256 return mi.MessageOf(x)
257 }
258
259 // Deprecated: Use DeleteCompanyRequest.ProtoReflect.Descriptor instead.
260 func (*DeleteCompanyRequest) Descriptor() ([]byte, []int) {
261 return file_google_cloud_talent_v4_company_service_proto_rawDescGZIP(), []int{3}
262 }
263
264 func (x *DeleteCompanyRequest) GetName() string {
265 if x != nil {
266 return x.Name
267 }
268 return ""
269 }
270
271 // List companies for which the client has ACL visibility.
272 type ListCompaniesRequest struct {
273 state protoimpl.MessageState
274 sizeCache protoimpl.SizeCache
275 unknownFields protoimpl.UnknownFields
276
277 // Required. Resource name of the tenant under which the company is created.
278 //
279 // The format is "projects/{project_id}/tenants/{tenant_id}", for example,
280 // "projects/foo/tenants/bar".
281 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
282 // The starting indicator from which to return results.
283 PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
284 // The maximum number of companies to be returned, at most 100.
285 // Default is 100 if a non-positive number is provided.
286 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
287 // Set to true if the companies requested must have open jobs.
288 //
289 // Defaults to false.
290 //
291 // If true, at most
292 // [page_size][google.cloud.talent.v4.ListCompaniesRequest.page_size] of
293 // companies are fetched, among which only those with open jobs are returned.
294 RequireOpenJobs bool `protobuf:"varint,4,opt,name=require_open_jobs,json=requireOpenJobs,proto3" json:"require_open_jobs,omitempty"`
295 }
296
297 func (x *ListCompaniesRequest) Reset() {
298 *x = ListCompaniesRequest{}
299 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[4]
300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
301 ms.StoreMessageInfo(mi)
302 }
303
304 func (x *ListCompaniesRequest) String() string {
305 return protoimpl.X.MessageStringOf(x)
306 }
307
308 func (*ListCompaniesRequest) ProtoMessage() {}
309
310 func (x *ListCompaniesRequest) ProtoReflect() protoreflect.Message {
311 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[4]
312 if x != nil {
313 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
314 if ms.LoadMessageInfo() == nil {
315 ms.StoreMessageInfo(mi)
316 }
317 return ms
318 }
319 return mi.MessageOf(x)
320 }
321
322 // Deprecated: Use ListCompaniesRequest.ProtoReflect.Descriptor instead.
323 func (*ListCompaniesRequest) Descriptor() ([]byte, []int) {
324 return file_google_cloud_talent_v4_company_service_proto_rawDescGZIP(), []int{4}
325 }
326
327 func (x *ListCompaniesRequest) GetParent() string {
328 if x != nil {
329 return x.Parent
330 }
331 return ""
332 }
333
334 func (x *ListCompaniesRequest) GetPageToken() string {
335 if x != nil {
336 return x.PageToken
337 }
338 return ""
339 }
340
341 func (x *ListCompaniesRequest) GetPageSize() int32 {
342 if x != nil {
343 return x.PageSize
344 }
345 return 0
346 }
347
348 func (x *ListCompaniesRequest) GetRequireOpenJobs() bool {
349 if x != nil {
350 return x.RequireOpenJobs
351 }
352 return false
353 }
354
355 // The List companies response object.
356 type ListCompaniesResponse struct {
357 state protoimpl.MessageState
358 sizeCache protoimpl.SizeCache
359 unknownFields protoimpl.UnknownFields
360
361 // Companies for the current client.
362 Companies []*Company `protobuf:"bytes,1,rep,name=companies,proto3" json:"companies,omitempty"`
363 // A token to retrieve the next page of results.
364 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
365 // Additional information for the API invocation, such as the request
366 // tracking id.
367 Metadata *ResponseMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
368 }
369
370 func (x *ListCompaniesResponse) Reset() {
371 *x = ListCompaniesResponse{}
372 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[5]
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 ms.StoreMessageInfo(mi)
375 }
376
377 func (x *ListCompaniesResponse) String() string {
378 return protoimpl.X.MessageStringOf(x)
379 }
380
381 func (*ListCompaniesResponse) ProtoMessage() {}
382
383 func (x *ListCompaniesResponse) ProtoReflect() protoreflect.Message {
384 mi := &file_google_cloud_talent_v4_company_service_proto_msgTypes[5]
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 ListCompaniesResponse.ProtoReflect.Descriptor instead.
396 func (*ListCompaniesResponse) Descriptor() ([]byte, []int) {
397 return file_google_cloud_talent_v4_company_service_proto_rawDescGZIP(), []int{5}
398 }
399
400 func (x *ListCompaniesResponse) GetCompanies() []*Company {
401 if x != nil {
402 return x.Companies
403 }
404 return nil
405 }
406
407 func (x *ListCompaniesResponse) GetNextPageToken() string {
408 if x != nil {
409 return x.NextPageToken
410 }
411 return ""
412 }
413
414 func (x *ListCompaniesResponse) GetMetadata() *ResponseMetadata {
415 if x != nil {
416 return x.Metadata
417 }
418 return nil
419 }
420
421 var File_google_cloud_talent_v4_company_service_proto protoreflect.FileDescriptor
422
423 var file_google_cloud_talent_v4_company_service_proto_rawDesc = []byte{
424 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74,
425 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79,
426 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16,
427 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c,
428 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
429 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
430 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
431 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
432 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
433 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
434 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
435 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
436 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x76,
437 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24,
438 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x61, 0x6c,
439 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2e, 0x70,
440 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
441 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
442 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
443 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72,
444 0x6f, 0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f,
445 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06,
446 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xe0, 0x41,
447 0x02, 0xfa, 0x41, 0x1c, 0x0a, 0x1a, 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
448 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74,
449 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3e, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70,
450 0x61, 0x6e, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
451 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e,
452 0x76, 0x34, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
453 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x22, 0x4c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43,
454 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a,
455 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02,
456 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
457 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79,
458 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74,
459 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
460 0x3e, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
461 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
462 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
463 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12,
464 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02,
465 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
466 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b,
467 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x4f, 0x0a, 0x14,
468 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71,
469 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
470 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x6a, 0x6f, 0x62, 0x73,
471 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
472 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xba, 0x01,
473 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, 0x52,
474 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
475 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x22, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1c, 0x0a, 0x1a,
476 0x6a, 0x6f, 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
477 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
478 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
479 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65,
480 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03,
481 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x2a,
482 0x0a, 0x11, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x6a,
483 0x6f, 0x62, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69,
484 0x72, 0x65, 0x4f, 0x70, 0x65, 0x6e, 0x4a, 0x6f, 0x62, 0x73, 0x22, 0xc4, 0x01, 0x0a, 0x15, 0x4c,
485 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
486 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65,
487 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
488 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34,
489 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
490 0x69, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
491 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
492 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x44, 0x0a, 0x08, 0x6d,
493 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
494 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c,
495 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4d,
496 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
497 0x61, 0x32, 0xc3, 0x07, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x65, 0x72,
498 0x76, 0x69, 0x63, 0x65, 0x12, 0xad, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
499 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
500 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e,
501 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71,
502 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
503 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x43, 0x6f,
504 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x22, 0x4d, 0xda, 0x41, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
505 0x2c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x07,
506 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x22, 0x2b, 0x2f, 0x76, 0x34, 0x2f, 0x7b, 0x70, 0x61,
507 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
508 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x61,
509 0x6e, 0x69, 0x65, 0x73, 0x12, 0x94, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6d, 0x70,
510 0x61, 0x6e, 0x79, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
511 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x47, 0x65, 0x74,
512 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f,
513 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
514 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x22,
515 0x3a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b,
516 0x2f, 0x76, 0x34, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
517 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63,
518 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xba, 0x01, 0x0a, 0x0d,
519 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x2c, 0x2e,
520 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c,
521 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d,
522 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f,
523 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e,
524 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x22, 0x5a, 0xda, 0x41,
525 0x13, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
526 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x3a, 0x07, 0x63, 0x6f, 0x6d, 0x70,
527 0x61, 0x6e, 0x79, 0x32, 0x33, 0x2f, 0x76, 0x34, 0x2f, 0x7b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
528 0x79, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
529 0x2a, 0x2f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x6f, 0x6d, 0x70,
530 0x61, 0x6e, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x91, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c,
531 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f,
532 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74,
533 0x2e, 0x76, 0x34, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
534 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
535 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
536 0x22, 0x3a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x2a,
537 0x2b, 0x2f, 0x76, 0x34, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
538 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
539 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaa, 0x01, 0x0a,
540 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, 0x12, 0x2c,
541 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
542 0x6c, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70,
543 0x61, 0x6e, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67,
544 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65,
545 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e,
546 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0xda, 0x41, 0x06,
547 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2d, 0x12, 0x2b, 0x2f, 0x76,
548 0x34, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
549 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
550 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x69, 0x65, 0x73, 0x1a, 0x6c, 0xca, 0x41, 0x13, 0x6a, 0x6f,
551 0x62, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
552 0x6d, 0xd2, 0x41, 0x53, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
553 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
554 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
555 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67,
556 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75,
557 0x74, 0x68, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x42, 0x6d, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
558 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x6c, 0x65,
559 0x6e, 0x74, 0x2e, 0x76, 0x34, 0x42, 0x13, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x65,
560 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c,
561 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
562 0x6f, 0x2f, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x34, 0x2f, 0x74,
563 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x62, 0x3b, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x62,
564 0xa2, 0x02, 0x03, 0x43, 0x54, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
565 }
566
567 var (
568 file_google_cloud_talent_v4_company_service_proto_rawDescOnce sync.Once
569 file_google_cloud_talent_v4_company_service_proto_rawDescData = file_google_cloud_talent_v4_company_service_proto_rawDesc
570 )
571
572 func file_google_cloud_talent_v4_company_service_proto_rawDescGZIP() []byte {
573 file_google_cloud_talent_v4_company_service_proto_rawDescOnce.Do(func() {
574 file_google_cloud_talent_v4_company_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_talent_v4_company_service_proto_rawDescData)
575 })
576 return file_google_cloud_talent_v4_company_service_proto_rawDescData
577 }
578
579 var file_google_cloud_talent_v4_company_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
580 var file_google_cloud_talent_v4_company_service_proto_goTypes = []any{
581 (*CreateCompanyRequest)(nil), // 0: google.cloud.talent.v4.CreateCompanyRequest
582 (*GetCompanyRequest)(nil), // 1: google.cloud.talent.v4.GetCompanyRequest
583 (*UpdateCompanyRequest)(nil), // 2: google.cloud.talent.v4.UpdateCompanyRequest
584 (*DeleteCompanyRequest)(nil), // 3: google.cloud.talent.v4.DeleteCompanyRequest
585 (*ListCompaniesRequest)(nil), // 4: google.cloud.talent.v4.ListCompaniesRequest
586 (*ListCompaniesResponse)(nil), // 5: google.cloud.talent.v4.ListCompaniesResponse
587 (*Company)(nil), // 6: google.cloud.talent.v4.Company
588 (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask
589 (*ResponseMetadata)(nil), // 8: google.cloud.talent.v4.ResponseMetadata
590 (*emptypb.Empty)(nil), // 9: google.protobuf.Empty
591 }
592 var file_google_cloud_talent_v4_company_service_proto_depIdxs = []int32{
593 6, // 0: google.cloud.talent.v4.CreateCompanyRequest.company:type_name -> google.cloud.talent.v4.Company
594 6, // 1: google.cloud.talent.v4.UpdateCompanyRequest.company:type_name -> google.cloud.talent.v4.Company
595 7, // 2: google.cloud.talent.v4.UpdateCompanyRequest.update_mask:type_name -> google.protobuf.FieldMask
596 6, // 3: google.cloud.talent.v4.ListCompaniesResponse.companies:type_name -> google.cloud.talent.v4.Company
597 8, // 4: google.cloud.talent.v4.ListCompaniesResponse.metadata:type_name -> google.cloud.talent.v4.ResponseMetadata
598 0, // 5: google.cloud.talent.v4.CompanyService.CreateCompany:input_type -> google.cloud.talent.v4.CreateCompanyRequest
599 1, // 6: google.cloud.talent.v4.CompanyService.GetCompany:input_type -> google.cloud.talent.v4.GetCompanyRequest
600 2, // 7: google.cloud.talent.v4.CompanyService.UpdateCompany:input_type -> google.cloud.talent.v4.UpdateCompanyRequest
601 3, // 8: google.cloud.talent.v4.CompanyService.DeleteCompany:input_type -> google.cloud.talent.v4.DeleteCompanyRequest
602 4, // 9: google.cloud.talent.v4.CompanyService.ListCompanies:input_type -> google.cloud.talent.v4.ListCompaniesRequest
603 6, // 10: google.cloud.talent.v4.CompanyService.CreateCompany:output_type -> google.cloud.talent.v4.Company
604 6, // 11: google.cloud.talent.v4.CompanyService.GetCompany:output_type -> google.cloud.talent.v4.Company
605 6, // 12: google.cloud.talent.v4.CompanyService.UpdateCompany:output_type -> google.cloud.talent.v4.Company
606 9, // 13: google.cloud.talent.v4.CompanyService.DeleteCompany:output_type -> google.protobuf.Empty
607 5, // 14: google.cloud.talent.v4.CompanyService.ListCompanies:output_type -> google.cloud.talent.v4.ListCompaniesResponse
608 10, // [10:15] is the sub-list for method output_type
609 5, // [5:10] is the sub-list for method input_type
610 5, // [5:5] is the sub-list for extension type_name
611 5, // [5:5] is the sub-list for extension extendee
612 0, // [0:5] is the sub-list for field type_name
613 }
614
615 func init() { file_google_cloud_talent_v4_company_service_proto_init() }
616 func file_google_cloud_talent_v4_company_service_proto_init() {
617 if File_google_cloud_talent_v4_company_service_proto != nil {
618 return
619 }
620 file_google_cloud_talent_v4_common_proto_init()
621 file_google_cloud_talent_v4_company_proto_init()
622 type x struct{}
623 out := protoimpl.TypeBuilder{
624 File: protoimpl.DescBuilder{
625 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
626 RawDescriptor: file_google_cloud_talent_v4_company_service_proto_rawDesc,
627 NumEnums: 0,
628 NumMessages: 6,
629 NumExtensions: 0,
630 NumServices: 1,
631 },
632 GoTypes: file_google_cloud_talent_v4_company_service_proto_goTypes,
633 DependencyIndexes: file_google_cloud_talent_v4_company_service_proto_depIdxs,
634 MessageInfos: file_google_cloud_talent_v4_company_service_proto_msgTypes,
635 }.Build()
636 File_google_cloud_talent_v4_company_service_proto = out.File
637 file_google_cloud_talent_v4_company_service_proto_rawDesc = nil
638 file_google_cloud_talent_v4_company_service_proto_goTypes = nil
639 file_google_cloud_talent_v4_company_service_proto_depIdxs = nil
640 }
641
642 // Reference imports to suppress errors if they are not otherwise used.
643 var _ context.Context
644 var _ grpc.ClientConnInterface
645
646 // This is a compile-time assertion to ensure that this generated file
647 // is compatible with the grpc package it is being compiled against.
648 const _ = grpc.SupportPackageIsVersion6
649
650 // CompanyServiceClient is the client API for CompanyService service.
651 //
652 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
653 type CompanyServiceClient interface {
654 // Creates a new company entity.
655 CreateCompany(ctx context.Context, in *CreateCompanyRequest, opts ...grpc.CallOption) (*Company, error)
656 // Retrieves specified company.
657 GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*Company, error)
658 // Updates specified company.
659 UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error)
660 // Deletes specified company.
661 // Prerequisite: The company has no jobs associated with it.
662 DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
663 // Lists all companies associated with the project.
664 ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error)
665 }
666
667 type companyServiceClient struct {
668 cc grpc.ClientConnInterface
669 }
670
671 func NewCompanyServiceClient(cc grpc.ClientConnInterface) CompanyServiceClient {
672 return &companyServiceClient{cc}
673 }
674
675 func (c *companyServiceClient) CreateCompany(ctx context.Context, in *CreateCompanyRequest, opts ...grpc.CallOption) (*Company, error) {
676 out := new(Company)
677 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4.CompanyService/CreateCompany", in, out, opts...)
678 if err != nil {
679 return nil, err
680 }
681 return out, nil
682 }
683
684 func (c *companyServiceClient) GetCompany(ctx context.Context, in *GetCompanyRequest, opts ...grpc.CallOption) (*Company, error) {
685 out := new(Company)
686 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4.CompanyService/GetCompany", in, out, opts...)
687 if err != nil {
688 return nil, err
689 }
690 return out, nil
691 }
692
693 func (c *companyServiceClient) UpdateCompany(ctx context.Context, in *UpdateCompanyRequest, opts ...grpc.CallOption) (*Company, error) {
694 out := new(Company)
695 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4.CompanyService/UpdateCompany", in, out, opts...)
696 if err != nil {
697 return nil, err
698 }
699 return out, nil
700 }
701
702 func (c *companyServiceClient) DeleteCompany(ctx context.Context, in *DeleteCompanyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
703 out := new(emptypb.Empty)
704 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4.CompanyService/DeleteCompany", in, out, opts...)
705 if err != nil {
706 return nil, err
707 }
708 return out, nil
709 }
710
711 func (c *companyServiceClient) ListCompanies(ctx context.Context, in *ListCompaniesRequest, opts ...grpc.CallOption) (*ListCompaniesResponse, error) {
712 out := new(ListCompaniesResponse)
713 err := c.cc.Invoke(ctx, "/google.cloud.talent.v4.CompanyService/ListCompanies", in, out, opts...)
714 if err != nil {
715 return nil, err
716 }
717 return out, nil
718 }
719
720 // CompanyServiceServer is the server API for CompanyService service.
721 type CompanyServiceServer interface {
722 // Creates a new company entity.
723 CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error)
724 // Retrieves specified company.
725 GetCompany(context.Context, *GetCompanyRequest) (*Company, error)
726 // Updates specified company.
727 UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error)
728 // Deletes specified company.
729 // Prerequisite: The company has no jobs associated with it.
730 DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error)
731 // Lists all companies associated with the project.
732 ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error)
733 }
734
735 // UnimplementedCompanyServiceServer can be embedded to have forward compatible implementations.
736 type UnimplementedCompanyServiceServer struct {
737 }
738
739 func (*UnimplementedCompanyServiceServer) CreateCompany(context.Context, *CreateCompanyRequest) (*Company, error) {
740 return nil, status.Errorf(codes.Unimplemented, "method CreateCompany not implemented")
741 }
742 func (*UnimplementedCompanyServiceServer) GetCompany(context.Context, *GetCompanyRequest) (*Company, error) {
743 return nil, status.Errorf(codes.Unimplemented, "method GetCompany not implemented")
744 }
745 func (*UnimplementedCompanyServiceServer) UpdateCompany(context.Context, *UpdateCompanyRequest) (*Company, error) {
746 return nil, status.Errorf(codes.Unimplemented, "method UpdateCompany not implemented")
747 }
748 func (*UnimplementedCompanyServiceServer) DeleteCompany(context.Context, *DeleteCompanyRequest) (*emptypb.Empty, error) {
749 return nil, status.Errorf(codes.Unimplemented, "method DeleteCompany not implemented")
750 }
751 func (*UnimplementedCompanyServiceServer) ListCompanies(context.Context, *ListCompaniesRequest) (*ListCompaniesResponse, error) {
752 return nil, status.Errorf(codes.Unimplemented, "method ListCompanies not implemented")
753 }
754
755 func RegisterCompanyServiceServer(s *grpc.Server, srv CompanyServiceServer) {
756 s.RegisterService(&_CompanyService_serviceDesc, srv)
757 }
758
759 func _CompanyService_CreateCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
760 in := new(CreateCompanyRequest)
761 if err := dec(in); err != nil {
762 return nil, err
763 }
764 if interceptor == nil {
765 return srv.(CompanyServiceServer).CreateCompany(ctx, in)
766 }
767 info := &grpc.UnaryServerInfo{
768 Server: srv,
769 FullMethod: "/google.cloud.talent.v4.CompanyService/CreateCompany",
770 }
771 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
772 return srv.(CompanyServiceServer).CreateCompany(ctx, req.(*CreateCompanyRequest))
773 }
774 return interceptor(ctx, in, info, handler)
775 }
776
777 func _CompanyService_GetCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
778 in := new(GetCompanyRequest)
779 if err := dec(in); err != nil {
780 return nil, err
781 }
782 if interceptor == nil {
783 return srv.(CompanyServiceServer).GetCompany(ctx, in)
784 }
785 info := &grpc.UnaryServerInfo{
786 Server: srv,
787 FullMethod: "/google.cloud.talent.v4.CompanyService/GetCompany",
788 }
789 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
790 return srv.(CompanyServiceServer).GetCompany(ctx, req.(*GetCompanyRequest))
791 }
792 return interceptor(ctx, in, info, handler)
793 }
794
795 func _CompanyService_UpdateCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
796 in := new(UpdateCompanyRequest)
797 if err := dec(in); err != nil {
798 return nil, err
799 }
800 if interceptor == nil {
801 return srv.(CompanyServiceServer).UpdateCompany(ctx, in)
802 }
803 info := &grpc.UnaryServerInfo{
804 Server: srv,
805 FullMethod: "/google.cloud.talent.v4.CompanyService/UpdateCompany",
806 }
807 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
808 return srv.(CompanyServiceServer).UpdateCompany(ctx, req.(*UpdateCompanyRequest))
809 }
810 return interceptor(ctx, in, info, handler)
811 }
812
813 func _CompanyService_DeleteCompany_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
814 in := new(DeleteCompanyRequest)
815 if err := dec(in); err != nil {
816 return nil, err
817 }
818 if interceptor == nil {
819 return srv.(CompanyServiceServer).DeleteCompany(ctx, in)
820 }
821 info := &grpc.UnaryServerInfo{
822 Server: srv,
823 FullMethod: "/google.cloud.talent.v4.CompanyService/DeleteCompany",
824 }
825 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
826 return srv.(CompanyServiceServer).DeleteCompany(ctx, req.(*DeleteCompanyRequest))
827 }
828 return interceptor(ctx, in, info, handler)
829 }
830
831 func _CompanyService_ListCompanies_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
832 in := new(ListCompaniesRequest)
833 if err := dec(in); err != nil {
834 return nil, err
835 }
836 if interceptor == nil {
837 return srv.(CompanyServiceServer).ListCompanies(ctx, in)
838 }
839 info := &grpc.UnaryServerInfo{
840 Server: srv,
841 FullMethod: "/google.cloud.talent.v4.CompanyService/ListCompanies",
842 }
843 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
844 return srv.(CompanyServiceServer).ListCompanies(ctx, req.(*ListCompaniesRequest))
845 }
846 return interceptor(ctx, in, info, handler)
847 }
848
849 var _CompanyService_serviceDesc = grpc.ServiceDesc{
850 ServiceName: "google.cloud.talent.v4.CompanyService",
851 HandlerType: (*CompanyServiceServer)(nil),
852 Methods: []grpc.MethodDesc{
853 {
854 MethodName: "CreateCompany",
855 Handler: _CompanyService_CreateCompany_Handler,
856 },
857 {
858 MethodName: "GetCompany",
859 Handler: _CompanyService_GetCompany_Handler,
860 },
861 {
862 MethodName: "UpdateCompany",
863 Handler: _CompanyService_UpdateCompany_Handler,
864 },
865 {
866 MethodName: "DeleteCompany",
867 Handler: _CompanyService_DeleteCompany_Handler,
868 },
869 {
870 MethodName: "ListCompanies",
871 Handler: _CompanyService_ListCompanies_Handler,
872 },
873 },
874 Streams: []grpc.StreamDesc{},
875 Metadata: "google/cloud/talent/v4/company_service.proto",
876 }