@aldiokta/protocgen 1.0.20 → 1.0.22

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