@aldiokta/protocgen 1.0.26 → 1.0.28

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -37,7 +37,6 @@ goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionBuilde
37
37
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.GetTransactionConfigById', null, global);
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
- goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesForm', null, global);
41
40
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesRules', null, global);
42
41
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.PropertiesTable', null, global);
43
42
  goog.exportSymbol('proto.prisca.v1.core.transaction_builder.ResponseTransactionBuilder', null, global);
@@ -150,27 +149,6 @@ if (goog.DEBUG && !COMPILED) {
150
149
  */
151
150
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.displayName = 'proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail';
152
151
  }
153
- /**
154
- * Generated by JsPbCodeGenerator.
155
- * @param {Array=} opt_data Optional initial data array, typically from a
156
- * server response, or constructed directly in Javascript. The array is used
157
- * in place and becomes part of the constructed object. It is not cloned.
158
- * If no data is provided, the constructed object will be empty, but still
159
- * valid.
160
- * @extends {jspb.Message}
161
- * @constructor
162
- */
163
- proto.prisca.v1.core.transaction_builder.PropertiesForm = function(opt_data) {
164
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
165
- };
166
- goog.inherits(proto.prisca.v1.core.transaction_builder.PropertiesForm, jspb.Message);
167
- if (goog.DEBUG && !COMPILED) {
168
- /**
169
- * @public
170
- * @override
171
- */
172
- proto.prisca.v1.core.transaction_builder.PropertiesForm.displayName = 'proto.prisca.v1.core.transaction_builder.PropertiesForm';
173
- }
174
152
  /**
175
153
  * Generated by JsPbCodeGenerator.
176
154
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1953,406 +1931,6 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsDetail.prototyp
1953
1931
 
1954
1932
 
1955
1933
 
1956
- if (jspb.Message.GENERATE_TO_OBJECT) {
1957
- /**
1958
- * Creates an object representation of this proto.
1959
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
1960
- * Optional fields that are not set will be set to undefined.
1961
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1962
- * For the list of reserved names please see:
1963
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1964
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1965
- * JSPB instance for transitional soy proto support:
1966
- * http://goto/soy-param-migration
1967
- * @return {!Object}
1968
- */
1969
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.toObject = function(opt_includeInstance) {
1970
- return proto.prisca.v1.core.transaction_builder.PropertiesForm.toObject(opt_includeInstance, this);
1971
- };
1972
-
1973
-
1974
- /**
1975
- * Static version of the {@see toObject} method.
1976
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1977
- * the JSPB instance for transitional soy proto support:
1978
- * http://goto/soy-param-migration
1979
- * @param {!proto.prisca.v1.core.transaction_builder.PropertiesForm} msg The msg instance to transform.
1980
- * @return {!Object}
1981
- * @suppress {unusedLocalVariables} f is only used for nested messages
1982
- */
1983
- proto.prisca.v1.core.transaction_builder.PropertiesForm.toObject = function(includeInstance, msg) {
1984
- var f, obj = {
1985
- autoFill: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
1986
- keyOfFill: jspb.Message.getFieldWithDefault(msg, 2, ""),
1987
- parentKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
1988
- hintText: jspb.Message.getFieldWithDefault(msg, 4, ""),
1989
- placeHolder: jspb.Message.getFieldWithDefault(msg, 5, ""),
1990
- dataSource: jspb.Message.getFieldWithDefault(msg, 6, ""),
1991
- type: jspb.Message.getFieldWithDefault(msg, 7, ""),
1992
- defaultValue: jspb.Message.getFieldWithDefault(msg, 8, ""),
1993
- selectedValue: jspb.Message.getFieldWithDefault(msg, 9, ""),
1994
- isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
1995
- };
1996
-
1997
- if (includeInstance) {
1998
- obj.$jspbMessageInstance = msg;
1999
- }
2000
- return obj;
2001
- };
2002
- }
2003
-
2004
-
2005
- /**
2006
- * Deserializes binary data (in protobuf wire format).
2007
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2008
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm}
2009
- */
2010
- proto.prisca.v1.core.transaction_builder.PropertiesForm.deserializeBinary = function(bytes) {
2011
- var reader = new jspb.BinaryReader(bytes);
2012
- var msg = new proto.prisca.v1.core.transaction_builder.PropertiesForm;
2013
- return proto.prisca.v1.core.transaction_builder.PropertiesForm.deserializeBinaryFromReader(msg, reader);
2014
- };
2015
-
2016
-
2017
- /**
2018
- * Deserializes binary data (in protobuf wire format) from the
2019
- * given reader into the given message object.
2020
- * @param {!proto.prisca.v1.core.transaction_builder.PropertiesForm} msg The message object to deserialize into.
2021
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2022
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm}
2023
- */
2024
- proto.prisca.v1.core.transaction_builder.PropertiesForm.deserializeBinaryFromReader = function(msg, reader) {
2025
- while (reader.nextField()) {
2026
- if (reader.isEndGroup()) {
2027
- break;
2028
- }
2029
- var field = reader.getFieldNumber();
2030
- switch (field) {
2031
- case 1:
2032
- var value = /** @type {boolean} */ (reader.readBool());
2033
- msg.setAutoFill(value);
2034
- break;
2035
- case 2:
2036
- var value = /** @type {string} */ (reader.readString());
2037
- msg.setKeyOfFill(value);
2038
- break;
2039
- case 3:
2040
- var value = /** @type {string} */ (reader.readString());
2041
- msg.setParentKey(value);
2042
- break;
2043
- case 4:
2044
- var value = /** @type {string} */ (reader.readString());
2045
- msg.setHintText(value);
2046
- break;
2047
- case 5:
2048
- var value = /** @type {string} */ (reader.readString());
2049
- msg.setPlaceHolder(value);
2050
- break;
2051
- case 6:
2052
- var value = /** @type {string} */ (reader.readString());
2053
- msg.setDataSource(value);
2054
- break;
2055
- case 7:
2056
- var value = /** @type {string} */ (reader.readString());
2057
- msg.setType(value);
2058
- break;
2059
- case 8:
2060
- var value = /** @type {string} */ (reader.readString());
2061
- msg.setDefaultValue(value);
2062
- break;
2063
- case 9:
2064
- var value = /** @type {string} */ (reader.readString());
2065
- msg.setSelectedValue(value);
2066
- break;
2067
- case 10:
2068
- var value = /** @type {boolean} */ (reader.readBool());
2069
- msg.setIsMaster(value);
2070
- break;
2071
- default:
2072
- reader.skipField();
2073
- break;
2074
- }
2075
- }
2076
- return msg;
2077
- };
2078
-
2079
-
2080
- /**
2081
- * Serializes the message to binary data (in protobuf wire format).
2082
- * @return {!Uint8Array}
2083
- */
2084
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.serializeBinary = function() {
2085
- var writer = new jspb.BinaryWriter();
2086
- proto.prisca.v1.core.transaction_builder.PropertiesForm.serializeBinaryToWriter(this, writer);
2087
- return writer.getResultBuffer();
2088
- };
2089
-
2090
-
2091
- /**
2092
- * Serializes the given message to binary data (in protobuf wire
2093
- * format), writing to the given BinaryWriter.
2094
- * @param {!proto.prisca.v1.core.transaction_builder.PropertiesForm} message
2095
- * @param {!jspb.BinaryWriter} writer
2096
- * @suppress {unusedLocalVariables} f is only used for nested messages
2097
- */
2098
- proto.prisca.v1.core.transaction_builder.PropertiesForm.serializeBinaryToWriter = function(message, writer) {
2099
- var f = undefined;
2100
- f = message.getAutoFill();
2101
- if (f) {
2102
- writer.writeBool(
2103
- 1,
2104
- f
2105
- );
2106
- }
2107
- f = message.getKeyOfFill();
2108
- if (f.length > 0) {
2109
- writer.writeString(
2110
- 2,
2111
- f
2112
- );
2113
- }
2114
- f = message.getParentKey();
2115
- if (f.length > 0) {
2116
- writer.writeString(
2117
- 3,
2118
- f
2119
- );
2120
- }
2121
- f = message.getHintText();
2122
- if (f.length > 0) {
2123
- writer.writeString(
2124
- 4,
2125
- f
2126
- );
2127
- }
2128
- f = message.getPlaceHolder();
2129
- if (f.length > 0) {
2130
- writer.writeString(
2131
- 5,
2132
- f
2133
- );
2134
- }
2135
- f = message.getDataSource();
2136
- if (f.length > 0) {
2137
- writer.writeString(
2138
- 6,
2139
- f
2140
- );
2141
- }
2142
- f = message.getType();
2143
- if (f.length > 0) {
2144
- writer.writeString(
2145
- 7,
2146
- f
2147
- );
2148
- }
2149
- f = message.getDefaultValue();
2150
- if (f.length > 0) {
2151
- writer.writeString(
2152
- 8,
2153
- f
2154
- );
2155
- }
2156
- f = message.getSelectedValue();
2157
- if (f.length > 0) {
2158
- writer.writeString(
2159
- 9,
2160
- f
2161
- );
2162
- }
2163
- f = message.getIsMaster();
2164
- if (f) {
2165
- writer.writeBool(
2166
- 10,
2167
- f
2168
- );
2169
- }
2170
- };
2171
-
2172
-
2173
- /**
2174
- * optional bool auto_fill = 1;
2175
- * @return {boolean}
2176
- */
2177
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getAutoFill = function() {
2178
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
2179
- };
2180
-
2181
-
2182
- /**
2183
- * @param {boolean} value
2184
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2185
- */
2186
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setAutoFill = function(value) {
2187
- return jspb.Message.setProto3BooleanField(this, 1, value);
2188
- };
2189
-
2190
-
2191
- /**
2192
- * optional string key_of_fill = 2;
2193
- * @return {string}
2194
- */
2195
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getKeyOfFill = function() {
2196
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2197
- };
2198
-
2199
-
2200
- /**
2201
- * @param {string} value
2202
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2203
- */
2204
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setKeyOfFill = function(value) {
2205
- return jspb.Message.setProto3StringField(this, 2, value);
2206
- };
2207
-
2208
-
2209
- /**
2210
- * optional string parent_key = 3;
2211
- * @return {string}
2212
- */
2213
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getParentKey = function() {
2214
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2215
- };
2216
-
2217
-
2218
- /**
2219
- * @param {string} value
2220
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2221
- */
2222
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setParentKey = function(value) {
2223
- return jspb.Message.setProto3StringField(this, 3, value);
2224
- };
2225
-
2226
-
2227
- /**
2228
- * optional string hint_text = 4;
2229
- * @return {string}
2230
- */
2231
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getHintText = function() {
2232
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2233
- };
2234
-
2235
-
2236
- /**
2237
- * @param {string} value
2238
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2239
- */
2240
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setHintText = function(value) {
2241
- return jspb.Message.setProto3StringField(this, 4, value);
2242
- };
2243
-
2244
-
2245
- /**
2246
- * optional string place_holder = 5;
2247
- * @return {string}
2248
- */
2249
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getPlaceHolder = function() {
2250
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2251
- };
2252
-
2253
-
2254
- /**
2255
- * @param {string} value
2256
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2257
- */
2258
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setPlaceHolder = function(value) {
2259
- return jspb.Message.setProto3StringField(this, 5, value);
2260
- };
2261
-
2262
-
2263
- /**
2264
- * optional string data_source = 6;
2265
- * @return {string}
2266
- */
2267
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getDataSource = function() {
2268
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2269
- };
2270
-
2271
-
2272
- /**
2273
- * @param {string} value
2274
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2275
- */
2276
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setDataSource = function(value) {
2277
- return jspb.Message.setProto3StringField(this, 6, value);
2278
- };
2279
-
2280
-
2281
- /**
2282
- * optional string type = 7;
2283
- * @return {string}
2284
- */
2285
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getType = function() {
2286
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2287
- };
2288
-
2289
-
2290
- /**
2291
- * @param {string} value
2292
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2293
- */
2294
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setType = function(value) {
2295
- return jspb.Message.setProto3StringField(this, 7, value);
2296
- };
2297
-
2298
-
2299
- /**
2300
- * optional string default_value = 8;
2301
- * @return {string}
2302
- */
2303
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getDefaultValue = function() {
2304
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2305
- };
2306
-
2307
-
2308
- /**
2309
- * @param {string} value
2310
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2311
- */
2312
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setDefaultValue = function(value) {
2313
- return jspb.Message.setProto3StringField(this, 8, value);
2314
- };
2315
-
2316
-
2317
- /**
2318
- * optional string selected_value = 9;
2319
- * @return {string}
2320
- */
2321
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getSelectedValue = function() {
2322
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2323
- };
2324
-
2325
-
2326
- /**
2327
- * @param {string} value
2328
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2329
- */
2330
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setSelectedValue = function(value) {
2331
- return jspb.Message.setProto3StringField(this, 9, value);
2332
- };
2333
-
2334
-
2335
- /**
2336
- * optional bool is_master = 10;
2337
- * @return {boolean}
2338
- */
2339
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.getIsMaster = function() {
2340
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
2341
- };
2342
-
2343
-
2344
- /**
2345
- * @param {boolean} value
2346
- * @return {!proto.prisca.v1.core.transaction_builder.PropertiesForm} returns this
2347
- */
2348
- proto.prisca.v1.core.transaction_builder.PropertiesForm.prototype.setIsMaster = function(value) {
2349
- return jspb.Message.setProto3BooleanField(this, 10, value);
2350
- };
2351
-
2352
-
2353
-
2354
-
2355
-
2356
1934
  if (jspb.Message.GENERATE_TO_OBJECT) {
2357
1935
  /**
2358
1936
  * Creates an object representation of this proto.
@@ -2817,7 +2395,7 @@ proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.setDataType =
2817
2395
  * @private {!Array<number>}
2818
2396
  * @const
2819
2397
  */
2820
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.repeatedFields_ = [5,6,7];
2398
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.repeatedFields_ = [5,6];
2821
2399
 
2822
2400
 
2823
2401
 
@@ -2854,13 +2432,11 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2854
2432
  transactionBuilderId: jspb.Message.getFieldWithDefault(msg, 2, 0),
2855
2433
  key: jspb.Message.getFieldWithDefault(msg, 3, ""),
2856
2434
  label: jspb.Message.getFieldWithDefault(msg, 4, ""),
2857
- optionList: jspb.Message.toObjectList(msg.getOptionList(),
2858
- proto.prisca.v1.core.transaction_builder.Value.toObject, includeInstance),
2859
2435
  fieldRulesList: jspb.Message.toObjectList(msg.getFieldRulesList(),
2860
2436
  proto.prisca.v1.core.transaction_builder.FieldRules.toObject, includeInstance),
2861
2437
  fieldViewsList: jspb.Message.toObjectList(msg.getFieldViewsList(),
2862
2438
  proto.prisca.v1.core.transaction_builder.FieldViews.toObject, includeInstance),
2863
- value: jspb.Message.getFieldWithDefault(msg, 8, "")
2439
+ value: jspb.Message.getFieldWithDefault(msg, 7, "")
2864
2440
  };
2865
2441
 
2866
2442
  if (includeInstance) {
@@ -2914,21 +2490,16 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.deserializeBin
2914
2490
  msg.setLabel(value);
2915
2491
  break;
2916
2492
  case 5:
2917
- var value = new proto.prisca.v1.core.transaction_builder.Value;
2918
- reader.readMessage(value,proto.prisca.v1.core.transaction_builder.Value.deserializeBinaryFromReader);
2919
- msg.addOption(value);
2920
- break;
2921
- case 6:
2922
2493
  var value = new proto.prisca.v1.core.transaction_builder.FieldRules;
2923
2494
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldRules.deserializeBinaryFromReader);
2924
2495
  msg.addFieldRules(value);
2925
2496
  break;
2926
- case 7:
2497
+ case 6:
2927
2498
  var value = new proto.prisca.v1.core.transaction_builder.FieldViews;
2928
2499
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldViews.deserializeBinaryFromReader);
2929
2500
  msg.addFieldViews(value);
2930
2501
  break;
2931
- case 8:
2502
+ case 7:
2932
2503
  var value = /** @type {string} */ (reader.readString());
2933
2504
  msg.setValue(value);
2934
2505
  break;
@@ -2989,18 +2560,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
2989
2560
  f
2990
2561
  );
2991
2562
  }
2992
- f = message.getOptionList();
2993
- if (f.length > 0) {
2994
- writer.writeRepeatedMessage(
2995
- 5,
2996
- f,
2997
- proto.prisca.v1.core.transaction_builder.Value.serializeBinaryToWriter
2998
- );
2999
- }
3000
2563
  f = message.getFieldRulesList();
3001
2564
  if (f.length > 0) {
3002
2565
  writer.writeRepeatedMessage(
3003
- 6,
2566
+ 5,
3004
2567
  f,
3005
2568
  proto.prisca.v1.core.transaction_builder.FieldRules.serializeBinaryToWriter
3006
2569
  );
@@ -3008,7 +2571,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
3008
2571
  f = message.getFieldViewsList();
3009
2572
  if (f.length > 0) {
3010
2573
  writer.writeRepeatedMessage(
3011
- 7,
2574
+ 6,
3012
2575
  f,
3013
2576
  proto.prisca.v1.core.transaction_builder.FieldViews.serializeBinaryToWriter
3014
2577
  );
@@ -3016,7 +2579,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
3016
2579
  f = message.getValue();
3017
2580
  if (f.length > 0) {
3018
2581
  writer.writeString(
3019
- 8,
2582
+ 7,
3020
2583
  f
3021
2584
  );
3022
2585
  }
@@ -3096,50 +2659,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setL
3096
2659
 
3097
2660
 
3098
2661
  /**
3099
- * repeated Value option = 5;
3100
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.Value>}
3101
- */
3102
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getOptionList = function() {
3103
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.Value>} */ (
3104
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.Value, 5));
3105
- };
3106
-
3107
-
3108
- /**
3109
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.Value>} value
3110
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3111
- */
3112
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setOptionList = function(value) {
3113
- return jspb.Message.setRepeatedWrapperField(this, 5, value);
3114
- };
3115
-
3116
-
3117
- /**
3118
- * @param {!proto.prisca.v1.core.transaction_builder.Value=} opt_value
3119
- * @param {number=} opt_index
3120
- * @return {!proto.prisca.v1.core.transaction_builder.Value}
3121
- */
3122
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.addOption = function(opt_value, opt_index) {
3123
- return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.prisca.v1.core.transaction_builder.Value, opt_index);
3124
- };
3125
-
3126
-
3127
- /**
3128
- * Clears the list making it empty but non-null.
3129
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3130
- */
3131
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.clearOptionList = function() {
3132
- return this.setOptionList([]);
3133
- };
3134
-
3135
-
3136
- /**
3137
- * repeated FieldRules field_rules = 6;
2662
+ * repeated FieldRules field_rules = 5;
3138
2663
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>}
3139
2664
  */
3140
2665
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getFieldRulesList = function() {
3141
2666
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>} */ (
3142
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 6));
2667
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 5));
3143
2668
  };
3144
2669
 
3145
2670
 
@@ -3148,7 +2673,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getF
3148
2673
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3149
2674
  */
3150
2675
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setFieldRulesList = function(value) {
3151
- return jspb.Message.setRepeatedWrapperField(this, 6, value);
2676
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
3152
2677
  };
3153
2678
 
3154
2679
 
@@ -3158,7 +2683,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setF
3158
2683
  * @return {!proto.prisca.v1.core.transaction_builder.FieldRules}
3159
2684
  */
3160
2685
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.addFieldRules = function(opt_value, opt_index) {
3161
- return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.prisca.v1.core.transaction_builder.FieldRules, opt_index);
2686
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.prisca.v1.core.transaction_builder.FieldRules, opt_index);
3162
2687
  };
3163
2688
 
3164
2689
 
@@ -3172,12 +2697,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.clea
3172
2697
 
3173
2698
 
3174
2699
  /**
3175
- * repeated FieldViews field_views = 7;
2700
+ * repeated FieldViews field_views = 6;
3176
2701
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>}
3177
2702
  */
3178
2703
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getFieldViewsList = function() {
3179
2704
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>} */ (
3180
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 7));
2705
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 6));
3181
2706
  };
3182
2707
 
3183
2708
 
@@ -3186,7 +2711,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getF
3186
2711
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3187
2712
  */
3188
2713
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setFieldViewsList = function(value) {
3189
- return jspb.Message.setRepeatedWrapperField(this, 7, value);
2714
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
3190
2715
  };
3191
2716
 
3192
2717
 
@@ -3196,7 +2721,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setF
3196
2721
  * @return {!proto.prisca.v1.core.transaction_builder.FieldViews}
3197
2722
  */
3198
2723
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.addFieldViews = function(opt_value, opt_index) {
3199
- return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.prisca.v1.core.transaction_builder.FieldViews, opt_index);
2724
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.prisca.v1.core.transaction_builder.FieldViews, opt_index);
3200
2725
  };
3201
2726
 
3202
2727
 
@@ -3210,11 +2735,11 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.clea
3210
2735
 
3211
2736
 
3212
2737
  /**
3213
- * optional string value = 8;
2738
+ * optional string value = 7;
3214
2739
  * @return {string}
3215
2740
  */
3216
2741
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getValue = function() {
3217
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2742
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3218
2743
  };
3219
2744
 
3220
2745
 
@@ -3223,7 +2748,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getV
3223
2748
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3224
2749
  */
3225
2750
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setValue = function(value) {
3226
- return jspb.Message.setProto3StringField(this, 8, value);
2751
+ return jspb.Message.setProto3StringField(this, 7, value);
3227
2752
  };
3228
2753
 
3229
2754
 
@@ -3233,7 +2758,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setV
3233
2758
  * @private {!Array<number>}
3234
2759
  * @const
3235
2760
  */
3236
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.repeatedFields_ = [3,4,5];
2761
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.repeatedFields_ = [3,4];
3237
2762
 
3238
2763
 
3239
2764
 
@@ -3268,13 +2793,11 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.toObject =
3268
2793
  var f, obj = {
3269
2794
  key: jspb.Message.getFieldWithDefault(msg, 1, ""),
3270
2795
  label: jspb.Message.getFieldWithDefault(msg, 2, ""),
3271
- optionList: jspb.Message.toObjectList(msg.getOptionList(),
3272
- proto.prisca.v1.core.transaction_builder.Value.toObject, includeInstance),
3273
2796
  fieldRulesList: jspb.Message.toObjectList(msg.getFieldRulesList(),
3274
2797
  proto.prisca.v1.core.transaction_builder.FieldRules.toObject, includeInstance),
3275
2798
  fieldViewsList: jspb.Message.toObjectList(msg.getFieldViewsList(),
3276
2799
  proto.prisca.v1.core.transaction_builder.FieldViews.toObject, includeInstance),
3277
- isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
2800
+ isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
3278
2801
  };
3279
2802
 
3280
2803
  if (includeInstance) {
@@ -3320,21 +2843,16 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.deserializ
3320
2843
  msg.setLabel(value);
3321
2844
  break;
3322
2845
  case 3:
3323
- var value = new proto.prisca.v1.core.transaction_builder.Value;
3324
- reader.readMessage(value,proto.prisca.v1.core.transaction_builder.Value.deserializeBinaryFromReader);
3325
- msg.addOption(value);
3326
- break;
3327
- case 4:
3328
2846
  var value = new proto.prisca.v1.core.transaction_builder.FieldRules;
3329
2847
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldRules.deserializeBinaryFromReader);
3330
2848
  msg.addFieldRules(value);
3331
2849
  break;
3332
- case 5:
2850
+ case 4:
3333
2851
  var value = new proto.prisca.v1.core.transaction_builder.FieldViews;
3334
2852
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldViews.deserializeBinaryFromReader);
3335
2853
  msg.addFieldViews(value);
3336
2854
  break;
3337
- case 6:
2855
+ case 5:
3338
2856
  var value = /** @type {boolean} */ (reader.readBool());
3339
2857
  msg.setIsMaster(value);
3340
2858
  break;
@@ -3381,18 +2899,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeB
3381
2899
  f
3382
2900
  );
3383
2901
  }
3384
- f = message.getOptionList();
3385
- if (f.length > 0) {
3386
- writer.writeRepeatedMessage(
3387
- 3,
3388
- f,
3389
- proto.prisca.v1.core.transaction_builder.Value.serializeBinaryToWriter
3390
- );
3391
- }
3392
2902
  f = message.getFieldRulesList();
3393
2903
  if (f.length > 0) {
3394
2904
  writer.writeRepeatedMessage(
3395
- 4,
2905
+ 3,
3396
2906
  f,
3397
2907
  proto.prisca.v1.core.transaction_builder.FieldRules.serializeBinaryToWriter
3398
2908
  );
@@ -3400,7 +2910,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeB
3400
2910
  f = message.getFieldViewsList();
3401
2911
  if (f.length > 0) {
3402
2912
  writer.writeRepeatedMessage(
3403
- 5,
2913
+ 4,
3404
2914
  f,
3405
2915
  proto.prisca.v1.core.transaction_builder.FieldViews.serializeBinaryToWriter
3406
2916
  );
@@ -3408,7 +2918,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeB
3408
2918
  f = message.getIsMaster();
3409
2919
  if (f) {
3410
2920
  writer.writeBool(
3411
- 6,
2921
+ 5,
3412
2922
  f
3413
2923
  );
3414
2924
  }
@@ -3452,50 +2962,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3452
2962
 
3453
2963
 
3454
2964
  /**
3455
- * repeated Value option = 3;
3456
- * @return {!Array<!proto.prisca.v1.core.transaction_builder.Value>}
3457
- */
3458
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getOptionList = function() {
3459
- return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.Value>} */ (
3460
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.Value, 3));
3461
- };
3462
-
3463
-
3464
- /**
3465
- * @param {!Array<!proto.prisca.v1.core.transaction_builder.Value>} value
3466
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3467
- */
3468
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setOptionList = function(value) {
3469
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
3470
- };
3471
-
3472
-
3473
- /**
3474
- * @param {!proto.prisca.v1.core.transaction_builder.Value=} opt_value
3475
- * @param {number=} opt_index
3476
- * @return {!proto.prisca.v1.core.transaction_builder.Value}
3477
- */
3478
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.addOption = function(opt_value, opt_index) {
3479
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.prisca.v1.core.transaction_builder.Value, opt_index);
3480
- };
3481
-
3482
-
3483
- /**
3484
- * Clears the list making it empty but non-null.
3485
- * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3486
- */
3487
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.clearOptionList = function() {
3488
- return this.setOptionList([]);
3489
- };
3490
-
3491
-
3492
- /**
3493
- * repeated FieldRules field_rules = 4;
2965
+ * repeated FieldRules field_rules = 3;
3494
2966
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>}
3495
2967
  */
3496
2968
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getFieldRulesList = function() {
3497
2969
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>} */ (
3498
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 4));
2970
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 3));
3499
2971
  };
3500
2972
 
3501
2973
 
@@ -3504,7 +2976,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3504
2976
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3505
2977
  */
3506
2978
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setFieldRulesList = function(value) {
3507
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
2979
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3508
2980
  };
3509
2981
 
3510
2982
 
@@ -3514,7 +2986,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3514
2986
  * @return {!proto.prisca.v1.core.transaction_builder.FieldRules}
3515
2987
  */
3516
2988
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.addFieldRules = function(opt_value, opt_index) {
3517
- return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.prisca.v1.core.transaction_builder.FieldRules, opt_index);
2989
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.prisca.v1.core.transaction_builder.FieldRules, opt_index);
3518
2990
  };
3519
2991
 
3520
2992
 
@@ -3528,12 +3000,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3528
3000
 
3529
3001
 
3530
3002
  /**
3531
- * repeated FieldViews field_views = 5;
3003
+ * repeated FieldViews field_views = 4;
3532
3004
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>}
3533
3005
  */
3534
3006
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getFieldViewsList = function() {
3535
3007
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>} */ (
3536
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 5));
3008
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 4));
3537
3009
  };
3538
3010
 
3539
3011
 
@@ -3542,7 +3014,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3542
3014
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3543
3015
  */
3544
3016
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setFieldViewsList = function(value) {
3545
- return jspb.Message.setRepeatedWrapperField(this, 5, value);
3017
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
3546
3018
  };
3547
3019
 
3548
3020
 
@@ -3552,7 +3024,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3552
3024
  * @return {!proto.prisca.v1.core.transaction_builder.FieldViews}
3553
3025
  */
3554
3026
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.addFieldViews = function(opt_value, opt_index) {
3555
- return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.prisca.v1.core.transaction_builder.FieldViews, opt_index);
3027
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.prisca.v1.core.transaction_builder.FieldViews, opt_index);
3556
3028
  };
3557
3029
 
3558
3030
 
@@ -3566,11 +3038,11 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3566
3038
 
3567
3039
 
3568
3040
  /**
3569
- * optional bool is_master = 6;
3041
+ * optional bool is_master = 5;
3570
3042
  * @return {boolean}
3571
3043
  */
3572
3044
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getIsMaster = function() {
3573
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
3045
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
3574
3046
  };
3575
3047
 
3576
3048
 
@@ -3579,7 +3051,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3579
3051
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3580
3052
  */
3581
3053
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setIsMaster = function(value) {
3582
- return jspb.Message.setProto3BooleanField(this, 6, value);
3054
+ return jspb.Message.setProto3BooleanField(this, 5, value);
3583
3055
  };
3584
3056
 
3585
3057
 
@@ -3617,7 +3089,7 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.toObject = function(
3617
3089
  var f, obj = {
3618
3090
  id: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
3619
3091
  name: jspb.Message.getFieldWithDefault(msg, 2, ""),
3620
- properties: (f = msg.getProperties()) && proto.prisca.v1.core.transaction_builder.PropertiesRules.toObject(includeInstance, f),
3092
+ properties: jspb.Message.getFieldWithDefault(msg, 3, ""),
3621
3093
  transactionBuilderFieldRef: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
3622
3094
  };
3623
3095
 
@@ -3664,8 +3136,7 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.deserializeBinaryFro
3664
3136
  msg.setName(value);
3665
3137
  break;
3666
3138
  case 3:
3667
- var value = new proto.prisca.v1.core.transaction_builder.PropertiesRules;
3668
- reader.readMessage(value,proto.prisca.v1.core.transaction_builder.PropertiesRules.deserializeBinaryFromReader);
3139
+ var value = /** @type {string} */ (reader.readString());
3669
3140
  msg.setProperties(value);
3670
3141
  break;
3671
3142
  case 4:
@@ -3716,11 +3187,10 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.serializeBinaryToWri
3716
3187
  );
3717
3188
  }
3718
3189
  f = message.getProperties();
3719
- if (f != null) {
3720
- writer.writeMessage(
3190
+ if (f.length > 0) {
3191
+ writer.writeString(
3721
3192
  3,
3722
- f,
3723
- proto.prisca.v1.core.transaction_builder.PropertiesRules.serializeBinaryToWriter
3193
+ f
3724
3194
  );
3725
3195
  }
3726
3196
  f = /** @type {string} */ (jspb.Message.getField(message, 4));
@@ -3788,39 +3258,20 @@ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.setName =
3788
3258
 
3789
3259
 
3790
3260
  /**
3791
- * optional PropertiesRules properties = 3;
3792
- * @return {?proto.prisca.v1.core.transaction_builder.PropertiesRules}
3261
+ * optional string properties = 3;
3262
+ * @return {string}
3793
3263
  */
3794
3264
  proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.getProperties = function() {
3795
- return /** @type{?proto.prisca.v1.core.transaction_builder.PropertiesRules} */ (
3796
- jspb.Message.getWrapperField(this, proto.prisca.v1.core.transaction_builder.PropertiesRules, 3));
3797
- };
3798
-
3799
-
3800
- /**
3801
- * @param {?proto.prisca.v1.core.transaction_builder.PropertiesRules|undefined} value
3802
- * @return {!proto.prisca.v1.core.transaction_builder.FieldRulesWithProp} returns this
3803
- */
3804
- proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.setProperties = function(value) {
3805
- return jspb.Message.setWrapperField(this, 3, value);
3265
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3806
3266
  };
3807
3267
 
3808
3268
 
3809
3269
  /**
3810
- * Clears the message field making it undefined.
3270
+ * @param {string} value
3811
3271
  * @return {!proto.prisca.v1.core.transaction_builder.FieldRulesWithProp} returns this
3812
3272
  */
3813
- proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.clearProperties = function() {
3814
- return this.setProperties(undefined);
3815
- };
3816
-
3817
-
3818
- /**
3819
- * Returns whether this field is set.
3820
- * @return {boolean}
3821
- */
3822
- proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.hasProperties = function() {
3823
- return jspb.Message.getField(this, 3) != null;
3273
+ proto.prisca.v1.core.transaction_builder.FieldRulesWithProp.prototype.setProperties = function(value) {
3274
+ return jspb.Message.setProto3StringField(this, 3, value);
3824
3275
  };
3825
3276
 
3826
3277