Debian Codegraph @

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