@aceplus/smartace-api 3.7.0-alpha.14 → 3.7.0-alpha.16
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/package.json +1 -1
- package/platform.group_pb.d.ts +56 -0
- package/platform.group_pb.js +445 -0
- package/platform.group_pb_service.d.ts +19 -0
- package/platform.group_pb_service.js +40 -0
- package/spic.asset_pb.d.ts +79 -0
- package/spic.asset_pb.js +609 -0
- package/spic.asset_pb_service.d.ts +19 -0
- package/spic.asset_pb_service.js +40 -0
- package/spic.config_pb.d.ts +172 -0
- package/spic.config_pb.js +1325 -0
- package/spic.config_pb_service.d.ts +95 -0
- package/spic.config_pb_service.js +200 -0
package/spic.asset_pb.js
CHANGED
|
@@ -48,6 +48,10 @@ goog.exportSymbol('proto.Spic.AssetProto.Image.RetrieveRequest', null, global);
|
|
|
48
48
|
goog.exportSymbol('proto.Spic.AssetProto.LocationSearchReply', null, global);
|
|
49
49
|
goog.exportSymbol('proto.Spic.AssetProto.LocationSearchRequest', null, global);
|
|
50
50
|
goog.exportSymbol('proto.Spic.AssetProto.ReplaceBatteryRequest', null, global);
|
|
51
|
+
goog.exportSymbol('proto.Spic.AssetProto.RetrieveBulkRequest', null, global);
|
|
52
|
+
goog.exportSymbol('proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch', null, global);
|
|
53
|
+
goog.exportSymbol('proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.SearchCase', null, global);
|
|
54
|
+
goog.exportSymbol('proto.Spic.AssetProto.RetrieveBulkResponse', null, global);
|
|
51
55
|
goog.exportSymbol('proto.Spic.AssetProto.RetrieveRequest', null, global);
|
|
52
56
|
goog.exportSymbol('proto.Spic.AssetProto.RetrieveRequest.SearchCase', null, global);
|
|
53
57
|
goog.exportSymbol('proto.Spic.AssetProto.SearchReply', null, global);
|
|
@@ -121,6 +125,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
121
125
|
*/
|
|
122
126
|
proto.Spic.AssetProto.RetrieveRequest.displayName = 'proto.Spic.AssetProto.RetrieveRequest';
|
|
123
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* Generated by JsPbCodeGenerator.
|
|
130
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
131
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
132
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
133
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
134
|
+
* valid.
|
|
135
|
+
* @extends {jspb.Message}
|
|
136
|
+
* @constructor
|
|
137
|
+
*/
|
|
138
|
+
proto.Spic.AssetProto.RetrieveBulkRequest = function(opt_data) {
|
|
139
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.AssetProto.RetrieveBulkRequest.repeatedFields_, null);
|
|
140
|
+
};
|
|
141
|
+
goog.inherits(proto.Spic.AssetProto.RetrieveBulkRequest, jspb.Message);
|
|
142
|
+
if (goog.DEBUG && !COMPILED) {
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* @override
|
|
146
|
+
*/
|
|
147
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.displayName = 'proto.Spic.AssetProto.RetrieveBulkRequest';
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Generated by JsPbCodeGenerator.
|
|
151
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
152
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
153
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
154
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
155
|
+
* valid.
|
|
156
|
+
* @extends {jspb.Message}
|
|
157
|
+
* @constructor
|
|
158
|
+
*/
|
|
159
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch = function(opt_data) {
|
|
160
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.oneofGroups_);
|
|
161
|
+
};
|
|
162
|
+
goog.inherits(proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch, jspb.Message);
|
|
163
|
+
if (goog.DEBUG && !COMPILED) {
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
* @override
|
|
167
|
+
*/
|
|
168
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.displayName = 'proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch';
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Generated by JsPbCodeGenerator.
|
|
172
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
173
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
174
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
175
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
176
|
+
* valid.
|
|
177
|
+
* @extends {jspb.Message}
|
|
178
|
+
* @constructor
|
|
179
|
+
*/
|
|
180
|
+
proto.Spic.AssetProto.RetrieveBulkResponse = function(opt_data) {
|
|
181
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.Spic.AssetProto.RetrieveBulkResponse.repeatedFields_, null);
|
|
182
|
+
};
|
|
183
|
+
goog.inherits(proto.Spic.AssetProto.RetrieveBulkResponse, jspb.Message);
|
|
184
|
+
if (goog.DEBUG && !COMPILED) {
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* @override
|
|
188
|
+
*/
|
|
189
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.displayName = 'proto.Spic.AssetProto.RetrieveBulkResponse';
|
|
190
|
+
}
|
|
124
191
|
/**
|
|
125
192
|
* Generated by JsPbCodeGenerator.
|
|
126
193
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1412,6 +1479,548 @@ proto.Spic.AssetProto.RetrieveRequest.prototype.hasUid = function() {
|
|
|
1412
1479
|
|
|
1413
1480
|
|
|
1414
1481
|
|
|
1482
|
+
/**
|
|
1483
|
+
* List of repeated fields within this message type.
|
|
1484
|
+
* @private {!Array<number>}
|
|
1485
|
+
* @const
|
|
1486
|
+
*/
|
|
1487
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.repeatedFields_ = [1];
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1492
|
+
/**
|
|
1493
|
+
* Creates an object representation of this proto.
|
|
1494
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1495
|
+
* Optional fields that are not set will be set to undefined.
|
|
1496
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1497
|
+
* For the list of reserved names please see:
|
|
1498
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1499
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1500
|
+
* JSPB instance for transitional soy proto support:
|
|
1501
|
+
* http://goto/soy-param-migration
|
|
1502
|
+
* @return {!Object}
|
|
1503
|
+
*/
|
|
1504
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1505
|
+
return proto.Spic.AssetProto.RetrieveBulkRequest.toObject(opt_includeInstance, this);
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
/**
|
|
1510
|
+
* Static version of the {@see toObject} method.
|
|
1511
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1512
|
+
* the JSPB instance for transitional soy proto support:
|
|
1513
|
+
* http://goto/soy-param-migration
|
|
1514
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkRequest} msg The msg instance to transform.
|
|
1515
|
+
* @return {!Object}
|
|
1516
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1517
|
+
*/
|
|
1518
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.toObject = function(includeInstance, msg) {
|
|
1519
|
+
var f, obj = {
|
|
1520
|
+
searchList: jspb.Message.toObjectList(msg.getSearchList(),
|
|
1521
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.toObject, includeInstance)
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
if (includeInstance) {
|
|
1525
|
+
obj.$jspbMessageInstance = msg;
|
|
1526
|
+
}
|
|
1527
|
+
return obj;
|
|
1528
|
+
};
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1534
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1535
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest}
|
|
1536
|
+
*/
|
|
1537
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.deserializeBinary = function(bytes) {
|
|
1538
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1539
|
+
var msg = new proto.Spic.AssetProto.RetrieveBulkRequest;
|
|
1540
|
+
return proto.Spic.AssetProto.RetrieveBulkRequest.deserializeBinaryFromReader(msg, reader);
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1546
|
+
* given reader into the given message object.
|
|
1547
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkRequest} msg The message object to deserialize into.
|
|
1548
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1549
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest}
|
|
1550
|
+
*/
|
|
1551
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1552
|
+
while (reader.nextField()) {
|
|
1553
|
+
if (reader.isEndGroup()) {
|
|
1554
|
+
break;
|
|
1555
|
+
}
|
|
1556
|
+
var field = reader.getFieldNumber();
|
|
1557
|
+
switch (field) {
|
|
1558
|
+
case 1:
|
|
1559
|
+
var value = new proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch;
|
|
1560
|
+
reader.readMessage(value,proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.deserializeBinaryFromReader);
|
|
1561
|
+
msg.addSearch(value);
|
|
1562
|
+
break;
|
|
1563
|
+
default:
|
|
1564
|
+
reader.skipField();
|
|
1565
|
+
break;
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
return msg;
|
|
1569
|
+
};
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1574
|
+
* @return {!Uint8Array}
|
|
1575
|
+
*/
|
|
1576
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.prototype.serializeBinary = function() {
|
|
1577
|
+
var writer = new jspb.BinaryWriter();
|
|
1578
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.serializeBinaryToWriter(this, writer);
|
|
1579
|
+
return writer.getResultBuffer();
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1585
|
+
* format), writing to the given BinaryWriter.
|
|
1586
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkRequest} message
|
|
1587
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1588
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1589
|
+
*/
|
|
1590
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1591
|
+
var f = undefined;
|
|
1592
|
+
f = message.getSearchList();
|
|
1593
|
+
if (f.length > 0) {
|
|
1594
|
+
writer.writeRepeatedMessage(
|
|
1595
|
+
1,
|
|
1596
|
+
f,
|
|
1597
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.serializeBinaryToWriter
|
|
1598
|
+
);
|
|
1599
|
+
}
|
|
1600
|
+
};
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
1606
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
1607
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
1608
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
1609
|
+
* @private {!Array<!Array<number>>}
|
|
1610
|
+
* @const
|
|
1611
|
+
*/
|
|
1612
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.oneofGroups_ = [[1,2]];
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* @enum {number}
|
|
1616
|
+
*/
|
|
1617
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.SearchCase = {
|
|
1618
|
+
SEARCH_NOT_SET: 0,
|
|
1619
|
+
ID: 1,
|
|
1620
|
+
UID: 2
|
|
1621
|
+
};
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* @return {proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.SearchCase}
|
|
1625
|
+
*/
|
|
1626
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.getSearchCase = function() {
|
|
1627
|
+
return /** @type {proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.SearchCase} */(jspb.Message.computeOneofCase(this, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.oneofGroups_[0]));
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1633
|
+
/**
|
|
1634
|
+
* Creates an object representation of this proto.
|
|
1635
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1636
|
+
* Optional fields that are not set will be set to undefined.
|
|
1637
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1638
|
+
* For the list of reserved names please see:
|
|
1639
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1640
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1641
|
+
* JSPB instance for transitional soy proto support:
|
|
1642
|
+
* http://goto/soy-param-migration
|
|
1643
|
+
* @return {!Object}
|
|
1644
|
+
*/
|
|
1645
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.toObject = function(opt_includeInstance) {
|
|
1646
|
+
return proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.toObject(opt_includeInstance, this);
|
|
1647
|
+
};
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Static version of the {@see toObject} method.
|
|
1652
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1653
|
+
* the JSPB instance for transitional soy proto support:
|
|
1654
|
+
* http://goto/soy-param-migration
|
|
1655
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch} msg The msg instance to transform.
|
|
1656
|
+
* @return {!Object}
|
|
1657
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1658
|
+
*/
|
|
1659
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.toObject = function(includeInstance, msg) {
|
|
1660
|
+
var f, obj = {
|
|
1661
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1662
|
+
uid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
if (includeInstance) {
|
|
1666
|
+
obj.$jspbMessageInstance = msg;
|
|
1667
|
+
}
|
|
1668
|
+
return obj;
|
|
1669
|
+
};
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1675
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1676
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch}
|
|
1677
|
+
*/
|
|
1678
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.deserializeBinary = function(bytes) {
|
|
1679
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1680
|
+
var msg = new proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch;
|
|
1681
|
+
return proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.deserializeBinaryFromReader(msg, reader);
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1687
|
+
* given reader into the given message object.
|
|
1688
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch} msg The message object to deserialize into.
|
|
1689
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1690
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch}
|
|
1691
|
+
*/
|
|
1692
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.deserializeBinaryFromReader = function(msg, reader) {
|
|
1693
|
+
while (reader.nextField()) {
|
|
1694
|
+
if (reader.isEndGroup()) {
|
|
1695
|
+
break;
|
|
1696
|
+
}
|
|
1697
|
+
var field = reader.getFieldNumber();
|
|
1698
|
+
switch (field) {
|
|
1699
|
+
case 1:
|
|
1700
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
1701
|
+
msg.setId(value);
|
|
1702
|
+
break;
|
|
1703
|
+
case 2:
|
|
1704
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1705
|
+
msg.setUid(value);
|
|
1706
|
+
break;
|
|
1707
|
+
default:
|
|
1708
|
+
reader.skipField();
|
|
1709
|
+
break;
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
return msg;
|
|
1713
|
+
};
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1718
|
+
* @return {!Uint8Array}
|
|
1719
|
+
*/
|
|
1720
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.serializeBinary = function() {
|
|
1721
|
+
var writer = new jspb.BinaryWriter();
|
|
1722
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.serializeBinaryToWriter(this, writer);
|
|
1723
|
+
return writer.getResultBuffer();
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1729
|
+
* format), writing to the given BinaryWriter.
|
|
1730
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch} message
|
|
1731
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1732
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1733
|
+
*/
|
|
1734
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.serializeBinaryToWriter = function(message, writer) {
|
|
1735
|
+
var f = undefined;
|
|
1736
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
1737
|
+
if (f != null) {
|
|
1738
|
+
writer.writeInt64(
|
|
1739
|
+
1,
|
|
1740
|
+
f
|
|
1741
|
+
);
|
|
1742
|
+
}
|
|
1743
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
1744
|
+
if (f != null) {
|
|
1745
|
+
writer.writeString(
|
|
1746
|
+
2,
|
|
1747
|
+
f
|
|
1748
|
+
);
|
|
1749
|
+
}
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* optional int64 id = 1;
|
|
1755
|
+
* @return {number}
|
|
1756
|
+
*/
|
|
1757
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.getId = function() {
|
|
1758
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* @param {number} value
|
|
1764
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch} returns this
|
|
1765
|
+
*/
|
|
1766
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.setId = function(value) {
|
|
1767
|
+
return jspb.Message.setOneofField(this, 1, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.oneofGroups_[0], value);
|
|
1768
|
+
};
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* Clears the field making it undefined.
|
|
1773
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch} returns this
|
|
1774
|
+
*/
|
|
1775
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.clearId = function() {
|
|
1776
|
+
return jspb.Message.setOneofField(this, 1, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.oneofGroups_[0], undefined);
|
|
1777
|
+
};
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
/**
|
|
1781
|
+
* Returns whether this field is set.
|
|
1782
|
+
* @return {boolean}
|
|
1783
|
+
*/
|
|
1784
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.hasId = function() {
|
|
1785
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* optional string uid = 2;
|
|
1791
|
+
* @return {string}
|
|
1792
|
+
*/
|
|
1793
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.getUid = function() {
|
|
1794
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1795
|
+
};
|
|
1796
|
+
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* @param {string} value
|
|
1800
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch} returns this
|
|
1801
|
+
*/
|
|
1802
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.setUid = function(value) {
|
|
1803
|
+
return jspb.Message.setOneofField(this, 2, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.oneofGroups_[0], value);
|
|
1804
|
+
};
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* Clears the field making it undefined.
|
|
1809
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch} returns this
|
|
1810
|
+
*/
|
|
1811
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.clearUid = function() {
|
|
1812
|
+
return jspb.Message.setOneofField(this, 2, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.oneofGroups_[0], undefined);
|
|
1813
|
+
};
|
|
1814
|
+
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Returns whether this field is set.
|
|
1818
|
+
* @return {boolean}
|
|
1819
|
+
*/
|
|
1820
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch.prototype.hasUid = function() {
|
|
1821
|
+
return jspb.Message.getField(this, 2) != null;
|
|
1822
|
+
};
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
/**
|
|
1826
|
+
* repeated RetrieveBulkSearch search = 1;
|
|
1827
|
+
* @return {!Array<!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch>}
|
|
1828
|
+
*/
|
|
1829
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.prototype.getSearchList = function() {
|
|
1830
|
+
return /** @type{!Array<!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch>} */ (
|
|
1831
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch, 1));
|
|
1832
|
+
};
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* @param {!Array<!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch>} value
|
|
1837
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest} returns this
|
|
1838
|
+
*/
|
|
1839
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.prototype.setSearchList = function(value) {
|
|
1840
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1841
|
+
};
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch=} opt_value
|
|
1846
|
+
* @param {number=} opt_index
|
|
1847
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch}
|
|
1848
|
+
*/
|
|
1849
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.prototype.addSearch = function(opt_value, opt_index) {
|
|
1850
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Spic.AssetProto.RetrieveBulkRequest.RetrieveBulkSearch, opt_index);
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* Clears the list making it empty but non-null.
|
|
1856
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkRequest} returns this
|
|
1857
|
+
*/
|
|
1858
|
+
proto.Spic.AssetProto.RetrieveBulkRequest.prototype.clearSearchList = function() {
|
|
1859
|
+
return this.setSearchList([]);
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* List of repeated fields within this message type.
|
|
1866
|
+
* @private {!Array<number>}
|
|
1867
|
+
* @const
|
|
1868
|
+
*/
|
|
1869
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.repeatedFields_ = [1];
|
|
1870
|
+
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1874
|
+
/**
|
|
1875
|
+
* Creates an object representation of this proto.
|
|
1876
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1877
|
+
* Optional fields that are not set will be set to undefined.
|
|
1878
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1879
|
+
* For the list of reserved names please see:
|
|
1880
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1881
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1882
|
+
* JSPB instance for transitional soy proto support:
|
|
1883
|
+
* http://goto/soy-param-migration
|
|
1884
|
+
* @return {!Object}
|
|
1885
|
+
*/
|
|
1886
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1887
|
+
return proto.Spic.AssetProto.RetrieveBulkResponse.toObject(opt_includeInstance, this);
|
|
1888
|
+
};
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
* Static version of the {@see toObject} method.
|
|
1893
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1894
|
+
* the JSPB instance for transitional soy proto support:
|
|
1895
|
+
* http://goto/soy-param-migration
|
|
1896
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkResponse} msg The msg instance to transform.
|
|
1897
|
+
* @return {!Object}
|
|
1898
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1899
|
+
*/
|
|
1900
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.toObject = function(includeInstance, msg) {
|
|
1901
|
+
var f, obj = {
|
|
1902
|
+
assetsList: jspb.Message.toObjectList(msg.getAssetsList(),
|
|
1903
|
+
proto.Spic.AssetWithLocation.toObject, includeInstance)
|
|
1904
|
+
};
|
|
1905
|
+
|
|
1906
|
+
if (includeInstance) {
|
|
1907
|
+
obj.$jspbMessageInstance = msg;
|
|
1908
|
+
}
|
|
1909
|
+
return obj;
|
|
1910
|
+
};
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1916
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1917
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkResponse}
|
|
1918
|
+
*/
|
|
1919
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.deserializeBinary = function(bytes) {
|
|
1920
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1921
|
+
var msg = new proto.Spic.AssetProto.RetrieveBulkResponse;
|
|
1922
|
+
return proto.Spic.AssetProto.RetrieveBulkResponse.deserializeBinaryFromReader(msg, reader);
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1928
|
+
* given reader into the given message object.
|
|
1929
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkResponse} msg The message object to deserialize into.
|
|
1930
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1931
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkResponse}
|
|
1932
|
+
*/
|
|
1933
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1934
|
+
while (reader.nextField()) {
|
|
1935
|
+
if (reader.isEndGroup()) {
|
|
1936
|
+
break;
|
|
1937
|
+
}
|
|
1938
|
+
var field = reader.getFieldNumber();
|
|
1939
|
+
switch (field) {
|
|
1940
|
+
case 1:
|
|
1941
|
+
var value = new proto.Spic.AssetWithLocation;
|
|
1942
|
+
reader.readMessage(value,proto.Spic.AssetWithLocation.deserializeBinaryFromReader);
|
|
1943
|
+
msg.addAssets(value);
|
|
1944
|
+
break;
|
|
1945
|
+
default:
|
|
1946
|
+
reader.skipField();
|
|
1947
|
+
break;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
return msg;
|
|
1951
|
+
};
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1956
|
+
* @return {!Uint8Array}
|
|
1957
|
+
*/
|
|
1958
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.prototype.serializeBinary = function() {
|
|
1959
|
+
var writer = new jspb.BinaryWriter();
|
|
1960
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.serializeBinaryToWriter(this, writer);
|
|
1961
|
+
return writer.getResultBuffer();
|
|
1962
|
+
};
|
|
1963
|
+
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1967
|
+
* format), writing to the given BinaryWriter.
|
|
1968
|
+
* @param {!proto.Spic.AssetProto.RetrieveBulkResponse} message
|
|
1969
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1970
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1971
|
+
*/
|
|
1972
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1973
|
+
var f = undefined;
|
|
1974
|
+
f = message.getAssetsList();
|
|
1975
|
+
if (f.length > 0) {
|
|
1976
|
+
writer.writeRepeatedMessage(
|
|
1977
|
+
1,
|
|
1978
|
+
f,
|
|
1979
|
+
proto.Spic.AssetWithLocation.serializeBinaryToWriter
|
|
1980
|
+
);
|
|
1981
|
+
}
|
|
1982
|
+
};
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* repeated AssetWithLocation assets = 1;
|
|
1987
|
+
* @return {!Array<!proto.Spic.AssetWithLocation>}
|
|
1988
|
+
*/
|
|
1989
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.prototype.getAssetsList = function() {
|
|
1990
|
+
return /** @type{!Array<!proto.Spic.AssetWithLocation>} */ (
|
|
1991
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Spic.AssetWithLocation, 1));
|
|
1992
|
+
};
|
|
1993
|
+
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* @param {!Array<!proto.Spic.AssetWithLocation>} value
|
|
1997
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkResponse} returns this
|
|
1998
|
+
*/
|
|
1999
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.prototype.setAssetsList = function(value) {
|
|
2000
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2001
|
+
};
|
|
2002
|
+
|
|
2003
|
+
|
|
2004
|
+
/**
|
|
2005
|
+
* @param {!proto.Spic.AssetWithLocation=} opt_value
|
|
2006
|
+
* @param {number=} opt_index
|
|
2007
|
+
* @return {!proto.Spic.AssetWithLocation}
|
|
2008
|
+
*/
|
|
2009
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.prototype.addAssets = function(opt_value, opt_index) {
|
|
2010
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Spic.AssetWithLocation, opt_index);
|
|
2011
|
+
};
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* Clears the list making it empty but non-null.
|
|
2016
|
+
* @return {!proto.Spic.AssetProto.RetrieveBulkResponse} returns this
|
|
2017
|
+
*/
|
|
2018
|
+
proto.Spic.AssetProto.RetrieveBulkResponse.prototype.clearAssetsList = function() {
|
|
2019
|
+
return this.setAssetsList([]);
|
|
2020
|
+
};
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
|
|
1415
2024
|
|
|
1416
2025
|
|
|
1417
2026
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -23,6 +23,15 @@ type AssetGRPCRetrieve = {
|
|
|
23
23
|
readonly responseType: typeof spic_asset_pb.AssetWithLocation;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
+
type AssetGRPCRetrieveBulk = {
|
|
27
|
+
readonly methodName: string;
|
|
28
|
+
readonly service: typeof AssetGRPC;
|
|
29
|
+
readonly requestStream: false;
|
|
30
|
+
readonly responseStream: false;
|
|
31
|
+
readonly requestType: typeof spic_asset_pb.AssetProto.RetrieveBulkRequest;
|
|
32
|
+
readonly responseType: typeof spic_asset_pb.AssetProto.RetrieveBulkResponse;
|
|
33
|
+
};
|
|
34
|
+
|
|
26
35
|
type AssetGRPCUpdate = {
|
|
27
36
|
readonly methodName: string;
|
|
28
37
|
readonly service: typeof AssetGRPC;
|
|
@@ -90,6 +99,7 @@ export class AssetGRPC {
|
|
|
90
99
|
static readonly serviceName: string;
|
|
91
100
|
static readonly Create: AssetGRPCCreate;
|
|
92
101
|
static readonly Retrieve: AssetGRPCRetrieve;
|
|
102
|
+
static readonly RetrieveBulk: AssetGRPCRetrieveBulk;
|
|
93
103
|
static readonly Update: AssetGRPCUpdate;
|
|
94
104
|
static readonly Delete: AssetGRPCDelete;
|
|
95
105
|
static readonly RetrieveImage: AssetGRPCRetrieveImage;
|
|
@@ -149,6 +159,15 @@ export class AssetGRPCClient {
|
|
|
149
159
|
requestMessage: spic_asset_pb.AssetProto.RetrieveRequest,
|
|
150
160
|
callback: (error: ServiceError|null, responseMessage: spic_asset_pb.AssetWithLocation|null) => void
|
|
151
161
|
): UnaryResponse;
|
|
162
|
+
retrieveBulk(
|
|
163
|
+
requestMessage: spic_asset_pb.AssetProto.RetrieveBulkRequest,
|
|
164
|
+
metadata: grpc.Metadata,
|
|
165
|
+
callback: (error: ServiceError|null, responseMessage: spic_asset_pb.AssetProto.RetrieveBulkResponse|null) => void
|
|
166
|
+
): UnaryResponse;
|
|
167
|
+
retrieveBulk(
|
|
168
|
+
requestMessage: spic_asset_pb.AssetProto.RetrieveBulkRequest,
|
|
169
|
+
callback: (error: ServiceError|null, responseMessage: spic_asset_pb.AssetProto.RetrieveBulkResponse|null) => void
|
|
170
|
+
): UnaryResponse;
|
|
152
171
|
update(
|
|
153
172
|
requestMessage: spic_asset_pb.AssetProto.UpdateRequest,
|
|
154
173
|
metadata: grpc.Metadata,
|