@aldiokta/protocgen 1.0.19 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/auth/auth.pb.go +998 -0
  3. package/prisca/v1/core/auth/auth_grpc.pb.go +427 -0
  4. package/prisca/v1/core/company/company.pb.go +965 -0
  5. package/prisca/v1/core/company/company_grpc.pb.go +273 -0
  6. package/prisca/v1/core/department_material/department_material.pb.go +776 -0
  7. package/prisca/v1/core/department_material/department_material_grpc.pb.go +236 -0
  8. package/prisca/v1/core/job_grade/job_grade.pb.go +887 -0
  9. package/prisca/v1/core/job_grade/job_grade_grpc.pb.go +273 -0
  10. package/prisca/v1/core/job_position/job_position.pb.go +1196 -0
  11. package/prisca/v1/core/job_position/job_position_grpc.pb.go +273 -0
  12. package/prisca/v1/core/job_title/job_title.pb.go +986 -0
  13. package/prisca/v1/core/job_title/job_title_grpc.pb.go +273 -0
  14. package/prisca/v1/core/line_of_approval/line_of_approval.pb.go +913 -0
  15. package/prisca/v1/core/line_of_approval/line_of_approval_grpc.pb.go +273 -0
  16. package/prisca/v1/core/location/location.pb.go +1397 -0
  17. package/prisca/v1/core/location/location_grpc.pb.go +387 -0
  18. package/prisca/v1/core/material/material.pb.go +1366 -0
  19. package/prisca/v1/core/material/material_grpc.pb.go +273 -0
  20. package/prisca/v1/core/material_group/material_group.pb.go +911 -0
  21. package/prisca/v1/core/material_group/material_group_grpc.pb.go +273 -0
  22. package/prisca/v1/core/material_type/material_type.pb.go +827 -0
  23. package/prisca/v1/core/material_type/material_type_grpc.pb.go +239 -0
  24. package/prisca/v1/core/number_range/number_range.pb.go +916 -0
  25. package/prisca/v1/core/number_range/number_range_grpc.pb.go +273 -0
  26. package/prisca/v1/core/organization/organization.pb.go +1039 -0
  27. package/prisca/v1/core/organization/organization_grpc.pb.go +273 -0
  28. package/prisca/v1/core/organization_level/organization_level.pb.go +853 -0
  29. package/prisca/v1/core/organization_level/organization_level_grpc.pb.go +274 -0
  30. package/prisca/v1/core/procurement/procurement.pb.go +622 -0
  31. package/prisca/v1/core/procurement/procurement_grpc.pb.go +275 -0
  32. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.pb.go +1550 -0
  33. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +388 -0
  34. package/prisca/v1/core/recipient_roles/recipient_roles.pb.go +141 -0
  35. package/prisca/v1/core/role/role.pb.go +797 -0
  36. package/prisca/v1/core/role/role_grpc.pb.go +273 -0
  37. package/prisca/v1/core/transaction_builder/transaction_builder.pb.go +3217 -0
  38. package/prisca/v1/core/transaction_builder/transaction_builder_grpc.pb.go +656 -0
  39. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.pb.go +973 -0
  40. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc.pb.go +278 -0
  41. package/prisca/v1/core/users/users.pb.go +281 -0
  42. package/prisca/v1/core/users_role/users_role.pb.go +813 -0
  43. package/prisca/v1/core/users_role/users_role_grpc.pb.go +273 -0
  44. package/prisca/v1/core/work_location/work_location.pb.go +995 -0
  45. package/prisca/v1/core/work_location/work_location_grpc.pb.go +273 -0
  46. package/prisca/v1/core/work_locations/work_locations.pb.go +184 -0
  47. package/prisca/v1/core/work_locations/work_locations_grpc.pb.go +76 -0
  48. package/prisca/v1/core/workflow/workflow.pb.go +2057 -0
  49. package/prisca/v1/core/workflow/workflow_grpc.pb.go +273 -0
  50. package/prisca/v1/global/meta/meta.pb.go +446 -0
  51. package/prisca/v1/core/auth/auth.proto +0 -100
  52. package/prisca/v1/core/company/company.proto +0 -86
  53. package/prisca/v1/core/department_material/department_material.proto +0 -69
  54. package/prisca/v1/core/job_grade/job_grade.proto +0 -79
  55. package/prisca/v1/core/job_position/job_position.proto +0 -107
  56. package/prisca/v1/core/job_title/job_title.proto +0 -88
  57. package/prisca/v1/core/location/location.proto +0 -124
  58. package/prisca/v1/core/material/material.proto +0 -127
  59. package/prisca/v1/core/material_group/material_group.proto +0 -79
  60. package/prisca/v1/core/material_type/material_type.proto +0 -77
  61. package/prisca/v1/core/number_range/number_range.proto +0 -81
  62. package/prisca/v1/core/organization/organization.proto +0 -93
  63. package/prisca/v1/core/organization_level/organization_level.proto +0 -73
  64. package/prisca/v1/core/procurement/procurement.proto +0 -54
  65. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.proto +0 -131
  66. package/prisca/v1/core/recipient_roles/recipient_roles.proto +0 -10
  67. package/prisca/v1/core/transaction_builder/transaction_builder.proto +0 -278
  68. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.proto +0 -88
  69. package/prisca/v1/core/users/users.proto +0 -22
  70. package/prisca/v1/core/users_role/users_role.proto +0 -72
  71. package/prisca/v1/core/work_location/work_location.proto +0 -88
  72. package/prisca/v1/core/workflow/workflow.proto +0 -191
  73. package/prisca/v1/global/meta/meta.proto +0 -57
@@ -0,0 +1,813 @@
1
+ // Code generated by protoc-gen-go. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-go v1.36.1
4
+ // protoc (unknown)
5
+ // source: prisca/v1/core/users_role/users_role.proto
6
+
7
+ package users_role
8
+
9
+ import (
10
+ meta "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/global/meta"
11
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13
+ reflect "reflect"
14
+ sync "sync"
15
+ )
16
+
17
+ const (
18
+ // Verify that this generated code is sufficiently up-to-date.
19
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
21
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
+ )
23
+
24
+ type UsersRole struct {
25
+ state protoimpl.MessageState `protogen:"open.v1"`
26
+ Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
27
+ unknownFields protoimpl.UnknownFields
28
+ sizeCache protoimpl.SizeCache
29
+ }
30
+
31
+ func (x *UsersRole) Reset() {
32
+ *x = UsersRole{}
33
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[0]
34
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
35
+ ms.StoreMessageInfo(mi)
36
+ }
37
+
38
+ func (x *UsersRole) String() string {
39
+ return protoimpl.X.MessageStringOf(x)
40
+ }
41
+
42
+ func (*UsersRole) ProtoMessage() {}
43
+
44
+ func (x *UsersRole) ProtoReflect() protoreflect.Message {
45
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[0]
46
+ if x != nil {
47
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
48
+ if ms.LoadMessageInfo() == nil {
49
+ ms.StoreMessageInfo(mi)
50
+ }
51
+ return ms
52
+ }
53
+ return mi.MessageOf(x)
54
+ }
55
+
56
+ // Deprecated: Use UsersRole.ProtoReflect.Descriptor instead.
57
+ func (*UsersRole) Descriptor() ([]byte, []int) {
58
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{0}
59
+ }
60
+
61
+ func (x *UsersRole) GetName() string {
62
+ if x != nil {
63
+ return x.Name
64
+ }
65
+ return ""
66
+ }
67
+
68
+ type BaseUsersRole struct {
69
+ state protoimpl.MessageState `protogen:"open.v1"`
70
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
71
+ Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
72
+ unknownFields protoimpl.UnknownFields
73
+ sizeCache protoimpl.SizeCache
74
+ }
75
+
76
+ func (x *BaseUsersRole) Reset() {
77
+ *x = BaseUsersRole{}
78
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[1]
79
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80
+ ms.StoreMessageInfo(mi)
81
+ }
82
+
83
+ func (x *BaseUsersRole) String() string {
84
+ return protoimpl.X.MessageStringOf(x)
85
+ }
86
+
87
+ func (*BaseUsersRole) ProtoMessage() {}
88
+
89
+ func (x *BaseUsersRole) ProtoReflect() protoreflect.Message {
90
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[1]
91
+ if x != nil {
92
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
93
+ if ms.LoadMessageInfo() == nil {
94
+ ms.StoreMessageInfo(mi)
95
+ }
96
+ return ms
97
+ }
98
+ return mi.MessageOf(x)
99
+ }
100
+
101
+ // Deprecated: Use BaseUsersRole.ProtoReflect.Descriptor instead.
102
+ func (*BaseUsersRole) Descriptor() ([]byte, []int) {
103
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{1}
104
+ }
105
+
106
+ func (x *BaseUsersRole) GetReferencesId() string {
107
+ if x != nil {
108
+ return x.ReferencesId
109
+ }
110
+ return ""
111
+ }
112
+
113
+ func (x *BaseUsersRole) GetName() string {
114
+ if x != nil {
115
+ return x.Name
116
+ }
117
+ return ""
118
+ }
119
+
120
+ type UsersRoleGetByIdRequest struct {
121
+ state protoimpl.MessageState `protogen:"open.v1"`
122
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
123
+ unknownFields protoimpl.UnknownFields
124
+ sizeCache protoimpl.SizeCache
125
+ }
126
+
127
+ func (x *UsersRoleGetByIdRequest) Reset() {
128
+ *x = UsersRoleGetByIdRequest{}
129
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[2]
130
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131
+ ms.StoreMessageInfo(mi)
132
+ }
133
+
134
+ func (x *UsersRoleGetByIdRequest) String() string {
135
+ return protoimpl.X.MessageStringOf(x)
136
+ }
137
+
138
+ func (*UsersRoleGetByIdRequest) ProtoMessage() {}
139
+
140
+ func (x *UsersRoleGetByIdRequest) ProtoReflect() protoreflect.Message {
141
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[2]
142
+ if x != nil {
143
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144
+ if ms.LoadMessageInfo() == nil {
145
+ ms.StoreMessageInfo(mi)
146
+ }
147
+ return ms
148
+ }
149
+ return mi.MessageOf(x)
150
+ }
151
+
152
+ // Deprecated: Use UsersRoleGetByIdRequest.ProtoReflect.Descriptor instead.
153
+ func (*UsersRoleGetByIdRequest) Descriptor() ([]byte, []int) {
154
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{2}
155
+ }
156
+
157
+ func (x *UsersRoleGetByIdRequest) GetReferencesId() string {
158
+ if x != nil {
159
+ return x.ReferencesId
160
+ }
161
+ return ""
162
+ }
163
+
164
+ type CreateUsersRoleRequest struct {
165
+ state protoimpl.MessageState `protogen:"open.v1"`
166
+ UsersRole *UsersRole `protobuf:"bytes,1,opt,name=users_role,json=usersRole,proto3" json:"users_role,omitempty"`
167
+ unknownFields protoimpl.UnknownFields
168
+ sizeCache protoimpl.SizeCache
169
+ }
170
+
171
+ func (x *CreateUsersRoleRequest) Reset() {
172
+ *x = CreateUsersRoleRequest{}
173
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[3]
174
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175
+ ms.StoreMessageInfo(mi)
176
+ }
177
+
178
+ func (x *CreateUsersRoleRequest) String() string {
179
+ return protoimpl.X.MessageStringOf(x)
180
+ }
181
+
182
+ func (*CreateUsersRoleRequest) ProtoMessage() {}
183
+
184
+ func (x *CreateUsersRoleRequest) ProtoReflect() protoreflect.Message {
185
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[3]
186
+ if x != nil {
187
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
188
+ if ms.LoadMessageInfo() == nil {
189
+ ms.StoreMessageInfo(mi)
190
+ }
191
+ return ms
192
+ }
193
+ return mi.MessageOf(x)
194
+ }
195
+
196
+ // Deprecated: Use CreateUsersRoleRequest.ProtoReflect.Descriptor instead.
197
+ func (*CreateUsersRoleRequest) Descriptor() ([]byte, []int) {
198
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{3}
199
+ }
200
+
201
+ func (x *CreateUsersRoleRequest) GetUsersRole() *UsersRole {
202
+ if x != nil {
203
+ return x.UsersRole
204
+ }
205
+ return nil
206
+ }
207
+
208
+ type UpdateUsersRoleRequest struct {
209
+ state protoimpl.MessageState `protogen:"open.v1"`
210
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
211
+ UsersRole *UsersRole `protobuf:"bytes,2,opt,name=users_role,json=usersRole,proto3" json:"users_role,omitempty"`
212
+ unknownFields protoimpl.UnknownFields
213
+ sizeCache protoimpl.SizeCache
214
+ }
215
+
216
+ func (x *UpdateUsersRoleRequest) Reset() {
217
+ *x = UpdateUsersRoleRequest{}
218
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[4]
219
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220
+ ms.StoreMessageInfo(mi)
221
+ }
222
+
223
+ func (x *UpdateUsersRoleRequest) String() string {
224
+ return protoimpl.X.MessageStringOf(x)
225
+ }
226
+
227
+ func (*UpdateUsersRoleRequest) ProtoMessage() {}
228
+
229
+ func (x *UpdateUsersRoleRequest) ProtoReflect() protoreflect.Message {
230
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[4]
231
+ if x != nil {
232
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
233
+ if ms.LoadMessageInfo() == nil {
234
+ ms.StoreMessageInfo(mi)
235
+ }
236
+ return ms
237
+ }
238
+ return mi.MessageOf(x)
239
+ }
240
+
241
+ // Deprecated: Use UpdateUsersRoleRequest.ProtoReflect.Descriptor instead.
242
+ func (*UpdateUsersRoleRequest) Descriptor() ([]byte, []int) {
243
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{4}
244
+ }
245
+
246
+ func (x *UpdateUsersRoleRequest) GetReferencesId() string {
247
+ if x != nil {
248
+ return x.ReferencesId
249
+ }
250
+ return ""
251
+ }
252
+
253
+ func (x *UpdateUsersRoleRequest) GetUsersRole() *UsersRole {
254
+ if x != nil {
255
+ return x.UsersRole
256
+ }
257
+ return nil
258
+ }
259
+
260
+ type DeleteUsersRoleRequest struct {
261
+ state protoimpl.MessageState `protogen:"open.v1"`
262
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
263
+ unknownFields protoimpl.UnknownFields
264
+ sizeCache protoimpl.SizeCache
265
+ }
266
+
267
+ func (x *DeleteUsersRoleRequest) Reset() {
268
+ *x = DeleteUsersRoleRequest{}
269
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[5]
270
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
271
+ ms.StoreMessageInfo(mi)
272
+ }
273
+
274
+ func (x *DeleteUsersRoleRequest) String() string {
275
+ return protoimpl.X.MessageStringOf(x)
276
+ }
277
+
278
+ func (*DeleteUsersRoleRequest) ProtoMessage() {}
279
+
280
+ func (x *DeleteUsersRoleRequest) ProtoReflect() protoreflect.Message {
281
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[5]
282
+ if x != nil {
283
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
284
+ if ms.LoadMessageInfo() == nil {
285
+ ms.StoreMessageInfo(mi)
286
+ }
287
+ return ms
288
+ }
289
+ return mi.MessageOf(x)
290
+ }
291
+
292
+ // Deprecated: Use DeleteUsersRoleRequest.ProtoReflect.Descriptor instead.
293
+ func (*DeleteUsersRoleRequest) Descriptor() ([]byte, []int) {
294
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{5}
295
+ }
296
+
297
+ func (x *DeleteUsersRoleRequest) GetReferencesId() string {
298
+ if x != nil {
299
+ return x.ReferencesId
300
+ }
301
+ return ""
302
+ }
303
+
304
+ type DeleteUsersRoleResponse struct {
305
+ state protoimpl.MessageState `protogen:"open.v1"`
306
+ ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
307
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
308
+ unknownFields protoimpl.UnknownFields
309
+ sizeCache protoimpl.SizeCache
310
+ }
311
+
312
+ func (x *DeleteUsersRoleResponse) Reset() {
313
+ *x = DeleteUsersRoleResponse{}
314
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[6]
315
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316
+ ms.StoreMessageInfo(mi)
317
+ }
318
+
319
+ func (x *DeleteUsersRoleResponse) String() string {
320
+ return protoimpl.X.MessageStringOf(x)
321
+ }
322
+
323
+ func (*DeleteUsersRoleResponse) ProtoMessage() {}
324
+
325
+ func (x *DeleteUsersRoleResponse) ProtoReflect() protoreflect.Message {
326
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[6]
327
+ if x != nil {
328
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
329
+ if ms.LoadMessageInfo() == nil {
330
+ ms.StoreMessageInfo(mi)
331
+ }
332
+ return ms
333
+ }
334
+ return mi.MessageOf(x)
335
+ }
336
+
337
+ // Deprecated: Use DeleteUsersRoleResponse.ProtoReflect.Descriptor instead.
338
+ func (*DeleteUsersRoleResponse) Descriptor() ([]byte, []int) {
339
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{6}
340
+ }
341
+
342
+ func (x *DeleteUsersRoleResponse) GetReferencesId() string {
343
+ if x != nil {
344
+ return x.ReferencesId
345
+ }
346
+ return ""
347
+ }
348
+
349
+ func (x *DeleteUsersRoleResponse) GetMeta() *meta.Meta {
350
+ if x != nil {
351
+ return x.Meta
352
+ }
353
+ return nil
354
+ }
355
+
356
+ type GetListUsersRoleRequest struct {
357
+ state protoimpl.MessageState `protogen:"open.v1"`
358
+ Pagination *meta.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
359
+ Query *meta.FilterRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
360
+ unknownFields protoimpl.UnknownFields
361
+ sizeCache protoimpl.SizeCache
362
+ }
363
+
364
+ func (x *GetListUsersRoleRequest) Reset() {
365
+ *x = GetListUsersRoleRequest{}
366
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[7]
367
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368
+ ms.StoreMessageInfo(mi)
369
+ }
370
+
371
+ func (x *GetListUsersRoleRequest) String() string {
372
+ return protoimpl.X.MessageStringOf(x)
373
+ }
374
+
375
+ func (*GetListUsersRoleRequest) ProtoMessage() {}
376
+
377
+ func (x *GetListUsersRoleRequest) ProtoReflect() protoreflect.Message {
378
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[7]
379
+ if x != nil {
380
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381
+ if ms.LoadMessageInfo() == nil {
382
+ ms.StoreMessageInfo(mi)
383
+ }
384
+ return ms
385
+ }
386
+ return mi.MessageOf(x)
387
+ }
388
+
389
+ // Deprecated: Use GetListUsersRoleRequest.ProtoReflect.Descriptor instead.
390
+ func (*GetListUsersRoleRequest) Descriptor() ([]byte, []int) {
391
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{7}
392
+ }
393
+
394
+ func (x *GetListUsersRoleRequest) GetPagination() *meta.PaginationRequest {
395
+ if x != nil {
396
+ return x.Pagination
397
+ }
398
+ return nil
399
+ }
400
+
401
+ func (x *GetListUsersRoleRequest) GetQuery() *meta.FilterRequest {
402
+ if x != nil {
403
+ return x.Query
404
+ }
405
+ return nil
406
+ }
407
+
408
+ // Response Messages
409
+ type CreateUsersRoleResponse struct {
410
+ state protoimpl.MessageState `protogen:"open.v1"`
411
+ UsersRole *UsersRole `protobuf:"bytes,1,opt,name=users_role,json=usersRole,proto3" json:"users_role,omitempty"`
412
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
413
+ unknownFields protoimpl.UnknownFields
414
+ sizeCache protoimpl.SizeCache
415
+ }
416
+
417
+ func (x *CreateUsersRoleResponse) Reset() {
418
+ *x = CreateUsersRoleResponse{}
419
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[8]
420
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
421
+ ms.StoreMessageInfo(mi)
422
+ }
423
+
424
+ func (x *CreateUsersRoleResponse) String() string {
425
+ return protoimpl.X.MessageStringOf(x)
426
+ }
427
+
428
+ func (*CreateUsersRoleResponse) ProtoMessage() {}
429
+
430
+ func (x *CreateUsersRoleResponse) ProtoReflect() protoreflect.Message {
431
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[8]
432
+ if x != nil {
433
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
434
+ if ms.LoadMessageInfo() == nil {
435
+ ms.StoreMessageInfo(mi)
436
+ }
437
+ return ms
438
+ }
439
+ return mi.MessageOf(x)
440
+ }
441
+
442
+ // Deprecated: Use CreateUsersRoleResponse.ProtoReflect.Descriptor instead.
443
+ func (*CreateUsersRoleResponse) Descriptor() ([]byte, []int) {
444
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{8}
445
+ }
446
+
447
+ func (x *CreateUsersRoleResponse) GetUsersRole() *UsersRole {
448
+ if x != nil {
449
+ return x.UsersRole
450
+ }
451
+ return nil
452
+ }
453
+
454
+ func (x *CreateUsersRoleResponse) GetMeta() *meta.Meta {
455
+ if x != nil {
456
+ return x.Meta
457
+ }
458
+ return nil
459
+ }
460
+
461
+ type GetListUsersRoleResponse struct {
462
+ state protoimpl.MessageState `protogen:"open.v1"`
463
+ UsersRole []*UsersRole `protobuf:"bytes,1,rep,name=users_role,json=usersRole,proto3" json:"users_role,omitempty"`
464
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
465
+ unknownFields protoimpl.UnknownFields
466
+ sizeCache protoimpl.SizeCache
467
+ }
468
+
469
+ func (x *GetListUsersRoleResponse) Reset() {
470
+ *x = GetListUsersRoleResponse{}
471
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[9]
472
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
473
+ ms.StoreMessageInfo(mi)
474
+ }
475
+
476
+ func (x *GetListUsersRoleResponse) String() string {
477
+ return protoimpl.X.MessageStringOf(x)
478
+ }
479
+
480
+ func (*GetListUsersRoleResponse) ProtoMessage() {}
481
+
482
+ func (x *GetListUsersRoleResponse) ProtoReflect() protoreflect.Message {
483
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[9]
484
+ if x != nil {
485
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
486
+ if ms.LoadMessageInfo() == nil {
487
+ ms.StoreMessageInfo(mi)
488
+ }
489
+ return ms
490
+ }
491
+ return mi.MessageOf(x)
492
+ }
493
+
494
+ // Deprecated: Use GetListUsersRoleResponse.ProtoReflect.Descriptor instead.
495
+ func (*GetListUsersRoleResponse) Descriptor() ([]byte, []int) {
496
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{9}
497
+ }
498
+
499
+ func (x *GetListUsersRoleResponse) GetUsersRole() []*UsersRole {
500
+ if x != nil {
501
+ return x.UsersRole
502
+ }
503
+ return nil
504
+ }
505
+
506
+ func (x *GetListUsersRoleResponse) GetMeta() *meta.Meta {
507
+ if x != nil {
508
+ return x.Meta
509
+ }
510
+ return nil
511
+ }
512
+
513
+ type UpdateUsersRoleResponse struct {
514
+ state protoimpl.MessageState `protogen:"open.v1"`
515
+ UsersRole *UsersRole `protobuf:"bytes,1,opt,name=users_role,json=usersRole,proto3" json:"users_role,omitempty"`
516
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
517
+ unknownFields protoimpl.UnknownFields
518
+ sizeCache protoimpl.SizeCache
519
+ }
520
+
521
+ func (x *UpdateUsersRoleResponse) Reset() {
522
+ *x = UpdateUsersRoleResponse{}
523
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[10]
524
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
525
+ ms.StoreMessageInfo(mi)
526
+ }
527
+
528
+ func (x *UpdateUsersRoleResponse) String() string {
529
+ return protoimpl.X.MessageStringOf(x)
530
+ }
531
+
532
+ func (*UpdateUsersRoleResponse) ProtoMessage() {}
533
+
534
+ func (x *UpdateUsersRoleResponse) ProtoReflect() protoreflect.Message {
535
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[10]
536
+ if x != nil {
537
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
538
+ if ms.LoadMessageInfo() == nil {
539
+ ms.StoreMessageInfo(mi)
540
+ }
541
+ return ms
542
+ }
543
+ return mi.MessageOf(x)
544
+ }
545
+
546
+ // Deprecated: Use UpdateUsersRoleResponse.ProtoReflect.Descriptor instead.
547
+ func (*UpdateUsersRoleResponse) Descriptor() ([]byte, []int) {
548
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{10}
549
+ }
550
+
551
+ func (x *UpdateUsersRoleResponse) GetUsersRole() *UsersRole {
552
+ if x != nil {
553
+ return x.UsersRole
554
+ }
555
+ return nil
556
+ }
557
+
558
+ func (x *UpdateUsersRoleResponse) GetMeta() *meta.Meta {
559
+ if x != nil {
560
+ return x.Meta
561
+ }
562
+ return nil
563
+ }
564
+
565
+ type UsersRoleGetByIdResponse struct {
566
+ state protoimpl.MessageState `protogen:"open.v1"`
567
+ UsersRole *UsersRole `protobuf:"bytes,1,opt,name=users_role,json=usersRole,proto3" json:"users_role,omitempty"`
568
+ Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
569
+ unknownFields protoimpl.UnknownFields
570
+ sizeCache protoimpl.SizeCache
571
+ }
572
+
573
+ func (x *UsersRoleGetByIdResponse) Reset() {
574
+ *x = UsersRoleGetByIdResponse{}
575
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[11]
576
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
577
+ ms.StoreMessageInfo(mi)
578
+ }
579
+
580
+ func (x *UsersRoleGetByIdResponse) String() string {
581
+ return protoimpl.X.MessageStringOf(x)
582
+ }
583
+
584
+ func (*UsersRoleGetByIdResponse) ProtoMessage() {}
585
+
586
+ func (x *UsersRoleGetByIdResponse) ProtoReflect() protoreflect.Message {
587
+ mi := &file_prisca_v1_core_users_role_users_role_proto_msgTypes[11]
588
+ if x != nil {
589
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
590
+ if ms.LoadMessageInfo() == nil {
591
+ ms.StoreMessageInfo(mi)
592
+ }
593
+ return ms
594
+ }
595
+ return mi.MessageOf(x)
596
+ }
597
+
598
+ // Deprecated: Use UsersRoleGetByIdResponse.ProtoReflect.Descriptor instead.
599
+ func (*UsersRoleGetByIdResponse) Descriptor() ([]byte, []int) {
600
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP(), []int{11}
601
+ }
602
+
603
+ func (x *UsersRoleGetByIdResponse) GetUsersRole() *UsersRole {
604
+ if x != nil {
605
+ return x.UsersRole
606
+ }
607
+ return nil
608
+ }
609
+
610
+ func (x *UsersRoleGetByIdResponse) GetMeta() *meta.Meta {
611
+ if x != nil {
612
+ return x.Meta
613
+ }
614
+ return nil
615
+ }
616
+
617
+ var File_prisca_v1_core_users_role_users_role_proto protoreflect.FileDescriptor
618
+
619
+ var file_prisca_v1_core_users_role_users_role_proto_rawDesc = []byte{
620
+ 0x0a, 0x2a, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
621
+ 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x75, 0x73, 0x65, 0x72,
622
+ 0x73, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72,
623
+ 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6d,
624
+ 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1f,
625
+ 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e,
626
+ 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
627
+ 0x48, 0x0a, 0x0d, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65,
628
+ 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69,
629
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
630
+ 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
631
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3e, 0x0a, 0x17, 0x55, 0x73, 0x65,
632
+ 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71,
633
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
634
+ 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66,
635
+ 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x43, 0x0a, 0x16, 0x43, 0x72, 0x65,
636
+ 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
637
+ 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6c,
638
+ 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52,
639
+ 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x68,
640
+ 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c,
641
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65,
642
+ 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
643
+ 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x29, 0x0a,
644
+ 0x0a, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
645
+ 0x0b, 0x32, 0x0a, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x75,
646
+ 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x22, 0x3d, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65,
647
+ 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
648
+ 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
649
+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72,
650
+ 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x6f, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74,
651
+ 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
652
+ 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
653
+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72,
654
+ 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18,
655
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76,
656
+ 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65,
657
+ 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74,
658
+ 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
659
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69,
660
+ 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63,
661
+ 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61,
662
+ 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65,
663
+ 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a,
664
+ 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
665
+ 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
666
+ 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
667
+ 0x65, 0x73, 0x74, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x75, 0x0a, 0x17, 0x43, 0x72,
668
+ 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73,
669
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72,
670
+ 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x55, 0x73, 0x65, 0x72,
671
+ 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65,
672
+ 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
673
+ 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61,
674
+ 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74,
675
+ 0x61, 0x22, 0x76, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72,
676
+ 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a,
677
+ 0x0a, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28,
678
+ 0x0b, 0x32, 0x0a, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x75,
679
+ 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61,
680
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e,
681
+ 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d,
682
+ 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x75, 0x0a, 0x17, 0x55, 0x70, 0x64,
683
+ 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70,
684
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x0a, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x6f,
685
+ 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73,
686
+ 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x12,
687
+ 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
688
+ 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
689
+ 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61,
690
+ 0x22, 0x76, 0x0a, 0x18, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x65, 0x74,
691
+ 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x29, 0x0a, 0x0a,
692
+ 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
693
+ 0x32, 0x0a, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x75, 0x73,
694
+ 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18,
695
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76,
696
+ 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65,
697
+ 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x32, 0xf1, 0x02, 0x0a, 0x0b, 0x52, 0x6f, 0x6c,
698
+ 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61,
699
+ 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x17, 0x2e, 0x43, 0x72,
700
+ 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71,
701
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65,
702
+ 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47,
703
+ 0x0a, 0x10, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x79,
704
+ 0x49, 0x64, 0x12, 0x18, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x65,
705
+ 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x55,
706
+ 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52,
707
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74,
708
+ 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x17, 0x2e, 0x55, 0x70, 0x64,
709
+ 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
710
+ 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
711
+ 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a,
712
+ 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65,
713
+ 0x12, 0x17, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f,
714
+ 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x44, 0x65, 0x6c, 0x65,
715
+ 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
716
+ 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73,
717
+ 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x18, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73,
718
+ 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
719
+ 0x74, 0x1a, 0x19, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73,
720
+ 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x52, 0x5a, 0x50,
721
+ 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67,
722
+ 0x72, 0x61, 0x5f, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d,
723
+ 0x63, 0x6f, 0x72, 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f,
724
+ 0x74, 0x6f, 0x63, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31,
725
+ 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x5f, 0x72, 0x6f, 0x6c, 0x65,
726
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
727
+ }
728
+
729
+ var (
730
+ file_prisca_v1_core_users_role_users_role_proto_rawDescOnce sync.Once
731
+ file_prisca_v1_core_users_role_users_role_proto_rawDescData = file_prisca_v1_core_users_role_users_role_proto_rawDesc
732
+ )
733
+
734
+ func file_prisca_v1_core_users_role_users_role_proto_rawDescGZIP() []byte {
735
+ file_prisca_v1_core_users_role_users_role_proto_rawDescOnce.Do(func() {
736
+ file_prisca_v1_core_users_role_users_role_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_users_role_users_role_proto_rawDescData)
737
+ })
738
+ return file_prisca_v1_core_users_role_users_role_proto_rawDescData
739
+ }
740
+
741
+ var file_prisca_v1_core_users_role_users_role_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
742
+ var file_prisca_v1_core_users_role_users_role_proto_goTypes = []any{
743
+ (*UsersRole)(nil), // 0: UsersRole
744
+ (*BaseUsersRole)(nil), // 1: BaseUsersRole
745
+ (*UsersRoleGetByIdRequest)(nil), // 2: UsersRoleGetByIdRequest
746
+ (*CreateUsersRoleRequest)(nil), // 3: CreateUsersRoleRequest
747
+ (*UpdateUsersRoleRequest)(nil), // 4: UpdateUsersRoleRequest
748
+ (*DeleteUsersRoleRequest)(nil), // 5: DeleteUsersRoleRequest
749
+ (*DeleteUsersRoleResponse)(nil), // 6: DeleteUsersRoleResponse
750
+ (*GetListUsersRoleRequest)(nil), // 7: GetListUsersRoleRequest
751
+ (*CreateUsersRoleResponse)(nil), // 8: CreateUsersRoleResponse
752
+ (*GetListUsersRoleResponse)(nil), // 9: GetListUsersRoleResponse
753
+ (*UpdateUsersRoleResponse)(nil), // 10: UpdateUsersRoleResponse
754
+ (*UsersRoleGetByIdResponse)(nil), // 11: UsersRoleGetByIdResponse
755
+ (*meta.Meta)(nil), // 12: prisca.v1.global.meta.Meta
756
+ (*meta.PaginationRequest)(nil), // 13: prisca.v1.global.meta.PaginationRequest
757
+ (*meta.FilterRequest)(nil), // 14: prisca.v1.global.meta.FilterRequest
758
+ }
759
+ var file_prisca_v1_core_users_role_users_role_proto_depIdxs = []int32{
760
+ 0, // 0: CreateUsersRoleRequest.users_role:type_name -> UsersRole
761
+ 0, // 1: UpdateUsersRoleRequest.users_role:type_name -> UsersRole
762
+ 12, // 2: DeleteUsersRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
763
+ 13, // 3: GetListUsersRoleRequest.pagination:type_name -> prisca.v1.global.meta.PaginationRequest
764
+ 14, // 4: GetListUsersRoleRequest.query:type_name -> prisca.v1.global.meta.FilterRequest
765
+ 0, // 5: CreateUsersRoleResponse.users_role:type_name -> UsersRole
766
+ 12, // 6: CreateUsersRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
767
+ 0, // 7: GetListUsersRoleResponse.users_role:type_name -> UsersRole
768
+ 12, // 8: GetListUsersRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
769
+ 0, // 9: UpdateUsersRoleResponse.users_role:type_name -> UsersRole
770
+ 12, // 10: UpdateUsersRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
771
+ 0, // 11: UsersRoleGetByIdResponse.users_role:type_name -> UsersRole
772
+ 12, // 12: UsersRoleGetByIdResponse.meta:type_name -> prisca.v1.global.meta.Meta
773
+ 3, // 13: RoleService.CreateUsersRole:input_type -> CreateUsersRoleRequest
774
+ 2, // 14: RoleService.GetUsersRoleById:input_type -> UsersRoleGetByIdRequest
775
+ 4, // 15: RoleService.UpdateUsersRole:input_type -> UpdateUsersRoleRequest
776
+ 5, // 16: RoleService.DeleteUsersRole:input_type -> DeleteUsersRoleRequest
777
+ 7, // 17: RoleService.GetListUsersRole:input_type -> GetListUsersRoleRequest
778
+ 8, // 18: RoleService.CreateUsersRole:output_type -> CreateUsersRoleResponse
779
+ 11, // 19: RoleService.GetUsersRoleById:output_type -> UsersRoleGetByIdResponse
780
+ 10, // 20: RoleService.UpdateUsersRole:output_type -> UpdateUsersRoleResponse
781
+ 6, // 21: RoleService.DeleteUsersRole:output_type -> DeleteUsersRoleResponse
782
+ 9, // 22: RoleService.GetListUsersRole:output_type -> GetListUsersRoleResponse
783
+ 18, // [18:23] is the sub-list for method output_type
784
+ 13, // [13:18] is the sub-list for method input_type
785
+ 13, // [13:13] is the sub-list for extension type_name
786
+ 13, // [13:13] is the sub-list for extension extendee
787
+ 0, // [0:13] is the sub-list for field type_name
788
+ }
789
+
790
+ func init() { file_prisca_v1_core_users_role_users_role_proto_init() }
791
+ func file_prisca_v1_core_users_role_users_role_proto_init() {
792
+ if File_prisca_v1_core_users_role_users_role_proto != nil {
793
+ return
794
+ }
795
+ type x struct{}
796
+ out := protoimpl.TypeBuilder{
797
+ File: protoimpl.DescBuilder{
798
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
799
+ RawDescriptor: file_prisca_v1_core_users_role_users_role_proto_rawDesc,
800
+ NumEnums: 0,
801
+ NumMessages: 12,
802
+ NumExtensions: 0,
803
+ NumServices: 1,
804
+ },
805
+ GoTypes: file_prisca_v1_core_users_role_users_role_proto_goTypes,
806
+ DependencyIndexes: file_prisca_v1_core_users_role_users_role_proto_depIdxs,
807
+ MessageInfos: file_prisca_v1_core_users_role_users_role_proto_msgTypes,
808
+ }.Build()
809
+ File_prisca_v1_core_users_role_users_role_proto = out.File
810
+ file_prisca_v1_core_users_role_users_role_proto_rawDesc = nil
811
+ file_prisca_v1_core_users_role_users_role_proto_goTypes = nil
812
+ file_prisca_v1_core_users_role_users_role_proto_depIdxs = nil
813
+ }