@aldiokta/protocgen 1.0.38 → 1.0.39
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
CHANGED
|
@@ -38,7 +38,6 @@ goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionConfig
|
|
|
38
38
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionConfigList', null, global);
|
|
39
39
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionFieldsById', null, global);
|
|
40
40
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesRules', null, global);
|
|
41
|
-
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesTable', null, global);
|
|
42
41
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilder', null, global);
|
|
43
42
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilderList', null, global);
|
|
44
43
|
goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilderWithDetail', null, global);
|
|
@@ -170,27 +169,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
170
169
|
*/
|
|
171
170
|
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.displayName = 'proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable';
|
|
172
171
|
}
|
|
173
|
-
/**
|
|
174
|
-
* Generated by JsPbCodeGenerator.
|
|
175
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
176
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
177
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
178
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
179
|
-
* valid.
|
|
180
|
-
* @extends {jspb.Message}
|
|
181
|
-
* @constructor
|
|
182
|
-
*/
|
|
183
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable = function(opt_data) {
|
|
184
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
185
|
-
};
|
|
186
|
-
goog.inherits(proto.prisca.v1.core.transaction_builder.PropertiesTable, jspb.Message);
|
|
187
|
-
if (goog.DEBUG && !COMPILED) {
|
|
188
|
-
/**
|
|
189
|
-
* @public
|
|
190
|
-
* @override
|
|
191
|
-
*/
|
|
192
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.displayName = 'proto.prisca.v1.core.transaction_builder.PropertiesTable';
|
|
193
|
-
}
|
|
194
172
|
/**
|
|
195
173
|
* Generated by JsPbCodeGenerator.
|
|
196
174
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1965,7 +1943,7 @@ orders: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
|
1965
1943
|
key: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1966
1944
|
label: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1967
1945
|
referencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1968
|
-
properties:
|
|
1946
|
+
properties: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1969
1947
|
};
|
|
1970
1948
|
|
|
1971
1949
|
if (includeInstance) {
|
|
@@ -2023,8 +2001,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.deseriali
|
|
|
2023
2001
|
msg.setReferencesId(value);
|
|
2024
2002
|
break;
|
|
2025
2003
|
case 6:
|
|
2026
|
-
var value =
|
|
2027
|
-
reader.readMessage(value,proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinaryFromReader);
|
|
2004
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2028
2005
|
msg.setProperties(value);
|
|
2029
2006
|
break;
|
|
2030
2007
|
default:
|
|
@@ -2092,11 +2069,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.serialize
|
|
|
2092
2069
|
);
|
|
2093
2070
|
}
|
|
2094
2071
|
f = message.getProperties();
|
|
2095
|
-
if (f
|
|
2096
|
-
writer.
|
|
2072
|
+
if (f.length > 0) {
|
|
2073
|
+
writer.writeString(
|
|
2097
2074
|
6,
|
|
2098
|
-
f
|
|
2099
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.serializeBinaryToWriter
|
|
2075
|
+
f
|
|
2100
2076
|
);
|
|
2101
2077
|
}
|
|
2102
2078
|
};
|
|
@@ -2193,199 +2169,20 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype
|
|
|
2193
2169
|
|
|
2194
2170
|
|
|
2195
2171
|
/**
|
|
2196
|
-
* optional
|
|
2197
|
-
* @return {?proto.prisca.v1.core.transaction_builder.PropertiesTable}
|
|
2198
|
-
*/
|
|
2199
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.getProperties = function() {
|
|
2200
|
-
return /** @type{?proto.prisca.v1.core.transaction_builder.PropertiesTable} */ (
|
|
2201
|
-
jspb.Message.getWrapperField(this, proto.prisca.v1.core.transaction_builder.PropertiesTable, 6));
|
|
2202
|
-
};
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
/**
|
|
2206
|
-
* @param {?proto.prisca.v1.core.transaction_builder.PropertiesTable|undefined} value
|
|
2207
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable} returns this
|
|
2208
|
-
*/
|
|
2209
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.setProperties = function(value) {
|
|
2210
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
2211
|
-
};
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
/**
|
|
2215
|
-
* Clears the message field making it undefined.
|
|
2216
|
-
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable} returns this
|
|
2217
|
-
*/
|
|
2218
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.clearProperties = function() {
|
|
2219
|
-
return this.setProperties(undefined);
|
|
2220
|
-
};
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
/**
|
|
2224
|
-
* Returns whether this field is set.
|
|
2225
|
-
* @return {boolean}
|
|
2226
|
-
*/
|
|
2227
|
-
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.hasProperties = function() {
|
|
2228
|
-
return jspb.Message.getField(this, 6) != null;
|
|
2229
|
-
};
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2236
|
-
/**
|
|
2237
|
-
* Creates an object representation of this proto.
|
|
2238
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2239
|
-
* Optional fields that are not set will be set to undefined.
|
|
2240
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2241
|
-
* For the list of reserved names please see:
|
|
2242
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2243
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2244
|
-
* JSPB instance for transitional soy proto support:
|
|
2245
|
-
* http://goto/soy-param-migration
|
|
2246
|
-
* @return {!Object}
|
|
2247
|
-
*/
|
|
2248
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.toObject = function(opt_includeInstance) {
|
|
2249
|
-
return proto.prisca.v1.core.transaction_builder.PropertiesTable.toObject(opt_includeInstance, this);
|
|
2250
|
-
};
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
/**
|
|
2254
|
-
* Static version of the {@see toObject} method.
|
|
2255
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2256
|
-
* the JSPB instance for transitional soy proto support:
|
|
2257
|
-
* http://goto/soy-param-migration
|
|
2258
|
-
* @param {!proto.prisca.v1.core.transaction_builder.PropertiesTable} msg The msg instance to transform.
|
|
2259
|
-
* @return {!Object}
|
|
2260
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2261
|
-
*/
|
|
2262
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.toObject = function(includeInstance, msg) {
|
|
2263
|
-
var f, obj = {
|
|
2264
|
-
isMain: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
2265
|
-
dataType: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2266
|
-
};
|
|
2267
|
-
|
|
2268
|
-
if (includeInstance) {
|
|
2269
|
-
obj.$jspbMessageInstance = msg;
|
|
2270
|
-
}
|
|
2271
|
-
return obj;
|
|
2272
|
-
};
|
|
2273
|
-
}
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
/**
|
|
2277
|
-
* Deserializes binary data (in protobuf wire format).
|
|
2278
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2279
|
-
* @return {!proto.prisca.v1.core.transaction_builder.PropertiesTable}
|
|
2280
|
-
*/
|
|
2281
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinary = function(bytes) {
|
|
2282
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
2283
|
-
var msg = new proto.prisca.v1.core.transaction_builder.PropertiesTable;
|
|
2284
|
-
return proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinaryFromReader(msg, reader);
|
|
2285
|
-
};
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
/**
|
|
2289
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
2290
|
-
* given reader into the given message object.
|
|
2291
|
-
* @param {!proto.prisca.v1.core.transaction_builder.PropertiesTable} msg The message object to deserialize into.
|
|
2292
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2293
|
-
* @return {!proto.prisca.v1.core.transaction_builder.PropertiesTable}
|
|
2294
|
-
*/
|
|
2295
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.deserializeBinaryFromReader = function(msg, reader) {
|
|
2296
|
-
while (reader.nextField()) {
|
|
2297
|
-
if (reader.isEndGroup()) {
|
|
2298
|
-
break;
|
|
2299
|
-
}
|
|
2300
|
-
var field = reader.getFieldNumber();
|
|
2301
|
-
switch (field) {
|
|
2302
|
-
case 1:
|
|
2303
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2304
|
-
msg.setIsMain(value);
|
|
2305
|
-
break;
|
|
2306
|
-
case 2:
|
|
2307
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2308
|
-
msg.setDataType(value);
|
|
2309
|
-
break;
|
|
2310
|
-
default:
|
|
2311
|
-
reader.skipField();
|
|
2312
|
-
break;
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
return msg;
|
|
2316
|
-
};
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
/**
|
|
2320
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
2321
|
-
* @return {!Uint8Array}
|
|
2322
|
-
*/
|
|
2323
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.serializeBinary = function() {
|
|
2324
|
-
var writer = new jspb.BinaryWriter();
|
|
2325
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.serializeBinaryToWriter(this, writer);
|
|
2326
|
-
return writer.getResultBuffer();
|
|
2327
|
-
};
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
/**
|
|
2331
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
2332
|
-
* format), writing to the given BinaryWriter.
|
|
2333
|
-
* @param {!proto.prisca.v1.core.transaction_builder.PropertiesTable} message
|
|
2334
|
-
* @param {!jspb.BinaryWriter} writer
|
|
2335
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2336
|
-
*/
|
|
2337
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.serializeBinaryToWriter = function(message, writer) {
|
|
2338
|
-
var f = undefined;
|
|
2339
|
-
f = message.getIsMain();
|
|
2340
|
-
if (f) {
|
|
2341
|
-
writer.writeBool(
|
|
2342
|
-
1,
|
|
2343
|
-
f
|
|
2344
|
-
);
|
|
2345
|
-
}
|
|
2346
|
-
f = message.getDataType();
|
|
2347
|
-
if (f.length > 0) {
|
|
2348
|
-
writer.writeString(
|
|
2349
|
-
2,
|
|
2350
|
-
f
|
|
2351
|
-
);
|
|
2352
|
-
}
|
|
2353
|
-
};
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
/**
|
|
2357
|
-
* optional bool is_main = 1;
|
|
2358
|
-
* @return {boolean}
|
|
2359
|
-
*/
|
|
2360
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.getIsMain = function() {
|
|
2361
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
2362
|
-
};
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
/**
|
|
2366
|
-
* @param {boolean} value
|
|
2367
|
-
* @return {!proto.prisca.v1.core.transaction_builder.PropertiesTable} returns this
|
|
2368
|
-
*/
|
|
2369
|
-
proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.setIsMain = function(value) {
|
|
2370
|
-
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
2371
|
-
};
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
/**
|
|
2375
|
-
* optional string data_type = 2;
|
|
2172
|
+
* optional string properties = 6;
|
|
2376
2173
|
* @return {string}
|
|
2377
2174
|
*/
|
|
2378
|
-
proto.prisca.v1.core.transaction_builder.
|
|
2379
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
2175
|
+
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.getProperties = function() {
|
|
2176
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2380
2177
|
};
|
|
2381
2178
|
|
|
2382
2179
|
|
|
2383
2180
|
/**
|
|
2384
2181
|
* @param {string} value
|
|
2385
|
-
* @return {!proto.prisca.v1.core.transaction_builder.
|
|
2182
|
+
* @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable} returns this
|
|
2386
2183
|
*/
|
|
2387
|
-
proto.prisca.v1.core.transaction_builder.
|
|
2388
|
-
return jspb.Message.setProto3StringField(this,
|
|
2184
|
+
proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsTable.prototype.setProperties = function(value) {
|
|
2185
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2389
2186
|
};
|
|
2390
2187
|
|
|
2391
2188
|
|