Debian Codegraph @

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