@ocap/proto 1.18.92 → 1.18.94
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.
- package/lib/gen/spec.json +74 -0
- package/lib/gen/trace-type_pb.js +358 -0
- package/package.json +2 -2
package/lib/gen/spec.json
CHANGED
|
@@ -1094,6 +1094,43 @@
|
|
|
1094
1094
|
}
|
|
1095
1095
|
}
|
|
1096
1096
|
},
|
|
1097
|
+
"RequestListDelegations": {
|
|
1098
|
+
"fields": {
|
|
1099
|
+
"paging": {
|
|
1100
|
+
"type": "Page",
|
|
1101
|
+
"id": 1
|
|
1102
|
+
},
|
|
1103
|
+
"from": {
|
|
1104
|
+
"type": "string",
|
|
1105
|
+
"id": 2
|
|
1106
|
+
},
|
|
1107
|
+
"to": {
|
|
1108
|
+
"type": "string",
|
|
1109
|
+
"id": 3
|
|
1110
|
+
},
|
|
1111
|
+
"timeFilter": {
|
|
1112
|
+
"type": "TimeFilter",
|
|
1113
|
+
"id": 4
|
|
1114
|
+
}
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"ResponseListDelegations": {
|
|
1118
|
+
"fields": {
|
|
1119
|
+
"code": {
|
|
1120
|
+
"type": "StatusCode",
|
|
1121
|
+
"id": 1
|
|
1122
|
+
},
|
|
1123
|
+
"page": {
|
|
1124
|
+
"type": "PageInfo",
|
|
1125
|
+
"id": 2
|
|
1126
|
+
},
|
|
1127
|
+
"delegations": {
|
|
1128
|
+
"rule": "repeated",
|
|
1129
|
+
"type": "IndexedDelegationState",
|
|
1130
|
+
"id": 3
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1097
1134
|
"BigUint": {
|
|
1098
1135
|
"fields": {
|
|
1099
1136
|
"value": {
|
|
@@ -5404,6 +5441,39 @@
|
|
|
5404
5441
|
}
|
|
5405
5442
|
}
|
|
5406
5443
|
},
|
|
5444
|
+
"IndexedDelegationState": {
|
|
5445
|
+
"fields": {
|
|
5446
|
+
"address": {
|
|
5447
|
+
"type": "string",
|
|
5448
|
+
"id": 1
|
|
5449
|
+
},
|
|
5450
|
+
"from": {
|
|
5451
|
+
"type": "string",
|
|
5452
|
+
"id": 2
|
|
5453
|
+
},
|
|
5454
|
+
"to": {
|
|
5455
|
+
"type": "string",
|
|
5456
|
+
"id": 3
|
|
5457
|
+
},
|
|
5458
|
+
"genesisTime": {
|
|
5459
|
+
"type": "string",
|
|
5460
|
+
"id": 4
|
|
5461
|
+
},
|
|
5462
|
+
"renaissanceTime": {
|
|
5463
|
+
"type": "string",
|
|
5464
|
+
"id": 5
|
|
5465
|
+
},
|
|
5466
|
+
"ops": {
|
|
5467
|
+
"keyType": "string",
|
|
5468
|
+
"type": "DelegateOpState",
|
|
5469
|
+
"id": 6
|
|
5470
|
+
},
|
|
5471
|
+
"data": {
|
|
5472
|
+
"type": "google.protobuf.Any",
|
|
5473
|
+
"id": 7
|
|
5474
|
+
}
|
|
5475
|
+
}
|
|
5476
|
+
},
|
|
5407
5477
|
"Query": {
|
|
5408
5478
|
"methods": {
|
|
5409
5479
|
"getTx": {
|
|
@@ -5562,6 +5632,10 @@
|
|
|
5562
5632
|
"requestType": "RequestListRollupValidators",
|
|
5563
5633
|
"responseType": "ResponseListRollupValidators"
|
|
5564
5634
|
},
|
|
5635
|
+
"listDelegations": {
|
|
5636
|
+
"requestType": "RequestListDelegations",
|
|
5637
|
+
"responseType": "ResponseListDelegations"
|
|
5638
|
+
},
|
|
5565
5639
|
"search": {
|
|
5566
5640
|
"requestType": "RequestSearch",
|
|
5567
5641
|
"responseType": "ResponseSearch"
|
package/lib/gen/trace-type_pb.js
CHANGED
|
@@ -25,6 +25,8 @@ var google_protobuf_any_pb = require('google-protobuf/google/protobuf/any_pb.js'
|
|
|
25
25
|
goog.object.extend(proto, google_protobuf_any_pb);
|
|
26
26
|
var type_pb = require('./type_pb.js');
|
|
27
27
|
goog.object.extend(proto, type_pb);
|
|
28
|
+
var state_pb = require('./state_pb.js');
|
|
29
|
+
goog.object.extend(proto, state_pb);
|
|
28
30
|
var enum_pb = require('./enum_pb.js');
|
|
29
31
|
goog.object.extend(proto, enum_pb);
|
|
30
32
|
var tx_pb = require('./tx_pb.js');
|
|
@@ -40,6 +42,7 @@ goog.exportSymbol('proto.ocap.FactoryFilter', null, root);
|
|
|
40
42
|
goog.exportSymbol('proto.ocap.IndexedAccountState', null, root);
|
|
41
43
|
goog.exportSymbol('proto.ocap.IndexedAssetState', null, root);
|
|
42
44
|
goog.exportSymbol('proto.ocap.IndexedBlock', null, root);
|
|
45
|
+
goog.exportSymbol('proto.ocap.IndexedDelegationState', null, root);
|
|
43
46
|
goog.exportSymbol('proto.ocap.IndexedFactoryState', null, root);
|
|
44
47
|
goog.exportSymbol('proto.ocap.IndexedRollupBlock', null, root);
|
|
45
48
|
goog.exportSymbol('proto.ocap.IndexedRollupState', null, root);
|
|
@@ -713,6 +716,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
713
716
|
*/
|
|
714
717
|
proto.ocap.IndexedRollupValidator.displayName = 'proto.ocap.IndexedRollupValidator';
|
|
715
718
|
}
|
|
719
|
+
/**
|
|
720
|
+
* Generated by JsPbCodeGenerator.
|
|
721
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
722
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
723
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
724
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
725
|
+
* valid.
|
|
726
|
+
* @extends {jspb.Message}
|
|
727
|
+
* @constructor
|
|
728
|
+
*/
|
|
729
|
+
proto.ocap.IndexedDelegationState = function(opt_data) {
|
|
730
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
731
|
+
};
|
|
732
|
+
goog.inherits(proto.ocap.IndexedDelegationState, jspb.Message);
|
|
733
|
+
if (goog.DEBUG && !COMPILED) {
|
|
734
|
+
/**
|
|
735
|
+
* @public
|
|
736
|
+
* @override
|
|
737
|
+
*/
|
|
738
|
+
proto.ocap.IndexedDelegationState.displayName = 'proto.ocap.IndexedDelegationState';
|
|
739
|
+
}
|
|
716
740
|
|
|
717
741
|
|
|
718
742
|
|
|
@@ -11157,6 +11181,340 @@ proto.ocap.IndexedRollupValidator.prototype.setRollup = function(value) {
|
|
|
11157
11181
|
};
|
|
11158
11182
|
|
|
11159
11183
|
|
|
11184
|
+
|
|
11185
|
+
|
|
11186
|
+
|
|
11187
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11188
|
+
/**
|
|
11189
|
+
* Creates an object representation of this proto.
|
|
11190
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11191
|
+
* Optional fields that are not set will be set to undefined.
|
|
11192
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11193
|
+
* For the list of reserved names please see:
|
|
11194
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11195
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11196
|
+
* JSPB instance for transitional soy proto support:
|
|
11197
|
+
* http://goto/soy-param-migration
|
|
11198
|
+
* @return {!Object}
|
|
11199
|
+
*/
|
|
11200
|
+
proto.ocap.IndexedDelegationState.prototype.toObject = function(opt_includeInstance) {
|
|
11201
|
+
return proto.ocap.IndexedDelegationState.toObject(opt_includeInstance, this);
|
|
11202
|
+
};
|
|
11203
|
+
|
|
11204
|
+
|
|
11205
|
+
/**
|
|
11206
|
+
* Static version of the {@see toObject} method.
|
|
11207
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11208
|
+
* the JSPB instance for transitional soy proto support:
|
|
11209
|
+
* http://goto/soy-param-migration
|
|
11210
|
+
* @param {!proto.ocap.IndexedDelegationState} msg The msg instance to transform.
|
|
11211
|
+
* @return {!Object}
|
|
11212
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11213
|
+
*/
|
|
11214
|
+
proto.ocap.IndexedDelegationState.toObject = function(includeInstance, msg) {
|
|
11215
|
+
var f, obj = {
|
|
11216
|
+
address: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11217
|
+
from: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11218
|
+
to: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11219
|
+
genesisTime: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11220
|
+
renaissanceTime: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11221
|
+
opsMap: (f = msg.getOpsMap()) ? f.toObject(includeInstance, proto.ocap.DelegateOpState.toObject) : [],
|
|
11222
|
+
data: (f = msg.getData()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
11223
|
+
};
|
|
11224
|
+
|
|
11225
|
+
if (includeInstance) {
|
|
11226
|
+
obj.$jspbMessageInstance = msg;
|
|
11227
|
+
}
|
|
11228
|
+
return obj;
|
|
11229
|
+
};
|
|
11230
|
+
}
|
|
11231
|
+
|
|
11232
|
+
|
|
11233
|
+
/**
|
|
11234
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11235
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11236
|
+
* @return {!proto.ocap.IndexedDelegationState}
|
|
11237
|
+
*/
|
|
11238
|
+
proto.ocap.IndexedDelegationState.deserializeBinary = function(bytes) {
|
|
11239
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11240
|
+
var msg = new proto.ocap.IndexedDelegationState;
|
|
11241
|
+
return proto.ocap.IndexedDelegationState.deserializeBinaryFromReader(msg, reader);
|
|
11242
|
+
};
|
|
11243
|
+
|
|
11244
|
+
|
|
11245
|
+
/**
|
|
11246
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11247
|
+
* given reader into the given message object.
|
|
11248
|
+
* @param {!proto.ocap.IndexedDelegationState} msg The message object to deserialize into.
|
|
11249
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11250
|
+
* @return {!proto.ocap.IndexedDelegationState}
|
|
11251
|
+
*/
|
|
11252
|
+
proto.ocap.IndexedDelegationState.deserializeBinaryFromReader = function(msg, reader) {
|
|
11253
|
+
while (reader.nextField()) {
|
|
11254
|
+
if (reader.isEndGroup()) {
|
|
11255
|
+
break;
|
|
11256
|
+
}
|
|
11257
|
+
var field = reader.getFieldNumber();
|
|
11258
|
+
switch (field) {
|
|
11259
|
+
case 1:
|
|
11260
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11261
|
+
msg.setAddress(value);
|
|
11262
|
+
break;
|
|
11263
|
+
case 2:
|
|
11264
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11265
|
+
msg.setFrom(value);
|
|
11266
|
+
break;
|
|
11267
|
+
case 3:
|
|
11268
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11269
|
+
msg.setTo(value);
|
|
11270
|
+
break;
|
|
11271
|
+
case 4:
|
|
11272
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11273
|
+
msg.setGenesisTime(value);
|
|
11274
|
+
break;
|
|
11275
|
+
case 5:
|
|
11276
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11277
|
+
msg.setRenaissanceTime(value);
|
|
11278
|
+
break;
|
|
11279
|
+
case 6:
|
|
11280
|
+
var value = msg.getOpsMap();
|
|
11281
|
+
reader.readMessage(value, function(message, reader) {
|
|
11282
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ocap.DelegateOpState.deserializeBinaryFromReader, "", new proto.ocap.DelegateOpState());
|
|
11283
|
+
});
|
|
11284
|
+
break;
|
|
11285
|
+
case 7:
|
|
11286
|
+
var value = new google_protobuf_any_pb.Any;
|
|
11287
|
+
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
11288
|
+
msg.setData(value);
|
|
11289
|
+
break;
|
|
11290
|
+
default:
|
|
11291
|
+
reader.skipField();
|
|
11292
|
+
break;
|
|
11293
|
+
}
|
|
11294
|
+
}
|
|
11295
|
+
return msg;
|
|
11296
|
+
};
|
|
11297
|
+
|
|
11298
|
+
|
|
11299
|
+
/**
|
|
11300
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11301
|
+
* @return {!Uint8Array}
|
|
11302
|
+
*/
|
|
11303
|
+
proto.ocap.IndexedDelegationState.prototype.serializeBinary = function() {
|
|
11304
|
+
var writer = new jspb.BinaryWriter();
|
|
11305
|
+
proto.ocap.IndexedDelegationState.serializeBinaryToWriter(this, writer);
|
|
11306
|
+
return writer.getResultBuffer();
|
|
11307
|
+
};
|
|
11308
|
+
|
|
11309
|
+
|
|
11310
|
+
/**
|
|
11311
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11312
|
+
* format), writing to the given BinaryWriter.
|
|
11313
|
+
* @param {!proto.ocap.IndexedDelegationState} message
|
|
11314
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11315
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11316
|
+
*/
|
|
11317
|
+
proto.ocap.IndexedDelegationState.serializeBinaryToWriter = function(message, writer) {
|
|
11318
|
+
var f = undefined;
|
|
11319
|
+
f = message.getAddress();
|
|
11320
|
+
if (f.length > 0) {
|
|
11321
|
+
writer.writeString(
|
|
11322
|
+
1,
|
|
11323
|
+
f
|
|
11324
|
+
);
|
|
11325
|
+
}
|
|
11326
|
+
f = message.getFrom();
|
|
11327
|
+
if (f.length > 0) {
|
|
11328
|
+
writer.writeString(
|
|
11329
|
+
2,
|
|
11330
|
+
f
|
|
11331
|
+
);
|
|
11332
|
+
}
|
|
11333
|
+
f = message.getTo();
|
|
11334
|
+
if (f.length > 0) {
|
|
11335
|
+
writer.writeString(
|
|
11336
|
+
3,
|
|
11337
|
+
f
|
|
11338
|
+
);
|
|
11339
|
+
}
|
|
11340
|
+
f = message.getGenesisTime();
|
|
11341
|
+
if (f.length > 0) {
|
|
11342
|
+
writer.writeString(
|
|
11343
|
+
4,
|
|
11344
|
+
f
|
|
11345
|
+
);
|
|
11346
|
+
}
|
|
11347
|
+
f = message.getRenaissanceTime();
|
|
11348
|
+
if (f.length > 0) {
|
|
11349
|
+
writer.writeString(
|
|
11350
|
+
5,
|
|
11351
|
+
f
|
|
11352
|
+
);
|
|
11353
|
+
}
|
|
11354
|
+
f = message.getOpsMap(true);
|
|
11355
|
+
if (f && f.getLength() > 0) {
|
|
11356
|
+
f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ocap.DelegateOpState.serializeBinaryToWriter);
|
|
11357
|
+
}
|
|
11358
|
+
f = message.getData();
|
|
11359
|
+
if (f != null) {
|
|
11360
|
+
writer.writeMessage(
|
|
11361
|
+
7,
|
|
11362
|
+
f,
|
|
11363
|
+
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
11364
|
+
);
|
|
11365
|
+
}
|
|
11366
|
+
};
|
|
11367
|
+
|
|
11368
|
+
|
|
11369
|
+
/**
|
|
11370
|
+
* optional string address = 1;
|
|
11371
|
+
* @return {string}
|
|
11372
|
+
*/
|
|
11373
|
+
proto.ocap.IndexedDelegationState.prototype.getAddress = function() {
|
|
11374
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11375
|
+
};
|
|
11376
|
+
|
|
11377
|
+
|
|
11378
|
+
/**
|
|
11379
|
+
* @param {string} value
|
|
11380
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11381
|
+
*/
|
|
11382
|
+
proto.ocap.IndexedDelegationState.prototype.setAddress = function(value) {
|
|
11383
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11384
|
+
};
|
|
11385
|
+
|
|
11386
|
+
|
|
11387
|
+
/**
|
|
11388
|
+
* optional string from = 2;
|
|
11389
|
+
* @return {string}
|
|
11390
|
+
*/
|
|
11391
|
+
proto.ocap.IndexedDelegationState.prototype.getFrom = function() {
|
|
11392
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11393
|
+
};
|
|
11394
|
+
|
|
11395
|
+
|
|
11396
|
+
/**
|
|
11397
|
+
* @param {string} value
|
|
11398
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11399
|
+
*/
|
|
11400
|
+
proto.ocap.IndexedDelegationState.prototype.setFrom = function(value) {
|
|
11401
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11402
|
+
};
|
|
11403
|
+
|
|
11404
|
+
|
|
11405
|
+
/**
|
|
11406
|
+
* optional string to = 3;
|
|
11407
|
+
* @return {string}
|
|
11408
|
+
*/
|
|
11409
|
+
proto.ocap.IndexedDelegationState.prototype.getTo = function() {
|
|
11410
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11411
|
+
};
|
|
11412
|
+
|
|
11413
|
+
|
|
11414
|
+
/**
|
|
11415
|
+
* @param {string} value
|
|
11416
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11417
|
+
*/
|
|
11418
|
+
proto.ocap.IndexedDelegationState.prototype.setTo = function(value) {
|
|
11419
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11420
|
+
};
|
|
11421
|
+
|
|
11422
|
+
|
|
11423
|
+
/**
|
|
11424
|
+
* optional string genesis_time = 4;
|
|
11425
|
+
* @return {string}
|
|
11426
|
+
*/
|
|
11427
|
+
proto.ocap.IndexedDelegationState.prototype.getGenesisTime = function() {
|
|
11428
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11429
|
+
};
|
|
11430
|
+
|
|
11431
|
+
|
|
11432
|
+
/**
|
|
11433
|
+
* @param {string} value
|
|
11434
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11435
|
+
*/
|
|
11436
|
+
proto.ocap.IndexedDelegationState.prototype.setGenesisTime = function(value) {
|
|
11437
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11438
|
+
};
|
|
11439
|
+
|
|
11440
|
+
|
|
11441
|
+
/**
|
|
11442
|
+
* optional string renaissance_time = 5;
|
|
11443
|
+
* @return {string}
|
|
11444
|
+
*/
|
|
11445
|
+
proto.ocap.IndexedDelegationState.prototype.getRenaissanceTime = function() {
|
|
11446
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11447
|
+
};
|
|
11448
|
+
|
|
11449
|
+
|
|
11450
|
+
/**
|
|
11451
|
+
* @param {string} value
|
|
11452
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11453
|
+
*/
|
|
11454
|
+
proto.ocap.IndexedDelegationState.prototype.setRenaissanceTime = function(value) {
|
|
11455
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
11456
|
+
};
|
|
11457
|
+
|
|
11458
|
+
|
|
11459
|
+
/**
|
|
11460
|
+
* map<string, DelegateOpState> ops = 6;
|
|
11461
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
11462
|
+
* empty, instead returning `undefined`
|
|
11463
|
+
* @return {!jspb.Map<string,!proto.ocap.DelegateOpState>}
|
|
11464
|
+
*/
|
|
11465
|
+
proto.ocap.IndexedDelegationState.prototype.getOpsMap = function(opt_noLazyCreate) {
|
|
11466
|
+
return /** @type {!jspb.Map<string,!proto.ocap.DelegateOpState>} */ (
|
|
11467
|
+
jspb.Message.getMapField(this, 6, opt_noLazyCreate,
|
|
11468
|
+
proto.ocap.DelegateOpState));
|
|
11469
|
+
};
|
|
11470
|
+
|
|
11471
|
+
|
|
11472
|
+
/**
|
|
11473
|
+
* Clears values from the map. The map will be non-null.
|
|
11474
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11475
|
+
*/
|
|
11476
|
+
proto.ocap.IndexedDelegationState.prototype.clearOpsMap = function() {
|
|
11477
|
+
this.getOpsMap().clear();
|
|
11478
|
+
return this;};
|
|
11479
|
+
|
|
11480
|
+
|
|
11481
|
+
/**
|
|
11482
|
+
* optional google.protobuf.Any data = 7;
|
|
11483
|
+
* @return {?proto.google.protobuf.Any}
|
|
11484
|
+
*/
|
|
11485
|
+
proto.ocap.IndexedDelegationState.prototype.getData = function() {
|
|
11486
|
+
return /** @type{?proto.google.protobuf.Any} */ (
|
|
11487
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 7));
|
|
11488
|
+
};
|
|
11489
|
+
|
|
11490
|
+
|
|
11491
|
+
/**
|
|
11492
|
+
* @param {?proto.google.protobuf.Any|undefined} value
|
|
11493
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11494
|
+
*/
|
|
11495
|
+
proto.ocap.IndexedDelegationState.prototype.setData = function(value) {
|
|
11496
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
11497
|
+
};
|
|
11498
|
+
|
|
11499
|
+
|
|
11500
|
+
/**
|
|
11501
|
+
* Clears the message field making it undefined.
|
|
11502
|
+
* @return {!proto.ocap.IndexedDelegationState} returns this
|
|
11503
|
+
*/
|
|
11504
|
+
proto.ocap.IndexedDelegationState.prototype.clearData = function() {
|
|
11505
|
+
return this.setData(undefined);
|
|
11506
|
+
};
|
|
11507
|
+
|
|
11508
|
+
|
|
11509
|
+
/**
|
|
11510
|
+
* Returns whether this field is set.
|
|
11511
|
+
* @return {boolean}
|
|
11512
|
+
*/
|
|
11513
|
+
proto.ocap.IndexedDelegationState.prototype.hasData = function() {
|
|
11514
|
+
return jspb.Message.getField(this, 7) != null;
|
|
11515
|
+
};
|
|
11516
|
+
|
|
11517
|
+
|
|
11160
11518
|
/**
|
|
11161
11519
|
* @enum {number}
|
|
11162
11520
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ocap/proto",
|
|
3
3
|
"description": "Static modules generated from forge-sdk protobuf files",
|
|
4
|
-
"version": "1.18.
|
|
4
|
+
"version": "1.18.94",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "wangshijun",
|
|
7
7
|
"email": "shijun@arcblock.io",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"debug": "^4.3.4",
|
|
49
49
|
"lodash": "^4.17.21"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "6e23a66fb0adcd1359e21b4fde180860b4c305b3"
|
|
52
52
|
}
|