@agoric/cosmos 0.34.2-dev-eb7e9eb.0 → 0.35.0-u11.0

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.
@@ -120,141 +120,6 @@ func (m *QueryDataResponse) GetValue() string {
120
120
  return ""
121
121
  }
122
122
 
123
- // QueryCapDataRequest contains a path and formatting configuration.
124
- type QueryCapDataRequest struct {
125
- Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path" yaml:"path"`
126
- // mediaType must be an actual media type in the registry at
127
- // https://www.iana.org/assignments/media-types/media-types.xhtml
128
- // or a special value that does not conflict with the media type syntax.
129
- // The only valid value is "JSON Lines", which is also the default.
130
- MediaType string `protobuf:"bytes,2,opt,name=media_type,json=mediaType,proto3" json:"mediaType" yaml:"mediaType"`
131
- // itemFormat, if present, must be the special value "flat" to indicate that
132
- // the deep structure of each item should be flattened into a single level
133
- // with kebab-case keys (e.g., `{ "metrics": { "min": 0, "max": 88 } }` as
134
- // `{ "metrics-min": 0, "metrics-max": 88 }`).
135
- ItemFormat string `protobuf:"bytes,3,opt,name=item_format,json=itemFormat,proto3" json:"itemFormat" yaml:"itemFormat"`
136
- // remotableValueFormat indicates how to transform references to opaque but
137
- // distinguishable Remotables into readable embedded representations.
138
- // * "object" represents each Remotable as an `{ id, allegedName }` object, e.g. `{ "id": "board007", "allegedName": "IST brand" }`.
139
- // * "string" represents each Remotable as a string with bracket-wrapped contents including its alleged name and id, e.g. "[Alleged: IST brand <board007>]".
140
- RemotableValueFormat string `protobuf:"bytes,10,opt,name=remotable_value_format,json=remotableValueFormat,proto3" json:"remotableValueFormat" yaml:"remotableValueFormat"`
141
- }
142
-
143
- func (m *QueryCapDataRequest) Reset() { *m = QueryCapDataRequest{} }
144
- func (m *QueryCapDataRequest) String() string { return proto.CompactTextString(m) }
145
- func (*QueryCapDataRequest) ProtoMessage() {}
146
- func (*QueryCapDataRequest) Descriptor() ([]byte, []int) {
147
- return fileDescriptor_a26d6d1a170e94ae, []int{2}
148
- }
149
- func (m *QueryCapDataRequest) XXX_Unmarshal(b []byte) error {
150
- return m.Unmarshal(b)
151
- }
152
- func (m *QueryCapDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
153
- if deterministic {
154
- return xxx_messageInfo_QueryCapDataRequest.Marshal(b, m, deterministic)
155
- } else {
156
- b = b[:cap(b)]
157
- n, err := m.MarshalToSizedBuffer(b)
158
- if err != nil {
159
- return nil, err
160
- }
161
- return b[:n], nil
162
- }
163
- }
164
- func (m *QueryCapDataRequest) XXX_Merge(src proto.Message) {
165
- xxx_messageInfo_QueryCapDataRequest.Merge(m, src)
166
- }
167
- func (m *QueryCapDataRequest) XXX_Size() int {
168
- return m.Size()
169
- }
170
- func (m *QueryCapDataRequest) XXX_DiscardUnknown() {
171
- xxx_messageInfo_QueryCapDataRequest.DiscardUnknown(m)
172
- }
173
-
174
- var xxx_messageInfo_QueryCapDataRequest proto.InternalMessageInfo
175
-
176
- func (m *QueryCapDataRequest) GetPath() string {
177
- if m != nil {
178
- return m.Path
179
- }
180
- return ""
181
- }
182
-
183
- func (m *QueryCapDataRequest) GetMediaType() string {
184
- if m != nil {
185
- return m.MediaType
186
- }
187
- return ""
188
- }
189
-
190
- func (m *QueryCapDataRequest) GetItemFormat() string {
191
- if m != nil {
192
- return m.ItemFormat
193
- }
194
- return ""
195
- }
196
-
197
- func (m *QueryCapDataRequest) GetRemotableValueFormat() string {
198
- if m != nil {
199
- return m.RemotableValueFormat
200
- }
201
- return ""
202
- }
203
-
204
- // QueryCapDataResponse represents the result with the requested formatting,
205
- // reserving space for future metadata such as media type.
206
- type QueryCapDataResponse struct {
207
- BlockHeight string `protobuf:"bytes,1,opt,name=block_height,json=blockHeight,proto3" json:"blockHeight" yaml:"blockHeight"`
208
- Value string `protobuf:"bytes,10,opt,name=value,proto3" json:"value" yaml:"value"`
209
- }
210
-
211
- func (m *QueryCapDataResponse) Reset() { *m = QueryCapDataResponse{} }
212
- func (m *QueryCapDataResponse) String() string { return proto.CompactTextString(m) }
213
- func (*QueryCapDataResponse) ProtoMessage() {}
214
- func (*QueryCapDataResponse) Descriptor() ([]byte, []int) {
215
- return fileDescriptor_a26d6d1a170e94ae, []int{3}
216
- }
217
- func (m *QueryCapDataResponse) XXX_Unmarshal(b []byte) error {
218
- return m.Unmarshal(b)
219
- }
220
- func (m *QueryCapDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
221
- if deterministic {
222
- return xxx_messageInfo_QueryCapDataResponse.Marshal(b, m, deterministic)
223
- } else {
224
- b = b[:cap(b)]
225
- n, err := m.MarshalToSizedBuffer(b)
226
- if err != nil {
227
- return nil, err
228
- }
229
- return b[:n], nil
230
- }
231
- }
232
- func (m *QueryCapDataResponse) XXX_Merge(src proto.Message) {
233
- xxx_messageInfo_QueryCapDataResponse.Merge(m, src)
234
- }
235
- func (m *QueryCapDataResponse) XXX_Size() int {
236
- return m.Size()
237
- }
238
- func (m *QueryCapDataResponse) XXX_DiscardUnknown() {
239
- xxx_messageInfo_QueryCapDataResponse.DiscardUnknown(m)
240
- }
241
-
242
- var xxx_messageInfo_QueryCapDataResponse proto.InternalMessageInfo
243
-
244
- func (m *QueryCapDataResponse) GetBlockHeight() string {
245
- if m != nil {
246
- return m.BlockHeight
247
- }
248
- return ""
249
- }
250
-
251
- func (m *QueryCapDataResponse) GetValue() string {
252
- if m != nil {
253
- return m.Value
254
- }
255
- return ""
256
- }
257
-
258
123
  // QueryChildrenRequest is the vstorage path children query.
259
124
  type QueryChildrenRequest struct {
260
125
  Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path" yaml:"path"`
@@ -265,7 +130,7 @@ func (m *QueryChildrenRequest) Reset() { *m = QueryChildrenRequest{} }
265
130
  func (m *QueryChildrenRequest) String() string { return proto.CompactTextString(m) }
266
131
  func (*QueryChildrenRequest) ProtoMessage() {}
267
132
  func (*QueryChildrenRequest) Descriptor() ([]byte, []int) {
268
- return fileDescriptor_a26d6d1a170e94ae, []int{4}
133
+ return fileDescriptor_a26d6d1a170e94ae, []int{2}
269
134
  }
270
135
  func (m *QueryChildrenRequest) XXX_Unmarshal(b []byte) error {
271
136
  return m.Unmarshal(b)
@@ -318,7 +183,7 @@ func (m *QueryChildrenResponse) Reset() { *m = QueryChildrenResponse{} }
318
183
  func (m *QueryChildrenResponse) String() string { return proto.CompactTextString(m) }
319
184
  func (*QueryChildrenResponse) ProtoMessage() {}
320
185
  func (*QueryChildrenResponse) Descriptor() ([]byte, []int) {
321
- return fileDescriptor_a26d6d1a170e94ae, []int{5}
186
+ return fileDescriptor_a26d6d1a170e94ae, []int{3}
322
187
  }
323
188
  func (m *QueryChildrenResponse) XXX_Unmarshal(b []byte) error {
324
189
  return m.Unmarshal(b)
@@ -364,8 +229,6 @@ func (m *QueryChildrenResponse) GetPagination() *query.PageResponse {
364
229
  func init() {
365
230
  proto.RegisterType((*QueryDataRequest)(nil), "agoric.vstorage.QueryDataRequest")
366
231
  proto.RegisterType((*QueryDataResponse)(nil), "agoric.vstorage.QueryDataResponse")
367
- proto.RegisterType((*QueryCapDataRequest)(nil), "agoric.vstorage.QueryCapDataRequest")
368
- proto.RegisterType((*QueryCapDataResponse)(nil), "agoric.vstorage.QueryCapDataResponse")
369
232
  proto.RegisterType((*QueryChildrenRequest)(nil), "agoric.vstorage.QueryChildrenRequest")
370
233
  proto.RegisterType((*QueryChildrenResponse)(nil), "agoric.vstorage.QueryChildrenResponse")
371
234
  }
@@ -373,49 +236,38 @@ func init() {
373
236
  func init() { proto.RegisterFile("agoric/vstorage/query.proto", fileDescriptor_a26d6d1a170e94ae) }
374
237
 
375
238
  var fileDescriptor_a26d6d1a170e94ae = []byte{
376
- // 669 bytes of a gzipped FileDescriptorProto
377
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcf, 0x4f, 0xd4, 0x40,
378
- 0x14, 0xa6, 0xfc, 0x50, 0x98, 0x25, 0x01, 0x46, 0xd4, 0x75, 0x21, 0x1d, 0x18, 0xf9, 0x15, 0x8d,
379
- 0x9d, 0x80, 0x07, 0x13, 0x39, 0xa8, 0x48, 0x90, 0xa3, 0x36, 0xea, 0xc1, 0xcb, 0x66, 0x76, 0x77,
380
- 0xec, 0x36, 0xb4, 0x9d, 0xd2, 0xce, 0x12, 0x37, 0xc6, 0x98, 0xc8, 0xd1, 0x8b, 0xc6, 0xb3, 0x7f,
381
- 0x88, 0xff, 0x81, 0x47, 0x12, 0x2f, 0x9e, 0x1a, 0x03, 0x9e, 0x7a, 0xdc, 0xbf, 0xc0, 0x74, 0x66,
382
- 0xb6, 0x5b, 0x96, 0x55, 0x0c, 0xb7, 0xce, 0xf7, 0xbe, 0xf7, 0xbd, 0xaf, 0xf3, 0xde, 0x3c, 0x30,
383
- 0x47, 0x1d, 0x1e, 0xb9, 0x75, 0x72, 0x10, 0x0b, 0x1e, 0x51, 0x87, 0x91, 0xfd, 0x16, 0x8b, 0xda,
384
- 0x56, 0x18, 0x71, 0xc1, 0xe1, 0x94, 0x0a, 0x5a, 0xdd, 0x60, 0x65, 0xd6, 0xe1, 0x0e, 0x97, 0x31,
385
- 0x92, 0x7d, 0x29, 0x5a, 0xe5, 0x56, 0x9d, 0xc7, 0x3e, 0x8f, 0x49, 0x8d, 0xc6, 0x3a, 0x9f, 0x1c,
386
- 0xac, 0xd7, 0x98, 0xa0, 0xeb, 0x24, 0xa4, 0x8e, 0x1b, 0x50, 0xe1, 0xf2, 0x40, 0x73, 0xe7, 0x1d,
387
- 0xce, 0x1d, 0x8f, 0x11, 0x1a, 0xba, 0x84, 0x06, 0x01, 0x17, 0x32, 0x18, 0xab, 0x28, 0x7e, 0x00,
388
- 0xa6, 0x9f, 0x65, 0xf9, 0xdb, 0x54, 0x50, 0x9b, 0xed, 0xb7, 0x58, 0x2c, 0xe0, 0x6d, 0x30, 0x1a,
389
- 0x52, 0xd1, 0x2c, 0x1b, 0x0b, 0xc6, 0xda, 0xc4, 0xd6, 0xf5, 0x34, 0x41, 0xf2, 0xdc, 0x49, 0x50,
390
- 0xa9, 0x4d, 0x7d, 0xef, 0x3e, 0xce, 0x4e, 0xd8, 0x96, 0x20, 0xde, 0x06, 0x33, 0x05, 0x81, 0x38,
391
- 0xe4, 0x41, 0xcc, 0x20, 0x01, 0x63, 0x07, 0xd4, 0x6b, 0x31, 0x2d, 0x71, 0x23, 0x4d, 0x90, 0x02,
392
- 0x3a, 0x09, 0x9a, 0x54, 0x1a, 0xf2, 0x88, 0x6d, 0x05, 0xe3, 0x6f, 0xc3, 0xe0, 0x8a, 0x94, 0x79,
393
- 0x4c, 0xc3, 0x8b, 0x5a, 0x81, 0x0f, 0x01, 0xf0, 0x59, 0xc3, 0xa5, 0x55, 0xd1, 0x0e, 0x59, 0x79,
394
- 0x58, 0xa6, 0x2c, 0xa6, 0x09, 0x9a, 0x90, 0xe8, 0xf3, 0x76, 0x98, 0x95, 0x9f, 0x56, 0x79, 0x39,
395
- 0x84, 0xed, 0x5e, 0x18, 0x6e, 0x83, 0x92, 0x2b, 0x98, 0x5f, 0x7d, 0xcd, 0x23, 0x9f, 0x8a, 0xf2,
396
- 0x88, 0x94, 0xb8, 0x99, 0x26, 0x08, 0x64, 0xf0, 0x8e, 0x44, 0x3b, 0x09, 0x9a, 0x51, 0x1a, 0x3d,
397
- 0x0c, 0xdb, 0x05, 0x02, 0xf4, 0xc1, 0xb5, 0x88, 0xf9, 0x5c, 0xd0, 0x9a, 0xc7, 0xaa, 0xf2, 0xff,
398
- 0xba, 0x82, 0x40, 0x0a, 0xde, 0x4b, 0x13, 0x34, 0x9b, 0x33, 0x5e, 0x66, 0x84, 0x5c, 0x7a, 0x4e,
399
- 0x49, 0x0f, 0x8a, 0x62, 0x7b, 0x60, 0x12, 0xfe, 0x6c, 0x80, 0xd9, 0xd3, 0x77, 0xa7, 0xbb, 0xb0,
400
- 0x0b, 0x26, 0x6b, 0x1e, 0xaf, 0xef, 0x55, 0x9b, 0xc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 0x57, 0x5f, 0x95, 0xd5, 0x17, 0x21, 0x3a, 0x53,
412
- 0xbd, 0x4e, 0xc3, 0xa2, 0x81, 0x43, 0x03, 0x8c, 0x77, 0x5b, 0x03, 0xff, 0x26, 0x7e, 0x7a, 0x90,
413
- 0x2a, 0x2b, 0xe7, 0xd1, 0xb4, 0x89, 0x35, 0x69, 0x02, 0xc3, 0x85, 0xb3, 0x26, 0x34, 0x55, 0xbb,
414
- 0xd8, 0x7a, 0xf1, 0xfd, 0xd8, 0x34, 0x8e, 0x8e, 0x4d, 0xe3, 0xd7, 0xb1, 0x69, 0x7c, 0x3a, 0x31,
415
- 0x87, 0x8e, 0x4e, 0xcc, 0xa1, 0x9f, 0x27, 0xe6, 0xd0, 0xab, 0x4d, 0xc7, 0x15, 0xcd, 0x56, 0xcd,
416
- 0xaa, 0x73, 0x9f, 0x3c, 0x52, 0x2a, 0x4a, 0xec, 0x4e, 0xdc, 0xd8, 0x23, 0x0e, 0xf7, 0x68, 0xe0,
417
- 0x10, 0xbd, 0x92, 0xdf, 0xf4, 0x0a, 0x64, 0x6b, 0x28, 0xae, 0x5d, 0x92, 0x8b, 0xf6, 0xee, 0x9f,
418
- 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x08, 0x4f, 0xc5, 0xf8, 0x05, 0x00, 0x00,
239
+ // 481 bytes of a gzipped FileDescriptorProto
240
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x53, 0xb1, 0x6f, 0x13, 0x3f,
241
+ 0x14, 0x8e, 0xf3, 0x6b, 0x7f, 0x6a, 0x5d, 0xa4, 0x82, 0x55, 0x44, 0x08, 0xd5, 0x5d, 0xb0, 0xa0,
242
+ 0x44, 0x20, 0x6c, 0xb5, 0x6c, 0x74, 0x40, 0x84, 0x0a, 0x56, 0x38, 0x89, 0x85, 0xed, 0x25, 0xb1,
243
+ 0x9c, 0x13, 0x97, 0xf3, 0xf5, 0xec, 0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, 0x2e, 0x3a, 0xaf, 0xbf, 0x4d, 0x03, 0x74, 0x3a, 0x0d, 0xd0, 0xcf,
266
+ 0x69, 0x80, 0x3e, 0xcf, 0x82, 0xda, 0xe9, 0x2c, 0xa8, 0xfd, 0x98, 0x05, 0xb5, 0x37, 0x87, 0x32,
267
+ 0x36, 0x83, 0x51, 0x97, 0xf5, 0xd4, 0x90, 0x3f, 0x75, 0x2a, 0x4e, 0xec, 0xa1, 0xee, 0xbf, 0xe5,
268
+ 0x52, 0x25, 0x90, 0x4a, 0xee, 0x5f, 0xd0, 0xbb, 0xf3, 0x05, 0x66, 0x92, 0x09, 0xdd, 0xfd, 0xdf,
269
+ 0xbe, 0x8b, 0x47, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x0a, 0x1d, 0x3e, 0x9b, 0xa7, 0x03, 0x00,
270
+ 0x00,
419
271
  }
420
272
 
421
273
  // Reference imports to suppress errors if they are not otherwise used.
@@ -430,11 +282,8 @@ const _ = grpc.SupportPackageIsVersion4
430
282
  //
431
283
  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
432
284
  type QueryClient interface {
433
- // Return the raw string value of an arbitrary vstorage datum.
285
+ // Return an arbitrary vstorage datum.
434
286
  Data(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error)
435
- // Return a formatted representation of a vstorage datum that must be
436
- // a valid StreamCell with CapData values, or standalone CapData.
437
- CapData(ctx context.Context, in *QueryCapDataRequest, opts ...grpc.CallOption) (*QueryCapDataResponse, error)
438
287
  // Return the children of a given vstorage path.
439
288
  Children(ctx context.Context, in *QueryChildrenRequest, opts ...grpc.CallOption) (*QueryChildrenResponse, error)
440
289
  }
@@ -456,15 +305,6 @@ func (c *queryClient) Data(ctx context.Context, in *QueryDataRequest, opts ...gr
456
305
  return out, nil
457
306
  }
458
307
 
459
- func (c *queryClient) CapData(ctx context.Context, in *QueryCapDataRequest, opts ...grpc.CallOption) (*QueryCapDataResponse, error) {
460
- out := new(QueryCapDataResponse)
461
- err := c.cc.Invoke(ctx, "/agoric.vstorage.Query/CapData", in, out, opts...)
462
- if err != nil {
463
- return nil, err
464
- }
465
- return out, nil
466
- }
467
-
468
308
  func (c *queryClient) Children(ctx context.Context, in *QueryChildrenRequest, opts ...grpc.CallOption) (*QueryChildrenResponse, error) {
469
309
  out := new(QueryChildrenResponse)
470
310
  err := c.cc.Invoke(ctx, "/agoric.vstorage.Query/Children", in, out, opts...)
@@ -476,11 +316,8 @@ func (c *queryClient) Children(ctx context.Context, in *QueryChildrenRequest, op
476
316
 
477
317
  // QueryServer is the server API for Query service.
478
318
  type QueryServer interface {
479
- // Return the raw string value of an arbitrary vstorage datum.
319
+ // Return an arbitrary vstorage datum.
480
320
  Data(context.Context, *QueryDataRequest) (*QueryDataResponse, error)
481
- // Return a formatted representation of a vstorage datum that must be
482
- // a valid StreamCell with CapData values, or standalone CapData.
483
- CapData(context.Context, *QueryCapDataRequest) (*QueryCapDataResponse, error)
484
321
  // Return the children of a given vstorage path.
485
322
  Children(context.Context, *QueryChildrenRequest) (*QueryChildrenResponse, error)
486
323
  }
@@ -492,9 +329,6 @@ type UnimplementedQueryServer struct {
492
329
  func (*UnimplementedQueryServer) Data(ctx context.Context, req *QueryDataRequest) (*QueryDataResponse, error) {
493
330
  return nil, status.Errorf(codes.Unimplemented, "method Data not implemented")
494
331
  }
495
- func (*UnimplementedQueryServer) CapData(ctx context.Context, req *QueryCapDataRequest) (*QueryCapDataResponse, error) {
496
- return nil, status.Errorf(codes.Unimplemented, "method CapData not implemented")
497
- }
498
332
  func (*UnimplementedQueryServer) Children(ctx context.Context, req *QueryChildrenRequest) (*QueryChildrenResponse, error) {
499
333
  return nil, status.Errorf(codes.Unimplemented, "method Children not implemented")
500
334
  }
@@ -521,24 +355,6 @@ func _Query_Data_Handler(srv interface{}, ctx context.Context, dec func(interfac
521
355
  return interceptor(ctx, in, info, handler)
522
356
  }
523
357
 
524
- func _Query_CapData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
525
- in := new(QueryCapDataRequest)
526
- if err := dec(in); err != nil {
527
- return nil, err
528
- }
529
- if interceptor == nil {
530
- return srv.(QueryServer).CapData(ctx, in)
531
- }
532
- info := &grpc.UnaryServerInfo{
533
- Server: srv,
534
- FullMethod: "/agoric.vstorage.Query/CapData",
535
- }
536
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
537
- return srv.(QueryServer).CapData(ctx, req.(*QueryCapDataRequest))
538
- }
539
- return interceptor(ctx, in, info, handler)
540
- }
541
-
542
358
  func _Query_Children_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
543
359
  in := new(QueryChildrenRequest)
544
360
  if err := dec(in); err != nil {
@@ -565,10 +381,6 @@ var _Query_serviceDesc = grpc.ServiceDesc{
565
381
  MethodName: "Data",
566
382
  Handler: _Query_Data_Handler,
567
383
  },
568
- {
569
- MethodName: "CapData",
570
- Handler: _Query_CapData_Handler,
571
- },
572
384
  {
573
385
  MethodName: "Children",
574
386
  Handler: _Query_Children_Handler,
@@ -638,94 +450,6 @@ func (m *QueryDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
638
450
  return len(dAtA) - i, nil
639
451
  }
640
452
 
641
- func (m *QueryCapDataRequest) Marshal() (dAtA []byte, err error) {
642
- size := m.Size()
643
- dAtA = make([]byte, size)
644
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
645
- if err != nil {
646
- return nil, err
647
- }
648
- return dAtA[:n], nil
649
- }
650
-
651
- func (m *QueryCapDataRequest) MarshalTo(dAtA []byte) (int, error) {
652
- size := m.Size()
653
- return m.MarshalToSizedBuffer(dAtA[:size])
654
- }
655
-
656
- func (m *QueryCapDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
657
- i := len(dAtA)
658
- _ = i
659
- var l int
660
- _ = l
661
- if len(m.RemotableValueFormat) > 0 {
662
- i -= len(m.RemotableValueFormat)
663
- copy(dAtA[i:], m.RemotableValueFormat)
664
- i = encodeVarintQuery(dAtA, i, uint64(len(m.RemotableValueFormat)))
665
- i--
666
- dAtA[i] = 0x52
667
- }
668
- if len(m.ItemFormat) > 0 {
669
- i -= len(m.ItemFormat)
670
- copy(dAtA[i:], m.ItemFormat)
671
- i = encodeVarintQuery(dAtA, i, uint64(len(m.ItemFormat)))
672
- i--
673
- dAtA[i] = 0x1a
674
- }
675
- if len(m.MediaType) > 0 {
676
- i -= len(m.MediaType)
677
- copy(dAtA[i:], m.MediaType)
678
- i = encodeVarintQuery(dAtA, i, uint64(len(m.MediaType)))
679
- i--
680
- dAtA[i] = 0x12
681
- }
682
- if len(m.Path) > 0 {
683
- i -= len(m.Path)
684
- copy(dAtA[i:], m.Path)
685
- i = encodeVarintQuery(dAtA, i, uint64(len(m.Path)))
686
- i--
687
- dAtA[i] = 0xa
688
- }
689
- return len(dAtA) - i, nil
690
- }
691
-
692
- func (m *QueryCapDataResponse) Marshal() (dAtA []byte, err error) {
693
- size := m.Size()
694
- dAtA = make([]byte, size)
695
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
696
- if err != nil {
697
- return nil, err
698
- }
699
- return dAtA[:n], nil
700
- }
701
-
702
- func (m *QueryCapDataResponse) MarshalTo(dAtA []byte) (int, error) {
703
- size := m.Size()
704
- return m.MarshalToSizedBuffer(dAtA[:size])
705
- }
706
-
707
- func (m *QueryCapDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
708
- i := len(dAtA)
709
- _ = i
710
- var l int
711
- _ = l
712
- if len(m.Value) > 0 {
713
- i -= len(m.Value)
714
- copy(dAtA[i:], m.Value)
715
- i = encodeVarintQuery(dAtA, i, uint64(len(m.Value)))
716
- i--
717
- dAtA[i] = 0x52
718
- }
719
- if len(m.BlockHeight) > 0 {
720
- i -= len(m.BlockHeight)
721
- copy(dAtA[i:], m.BlockHeight)
722
- i = encodeVarintQuery(dAtA, i, uint64(len(m.BlockHeight)))
723
- i--
724
- dAtA[i] = 0xa
725
- }
726
- return len(dAtA) - i, nil
727
- }
728
-
729
453
  func (m *QueryChildrenRequest) Marshal() (dAtA []byte, err error) {
730
454
  size := m.Size()
731
455
  dAtA = make([]byte, size)
@@ -849,48 +573,6 @@ func (m *QueryDataResponse) Size() (n int) {
849
573
  return n
850
574
  }
851
575
 
852
- func (m *QueryCapDataRequest) Size() (n int) {
853
- if m == nil {
854
- return 0
855
- }
856
- var l int
857
- _ = l
858
- l = len(m.Path)
859
- if l > 0 {
860
- n += 1 + l + sovQuery(uint64(l))
861
- }
862
- l = len(m.MediaType)
863
- if l > 0 {
864
- n += 1 + l + sovQuery(uint64(l))
865
- }
866
- l = len(m.ItemFormat)
867
- if l > 0 {
868
- n += 1 + l + sovQuery(uint64(l))
869
- }
870
- l = len(m.RemotableValueFormat)
871
- if l > 0 {
872
- n += 1 + l + sovQuery(uint64(l))
873
- }
874
- return n
875
- }
876
-
877
- func (m *QueryCapDataResponse) Size() (n int) {
878
- if m == nil {
879
- return 0
880
- }
881
- var l int
882
- _ = l
883
- l = len(m.BlockHeight)
884
- if l > 0 {
885
- n += 1 + l + sovQuery(uint64(l))
886
- }
887
- l = len(m.Value)
888
- if l > 0 {
889
- n += 1 + l + sovQuery(uint64(l))
890
- }
891
- return n
892
- }
893
-
894
576
  func (m *QueryChildrenRequest) Size() (n int) {
895
577
  if m == nil {
896
578
  return 0
@@ -1097,298 +779,6 @@ func (m *QueryDataResponse) Unmarshal(dAtA []byte) error {
1097
779
  }
1098
780
  return nil
1099
781
  }
1100
- func (m *QueryCapDataRequest) Unmarshal(dAtA []byte) error {
1101
- l := len(dAtA)
1102
- iNdEx := 0
1103
- for iNdEx < l {
1104
- preIndex := iNdEx
1105
- var wire uint64
1106
- for shift := uint(0); ; shift += 7 {
1107
- if shift >= 64 {
1108
- return ErrIntOverflowQuery
1109
- }
1110
- if iNdEx >= l {
1111
- return io.ErrUnexpectedEOF
1112
- }
1113
- b := dAtA[iNdEx]
1114
- iNdEx++
1115
- wire |= uint64(b&0x7F) << shift
1116
- if b < 0x80 {
1117
- break
1118
- }
1119
- }
1120
- fieldNum := int32(wire >> 3)
1121
- wireType := int(wire & 0x7)
1122
- if wireType == 4 {
1123
- return fmt.Errorf("proto: QueryCapDataRequest: wiretype end group for non-group")
1124
- }
1125
- if fieldNum <= 0 {
1126
- return fmt.Errorf("proto: QueryCapDataRequest: illegal tag %d (wire type %d)", fieldNum, wire)
1127
- }
1128
- switch fieldNum {
1129
- case 1:
1130
- if wireType != 2 {
1131
- return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType)
1132
- }
1133
- var stringLen uint64
1134
- for shift := uint(0); ; shift += 7 {
1135
- if shift >= 64 {
1136
- return ErrIntOverflowQuery
1137
- }
1138
- if iNdEx >= l {
1139
- return io.ErrUnexpectedEOF
1140
- }
1141
- b := dAtA[iNdEx]
1142
- iNdEx++
1143
- stringLen |= uint64(b&0x7F) << shift
1144
- if b < 0x80 {
1145
- break
1146
- }
1147
- }
1148
- intStringLen := int(stringLen)
1149
- if intStringLen < 0 {
1150
- return ErrInvalidLengthQuery
1151
- }
1152
- postIndex := iNdEx + intStringLen
1153
- if postIndex < 0 {
1154
- return ErrInvalidLengthQuery
1155
- }
1156
- if postIndex > l {
1157
- return io.ErrUnexpectedEOF
1158
- }
1159
- m.Path = string(dAtA[iNdEx:postIndex])
1160
- iNdEx = postIndex
1161
- case 2:
1162
- if wireType != 2 {
1163
- return fmt.Errorf("proto: wrong wireType = %d for field MediaType", wireType)
1164
- }
1165
- var stringLen uint64
1166
- for shift := uint(0); ; shift += 7 {
1167
- if shift >= 64 {
1168
- return ErrIntOverflowQuery
1169
- }
1170
- if iNdEx >= l {
1171
- return io.ErrUnexpectedEOF
1172
- }
1173
- b := dAtA[iNdEx]
1174
- iNdEx++
1175
- stringLen |= uint64(b&0x7F) << shift
1176
- if b < 0x80 {
1177
- break
1178
- }
1179
- }
1180
- intStringLen := int(stringLen)
1181
- if intStringLen < 0 {
1182
- return ErrInvalidLengthQuery
1183
- }
1184
- postIndex := iNdEx + intStringLen
1185
- if postIndex < 0 {
1186
- return ErrInvalidLengthQuery
1187
- }
1188
- if postIndex > l {
1189
- return io.ErrUnexpectedEOF
1190
- }
1191
- m.MediaType = string(dAtA[iNdEx:postIndex])
1192
- iNdEx = postIndex
1193
- case 3:
1194
- if wireType != 2 {
1195
- return fmt.Errorf("proto: wrong wireType = %d for field ItemFormat", wireType)
1196
- }
1197
- var stringLen uint64
1198
- for shift := uint(0); ; shift += 7 {
1199
- if shift >= 64 {
1200
- return ErrIntOverflowQuery
1201
- }
1202
- if iNdEx >= l {
1203
- return io.ErrUnexpectedEOF
1204
- }
1205
- b := dAtA[iNdEx]
1206
- iNdEx++
1207
- stringLen |= uint64(b&0x7F) << shift
1208
- if b < 0x80 {
1209
- break
1210
- }
1211
- }
1212
- intStringLen := int(stringLen)
1213
- if intStringLen < 0 {
1214
- return ErrInvalidLengthQuery
1215
- }
1216
- postIndex := iNdEx + intStringLen
1217
- if postIndex < 0 {
1218
- return ErrInvalidLengthQuery
1219
- }
1220
- if postIndex > l {
1221
- return io.ErrUnexpectedEOF
1222
- }
1223
- m.ItemFormat = string(dAtA[iNdEx:postIndex])
1224
- iNdEx = postIndex
1225
- case 10:
1226
- if wireType != 2 {
1227
- return fmt.Errorf("proto: wrong wireType = %d for field RemotableValueFormat", wireType)
1228
- }
1229
- var stringLen uint64
1230
- for shift := uint(0); ; shift += 7 {
1231
- if shift >= 64 {
1232
- return ErrIntOverflowQuery
1233
- }
1234
- if iNdEx >= l {
1235
- return io.ErrUnexpectedEOF
1236
- }
1237
- b := dAtA[iNdEx]
1238
- iNdEx++
1239
- stringLen |= uint64(b&0x7F) << shift
1240
- if b < 0x80 {
1241
- break
1242
- }
1243
- }
1244
- intStringLen := int(stringLen)
1245
- if intStringLen < 0 {
1246
- return ErrInvalidLengthQuery
1247
- }
1248
- postIndex := iNdEx + intStringLen
1249
- if postIndex < 0 {
1250
- return ErrInvalidLengthQuery
1251
- }
1252
- if postIndex > l {
1253
- return io.ErrUnexpectedEOF
1254
- }
1255
- m.RemotableValueFormat = string(dAtA[iNdEx:postIndex])
1256
- iNdEx = postIndex
1257
- default:
1258
- iNdEx = preIndex
1259
- skippy, err := skipQuery(dAtA[iNdEx:])
1260
- if err != nil {
1261
- return err
1262
- }
1263
- if (skippy < 0) || (iNdEx+skippy) < 0 {
1264
- return ErrInvalidLengthQuery
1265
- }
1266
- if (iNdEx + skippy) > l {
1267
- return io.ErrUnexpectedEOF
1268
- }
1269
- iNdEx += skippy
1270
- }
1271
- }
1272
-
1273
- if iNdEx > l {
1274
- return io.ErrUnexpectedEOF
1275
- }
1276
- return nil
1277
- }
1278
- func (m *QueryCapDataResponse) Unmarshal(dAtA []byte) error {
1279
- l := len(dAtA)
1280
- iNdEx := 0
1281
- for iNdEx < l {
1282
- preIndex := iNdEx
1283
- var wire uint64
1284
- for shift := uint(0); ; shift += 7 {
1285
- if shift >= 64 {
1286
- return ErrIntOverflowQuery
1287
- }
1288
- if iNdEx >= l {
1289
- return io.ErrUnexpectedEOF
1290
- }
1291
- b := dAtA[iNdEx]
1292
- iNdEx++
1293
- wire |= uint64(b&0x7F) << shift
1294
- if b < 0x80 {
1295
- break
1296
- }
1297
- }
1298
- fieldNum := int32(wire >> 3)
1299
- wireType := int(wire & 0x7)
1300
- if wireType == 4 {
1301
- return fmt.Errorf("proto: QueryCapDataResponse: wiretype end group for non-group")
1302
- }
1303
- if fieldNum <= 0 {
1304
- return fmt.Errorf("proto: QueryCapDataResponse: illegal tag %d (wire type %d)", fieldNum, wire)
1305
- }
1306
- switch fieldNum {
1307
- case 1:
1308
- if wireType != 2 {
1309
- return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType)
1310
- }
1311
- var stringLen uint64
1312
- for shift := uint(0); ; shift += 7 {
1313
- if shift >= 64 {
1314
- return ErrIntOverflowQuery
1315
- }
1316
- if iNdEx >= l {
1317
- return io.ErrUnexpectedEOF
1318
- }
1319
- b := dAtA[iNdEx]
1320
- iNdEx++
1321
- stringLen |= uint64(b&0x7F) << shift
1322
- if b < 0x80 {
1323
- break
1324
- }
1325
- }
1326
- intStringLen := int(stringLen)
1327
- if intStringLen < 0 {
1328
- return ErrInvalidLengthQuery
1329
- }
1330
- postIndex := iNdEx + intStringLen
1331
- if postIndex < 0 {
1332
- return ErrInvalidLengthQuery
1333
- }
1334
- if postIndex > l {
1335
- return io.ErrUnexpectedEOF
1336
- }
1337
- m.BlockHeight = string(dAtA[iNdEx:postIndex])
1338
- iNdEx = postIndex
1339
- case 10:
1340
- if wireType != 2 {
1341
- return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType)
1342
- }
1343
- var stringLen uint64
1344
- for shift := uint(0); ; shift += 7 {
1345
- if shift >= 64 {
1346
- return ErrIntOverflowQuery
1347
- }
1348
- if iNdEx >= l {
1349
- return io.ErrUnexpectedEOF
1350
- }
1351
- b := dAtA[iNdEx]
1352
- iNdEx++
1353
- stringLen |= uint64(b&0x7F) << shift
1354
- if b < 0x80 {
1355
- break
1356
- }
1357
- }
1358
- intStringLen := int(stringLen)
1359
- if intStringLen < 0 {
1360
- return ErrInvalidLengthQuery
1361
- }
1362
- postIndex := iNdEx + intStringLen
1363
- if postIndex < 0 {
1364
- return ErrInvalidLengthQuery
1365
- }
1366
- if postIndex > l {
1367
- return io.ErrUnexpectedEOF
1368
- }
1369
- m.Value = string(dAtA[iNdEx:postIndex])
1370
- iNdEx = postIndex
1371
- default:
1372
- iNdEx = preIndex
1373
- skippy, err := skipQuery(dAtA[iNdEx:])
1374
- if err != nil {
1375
- return err
1376
- }
1377
- if (skippy < 0) || (iNdEx+skippy) < 0 {
1378
- return ErrInvalidLengthQuery
1379
- }
1380
- if (iNdEx + skippy) > l {
1381
- return io.ErrUnexpectedEOF
1382
- }
1383
- iNdEx += skippy
1384
- }
1385
- }
1386
-
1387
- if iNdEx > l {
1388
- return io.ErrUnexpectedEOF
1389
- }
1390
- return nil
1391
- }
1392
782
  func (m *QueryChildrenRequest) Unmarshal(dAtA []byte) error {
1393
783
  l := len(dAtA)
1394
784
  iNdEx := 0