@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,1366 +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/material/material.proto
6
-
7
- package material
8
-
9
- import (
10
- material_group "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/material_group"
11
- material_type "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/material_type"
12
- unit_of_measurement "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/unit_of_measurement"
13
- work_location "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/core/work_location"
14
- meta "gitlab.com/integra_sm/prisca-v2-core-service/protocgen/prisca/v1/global/meta"
15
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17
- reflect "reflect"
18
- sync "sync"
19
- )
20
-
21
- const (
22
- // Verify that this generated code is sufficiently up-to-date.
23
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
- // Verify that runtime/protoimpl is sufficiently up-to-date.
25
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26
- )
27
-
28
- type Material struct {
29
- state protoimpl.MessageState `protogen:"open.v1"`
30
- Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
31
- MaterialCode string `protobuf:"bytes,2,opt,name=material_code,json=materialCode,proto3" json:"material_code,omitempty"`
32
- MaterialDescription string `protobuf:"bytes,3,opt,name=material_description,json=materialDescription,proto3" json:"material_description,omitempty"`
33
- MaterialCategory string `protobuf:"bytes,4,opt,name=material_category,json=materialCategory,proto3" json:"material_category,omitempty"`
34
- OldProductNumber int64 `protobuf:"varint,5,opt,name=old_product_number,json=oldProductNumber,proto3" json:"old_product_number,omitempty"`
35
- MaterialGroupRef string `protobuf:"bytes,6,opt,name=material_group_ref,json=materialGroupRef,proto3" json:"material_group_ref,omitempty"`
36
- ReferencesId string `protobuf:"bytes,7,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
37
- LanguageDescription []*MaterialLanguageDescription `protobuf:"bytes,8,rep,name=language_description,json=languageDescription,proto3" json:"language_description,omitempty"`
38
- CreatedBy string `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
39
- UpdatedBy string `protobuf:"bytes,10,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
40
- CreatedAt string `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // ISO 8601 format
41
- UpdatedAt string `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Nullable, ISO 8601 format
42
- BaseUnitOfMeasureRef string `protobuf:"bytes,13,opt,name=base_unit_of_measure_ref,json=baseUnitOfMeasureRef,proto3" json:"base_unit_of_measure_ref,omitempty"`
43
- BaseUnitOfMeasure *unit_of_measurement.UnitOfMeasure `protobuf:"bytes,14,opt,name=base_unit_of_measure,json=baseUnitOfMeasure,proto3,oneof" json:"base_unit_of_measure,omitempty"`
44
- UnitOfMeasure []*MaterialUOM `protobuf:"bytes,15,rep,name=unit_of_measure,json=unitOfMeasure,proto3" json:"unit_of_measure,omitempty"`
45
- MaterialType *material_type.MaterialType `protobuf:"bytes,16,opt,name=material_type,json=materialType,proto3,oneof" json:"material_type,omitempty"`
46
- MaterialGroup *material_group.MaterialGroup `protobuf:"bytes,17,opt,name=material_group,json=materialGroup,proto3,oneof" json:"material_group,omitempty"`
47
- MaterialPlantRef string `protobuf:"bytes,18,opt,name=material_plant_ref,json=materialPlantRef,proto3" json:"material_plant_ref,omitempty"`
48
- MaterialPlant *work_location.WorkLocation `protobuf:"bytes,19,opt,name=material_plant,json=materialPlant,proto3,oneof" json:"material_plant,omitempty"`
49
- MaterialTypeRef string `protobuf:"bytes,20,opt,name=material_type_ref,json=materialTypeRef,proto3" json:"material_type_ref,omitempty"`
50
- unknownFields protoimpl.UnknownFields
51
- sizeCache protoimpl.SizeCache
52
- }
53
-
54
- func (x *Material) Reset() {
55
- *x = Material{}
56
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[0]
57
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58
- ms.StoreMessageInfo(mi)
59
- }
60
-
61
- func (x *Material) String() string {
62
- return protoimpl.X.MessageStringOf(x)
63
- }
64
-
65
- func (*Material) ProtoMessage() {}
66
-
67
- func (x *Material) ProtoReflect() protoreflect.Message {
68
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[0]
69
- if x != nil {
70
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71
- if ms.LoadMessageInfo() == nil {
72
- ms.StoreMessageInfo(mi)
73
- }
74
- return ms
75
- }
76
- return mi.MessageOf(x)
77
- }
78
-
79
- // Deprecated: Use Material.ProtoReflect.Descriptor instead.
80
- func (*Material) Descriptor() ([]byte, []int) {
81
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{0}
82
- }
83
-
84
- func (x *Material) GetId() int64 {
85
- if x != nil {
86
- return x.Id
87
- }
88
- return 0
89
- }
90
-
91
- func (x *Material) GetMaterialCode() string {
92
- if x != nil {
93
- return x.MaterialCode
94
- }
95
- return ""
96
- }
97
-
98
- func (x *Material) GetMaterialDescription() string {
99
- if x != nil {
100
- return x.MaterialDescription
101
- }
102
- return ""
103
- }
104
-
105
- func (x *Material) GetMaterialCategory() string {
106
- if x != nil {
107
- return x.MaterialCategory
108
- }
109
- return ""
110
- }
111
-
112
- func (x *Material) GetOldProductNumber() int64 {
113
- if x != nil {
114
- return x.OldProductNumber
115
- }
116
- return 0
117
- }
118
-
119
- func (x *Material) GetMaterialGroupRef() string {
120
- if x != nil {
121
- return x.MaterialGroupRef
122
- }
123
- return ""
124
- }
125
-
126
- func (x *Material) GetReferencesId() string {
127
- if x != nil {
128
- return x.ReferencesId
129
- }
130
- return ""
131
- }
132
-
133
- func (x *Material) GetLanguageDescription() []*MaterialLanguageDescription {
134
- if x != nil {
135
- return x.LanguageDescription
136
- }
137
- return nil
138
- }
139
-
140
- func (x *Material) GetCreatedBy() string {
141
- if x != nil {
142
- return x.CreatedBy
143
- }
144
- return ""
145
- }
146
-
147
- func (x *Material) GetUpdatedBy() string {
148
- if x != nil {
149
- return x.UpdatedBy
150
- }
151
- return ""
152
- }
153
-
154
- func (x *Material) GetCreatedAt() string {
155
- if x != nil {
156
- return x.CreatedAt
157
- }
158
- return ""
159
- }
160
-
161
- func (x *Material) GetUpdatedAt() string {
162
- if x != nil {
163
- return x.UpdatedAt
164
- }
165
- return ""
166
- }
167
-
168
- func (x *Material) GetBaseUnitOfMeasureRef() string {
169
- if x != nil {
170
- return x.BaseUnitOfMeasureRef
171
- }
172
- return ""
173
- }
174
-
175
- func (x *Material) GetBaseUnitOfMeasure() *unit_of_measurement.UnitOfMeasure {
176
- if x != nil {
177
- return x.BaseUnitOfMeasure
178
- }
179
- return nil
180
- }
181
-
182
- func (x *Material) GetUnitOfMeasure() []*MaterialUOM {
183
- if x != nil {
184
- return x.UnitOfMeasure
185
- }
186
- return nil
187
- }
188
-
189
- func (x *Material) GetMaterialType() *material_type.MaterialType {
190
- if x != nil {
191
- return x.MaterialType
192
- }
193
- return nil
194
- }
195
-
196
- func (x *Material) GetMaterialGroup() *material_group.MaterialGroup {
197
- if x != nil {
198
- return x.MaterialGroup
199
- }
200
- return nil
201
- }
202
-
203
- func (x *Material) GetMaterialPlantRef() string {
204
- if x != nil {
205
- return x.MaterialPlantRef
206
- }
207
- return ""
208
- }
209
-
210
- func (x *Material) GetMaterialPlant() *work_location.WorkLocation {
211
- if x != nil {
212
- return x.MaterialPlant
213
- }
214
- return nil
215
- }
216
-
217
- func (x *Material) GetMaterialTypeRef() string {
218
- if x != nil {
219
- return x.MaterialTypeRef
220
- }
221
- return ""
222
- }
223
-
224
- type MaterialLanguageDescription struct {
225
- state protoimpl.MessageState `protogen:"open.v1"`
226
- Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
227
- Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
228
- unknownFields protoimpl.UnknownFields
229
- sizeCache protoimpl.SizeCache
230
- }
231
-
232
- func (x *MaterialLanguageDescription) Reset() {
233
- *x = MaterialLanguageDescription{}
234
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[1]
235
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
236
- ms.StoreMessageInfo(mi)
237
- }
238
-
239
- func (x *MaterialLanguageDescription) String() string {
240
- return protoimpl.X.MessageStringOf(x)
241
- }
242
-
243
- func (*MaterialLanguageDescription) ProtoMessage() {}
244
-
245
- func (x *MaterialLanguageDescription) ProtoReflect() protoreflect.Message {
246
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[1]
247
- if x != nil {
248
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
249
- if ms.LoadMessageInfo() == nil {
250
- ms.StoreMessageInfo(mi)
251
- }
252
- return ms
253
- }
254
- return mi.MessageOf(x)
255
- }
256
-
257
- // Deprecated: Use MaterialLanguageDescription.ProtoReflect.Descriptor instead.
258
- func (*MaterialLanguageDescription) Descriptor() ([]byte, []int) {
259
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{1}
260
- }
261
-
262
- func (x *MaterialLanguageDescription) GetLanguage() string {
263
- if x != nil {
264
- return x.Language
265
- }
266
- return ""
267
- }
268
-
269
- func (x *MaterialLanguageDescription) GetTitle() string {
270
- if x != nil {
271
- return x.Title
272
- }
273
- return ""
274
- }
275
-
276
- type MaterialUOM struct {
277
- state protoimpl.MessageState `protogen:"open.v1"`
278
- MaterialId int64 `protobuf:"varint,1,opt,name=material_id,json=materialId,proto3" json:"material_id,omitempty"`
279
- UomId int64 `protobuf:"varint,2,opt,name=uom_id,json=uomId,proto3" json:"uom_id,omitempty"`
280
- UnitConversion string `protobuf:"bytes,3,opt,name=unit_conversion,json=unitConversion,proto3" json:"unit_conversion,omitempty"`
281
- Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"`
282
- unknownFields protoimpl.UnknownFields
283
- sizeCache protoimpl.SizeCache
284
- }
285
-
286
- func (x *MaterialUOM) Reset() {
287
- *x = MaterialUOM{}
288
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[2]
289
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290
- ms.StoreMessageInfo(mi)
291
- }
292
-
293
- func (x *MaterialUOM) String() string {
294
- return protoimpl.X.MessageStringOf(x)
295
- }
296
-
297
- func (*MaterialUOM) ProtoMessage() {}
298
-
299
- func (x *MaterialUOM) ProtoReflect() protoreflect.Message {
300
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[2]
301
- if x != nil {
302
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
303
- if ms.LoadMessageInfo() == nil {
304
- ms.StoreMessageInfo(mi)
305
- }
306
- return ms
307
- }
308
- return mi.MessageOf(x)
309
- }
310
-
311
- // Deprecated: Use MaterialUOM.ProtoReflect.Descriptor instead.
312
- func (*MaterialUOM) Descriptor() ([]byte, []int) {
313
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{2}
314
- }
315
-
316
- func (x *MaterialUOM) GetMaterialId() int64 {
317
- if x != nil {
318
- return x.MaterialId
319
- }
320
- return 0
321
- }
322
-
323
- func (x *MaterialUOM) GetUomId() int64 {
324
- if x != nil {
325
- return x.UomId
326
- }
327
- return 0
328
- }
329
-
330
- func (x *MaterialUOM) GetUnitConversion() string {
331
- if x != nil {
332
- return x.UnitConversion
333
- }
334
- return ""
335
- }
336
-
337
- func (x *MaterialUOM) GetUnit() string {
338
- if x != nil {
339
- return x.Unit
340
- }
341
- return ""
342
- }
343
-
344
- type MaterialUOMRequest struct {
345
- state protoimpl.MessageState `protogen:"open.v1"`
346
- UomReferencesId string `protobuf:"bytes,1,opt,name=uom_references_id,json=uomReferencesId,proto3" json:"uom_references_id,omitempty"`
347
- UnitConversion string `protobuf:"bytes,2,opt,name=unit_conversion,json=unitConversion,proto3" json:"unit_conversion,omitempty"`
348
- unknownFields protoimpl.UnknownFields
349
- sizeCache protoimpl.SizeCache
350
- }
351
-
352
- func (x *MaterialUOMRequest) Reset() {
353
- *x = MaterialUOMRequest{}
354
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[3]
355
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
356
- ms.StoreMessageInfo(mi)
357
- }
358
-
359
- func (x *MaterialUOMRequest) String() string {
360
- return protoimpl.X.MessageStringOf(x)
361
- }
362
-
363
- func (*MaterialUOMRequest) ProtoMessage() {}
364
-
365
- func (x *MaterialUOMRequest) ProtoReflect() protoreflect.Message {
366
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[3]
367
- if x != nil {
368
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369
- if ms.LoadMessageInfo() == nil {
370
- ms.StoreMessageInfo(mi)
371
- }
372
- return ms
373
- }
374
- return mi.MessageOf(x)
375
- }
376
-
377
- // Deprecated: Use MaterialUOMRequest.ProtoReflect.Descriptor instead.
378
- func (*MaterialUOMRequest) Descriptor() ([]byte, []int) {
379
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{3}
380
- }
381
-
382
- func (x *MaterialUOMRequest) GetUomReferencesId() string {
383
- if x != nil {
384
- return x.UomReferencesId
385
- }
386
- return ""
387
- }
388
-
389
- func (x *MaterialUOMRequest) GetUnitConversion() string {
390
- if x != nil {
391
- return x.UnitConversion
392
- }
393
- return ""
394
- }
395
-
396
- // Request Messages
397
- type BaseMaterialRequest struct {
398
- state protoimpl.MessageState `protogen:"open.v1"`
399
- MaterialCode string `protobuf:"bytes,1,opt,name=material_code,json=materialCode,proto3" json:"material_code,omitempty"`
400
- MaterialTypeCodeRef string `protobuf:"bytes,2,opt,name=material_type_code_ref,json=materialTypeCodeRef,proto3" json:"material_type_code_ref,omitempty"`
401
- MaterialDescription string `protobuf:"bytes,3,opt,name=material_description,json=materialDescription,proto3" json:"material_description,omitempty"`
402
- MaterialCategory string `protobuf:"bytes,4,opt,name=material_category,json=materialCategory,proto3" json:"material_category,omitempty"`
403
- OldProductNumber int64 `protobuf:"varint,5,opt,name=old_product_number,json=oldProductNumber,proto3" json:"old_product_number,omitempty"`
404
- MaterialGroupRef string `protobuf:"bytes,6,opt,name=material_group_ref,json=materialGroupRef,proto3" json:"material_group_ref,omitempty"`
405
- LanguageDescription []*MaterialLanguageDescription `protobuf:"bytes,7,rep,name=language_description,json=languageDescription,proto3" json:"language_description,omitempty"`
406
- UnitOfMeasure []*MaterialUOMRequest `protobuf:"bytes,8,rep,name=unit_of_measure,json=unitOfMeasure,proto3" json:"unit_of_measure,omitempty"`
407
- CreatedBy string `protobuf:"bytes,9,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
408
- UpdatedBy string `protobuf:"bytes,10,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
409
- MaterialPlantRef string `protobuf:"bytes,11,opt,name=material_plant_ref,json=materialPlantRef,proto3" json:"material_plant_ref,omitempty"`
410
- BaseUnitOfMeasureRef string `protobuf:"bytes,12,opt,name=base_unit_of_measure_ref,json=baseUnitOfMeasureRef,proto3" json:"base_unit_of_measure_ref,omitempty"`
411
- unknownFields protoimpl.UnknownFields
412
- sizeCache protoimpl.SizeCache
413
- }
414
-
415
- func (x *BaseMaterialRequest) Reset() {
416
- *x = BaseMaterialRequest{}
417
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[4]
418
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
419
- ms.StoreMessageInfo(mi)
420
- }
421
-
422
- func (x *BaseMaterialRequest) String() string {
423
- return protoimpl.X.MessageStringOf(x)
424
- }
425
-
426
- func (*BaseMaterialRequest) ProtoMessage() {}
427
-
428
- func (x *BaseMaterialRequest) ProtoReflect() protoreflect.Message {
429
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[4]
430
- if x != nil {
431
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
432
- if ms.LoadMessageInfo() == nil {
433
- ms.StoreMessageInfo(mi)
434
- }
435
- return ms
436
- }
437
- return mi.MessageOf(x)
438
- }
439
-
440
- // Deprecated: Use BaseMaterialRequest.ProtoReflect.Descriptor instead.
441
- func (*BaseMaterialRequest) Descriptor() ([]byte, []int) {
442
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{4}
443
- }
444
-
445
- func (x *BaseMaterialRequest) GetMaterialCode() string {
446
- if x != nil {
447
- return x.MaterialCode
448
- }
449
- return ""
450
- }
451
-
452
- func (x *BaseMaterialRequest) GetMaterialTypeCodeRef() string {
453
- if x != nil {
454
- return x.MaterialTypeCodeRef
455
- }
456
- return ""
457
- }
458
-
459
- func (x *BaseMaterialRequest) GetMaterialDescription() string {
460
- if x != nil {
461
- return x.MaterialDescription
462
- }
463
- return ""
464
- }
465
-
466
- func (x *BaseMaterialRequest) GetMaterialCategory() string {
467
- if x != nil {
468
- return x.MaterialCategory
469
- }
470
- return ""
471
- }
472
-
473
- func (x *BaseMaterialRequest) GetOldProductNumber() int64 {
474
- if x != nil {
475
- return x.OldProductNumber
476
- }
477
- return 0
478
- }
479
-
480
- func (x *BaseMaterialRequest) GetMaterialGroupRef() string {
481
- if x != nil {
482
- return x.MaterialGroupRef
483
- }
484
- return ""
485
- }
486
-
487
- func (x *BaseMaterialRequest) GetLanguageDescription() []*MaterialLanguageDescription {
488
- if x != nil {
489
- return x.LanguageDescription
490
- }
491
- return nil
492
- }
493
-
494
- func (x *BaseMaterialRequest) GetUnitOfMeasure() []*MaterialUOMRequest {
495
- if x != nil {
496
- return x.UnitOfMeasure
497
- }
498
- return nil
499
- }
500
-
501
- func (x *BaseMaterialRequest) GetCreatedBy() string {
502
- if x != nil {
503
- return x.CreatedBy
504
- }
505
- return ""
506
- }
507
-
508
- func (x *BaseMaterialRequest) GetUpdatedBy() string {
509
- if x != nil {
510
- return x.UpdatedBy
511
- }
512
- return ""
513
- }
514
-
515
- func (x *BaseMaterialRequest) GetMaterialPlantRef() string {
516
- if x != nil {
517
- return x.MaterialPlantRef
518
- }
519
- return ""
520
- }
521
-
522
- func (x *BaseMaterialRequest) GetBaseUnitOfMeasureRef() string {
523
- if x != nil {
524
- return x.BaseUnitOfMeasureRef
525
- }
526
- return ""
527
- }
528
-
529
- type CreateMaterialRequest struct {
530
- state protoimpl.MessageState `protogen:"open.v1"`
531
- BaseMaterial *BaseMaterialRequest `protobuf:"bytes,1,opt,name=base_material,json=baseMaterial,proto3" json:"base_material,omitempty"`
532
- unknownFields protoimpl.UnknownFields
533
- sizeCache protoimpl.SizeCache
534
- }
535
-
536
- func (x *CreateMaterialRequest) Reset() {
537
- *x = CreateMaterialRequest{}
538
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[5]
539
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
540
- ms.StoreMessageInfo(mi)
541
- }
542
-
543
- func (x *CreateMaterialRequest) String() string {
544
- return protoimpl.X.MessageStringOf(x)
545
- }
546
-
547
- func (*CreateMaterialRequest) ProtoMessage() {}
548
-
549
- func (x *CreateMaterialRequest) ProtoReflect() protoreflect.Message {
550
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[5]
551
- if x != nil {
552
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
553
- if ms.LoadMessageInfo() == nil {
554
- ms.StoreMessageInfo(mi)
555
- }
556
- return ms
557
- }
558
- return mi.MessageOf(x)
559
- }
560
-
561
- // Deprecated: Use CreateMaterialRequest.ProtoReflect.Descriptor instead.
562
- func (*CreateMaterialRequest) Descriptor() ([]byte, []int) {
563
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{5}
564
- }
565
-
566
- func (x *CreateMaterialRequest) GetBaseMaterial() *BaseMaterialRequest {
567
- if x != nil {
568
- return x.BaseMaterial
569
- }
570
- return nil
571
- }
572
-
573
- type UpdateMaterialRequest struct {
574
- state protoimpl.MessageState `protogen:"open.v1"`
575
- ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
576
- BaseMaterial *BaseMaterialRequest `protobuf:"bytes,2,opt,name=base_material,json=baseMaterial,proto3" json:"base_material,omitempty"`
577
- unknownFields protoimpl.UnknownFields
578
- sizeCache protoimpl.SizeCache
579
- }
580
-
581
- func (x *UpdateMaterialRequest) Reset() {
582
- *x = UpdateMaterialRequest{}
583
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[6]
584
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
585
- ms.StoreMessageInfo(mi)
586
- }
587
-
588
- func (x *UpdateMaterialRequest) String() string {
589
- return protoimpl.X.MessageStringOf(x)
590
- }
591
-
592
- func (*UpdateMaterialRequest) ProtoMessage() {}
593
-
594
- func (x *UpdateMaterialRequest) ProtoReflect() protoreflect.Message {
595
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[6]
596
- if x != nil {
597
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
598
- if ms.LoadMessageInfo() == nil {
599
- ms.StoreMessageInfo(mi)
600
- }
601
- return ms
602
- }
603
- return mi.MessageOf(x)
604
- }
605
-
606
- // Deprecated: Use UpdateMaterialRequest.ProtoReflect.Descriptor instead.
607
- func (*UpdateMaterialRequest) Descriptor() ([]byte, []int) {
608
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{6}
609
- }
610
-
611
- func (x *UpdateMaterialRequest) GetReferencesId() string {
612
- if x != nil {
613
- return x.ReferencesId
614
- }
615
- return ""
616
- }
617
-
618
- func (x *UpdateMaterialRequest) GetBaseMaterial() *BaseMaterialRequest {
619
- if x != nil {
620
- return x.BaseMaterial
621
- }
622
- return nil
623
- }
624
-
625
- type DeleteMaterialRequest struct {
626
- state protoimpl.MessageState `protogen:"open.v1"`
627
- ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
628
- unknownFields protoimpl.UnknownFields
629
- sizeCache protoimpl.SizeCache
630
- }
631
-
632
- func (x *DeleteMaterialRequest) Reset() {
633
- *x = DeleteMaterialRequest{}
634
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[7]
635
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
636
- ms.StoreMessageInfo(mi)
637
- }
638
-
639
- func (x *DeleteMaterialRequest) String() string {
640
- return protoimpl.X.MessageStringOf(x)
641
- }
642
-
643
- func (*DeleteMaterialRequest) ProtoMessage() {}
644
-
645
- func (x *DeleteMaterialRequest) ProtoReflect() protoreflect.Message {
646
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[7]
647
- if x != nil {
648
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
649
- if ms.LoadMessageInfo() == nil {
650
- ms.StoreMessageInfo(mi)
651
- }
652
- return ms
653
- }
654
- return mi.MessageOf(x)
655
- }
656
-
657
- // Deprecated: Use DeleteMaterialRequest.ProtoReflect.Descriptor instead.
658
- func (*DeleteMaterialRequest) Descriptor() ([]byte, []int) {
659
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{7}
660
- }
661
-
662
- func (x *DeleteMaterialRequest) GetReferencesId() string {
663
- if x != nil {
664
- return x.ReferencesId
665
- }
666
- return ""
667
- }
668
-
669
- type GetMaterialByIdRequest struct {
670
- state protoimpl.MessageState `protogen:"open.v1"`
671
- ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
672
- unknownFields protoimpl.UnknownFields
673
- sizeCache protoimpl.SizeCache
674
- }
675
-
676
- func (x *GetMaterialByIdRequest) Reset() {
677
- *x = GetMaterialByIdRequest{}
678
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[8]
679
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
680
- ms.StoreMessageInfo(mi)
681
- }
682
-
683
- func (x *GetMaterialByIdRequest) String() string {
684
- return protoimpl.X.MessageStringOf(x)
685
- }
686
-
687
- func (*GetMaterialByIdRequest) ProtoMessage() {}
688
-
689
- func (x *GetMaterialByIdRequest) ProtoReflect() protoreflect.Message {
690
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[8]
691
- if x != nil {
692
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
693
- if ms.LoadMessageInfo() == nil {
694
- ms.StoreMessageInfo(mi)
695
- }
696
- return ms
697
- }
698
- return mi.MessageOf(x)
699
- }
700
-
701
- // Deprecated: Use GetMaterialByIdRequest.ProtoReflect.Descriptor instead.
702
- func (*GetMaterialByIdRequest) Descriptor() ([]byte, []int) {
703
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{8}
704
- }
705
-
706
- func (x *GetMaterialByIdRequest) GetReferencesId() string {
707
- if x != nil {
708
- return x.ReferencesId
709
- }
710
- return ""
711
- }
712
-
713
- type GetListMaterialRequest struct {
714
- state protoimpl.MessageState `protogen:"open.v1"`
715
- Pagination *meta.PaginationRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
716
- Query *meta.FilterRequest `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
717
- unknownFields protoimpl.UnknownFields
718
- sizeCache protoimpl.SizeCache
719
- }
720
-
721
- func (x *GetListMaterialRequest) Reset() {
722
- *x = GetListMaterialRequest{}
723
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[9]
724
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
725
- ms.StoreMessageInfo(mi)
726
- }
727
-
728
- func (x *GetListMaterialRequest) String() string {
729
- return protoimpl.X.MessageStringOf(x)
730
- }
731
-
732
- func (*GetListMaterialRequest) ProtoMessage() {}
733
-
734
- func (x *GetListMaterialRequest) ProtoReflect() protoreflect.Message {
735
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[9]
736
- if x != nil {
737
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
738
- if ms.LoadMessageInfo() == nil {
739
- ms.StoreMessageInfo(mi)
740
- }
741
- return ms
742
- }
743
- return mi.MessageOf(x)
744
- }
745
-
746
- // Deprecated: Use GetListMaterialRequest.ProtoReflect.Descriptor instead.
747
- func (*GetListMaterialRequest) Descriptor() ([]byte, []int) {
748
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{9}
749
- }
750
-
751
- func (x *GetListMaterialRequest) GetPagination() *meta.PaginationRequest {
752
- if x != nil {
753
- return x.Pagination
754
- }
755
- return nil
756
- }
757
-
758
- func (x *GetListMaterialRequest) GetQuery() *meta.FilterRequest {
759
- if x != nil {
760
- return x.Query
761
- }
762
- return nil
763
- }
764
-
765
- // Response Messages
766
- type CreateMaterialResponse struct {
767
- state protoimpl.MessageState `protogen:"open.v1"`
768
- Material *Material `protobuf:"bytes,1,opt,name=material,proto3" json:"material,omitempty"`
769
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
770
- unknownFields protoimpl.UnknownFields
771
- sizeCache protoimpl.SizeCache
772
- }
773
-
774
- func (x *CreateMaterialResponse) Reset() {
775
- *x = CreateMaterialResponse{}
776
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[10]
777
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
778
- ms.StoreMessageInfo(mi)
779
- }
780
-
781
- func (x *CreateMaterialResponse) String() string {
782
- return protoimpl.X.MessageStringOf(x)
783
- }
784
-
785
- func (*CreateMaterialResponse) ProtoMessage() {}
786
-
787
- func (x *CreateMaterialResponse) ProtoReflect() protoreflect.Message {
788
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[10]
789
- if x != nil {
790
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
791
- if ms.LoadMessageInfo() == nil {
792
- ms.StoreMessageInfo(mi)
793
- }
794
- return ms
795
- }
796
- return mi.MessageOf(x)
797
- }
798
-
799
- // Deprecated: Use CreateMaterialResponse.ProtoReflect.Descriptor instead.
800
- func (*CreateMaterialResponse) Descriptor() ([]byte, []int) {
801
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{10}
802
- }
803
-
804
- func (x *CreateMaterialResponse) GetMaterial() *Material {
805
- if x != nil {
806
- return x.Material
807
- }
808
- return nil
809
- }
810
-
811
- func (x *CreateMaterialResponse) GetMeta() *meta.Meta {
812
- if x != nil {
813
- return x.Meta
814
- }
815
- return nil
816
- }
817
-
818
- type UpdateMaterialResponse struct {
819
- state protoimpl.MessageState `protogen:"open.v1"`
820
- Material *Material `protobuf:"bytes,1,opt,name=material,proto3" json:"material,omitempty"`
821
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
822
- unknownFields protoimpl.UnknownFields
823
- sizeCache protoimpl.SizeCache
824
- }
825
-
826
- func (x *UpdateMaterialResponse) Reset() {
827
- *x = UpdateMaterialResponse{}
828
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[11]
829
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
830
- ms.StoreMessageInfo(mi)
831
- }
832
-
833
- func (x *UpdateMaterialResponse) String() string {
834
- return protoimpl.X.MessageStringOf(x)
835
- }
836
-
837
- func (*UpdateMaterialResponse) ProtoMessage() {}
838
-
839
- func (x *UpdateMaterialResponse) ProtoReflect() protoreflect.Message {
840
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[11]
841
- if x != nil {
842
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
843
- if ms.LoadMessageInfo() == nil {
844
- ms.StoreMessageInfo(mi)
845
- }
846
- return ms
847
- }
848
- return mi.MessageOf(x)
849
- }
850
-
851
- // Deprecated: Use UpdateMaterialResponse.ProtoReflect.Descriptor instead.
852
- func (*UpdateMaterialResponse) Descriptor() ([]byte, []int) {
853
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{11}
854
- }
855
-
856
- func (x *UpdateMaterialResponse) GetMaterial() *Material {
857
- if x != nil {
858
- return x.Material
859
- }
860
- return nil
861
- }
862
-
863
- func (x *UpdateMaterialResponse) GetMeta() *meta.Meta {
864
- if x != nil {
865
- return x.Meta
866
- }
867
- return nil
868
- }
869
-
870
- type DeleteMaterialResponse struct {
871
- state protoimpl.MessageState `protogen:"open.v1"`
872
- ReferencesId string `protobuf:"bytes,1,opt,name=references_id,json=referencesId,proto3" json:"references_id,omitempty"`
873
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
874
- unknownFields protoimpl.UnknownFields
875
- sizeCache protoimpl.SizeCache
876
- }
877
-
878
- func (x *DeleteMaterialResponse) Reset() {
879
- *x = DeleteMaterialResponse{}
880
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[12]
881
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
882
- ms.StoreMessageInfo(mi)
883
- }
884
-
885
- func (x *DeleteMaterialResponse) String() string {
886
- return protoimpl.X.MessageStringOf(x)
887
- }
888
-
889
- func (*DeleteMaterialResponse) ProtoMessage() {}
890
-
891
- func (x *DeleteMaterialResponse) ProtoReflect() protoreflect.Message {
892
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[12]
893
- if x != nil {
894
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
895
- if ms.LoadMessageInfo() == nil {
896
- ms.StoreMessageInfo(mi)
897
- }
898
- return ms
899
- }
900
- return mi.MessageOf(x)
901
- }
902
-
903
- // Deprecated: Use DeleteMaterialResponse.ProtoReflect.Descriptor instead.
904
- func (*DeleteMaterialResponse) Descriptor() ([]byte, []int) {
905
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{12}
906
- }
907
-
908
- func (x *DeleteMaterialResponse) GetReferencesId() string {
909
- if x != nil {
910
- return x.ReferencesId
911
- }
912
- return ""
913
- }
914
-
915
- func (x *DeleteMaterialResponse) GetMeta() *meta.Meta {
916
- if x != nil {
917
- return x.Meta
918
- }
919
- return nil
920
- }
921
-
922
- type GetMaterialByIdResponse struct {
923
- state protoimpl.MessageState `protogen:"open.v1"`
924
- Material *Material `protobuf:"bytes,1,opt,name=material,proto3" json:"material,omitempty"`
925
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
926
- unknownFields protoimpl.UnknownFields
927
- sizeCache protoimpl.SizeCache
928
- }
929
-
930
- func (x *GetMaterialByIdResponse) Reset() {
931
- *x = GetMaterialByIdResponse{}
932
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[13]
933
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
934
- ms.StoreMessageInfo(mi)
935
- }
936
-
937
- func (x *GetMaterialByIdResponse) String() string {
938
- return protoimpl.X.MessageStringOf(x)
939
- }
940
-
941
- func (*GetMaterialByIdResponse) ProtoMessage() {}
942
-
943
- func (x *GetMaterialByIdResponse) ProtoReflect() protoreflect.Message {
944
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[13]
945
- if x != nil {
946
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
947
- if ms.LoadMessageInfo() == nil {
948
- ms.StoreMessageInfo(mi)
949
- }
950
- return ms
951
- }
952
- return mi.MessageOf(x)
953
- }
954
-
955
- // Deprecated: Use GetMaterialByIdResponse.ProtoReflect.Descriptor instead.
956
- func (*GetMaterialByIdResponse) Descriptor() ([]byte, []int) {
957
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{13}
958
- }
959
-
960
- func (x *GetMaterialByIdResponse) GetMaterial() *Material {
961
- if x != nil {
962
- return x.Material
963
- }
964
- return nil
965
- }
966
-
967
- func (x *GetMaterialByIdResponse) GetMeta() *meta.Meta {
968
- if x != nil {
969
- return x.Meta
970
- }
971
- return nil
972
- }
973
-
974
- type GetListMaterialResponse struct {
975
- state protoimpl.MessageState `protogen:"open.v1"`
976
- Materials []*Material `protobuf:"bytes,1,rep,name=materials,proto3" json:"materials,omitempty"`
977
- Meta *meta.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
978
- unknownFields protoimpl.UnknownFields
979
- sizeCache protoimpl.SizeCache
980
- }
981
-
982
- func (x *GetListMaterialResponse) Reset() {
983
- *x = GetListMaterialResponse{}
984
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[14]
985
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
986
- ms.StoreMessageInfo(mi)
987
- }
988
-
989
- func (x *GetListMaterialResponse) String() string {
990
- return protoimpl.X.MessageStringOf(x)
991
- }
992
-
993
- func (*GetListMaterialResponse) ProtoMessage() {}
994
-
995
- func (x *GetListMaterialResponse) ProtoReflect() protoreflect.Message {
996
- mi := &file_prisca_v1_core_material_material_proto_msgTypes[14]
997
- if x != nil {
998
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
999
- if ms.LoadMessageInfo() == nil {
1000
- ms.StoreMessageInfo(mi)
1001
- }
1002
- return ms
1003
- }
1004
- return mi.MessageOf(x)
1005
- }
1006
-
1007
- // Deprecated: Use GetListMaterialResponse.ProtoReflect.Descriptor instead.
1008
- func (*GetListMaterialResponse) Descriptor() ([]byte, []int) {
1009
- return file_prisca_v1_core_material_material_proto_rawDescGZIP(), []int{14}
1010
- }
1011
-
1012
- func (x *GetListMaterialResponse) GetMaterials() []*Material {
1013
- if x != nil {
1014
- return x.Materials
1015
- }
1016
- return nil
1017
- }
1018
-
1019
- func (x *GetListMaterialResponse) GetMeta() *meta.Meta {
1020
- if x != nil {
1021
- return x.Meta
1022
- }
1023
- return nil
1024
- }
1025
-
1026
- var File_prisca_v1_core_material_material_proto protoreflect.FileDescriptor
1027
-
1028
- var file_prisca_v1_core_material_material_proto_rawDesc = []byte{
1029
- 0x0a, 0x26, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
1030
- 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69,
1031
- 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61,
1032
- 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2f,
1033
- 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x70, 0x72, 0x69, 0x73,
1034
- 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72,
1035
- 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1036
- 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x70, 0x72,
1037
- 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x61, 0x74,
1038
- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2f, 0x6d, 0x61, 0x74, 0x65,
1039
- 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1040
- 0x1a, 0x30, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65,
1041
- 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x77,
1042
- 0x6f, 0x72, 0x6b, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
1043
- 0x74, 0x6f, 0x1a, 0x3c, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
1044
- 0x72, 0x65, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x61, 0x73, 0x75,
1045
- 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6d,
1046
- 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1047
- 0x22, 0xfc, 0x07, 0x0a, 0x08, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x0e, 0x0a,
1048
- 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a,
1049
- 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02,
1050
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x6f,
1051
- 0x64, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x64,
1052
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
1053
- 0x52, 0x13, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
1054
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1055
- 0x6c, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
1056
- 0x52, 0x10, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
1057
- 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
1058
- 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10,
1059
- 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
1060
- 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x6f,
1061
- 0x75, 0x70, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x61,
1062
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x66, 0x12, 0x23,
1063
- 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18,
1064
- 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65,
1065
- 0x73, 0x49, 0x64, 0x12, 0x4f, 0x0a, 0x14, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f,
1066
- 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x03, 0x28,
1067
- 0x0b, 0x32, 0x1c, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x61, 0x6e, 0x67,
1068
- 0x75, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
1069
- 0x13, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
1070
- 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f,
1071
- 0x62, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
1072
- 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62,
1073
- 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
1074
- 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
1075
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
1076
- 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
1077
- 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
1078
- 0x12, 0x36, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66,
1079
- 0x5f, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x0d, 0x20, 0x01,
1080
- 0x28, 0x09, 0x52, 0x14, 0x62, 0x61, 0x73, 0x65, 0x55, 0x6e, 0x69, 0x74, 0x4f, 0x66, 0x4d, 0x65,
1081
- 0x61, 0x73, 0x75, 0x72, 0x65, 0x52, 0x65, 0x66, 0x12, 0x44, 0x0a, 0x14, 0x62, 0x61, 0x73, 0x65,
1082
- 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65,
1083
- 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x4f, 0x66, 0x4d,
1084
- 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x11, 0x62, 0x61, 0x73, 0x65, 0x55, 0x6e,
1085
- 0x69, 0x74, 0x4f, 0x66, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x88, 0x01, 0x01, 0x12, 0x34,
1086
- 0x0a, 0x0f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72,
1087
- 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
1088
- 0x61, 0x6c, 0x55, 0x4f, 0x4d, 0x52, 0x0d, 0x75, 0x6e, 0x69, 0x74, 0x4f, 0x66, 0x4d, 0x65, 0x61,
1089
- 0x73, 0x75, 0x72, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
1090
- 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x4d, 0x61,
1091
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x48, 0x01, 0x52, 0x0c, 0x6d, 0x61,
1092
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a,
1093
- 0x0e, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18,
1094
- 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
1095
- 0x47, 0x72, 0x6f, 0x75, 0x70, 0x48, 0x02, 0x52, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1096
- 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61, 0x74,
1097
- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x18,
1098
- 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x50,
1099
- 0x6c, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x12, 0x39, 0x0a, 0x0e, 0x6d, 0x61, 0x74, 0x65, 0x72,
1100
- 0x69, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32,
1101
- 0x0d, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x03,
1102
- 0x52, 0x0d, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x88,
1103
- 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74,
1104
- 0x79, 0x70, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6d,
1105
- 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x66, 0x42, 0x17,
1106
- 0x0a, 0x15, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f,
1107
- 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x6d, 0x61, 0x74, 0x65,
1108
- 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6d, 0x61,
1109
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x11, 0x0a, 0x0f,
1110
- 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x22,
1111
- 0x4f, 0x0a, 0x1b, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x61, 0x6e, 0x67, 0x75,
1112
- 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a,
1113
- 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1114
- 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69,
1115
- 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
1116
- 0x22, 0x82, 0x01, 0x0a, 0x0b, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x55, 0x4f, 0x4d,
1117
- 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18,
1118
- 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x49,
1119
- 0x64, 0x12, 0x15, 0x0a, 0x06, 0x75, 0x6f, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
1120
- 0x03, 0x52, 0x05, 0x75, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x69, 0x74,
1121
- 0x5f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
1122
- 0x09, 0x52, 0x0e, 0x75, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
1123
- 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x6e, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
1124
- 0x04, 0x75, 0x6e, 0x69, 0x74, 0x22, 0x69, 0x0a, 0x12, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1125
- 0x6c, 0x55, 0x4f, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x75,
1126
- 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64,
1127
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x75, 0x6f, 0x6d, 0x52, 0x65, 0x66, 0x65, 0x72,
1128
- 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x75, 0x6e, 0x69, 0x74, 0x5f,
1129
- 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1130
- 0x52, 0x0e, 0x75, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
1131
- 0x22, 0xdd, 0x04, 0x0a, 0x13, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1132
- 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x74, 0x65,
1133
- 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
1134
- 0x0c, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x33, 0x0a,
1135
- 0x16, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x63,
1136
- 0x6f, 0x64, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d,
1137
- 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x52,
1138
- 0x65, 0x66, 0x12, 0x31, 0x0a, 0x14, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x64,
1139
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
1140
- 0x52, 0x13, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
1141
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1142
- 0x6c, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
1143
- 0x52, 0x10, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f,
1144
- 0x72, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
1145
- 0x74, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10,
1146
- 0x6f, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
1147
- 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x67, 0x72, 0x6f,
1148
- 0x75, 0x70, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x61,
1149
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x66, 0x12, 0x4f,
1150
- 0x0a, 0x14, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72,
1151
- 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x4d,
1152
- 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x44,
1153
- 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6c, 0x61, 0x6e, 0x67,
1154
- 0x75, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1155
- 0x3b, 0x0a, 0x0f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x61, 0x73, 0x75,
1156
- 0x72, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72,
1157
- 0x69, 0x61, 0x6c, 0x55, 0x4f, 0x4d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0d, 0x75,
1158
- 0x6e, 0x69, 0x74, 0x4f, 0x66, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
1159
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
1160
- 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
1161
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
1162
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61,
1163
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x66,
1164
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
1165
- 0x50, 0x6c, 0x61, 0x6e, 0x74, 0x52, 0x65, 0x66, 0x12, 0x36, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65,
1166
- 0x5f, 0x75, 0x6e, 0x69, 0x74, 0x5f, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65,
1167
- 0x5f, 0x72, 0x65, 0x66, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x62, 0x61, 0x73, 0x65,
1168
- 0x55, 0x6e, 0x69, 0x74, 0x4f, 0x66, 0x4d, 0x65, 0x61, 0x73, 0x75, 0x72, 0x65, 0x52, 0x65, 0x66,
1169
- 0x22, 0x52, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
1170
- 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39, 0x0a, 0x0d, 0x62, 0x61, 0x73,
1171
- 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1172
- 0x32, 0x14, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52,
1173
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0c, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x61, 0x74, 0x65,
1174
- 0x72, 0x69, 0x61, 0x6c, 0x22, 0x77, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61,
1175
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a,
1176
- 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01,
1177
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73,
1178
- 0x49, 0x64, 0x12, 0x39, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x65, 0x72,
1179
- 0x69, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x42, 0x61, 0x73, 0x65,
1180
- 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52,
1181
- 0x0c, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x22, 0x3c, 0x0a,
1182
- 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52,
1183
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
1184
- 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72,
1185
- 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x16, 0x47,
1186
- 0x65, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65,
1187
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
1188
- 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65,
1189
- 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x22, 0x9e, 0x01, 0x0a, 0x16, 0x47,
1190
- 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65,
1191
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74,
1192
- 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x70, 0x72, 0x69, 0x73,
1193
- 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74,
1194
- 0x61, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
1195
- 0x65, 0x73, 0x74, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
1196
- 0x3a, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24,
1197
- 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61,
1198
- 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
1199
- 0x75, 0x65, 0x73, 0x74, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x70, 0x0a, 0x16, 0x43,
1200
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73,
1201
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1202
- 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69,
1203
- 0x61, 0x6c, 0x52, 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x2f, 0x0a, 0x04,
1204
- 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69,
1205
- 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65,
1206
- 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x70, 0x0a,
1207
- 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52,
1208
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72,
1209
- 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x74, 0x65,
1210
- 0x72, 0x69, 0x61, 0x6c, 0x52, 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x2f,
1211
- 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70,
1212
- 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e,
1213
- 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22,
1214
- 0x6e, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1215
- 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66,
1216
- 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1217
- 0x52, 0x0c, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x49, 0x64, 0x12, 0x2f,
1218
- 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70,
1219
- 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e,
1220
- 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22,
1221
- 0x71, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79,
1222
- 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x08, 0x6d, 0x61,
1223
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x4d,
1224
- 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x08, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1225
- 0x6c, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1226
- 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31, 0x2e, 0x67, 0x6c, 0x6f, 0x62,
1227
- 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65,
1228
- 0x74, 0x61, 0x22, 0x73, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74,
1229
- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a,
1230
- 0x09, 0x6d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
1231
- 0x32, 0x09, 0x2e, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x09, 0x6d, 0x61, 0x74,
1232
- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02,
1233
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x63, 0x61, 0x2e, 0x76, 0x31,
1234
- 0x2e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x65, 0x74,
1235
- 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x32, 0xe7, 0x02, 0x0a, 0x0f, 0x4d, 0x61, 0x74, 0x65,
1236
- 0x72, 0x69, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x43,
1237
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x16, 0x2e,
1238
- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65,
1239
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x61,
1240
- 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41,
1241
- 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
1242
- 0x12, 0x16, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61,
1243
- 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
1244
- 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1245
- 0x65, 0x12, 0x41, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72,
1246
- 0x69, 0x61, 0x6c, 0x12, 0x16, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65,
1247
- 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x44, 0x65,
1248
- 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70,
1249
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72,
1250
- 0x69, 0x61, 0x6c, 0x42, 0x79, 0x49, 0x64, 0x12, 0x17, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x74,
1251
- 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1252
- 0x1a, 0x18, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x42, 0x79,
1253
- 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x10, 0x47, 0x65,
1254
- 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x12, 0x17,
1255
- 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c,
1256
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73,
1257
- 0x74, 0x4d, 0x61, 0x74, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1258
- 0x65, 0x42, 0x50, 0x5a, 0x4e, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
1259
- 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x5f, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x63,
1260
- 0x61, 0x2d, 0x76, 0x32, 0x2d, 0x63, 0x6f, 0x72, 0x65, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
1261
- 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x69, 0x73,
1262
- 0x63, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x6d, 0x61, 0x74, 0x65, 0x72,
1263
- 0x69, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1264
- }
1265
-
1266
- var (
1267
- file_prisca_v1_core_material_material_proto_rawDescOnce sync.Once
1268
- file_prisca_v1_core_material_material_proto_rawDescData = file_prisca_v1_core_material_material_proto_rawDesc
1269
- )
1270
-
1271
- func file_prisca_v1_core_material_material_proto_rawDescGZIP() []byte {
1272
- file_prisca_v1_core_material_material_proto_rawDescOnce.Do(func() {
1273
- file_prisca_v1_core_material_material_proto_rawDescData = protoimpl.X.CompressGZIP(file_prisca_v1_core_material_material_proto_rawDescData)
1274
- })
1275
- return file_prisca_v1_core_material_material_proto_rawDescData
1276
- }
1277
-
1278
- var file_prisca_v1_core_material_material_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
1279
- var file_prisca_v1_core_material_material_proto_goTypes = []any{
1280
- (*Material)(nil), // 0: Material
1281
- (*MaterialLanguageDescription)(nil), // 1: MaterialLanguageDescription
1282
- (*MaterialUOM)(nil), // 2: MaterialUOM
1283
- (*MaterialUOMRequest)(nil), // 3: MaterialUOMRequest
1284
- (*BaseMaterialRequest)(nil), // 4: BaseMaterialRequest
1285
- (*CreateMaterialRequest)(nil), // 5: CreateMaterialRequest
1286
- (*UpdateMaterialRequest)(nil), // 6: UpdateMaterialRequest
1287
- (*DeleteMaterialRequest)(nil), // 7: DeleteMaterialRequest
1288
- (*GetMaterialByIdRequest)(nil), // 8: GetMaterialByIdRequest
1289
- (*GetListMaterialRequest)(nil), // 9: GetListMaterialRequest
1290
- (*CreateMaterialResponse)(nil), // 10: CreateMaterialResponse
1291
- (*UpdateMaterialResponse)(nil), // 11: UpdateMaterialResponse
1292
- (*DeleteMaterialResponse)(nil), // 12: DeleteMaterialResponse
1293
- (*GetMaterialByIdResponse)(nil), // 13: GetMaterialByIdResponse
1294
- (*GetListMaterialResponse)(nil), // 14: GetListMaterialResponse
1295
- (*unit_of_measurement.UnitOfMeasure)(nil), // 15: UnitOfMeasure
1296
- (*material_type.MaterialType)(nil), // 16: MaterialType
1297
- (*material_group.MaterialGroup)(nil), // 17: MaterialGroup
1298
- (*work_location.WorkLocation)(nil), // 18: WorkLocation
1299
- (*meta.PaginationRequest)(nil), // 19: prisca.v1.global.meta.PaginationRequest
1300
- (*meta.FilterRequest)(nil), // 20: prisca.v1.global.meta.FilterRequest
1301
- (*meta.Meta)(nil), // 21: prisca.v1.global.meta.Meta
1302
- }
1303
- var file_prisca_v1_core_material_material_proto_depIdxs = []int32{
1304
- 1, // 0: Material.language_description:type_name -> MaterialLanguageDescription
1305
- 15, // 1: Material.base_unit_of_measure:type_name -> UnitOfMeasure
1306
- 2, // 2: Material.unit_of_measure:type_name -> MaterialUOM
1307
- 16, // 3: Material.material_type:type_name -> MaterialType
1308
- 17, // 4: Material.material_group:type_name -> MaterialGroup
1309
- 18, // 5: Material.material_plant:type_name -> WorkLocation
1310
- 1, // 6: BaseMaterialRequest.language_description:type_name -> MaterialLanguageDescription
1311
- 3, // 7: BaseMaterialRequest.unit_of_measure:type_name -> MaterialUOMRequest
1312
- 4, // 8: CreateMaterialRequest.base_material:type_name -> BaseMaterialRequest
1313
- 4, // 9: UpdateMaterialRequest.base_material:type_name -> BaseMaterialRequest
1314
- 19, // 10: GetListMaterialRequest.pagination:type_name -> prisca.v1.global.meta.PaginationRequest
1315
- 20, // 11: GetListMaterialRequest.query:type_name -> prisca.v1.global.meta.FilterRequest
1316
- 0, // 12: CreateMaterialResponse.material:type_name -> Material
1317
- 21, // 13: CreateMaterialResponse.meta:type_name -> prisca.v1.global.meta.Meta
1318
- 0, // 14: UpdateMaterialResponse.material:type_name -> Material
1319
- 21, // 15: UpdateMaterialResponse.meta:type_name -> prisca.v1.global.meta.Meta
1320
- 21, // 16: DeleteMaterialResponse.meta:type_name -> prisca.v1.global.meta.Meta
1321
- 0, // 17: GetMaterialByIdResponse.material:type_name -> Material
1322
- 21, // 18: GetMaterialByIdResponse.meta:type_name -> prisca.v1.global.meta.Meta
1323
- 0, // 19: GetListMaterialResponse.materials:type_name -> Material
1324
- 21, // 20: GetListMaterialResponse.meta:type_name -> prisca.v1.global.meta.Meta
1325
- 5, // 21: MaterialService.CreateMaterial:input_type -> CreateMaterialRequest
1326
- 6, // 22: MaterialService.UpdateMaterial:input_type -> UpdateMaterialRequest
1327
- 7, // 23: MaterialService.DeleteMaterial:input_type -> DeleteMaterialRequest
1328
- 8, // 24: MaterialService.GetMaterialById:input_type -> GetMaterialByIdRequest
1329
- 9, // 25: MaterialService.GetListMaterials:input_type -> GetListMaterialRequest
1330
- 10, // 26: MaterialService.CreateMaterial:output_type -> CreateMaterialResponse
1331
- 11, // 27: MaterialService.UpdateMaterial:output_type -> UpdateMaterialResponse
1332
- 12, // 28: MaterialService.DeleteMaterial:output_type -> DeleteMaterialResponse
1333
- 13, // 29: MaterialService.GetMaterialById:output_type -> GetMaterialByIdResponse
1334
- 14, // 30: MaterialService.GetListMaterials:output_type -> GetListMaterialResponse
1335
- 26, // [26:31] is the sub-list for method output_type
1336
- 21, // [21:26] is the sub-list for method input_type
1337
- 21, // [21:21] is the sub-list for extension type_name
1338
- 21, // [21:21] is the sub-list for extension extendee
1339
- 0, // [0:21] is the sub-list for field type_name
1340
- }
1341
-
1342
- func init() { file_prisca_v1_core_material_material_proto_init() }
1343
- func file_prisca_v1_core_material_material_proto_init() {
1344
- if File_prisca_v1_core_material_material_proto != nil {
1345
- return
1346
- }
1347
- file_prisca_v1_core_material_material_proto_msgTypes[0].OneofWrappers = []any{}
1348
- type x struct{}
1349
- out := protoimpl.TypeBuilder{
1350
- File: protoimpl.DescBuilder{
1351
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1352
- RawDescriptor: file_prisca_v1_core_material_material_proto_rawDesc,
1353
- NumEnums: 0,
1354
- NumMessages: 15,
1355
- NumExtensions: 0,
1356
- NumServices: 1,
1357
- },
1358
- GoTypes: file_prisca_v1_core_material_material_proto_goTypes,
1359
- DependencyIndexes: file_prisca_v1_core_material_material_proto_depIdxs,
1360
- MessageInfos: file_prisca_v1_core_material_material_proto_msgTypes,
1361
- }.Build()
1362
- File_prisca_v1_core_material_material_proto = out.File
1363
- file_prisca_v1_core_material_material_proto_rawDesc = nil
1364
- file_prisca_v1_core_material_material_proto_goTypes = nil
1365
- file_prisca_v1_core_material_material_proto_depIdxs = nil
1366
- }