@aldiokta/protocgen 1.0.20 → 1.0.21

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 (96) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/core/auth/auth_grpc_pb.js +256 -0
  3. package/prisca/v1/core/auth/auth_pb.js +2801 -0
  4. package/prisca/v1/core/company/company_grpc_pb.js +177 -0
  5. package/prisca/v1/core/company/company_pb.js +2875 -0
  6. package/prisca/v1/core/department_material/department_material_grpc_pb.js +144 -0
  7. package/prisca/v1/core/department_material/department_material_pb.js +2167 -0
  8. package/prisca/v1/core/job_grade/job_grade_grpc_pb.js +178 -0
  9. package/prisca/v1/core/job_grade/job_grade_pb.js +2605 -0
  10. package/prisca/v1/core/job_position/job_position_grpc_pb.js +181 -0
  11. package/prisca/v1/core/job_position/job_position_pb.js +3582 -0
  12. package/prisca/v1/core/job_title/job_title_grpc_pb.js +178 -0
  13. package/prisca/v1/core/job_title/job_title_pb.js +2928 -0
  14. package/prisca/v1/core/location/location_grpc_pb.js +276 -0
  15. package/prisca/v1/core/location/location_pb.js +4334 -0
  16. package/prisca/v1/core/material/material_grpc_pb.js +181 -0
  17. package/prisca/v1/core/material/material_pb.js +4046 -0
  18. package/prisca/v1/core/material_group/material_group_grpc_pb.js +177 -0
  19. package/prisca/v1/core/material_group/material_group_pb.js +2582 -0
  20. package/prisca/v1/core/material_type/material_type_grpc_pb.js +147 -0
  21. package/prisca/v1/core/material_type/material_type_pb.js +2399 -0
  22. package/prisca/v1/core/number_range/number_range_grpc_pb.js +177 -0
  23. package/prisca/v1/core/number_range/number_range_pb.js +2672 -0
  24. package/prisca/v1/core/organization/organization_grpc_pb.js +180 -0
  25. package/prisca/v1/core/organization/organization_pb.js +3002 -0
  26. package/prisca/v1/core/organization_level/organization_level_grpc_pb.js +177 -0
  27. package/prisca/v1/core/organization_level/organization_level_pb.js +2432 -0
  28. package/prisca/v1/core/procurement/procurement_grpc_pb.js +146 -0
  29. package/prisca/v1/core/procurement/procurement_pb.js +1681 -0
  30. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +266 -0
  31. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_pb.js +4429 -0
  32. package/prisca/v1/core/recipient_roles/recipient_roles_grpc_pb.js +1 -0
  33. package/prisca/v1/core/recipient_roles/recipient_roles_pb.js +206 -0
  34. package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +421 -0
  35. package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +9597 -0
  36. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc_pb.js +180 -0
  37. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_pb.js +2798 -0
  38. package/prisca/v1/core/users/users_grpc_pb.js +1 -0
  39. package/prisca/v1/core/users/users_pb.js +626 -0
  40. package/prisca/v1/core/users_role/users_role_grpc_pb.js +177 -0
  41. package/prisca/v1/core/users_role/users_role_pb.js +2372 -0
  42. package/prisca/v1/core/work_location/work_location_grpc_pb.js +177 -0
  43. package/prisca/v1/core/work_location/work_location_pb.js +2850 -0
  44. package/prisca/v1/core/workflow/workflow_grpc_pb.js +179 -0
  45. package/prisca/v1/core/workflow/workflow_pb.js +6318 -0
  46. package/prisca/v1/global/meta/meta_grpc_pb.js +1 -0
  47. package/prisca/v1/global/meta/meta_pb.js +1179 -0
  48. package/prisca/v1/core/auth/auth.pb.go +0 -998
  49. package/prisca/v1/core/auth/auth_grpc.pb.go +0 -427
  50. package/prisca/v1/core/company/company.pb.go +0 -965
  51. package/prisca/v1/core/company/company_grpc.pb.go +0 -273
  52. package/prisca/v1/core/department_material/department_material.pb.go +0 -776
  53. package/prisca/v1/core/department_material/department_material_grpc.pb.go +0 -236
  54. package/prisca/v1/core/job_grade/job_grade.pb.go +0 -887
  55. package/prisca/v1/core/job_grade/job_grade_grpc.pb.go +0 -273
  56. package/prisca/v1/core/job_position/job_position.pb.go +0 -1196
  57. package/prisca/v1/core/job_position/job_position_grpc.pb.go +0 -273
  58. package/prisca/v1/core/job_title/job_title.pb.go +0 -986
  59. package/prisca/v1/core/job_title/job_title_grpc.pb.go +0 -273
  60. package/prisca/v1/core/line_of_approval/line_of_approval.pb.go +0 -913
  61. package/prisca/v1/core/line_of_approval/line_of_approval_grpc.pb.go +0 -273
  62. package/prisca/v1/core/location/location.pb.go +0 -1397
  63. package/prisca/v1/core/location/location_grpc.pb.go +0 -387
  64. package/prisca/v1/core/material/material.pb.go +0 -1366
  65. package/prisca/v1/core/material/material_grpc.pb.go +0 -273
  66. package/prisca/v1/core/material_group/material_group.pb.go +0 -911
  67. package/prisca/v1/core/material_group/material_group_grpc.pb.go +0 -273
  68. package/prisca/v1/core/material_type/material_type.pb.go +0 -827
  69. package/prisca/v1/core/material_type/material_type_grpc.pb.go +0 -239
  70. package/prisca/v1/core/number_range/number_range.pb.go +0 -916
  71. package/prisca/v1/core/number_range/number_range_grpc.pb.go +0 -273
  72. package/prisca/v1/core/organization/organization.pb.go +0 -1039
  73. package/prisca/v1/core/organization/organization_grpc.pb.go +0 -273
  74. package/prisca/v1/core/organization_level/organization_level.pb.go +0 -853
  75. package/prisca/v1/core/organization_level/organization_level_grpc.pb.go +0 -274
  76. package/prisca/v1/core/procurement/procurement.pb.go +0 -622
  77. package/prisca/v1/core/procurement/procurement_grpc.pb.go +0 -275
  78. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx.pb.go +0 -1550
  79. package/prisca/v1/core/purchase_requisition_trx/purchase_requisition_trx_grpc.pb.go +0 -388
  80. package/prisca/v1/core/recipient_roles/recipient_roles.pb.go +0 -141
  81. package/prisca/v1/core/role/role.pb.go +0 -797
  82. package/prisca/v1/core/role/role_grpc.pb.go +0 -273
  83. package/prisca/v1/core/transaction_builder/transaction_builder.pb.go +0 -3217
  84. package/prisca/v1/core/transaction_builder/transaction_builder_grpc.pb.go +0 -656
  85. package/prisca/v1/core/unit_of_measurement/unit_of_measurement.pb.go +0 -973
  86. package/prisca/v1/core/unit_of_measurement/unit_of_measurement_grpc.pb.go +0 -278
  87. package/prisca/v1/core/users/users.pb.go +0 -281
  88. package/prisca/v1/core/users_role/users_role.pb.go +0 -813
  89. package/prisca/v1/core/users_role/users_role_grpc.pb.go +0 -273
  90. package/prisca/v1/core/work_location/work_location.pb.go +0 -995
  91. package/prisca/v1/core/work_location/work_location_grpc.pb.go +0 -273
  92. package/prisca/v1/core/work_locations/work_locations.pb.go +0 -184
  93. package/prisca/v1/core/work_locations/work_locations_grpc.pb.go +0 -76
  94. package/prisca/v1/core/workflow/workflow.pb.go +0 -2057
  95. package/prisca/v1/core/workflow/workflow_grpc.pb.go +0 -273
  96. package/prisca/v1/global/meta/meta.pb.go +0 -446
@@ -1,797 +0,0 @@
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/role/role.proto
6
-
7
- package 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 Role 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 *Role) Reset() {
32
- *x = Role{}
33
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[0]
34
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
35
- ms.StoreMessageInfo(mi)
36
- }
37
-
38
- func (x *Role) String() string {
39
- return protoimpl.X.MessageStringOf(x)
40
- }
41
-
42
- func (*Role) ProtoMessage() {}
43
-
44
- func (x *Role) ProtoReflect() protoreflect.Message {
45
- mi := &file_prisca_v1_core_role_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 Role.ProtoReflect.Descriptor instead.
57
- func (*Role) Descriptor() ([]byte, []int) {
58
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{0}
59
- }
60
-
61
- func (x *Role) GetName() string {
62
- if x != nil {
63
- return x.Name
64
- }
65
- return ""
66
- }
67
-
68
- type BaseRole 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 *BaseRole) Reset() {
77
- *x = BaseRole{}
78
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[1]
79
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80
- ms.StoreMessageInfo(mi)
81
- }
82
-
83
- func (x *BaseRole) String() string {
84
- return protoimpl.X.MessageStringOf(x)
85
- }
86
-
87
- func (*BaseRole) ProtoMessage() {}
88
-
89
- func (x *BaseRole) ProtoReflect() protoreflect.Message {
90
- mi := &file_prisca_v1_core_role_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 BaseRole.ProtoReflect.Descriptor instead.
102
- func (*BaseRole) Descriptor() ([]byte, []int) {
103
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{1}
104
- }
105
-
106
- func (x *BaseRole) GetReferencesId() string {
107
- if x != nil {
108
- return x.ReferencesId
109
- }
110
- return ""
111
- }
112
-
113
- func (x *BaseRole) GetName() string {
114
- if x != nil {
115
- return x.Name
116
- }
117
- return ""
118
- }
119
-
120
- type RoleGetByIdRequest 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 *RoleGetByIdRequest) Reset() {
128
- *x = RoleGetByIdRequest{}
129
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[2]
130
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131
- ms.StoreMessageInfo(mi)
132
- }
133
-
134
- func (x *RoleGetByIdRequest) String() string {
135
- return protoimpl.X.MessageStringOf(x)
136
- }
137
-
138
- func (*RoleGetByIdRequest) ProtoMessage() {}
139
-
140
- func (x *RoleGetByIdRequest) ProtoReflect() protoreflect.Message {
141
- mi := &file_prisca_v1_core_role_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 RoleGetByIdRequest.ProtoReflect.Descriptor instead.
153
- func (*RoleGetByIdRequest) Descriptor() ([]byte, []int) {
154
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{2}
155
- }
156
-
157
- func (x *RoleGetByIdRequest) GetReferencesId() string {
158
- if x != nil {
159
- return x.ReferencesId
160
- }
161
- return ""
162
- }
163
-
164
- type CreateRoleRequest struct {
165
- state protoimpl.MessageState `protogen:"open.v1"`
166
- Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
167
- unknownFields protoimpl.UnknownFields
168
- sizeCache protoimpl.SizeCache
169
- }
170
-
171
- func (x *CreateRoleRequest) Reset() {
172
- *x = CreateRoleRequest{}
173
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[3]
174
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175
- ms.StoreMessageInfo(mi)
176
- }
177
-
178
- func (x *CreateRoleRequest) String() string {
179
- return protoimpl.X.MessageStringOf(x)
180
- }
181
-
182
- func (*CreateRoleRequest) ProtoMessage() {}
183
-
184
- func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message {
185
- mi := &file_prisca_v1_core_role_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 CreateRoleRequest.ProtoReflect.Descriptor instead.
197
- func (*CreateRoleRequest) Descriptor() ([]byte, []int) {
198
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{3}
199
- }
200
-
201
- func (x *CreateRoleRequest) GetRole() *Role {
202
- if x != nil {
203
- return x.Role
204
- }
205
- return nil
206
- }
207
-
208
- type UpdateRoleRequest 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
- Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
212
- unknownFields protoimpl.UnknownFields
213
- sizeCache protoimpl.SizeCache
214
- }
215
-
216
- func (x *UpdateRoleRequest) Reset() {
217
- *x = UpdateRoleRequest{}
218
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[4]
219
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220
- ms.StoreMessageInfo(mi)
221
- }
222
-
223
- func (x *UpdateRoleRequest) String() string {
224
- return protoimpl.X.MessageStringOf(x)
225
- }
226
-
227
- func (*UpdateRoleRequest) ProtoMessage() {}
228
-
229
- func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message {
230
- mi := &file_prisca_v1_core_role_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 UpdateRoleRequest.ProtoReflect.Descriptor instead.
242
- func (*UpdateRoleRequest) Descriptor() ([]byte, []int) {
243
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{4}
244
- }
245
-
246
- func (x *UpdateRoleRequest) GetReferencesId() string {
247
- if x != nil {
248
- return x.ReferencesId
249
- }
250
- return ""
251
- }
252
-
253
- func (x *UpdateRoleRequest) GetRole() *Role {
254
- if x != nil {
255
- return x.Role
256
- }
257
- return nil
258
- }
259
-
260
- type DeleteRoleRequest 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 *DeleteRoleRequest) Reset() {
268
- *x = DeleteRoleRequest{}
269
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[5]
270
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
271
- ms.StoreMessageInfo(mi)
272
- }
273
-
274
- func (x *DeleteRoleRequest) String() string {
275
- return protoimpl.X.MessageStringOf(x)
276
- }
277
-
278
- func (*DeleteRoleRequest) ProtoMessage() {}
279
-
280
- func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message {
281
- mi := &file_prisca_v1_core_role_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 DeleteRoleRequest.ProtoReflect.Descriptor instead.
293
- func (*DeleteRoleRequest) Descriptor() ([]byte, []int) {
294
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{5}
295
- }
296
-
297
- func (x *DeleteRoleRequest) GetReferencesId() string {
298
- if x != nil {
299
- return x.ReferencesId
300
- }
301
- return ""
302
- }
303
-
304
- type DeleteRoleResponse 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 *DeleteRoleResponse) Reset() {
313
- *x = DeleteRoleResponse{}
314
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[6]
315
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316
- ms.StoreMessageInfo(mi)
317
- }
318
-
319
- func (x *DeleteRoleResponse) String() string {
320
- return protoimpl.X.MessageStringOf(x)
321
- }
322
-
323
- func (*DeleteRoleResponse) ProtoMessage() {}
324
-
325
- func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message {
326
- mi := &file_prisca_v1_core_role_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 DeleteRoleResponse.ProtoReflect.Descriptor instead.
338
- func (*DeleteRoleResponse) Descriptor() ([]byte, []int) {
339
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{6}
340
- }
341
-
342
- func (x *DeleteRoleResponse) GetReferencesId() string {
343
- if x != nil {
344
- return x.ReferencesId
345
- }
346
- return ""
347
- }
348
-
349
- func (x *DeleteRoleResponse) GetMeta() *meta.Meta {
350
- if x != nil {
351
- return x.Meta
352
- }
353
- return nil
354
- }
355
-
356
- type GetListRoleRequest 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 *GetListRoleRequest) Reset() {
365
- *x = GetListRoleRequest{}
366
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[7]
367
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368
- ms.StoreMessageInfo(mi)
369
- }
370
-
371
- func (x *GetListRoleRequest) String() string {
372
- return protoimpl.X.MessageStringOf(x)
373
- }
374
-
375
- func (*GetListRoleRequest) ProtoMessage() {}
376
-
377
- func (x *GetListRoleRequest) ProtoReflect() protoreflect.Message {
378
- mi := &file_prisca_v1_core_role_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 GetListRoleRequest.ProtoReflect.Descriptor instead.
390
- func (*GetListRoleRequest) Descriptor() ([]byte, []int) {
391
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{7}
392
- }
393
-
394
- func (x *GetListRoleRequest) GetPagination() *meta.PaginationRequest {
395
- if x != nil {
396
- return x.Pagination
397
- }
398
- return nil
399
- }
400
-
401
- func (x *GetListRoleRequest) GetQuery() *meta.FilterRequest {
402
- if x != nil {
403
- return x.Query
404
- }
405
- return nil
406
- }
407
-
408
- // Response Messages
409
- type CreateRoleResponse struct {
410
- state protoimpl.MessageState `protogen:"open.v1"`
411
- Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"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 *CreateRoleResponse) Reset() {
418
- *x = CreateRoleResponse{}
419
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[8]
420
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
421
- ms.StoreMessageInfo(mi)
422
- }
423
-
424
- func (x *CreateRoleResponse) String() string {
425
- return protoimpl.X.MessageStringOf(x)
426
- }
427
-
428
- func (*CreateRoleResponse) ProtoMessage() {}
429
-
430
- func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message {
431
- mi := &file_prisca_v1_core_role_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 CreateRoleResponse.ProtoReflect.Descriptor instead.
443
- func (*CreateRoleResponse) Descriptor() ([]byte, []int) {
444
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{8}
445
- }
446
-
447
- func (x *CreateRoleResponse) GetRole() *Role {
448
- if x != nil {
449
- return x.Role
450
- }
451
- return nil
452
- }
453
-
454
- func (x *CreateRoleResponse) GetMeta() *meta.Meta {
455
- if x != nil {
456
- return x.Meta
457
- }
458
- return nil
459
- }
460
-
461
- type GetListRoleResponse struct {
462
- state protoimpl.MessageState `protogen:"open.v1"`
463
- Role []*Role `protobuf:"bytes,1,rep,name=role,proto3" json:"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 *GetListRoleResponse) Reset() {
470
- *x = GetListRoleResponse{}
471
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[9]
472
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
473
- ms.StoreMessageInfo(mi)
474
- }
475
-
476
- func (x *GetListRoleResponse) String() string {
477
- return protoimpl.X.MessageStringOf(x)
478
- }
479
-
480
- func (*GetListRoleResponse) ProtoMessage() {}
481
-
482
- func (x *GetListRoleResponse) ProtoReflect() protoreflect.Message {
483
- mi := &file_prisca_v1_core_role_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 GetListRoleResponse.ProtoReflect.Descriptor instead.
495
- func (*GetListRoleResponse) Descriptor() ([]byte, []int) {
496
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{9}
497
- }
498
-
499
- func (x *GetListRoleResponse) GetRole() []*Role {
500
- if x != nil {
501
- return x.Role
502
- }
503
- return nil
504
- }
505
-
506
- func (x *GetListRoleResponse) GetMeta() *meta.Meta {
507
- if x != nil {
508
- return x.Meta
509
- }
510
- return nil
511
- }
512
-
513
- type UpdateRoleResponse struct {
514
- state protoimpl.MessageState `protogen:"open.v1"`
515
- Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"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 *UpdateRoleResponse) Reset() {
522
- *x = UpdateRoleResponse{}
523
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[10]
524
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
525
- ms.StoreMessageInfo(mi)
526
- }
527
-
528
- func (x *UpdateRoleResponse) String() string {
529
- return protoimpl.X.MessageStringOf(x)
530
- }
531
-
532
- func (*UpdateRoleResponse) ProtoMessage() {}
533
-
534
- func (x *UpdateRoleResponse) ProtoReflect() protoreflect.Message {
535
- mi := &file_prisca_v1_core_role_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 UpdateRoleResponse.ProtoReflect.Descriptor instead.
547
- func (*UpdateRoleResponse) Descriptor() ([]byte, []int) {
548
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{10}
549
- }
550
-
551
- func (x *UpdateRoleResponse) GetRole() *Role {
552
- if x != nil {
553
- return x.Role
554
- }
555
- return nil
556
- }
557
-
558
- func (x *UpdateRoleResponse) GetMeta() *meta.Meta {
559
- if x != nil {
560
- return x.Meta
561
- }
562
- return nil
563
- }
564
-
565
- type RoleGetByIdResponse struct {
566
- state protoimpl.MessageState `protogen:"open.v1"`
567
- Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"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 *RoleGetByIdResponse) Reset() {
574
- *x = RoleGetByIdResponse{}
575
- mi := &file_prisca_v1_core_role_role_proto_msgTypes[11]
576
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
577
- ms.StoreMessageInfo(mi)
578
- }
579
-
580
- func (x *RoleGetByIdResponse) String() string {
581
- return protoimpl.X.MessageStringOf(x)
582
- }
583
-
584
- func (*RoleGetByIdResponse) ProtoMessage() {}
585
-
586
- func (x *RoleGetByIdResponse) ProtoReflect() protoreflect.Message {
587
- mi := &file_prisca_v1_core_role_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 RoleGetByIdResponse.ProtoReflect.Descriptor instead.
599
- func (*RoleGetByIdResponse) Descriptor() ([]byte, []int) {
600
- return file_prisca_v1_core_role_role_proto_rawDescGZIP(), []int{11}
601
- }
602
-
603
- func (x *RoleGetByIdResponse) GetRole() *Role {
604
- if x != nil {
605
- return x.Role
606
- }
607
- return nil
608
- }
609
-
610
- func (x *RoleGetByIdResponse) GetMeta() *meta.Meta {
611
- if x != nil {
612
- return x.Meta
613
- }
614
- return nil
615
- }
616
-
617
- var File_prisca_v1_core_role_role_proto protoreflect.FileDescriptor
618
-
619
- var file_prisca_v1_core_role_role_proto_rawDesc = []byte{
620
- 0x0a, 0x1e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
621
- 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
622
- 0x1a, 0x20, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6c, 0x6f, 0x62,
623
- 0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f,
624
- 0x74, 0x6f, 0x22, 0x1a, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
625
- 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x43,
626
- 0x0a, 0x08, 0x42, 0x61, 0x73, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65,
627
- 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
628
- 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12,
629
- 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
630
- 0x61, 0x6d, 0x65, 0x22, 0x39, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79,
631
- 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66,
632
- 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
633
- 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x2e,
634
- 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
635
- 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
636
- 0x0b, 0x32, 0x05, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x53,
637
- 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
638
- 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
639
- 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65,
640
- 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65,
641
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72,
642
- 0x6f, 0x6c, 0x65, 0x22, 0x38, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c,
643
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65,
644
- 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
645
- 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x6a, 0x0a,
646
- 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
647
- 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
648
- 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65,
649
- 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61,
650
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e,
651
- 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d,
652
- 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x9a, 0x01, 0x0a, 0x12, 0x47, 0x65,
653
- 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
654
- 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
655
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31,
656
- 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x67,
657
- 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a,
658
- 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x05, 0x71, 0x75,
659
- 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x70, 0x72, 0x69, 0x73,
660
- 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74,
661
- 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
662
- 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x60, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
663
- 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x04,
664
- 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x52, 0x6f, 0x6c,
665
- 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18,
666
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76,
667
- 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65,
668
- 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x61, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c,
669
- 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
670
- 0x19, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x05, 0x2e,
671
- 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65,
672
- 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63,
673
- 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61,
674
- 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x60, 0x0a, 0x12, 0x55,
675
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
676
- 0x65, 0x12, 0x19, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
677
- 0x05, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x2f, 0x0a, 0x04,
678
- 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69,
679
- 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65,
680
- 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x61, 0x0a,
681
- 0x13, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70,
682
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,
683
- 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12,
684
- 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
685
- 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c,
686
- 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61,
687
- 0x32, 0xa6, 0x02, 0x0a, 0x0b, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
688
- 0x12, 0x35, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x12,
689
- 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
690
- 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52,
691
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x52, 0x6f,
692
- 0x6c, 0x65, 0x42, 0x79, 0x49, 0x64, 0x12, 0x13, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x47, 0x65, 0x74,
693
- 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x52, 0x6f,
694
- 0x6c, 0x65, 0x47, 0x65, 0x74, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
695
- 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12,
696
- 0x12, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
697
- 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65,
698
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65,
699
- 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x12, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52,
700
- 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x44, 0x65, 0x6c,
701
- 0x65, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
702
- 0x38, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x13,
703
- 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
704
- 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x6f, 0x6c,
705
- 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74,
706
- 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f,
707
- 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72,
708
- 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
709
- 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
710
- 0x72, 0x65, 0x2f, 0x72, 0x6f, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
711
- }
712
-
713
- var (
714
- file_prisca_v1_core_role_role_proto_rawDescOnce sync.Once
715
- file_prisca_v1_core_role_role_proto_rawDescData = file_prisca_v1_core_role_role_proto_rawDesc
716
- )
717
-
718
- func file_prisca_v1_core_role_role_proto_rawDescGZIP() []byte {
719
- file_prisca_v1_core_role_role_proto_rawDescOnce.Do(func() {
720
- file_prisca_v1_core_role_role_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_role_role_proto_rawDescData)
721
- })
722
- return file_prisca_v1_core_role_role_proto_rawDescData
723
- }
724
-
725
- var file_prisca_v1_core_role_role_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
726
- var file_prisca_v1_core_role_role_proto_goTypes = []any{
727
- (*Role)(nil), // 0: Role
728
- (*BaseRole)(nil), // 1: BaseRole
729
- (*RoleGetByIdRequest)(nil), // 2: RoleGetByIdRequest
730
- (*CreateRoleRequest)(nil), // 3: CreateRoleRequest
731
- (*UpdateRoleRequest)(nil), // 4: UpdateRoleRequest
732
- (*DeleteRoleRequest)(nil), // 5: DeleteRoleRequest
733
- (*DeleteRoleResponse)(nil), // 6: DeleteRoleResponse
734
- (*GetListRoleRequest)(nil), // 7: GetListRoleRequest
735
- (*CreateRoleResponse)(nil), // 8: CreateRoleResponse
736
- (*GetListRoleResponse)(nil), // 9: GetListRoleResponse
737
- (*UpdateRoleResponse)(nil), // 10: UpdateRoleResponse
738
- (*RoleGetByIdResponse)(nil), // 11: RoleGetByIdResponse
739
- (*meta.Meta)(nil), // 12: prisca.v1.global.meta.Meta
740
- (*meta.PaginationRequest)(nil), // 13: prisca.v1.global.meta.PaginationRequest
741
- (*meta.FilterRequest)(nil), // 14: prisca.v1.global.meta.FilterRequest
742
- }
743
- var file_prisca_v1_core_role_role_proto_depIdxs = []int32{
744
- 0, // 0: CreateRoleRequest.role:type_name -> Role
745
- 0, // 1: UpdateRoleRequest.role:type_name -> Role
746
- 12, // 2: DeleteRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
747
- 13, // 3: GetListRoleRequest.pagination:type_name -> prisca.v1.global.meta.PaginationRequest
748
- 14, // 4: GetListRoleRequest.query:type_name -> prisca.v1.global.meta.FilterRequest
749
- 0, // 5: CreateRoleResponse.role:type_name -> Role
750
- 12, // 6: CreateRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
751
- 0, // 7: GetListRoleResponse.role:type_name -> Role
752
- 12, // 8: GetListRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
753
- 0, // 9: UpdateRoleResponse.role:type_name -> Role
754
- 12, // 10: UpdateRoleResponse.meta:type_name -> prisca.v1.global.meta.Meta
755
- 0, // 11: RoleGetByIdResponse.role:type_name -> Role
756
- 12, // 12: RoleGetByIdResponse.meta:type_name -> prisca.v1.global.meta.Meta
757
- 3, // 13: RoleService.CreateRole:input_type -> CreateRoleRequest
758
- 2, // 14: RoleService.GetRoleById:input_type -> RoleGetByIdRequest
759
- 4, // 15: RoleService.UpdateRole:input_type -> UpdateRoleRequest
760
- 5, // 16: RoleService.DeleteRole:input_type -> DeleteRoleRequest
761
- 7, // 17: RoleService.GetListRole:input_type -> GetListRoleRequest
762
- 8, // 18: RoleService.CreateRole:output_type -> CreateRoleResponse
763
- 11, // 19: RoleService.GetRoleById:output_type -> RoleGetByIdResponse
764
- 10, // 20: RoleService.UpdateRole:output_type -> UpdateRoleResponse
765
- 6, // 21: RoleService.DeleteRole:output_type -> DeleteRoleResponse
766
- 9, // 22: RoleService.GetListRole:output_type -> GetListRoleResponse
767
- 18, // [18:23] is the sub-list for method output_type
768
- 13, // [13:18] is the sub-list for method input_type
769
- 13, // [13:13] is the sub-list for extension type_name
770
- 13, // [13:13] is the sub-list for extension extendee
771
- 0, // [0:13] is the sub-list for field type_name
772
- }
773
-
774
- func init() { file_prisca_v1_core_role_role_proto_init() }
775
- func file_prisca_v1_core_role_role_proto_init() {
776
- if File_prisca_v1_core_role_role_proto != nil {
777
- return
778
- }
779
- type x struct{}
780
- out := protoimpl.TypeBuilder{
781
- File: protoimpl.DescBuilder{
782
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
783
- RawDescriptor: file_prisca_v1_core_role_role_proto_rawDesc,
784
- NumEnums: 0,
785
- NumMessages: 12,
786
- NumExtensions: 0,
787
- NumServices: 1,
788
- },
789
- GoTypes: file_prisca_v1_core_role_role_proto_goTypes,
790
- DependencyIndexes: file_prisca_v1_core_role_role_proto_depIdxs,
791
- MessageInfos: file_prisca_v1_core_role_role_proto_msgTypes,
792
- }.Build()
793
- File_prisca_v1_core_role_role_proto = out.File
794
- file_prisca_v1_core_role_role_proto_rawDesc = nil
795
- file_prisca_v1_core_role_role_proto_goTypes = nil
796
- file_prisca_v1_core_role_role_proto_depIdxs = nil
797
- }