@aldiokta/protocgen 1.0.25 → 1.0.27

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.25",
3
+ "version": "1.0.27",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2817,7 +2817,7 @@ proto.prisca.v1.core.transaction_builder.PropertiesTable.prototype.setDataType =
2817
2817
  * @private {!Array<number>}
2818
2818
  * @const
2819
2819
  */
2820
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.repeatedFields_ = [5,6,7];
2820
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.repeatedFields_ = [5,6];
2821
2821
 
2822
2822
 
2823
2823
 
@@ -2854,13 +2854,11 @@ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
2854
2854
  transactionBuilderId: jspb.Message.getFieldWithDefault(msg, 2, 0),
2855
2855
  key: jspb.Message.getFieldWithDefault(msg, 3, ""),
2856
2856
  label: jspb.Message.getFieldWithDefault(msg, 4, ""),
2857
- optionList: jspb.Message.toObjectList(msg.getOptionList(),
2858
- proto.prisca.v1.core.transaction_builder.Value.toObject, includeInstance),
2859
2857
  fieldRulesList: jspb.Message.toObjectList(msg.getFieldRulesList(),
2860
2858
  proto.prisca.v1.core.transaction_builder.FieldRules.toObject, includeInstance),
2861
2859
  fieldViewsList: jspb.Message.toObjectList(msg.getFieldViewsList(),
2862
2860
  proto.prisca.v1.core.transaction_builder.FieldViews.toObject, includeInstance),
2863
- value: jspb.Message.getFieldWithDefault(msg, 8, "")
2861
+ value: jspb.Message.getFieldWithDefault(msg, 7, "")
2864
2862
  };
2865
2863
 
2866
2864
  if (includeInstance) {
@@ -2914,21 +2912,16 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.deserializeBin
2914
2912
  msg.setLabel(value);
2915
2913
  break;
2916
2914
  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
2915
  var value = new proto.prisca.v1.core.transaction_builder.FieldRules;
2923
2916
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldRules.deserializeBinaryFromReader);
2924
2917
  msg.addFieldRules(value);
2925
2918
  break;
2926
- case 7:
2919
+ case 6:
2927
2920
  var value = new proto.prisca.v1.core.transaction_builder.FieldViews;
2928
2921
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldViews.deserializeBinaryFromReader);
2929
2922
  msg.addFieldViews(value);
2930
2923
  break;
2931
- case 8:
2924
+ case 7:
2932
2925
  var value = /** @type {string} */ (reader.readString());
2933
2926
  msg.setValue(value);
2934
2927
  break;
@@ -2989,18 +2982,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
2989
2982
  f
2990
2983
  );
2991
2984
  }
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
2985
  f = message.getFieldRulesList();
3001
2986
  if (f.length > 0) {
3002
2987
  writer.writeRepeatedMessage(
3003
- 6,
2988
+ 5,
3004
2989
  f,
3005
2990
  proto.prisca.v1.core.transaction_builder.FieldRules.serializeBinaryToWriter
3006
2991
  );
@@ -3008,7 +2993,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
3008
2993
  f = message.getFieldViewsList();
3009
2994
  if (f.length > 0) {
3010
2995
  writer.writeRepeatedMessage(
3011
- 7,
2996
+ 6,
3012
2997
  f,
3013
2998
  proto.prisca.v1.core.transaction_builder.FieldViews.serializeBinaryToWriter
3014
2999
  );
@@ -3016,7 +3001,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.serializeBinar
3016
3001
  f = message.getValue();
3017
3002
  if (f.length > 0) {
3018
3003
  writer.writeString(
3019
- 8,
3004
+ 7,
3020
3005
  f
3021
3006
  );
3022
3007
  }
@@ -3096,50 +3081,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setL
3096
3081
 
3097
3082
 
3098
3083
  /**
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;
3084
+ * repeated FieldRules field_rules = 5;
3138
3085
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>}
3139
3086
  */
3140
3087
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getFieldRulesList = function() {
3141
3088
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>} */ (
3142
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 6));
3089
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 5));
3143
3090
  };
3144
3091
 
3145
3092
 
@@ -3148,7 +3095,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getF
3148
3095
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3149
3096
  */
3150
3097
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setFieldRulesList = function(value) {
3151
- return jspb.Message.setRepeatedWrapperField(this, 6, value);
3098
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
3152
3099
  };
3153
3100
 
3154
3101
 
@@ -3158,7 +3105,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setF
3158
3105
  * @return {!proto.prisca.v1.core.transaction_builder.FieldRules}
3159
3106
  */
3160
3107
  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);
3108
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.prisca.v1.core.transaction_builder.FieldRules, opt_index);
3162
3109
  };
3163
3110
 
3164
3111
 
@@ -3172,12 +3119,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.clea
3172
3119
 
3173
3120
 
3174
3121
  /**
3175
- * repeated FieldViews field_views = 7;
3122
+ * repeated FieldViews field_views = 6;
3176
3123
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>}
3177
3124
  */
3178
3125
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getFieldViewsList = function() {
3179
3126
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>} */ (
3180
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 7));
3127
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 6));
3181
3128
  };
3182
3129
 
3183
3130
 
@@ -3186,7 +3133,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getF
3186
3133
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3187
3134
  */
3188
3135
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setFieldViewsList = function(value) {
3189
- return jspb.Message.setRepeatedWrapperField(this, 7, value);
3136
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
3190
3137
  };
3191
3138
 
3192
3139
 
@@ -3196,7 +3143,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setF
3196
3143
  * @return {!proto.prisca.v1.core.transaction_builder.FieldViews}
3197
3144
  */
3198
3145
  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);
3146
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.prisca.v1.core.transaction_builder.FieldViews, opt_index);
3200
3147
  };
3201
3148
 
3202
3149
 
@@ -3210,11 +3157,11 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.clea
3210
3157
 
3211
3158
 
3212
3159
  /**
3213
- * optional string value = 8;
3160
+ * optional string value = 7;
3214
3161
  * @return {string}
3215
3162
  */
3216
3163
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getValue = function() {
3217
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3164
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3218
3165
  };
3219
3166
 
3220
3167
 
@@ -3223,7 +3170,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.getV
3223
3170
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFields} returns this
3224
3171
  */
3225
3172
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setValue = function(value) {
3226
- return jspb.Message.setProto3StringField(this, 8, value);
3173
+ return jspb.Message.setProto3StringField(this, 7, value);
3227
3174
  };
3228
3175
 
3229
3176
 
@@ -3233,7 +3180,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFields.prototype.setV
3233
3180
  * @private {!Array<number>}
3234
3181
  * @const
3235
3182
  */
3236
- proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.repeatedFields_ = [3,4,5];
3183
+ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.repeatedFields_ = [3,4];
3237
3184
 
3238
3185
 
3239
3186
 
@@ -3268,13 +3215,11 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.toObject =
3268
3215
  var f, obj = {
3269
3216
  key: jspb.Message.getFieldWithDefault(msg, 1, ""),
3270
3217
  label: jspb.Message.getFieldWithDefault(msg, 2, ""),
3271
- optionList: jspb.Message.toObjectList(msg.getOptionList(),
3272
- proto.prisca.v1.core.transaction_builder.Value.toObject, includeInstance),
3273
3218
  fieldRulesList: jspb.Message.toObjectList(msg.getFieldRulesList(),
3274
3219
  proto.prisca.v1.core.transaction_builder.FieldRules.toObject, includeInstance),
3275
3220
  fieldViewsList: jspb.Message.toObjectList(msg.getFieldViewsList(),
3276
3221
  proto.prisca.v1.core.transaction_builder.FieldViews.toObject, includeInstance),
3277
- isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
3222
+ isMaster: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
3278
3223
  };
3279
3224
 
3280
3225
  if (includeInstance) {
@@ -3320,21 +3265,16 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.deserializ
3320
3265
  msg.setLabel(value);
3321
3266
  break;
3322
3267
  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
3268
  var value = new proto.prisca.v1.core.transaction_builder.FieldRules;
3329
3269
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldRules.deserializeBinaryFromReader);
3330
3270
  msg.addFieldRules(value);
3331
3271
  break;
3332
- case 5:
3272
+ case 4:
3333
3273
  var value = new proto.prisca.v1.core.transaction_builder.FieldViews;
3334
3274
  reader.readMessage(value,proto.prisca.v1.core.transaction_builder.FieldViews.deserializeBinaryFromReader);
3335
3275
  msg.addFieldViews(value);
3336
3276
  break;
3337
- case 6:
3277
+ case 5:
3338
3278
  var value = /** @type {boolean} */ (reader.readBool());
3339
3279
  msg.setIsMaster(value);
3340
3280
  break;
@@ -3381,18 +3321,10 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeB
3381
3321
  f
3382
3322
  );
3383
3323
  }
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
3324
  f = message.getFieldRulesList();
3393
3325
  if (f.length > 0) {
3394
3326
  writer.writeRepeatedMessage(
3395
- 4,
3327
+ 3,
3396
3328
  f,
3397
3329
  proto.prisca.v1.core.transaction_builder.FieldRules.serializeBinaryToWriter
3398
3330
  );
@@ -3400,7 +3332,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeB
3400
3332
  f = message.getFieldViewsList();
3401
3333
  if (f.length > 0) {
3402
3334
  writer.writeRepeatedMessage(
3403
- 5,
3335
+ 4,
3404
3336
  f,
3405
3337
  proto.prisca.v1.core.transaction_builder.FieldViews.serializeBinaryToWriter
3406
3338
  );
@@ -3408,7 +3340,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.serializeB
3408
3340
  f = message.getIsMaster();
3409
3341
  if (f) {
3410
3342
  writer.writeBool(
3411
- 6,
3343
+ 5,
3412
3344
  f
3413
3345
  );
3414
3346
  }
@@ -3452,50 +3384,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3452
3384
 
3453
3385
 
3454
3386
  /**
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;
3387
+ * repeated FieldRules field_rules = 3;
3494
3388
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>}
3495
3389
  */
3496
3390
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getFieldRulesList = function() {
3497
3391
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldRules>} */ (
3498
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 4));
3392
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldRules, 3));
3499
3393
  };
3500
3394
 
3501
3395
 
@@ -3504,7 +3398,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3504
3398
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3505
3399
  */
3506
3400
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setFieldRulesList = function(value) {
3507
- return jspb.Message.setRepeatedWrapperField(this, 4, value);
3401
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3508
3402
  };
3509
3403
 
3510
3404
 
@@ -3514,7 +3408,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3514
3408
  * @return {!proto.prisca.v1.core.transaction_builder.FieldRules}
3515
3409
  */
3516
3410
  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);
3411
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.prisca.v1.core.transaction_builder.FieldRules, opt_index);
3518
3412
  };
3519
3413
 
3520
3414
 
@@ -3528,12 +3422,12 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3528
3422
 
3529
3423
 
3530
3424
  /**
3531
- * repeated FieldViews field_views = 5;
3425
+ * repeated FieldViews field_views = 4;
3532
3426
  * @return {!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>}
3533
3427
  */
3534
3428
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getFieldViewsList = function() {
3535
3429
  return /** @type{!Array<!proto.prisca.v1.core.transaction_builder.FieldViews>} */ (
3536
- jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 5));
3430
+ jspb.Message.getRepeatedWrapperField(this, proto.prisca.v1.core.transaction_builder.FieldViews, 4));
3537
3431
  };
3538
3432
 
3539
3433
 
@@ -3542,7 +3436,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3542
3436
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3543
3437
  */
3544
3438
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setFieldViewsList = function(value) {
3545
- return jspb.Message.setRepeatedWrapperField(this, 5, value);
3439
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
3546
3440
  };
3547
3441
 
3548
3442
 
@@ -3552,7 +3446,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3552
3446
  * @return {!proto.prisca.v1.core.transaction_builder.FieldViews}
3553
3447
  */
3554
3448
  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);
3449
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.prisca.v1.core.transaction_builder.FieldViews, opt_index);
3556
3450
  };
3557
3451
 
3558
3452
 
@@ -3566,11 +3460,11 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3566
3460
 
3567
3461
 
3568
3462
  /**
3569
- * optional bool is_master = 6;
3463
+ * optional bool is_master = 5;
3570
3464
  * @return {boolean}
3571
3465
  */
3572
3466
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.getIsMaster = function() {
3573
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
3467
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
3574
3468
  };
3575
3469
 
3576
3470
 
@@ -3579,7 +3473,7 @@ proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.
3579
3473
  * @return {!proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase} returns this
3580
3474
  */
3581
3475
  proto.prisca.v1.core.transaction_builder.TransactionBuilderFieldsBase.prototype.setIsMaster = function(value) {
3582
- return jspb.Message.setProto3BooleanField(this, 6, value);
3476
+ return jspb.Message.setProto3BooleanField(this, 5, value);
3583
3477
  };
3584
3478
 
3585
3479
 
@@ -45,6 +45,7 @@ goog.exportSymbol('proto.UpdateWorkflowResponse', null, global);
45
45
  goog.exportSymbol('proto.Workflow', null, global);
46
46
  goog.exportSymbol('proto.WorkflowCondition', null, global);
47
47
  goog.exportSymbol('proto.WorkflowCriteria', null, global);
48
+ goog.exportSymbol('proto.WorkflowDeadline', null, global);
48
49
  goog.exportSymbol('proto.WorkflowSteps', null, global);
49
50
  goog.exportSymbol('proto.WorkflowStepsRecipients', null, global);
50
51
  /**
@@ -131,6 +132,27 @@ if (goog.DEBUG && !COMPILED) {
131
132
  */
132
133
  proto.WorkflowSteps.displayName = 'proto.WorkflowSteps';
133
134
  }
135
+ /**
136
+ * Generated by JsPbCodeGenerator.
137
+ * @param {Array=} opt_data Optional initial data array, typically from a
138
+ * server response, or constructed directly in Javascript. The array is used
139
+ * in place and becomes part of the constructed object. It is not cloned.
140
+ * If no data is provided, the constructed object will be empty, but still
141
+ * valid.
142
+ * @extends {jspb.Message}
143
+ * @constructor
144
+ */
145
+ proto.WorkflowDeadline = function(opt_data) {
146
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
147
+ };
148
+ goog.inherits(proto.WorkflowDeadline, jspb.Message);
149
+ if (goog.DEBUG && !COMPILED) {
150
+ /**
151
+ * @public
152
+ * @override
153
+ */
154
+ proto.WorkflowDeadline.displayName = 'proto.WorkflowDeadline';
155
+ }
134
156
  /**
135
157
  * Generated by JsPbCodeGenerator.
136
158
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1762,7 +1784,7 @@ proto.WorkflowCriteria.prototype.setUpdatedAt = function(value) {
1762
1784
  * @private {!Array<number>}
1763
1785
  * @const
1764
1786
  */
1765
- proto.WorkflowSteps.repeatedFields_ = [19,20];
1787
+ proto.WorkflowSteps.repeatedFields_ = [13,16,17];
1766
1788
 
1767
1789
 
1768
1790
 
@@ -1807,12 +1829,10 @@ requiredAction: jspb.Message.getFieldWithDefault(msg, 9, ""),
1807
1829
  redefineTaskTitle: jspb.Message.getFieldWithDefault(msg, 10, ""),
1808
1830
  workflowRefId: jspb.Message.getFieldWithDefault(msg, 11, ""),
1809
1831
  isCompletedBy: jspb.Message.getFieldWithDefault(msg, 12, ""),
1810
- deadlineContext: jspb.Message.getFieldWithDefault(msg, 13, ""),
1811
- deadlineUnit: jspb.Message.getFieldWithDefault(msg, 14, ""),
1812
- deadlineUnitCounter: jspb.Message.getFieldWithDefault(msg, 15, 0),
1813
- deadlineEffect: jspb.Message.getFieldWithDefault(msg, 16, ""),
1814
- createdAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
1815
- updatedAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
1832
+ deadlinesList: jspb.Message.toObjectList(msg.getDeadlinesList(),
1833
+ proto.WorkflowDeadline.toObject, includeInstance),
1834
+ createdAt: jspb.Message.getFieldWithDefault(msg, 14, ""),
1835
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 15, ""),
1816
1836
  workflowConditionList: jspb.Message.toObjectList(msg.getWorkflowConditionList(),
1817
1837
  proto.WorkflowCondition.toObject, includeInstance),
1818
1838
  workflowStepsRecipientsList: jspb.Message.toObjectList(msg.getWorkflowStepsRecipientsList(),
@@ -1902,35 +1922,24 @@ proto.WorkflowSteps.deserializeBinaryFromReader = function(msg, reader) {
1902
1922
  msg.setIsCompletedBy(value);
1903
1923
  break;
1904
1924
  case 13:
1905
- var value = /** @type {string} */ (reader.readString());
1906
- msg.setDeadlineContext(value);
1925
+ var value = new proto.WorkflowDeadline;
1926
+ reader.readMessage(value,proto.WorkflowDeadline.deserializeBinaryFromReader);
1927
+ msg.addDeadlines(value);
1907
1928
  break;
1908
1929
  case 14:
1909
- var value = /** @type {string} */ (reader.readString());
1910
- msg.setDeadlineUnit(value);
1911
- break;
1912
- case 15:
1913
- var value = /** @type {number} */ (reader.readInt64());
1914
- msg.setDeadlineUnitCounter(value);
1915
- break;
1916
- case 16:
1917
- var value = /** @type {string} */ (reader.readString());
1918
- msg.setDeadlineEffect(value);
1919
- break;
1920
- case 17:
1921
1930
  var value = /** @type {string} */ (reader.readString());
1922
1931
  msg.setCreatedAt(value);
1923
1932
  break;
1924
- case 18:
1933
+ case 15:
1925
1934
  var value = /** @type {string} */ (reader.readString());
1926
1935
  msg.setUpdatedAt(value);
1927
1936
  break;
1928
- case 19:
1937
+ case 16:
1929
1938
  var value = new proto.WorkflowCondition;
1930
1939
  reader.readMessage(value,proto.WorkflowCondition.deserializeBinaryFromReader);
1931
1940
  msg.addWorkflowCondition(value);
1932
1941
  break;
1933
- case 20:
1942
+ case 17:
1934
1943
  var value = new proto.WorkflowStepsRecipients;
1935
1944
  reader.readMessage(value,proto.WorkflowStepsRecipients.deserializeBinaryFromReader);
1936
1945
  msg.addWorkflowStepsRecipients(value);
@@ -2048,52 +2057,32 @@ proto.WorkflowSteps.serializeBinaryToWriter = function(message, writer) {
2048
2057
  f
2049
2058
  );
2050
2059
  }
2051
- f = message.getDeadlineContext();
2060
+ f = message.getDeadlinesList();
2052
2061
  if (f.length > 0) {
2053
- writer.writeString(
2062
+ writer.writeRepeatedMessage(
2054
2063
  13,
2055
- f
2056
- );
2057
- }
2058
- f = message.getDeadlineUnit();
2059
- if (f.length > 0) {
2060
- writer.writeString(
2061
- 14,
2062
- f
2063
- );
2064
- }
2065
- f = message.getDeadlineUnitCounter();
2066
- if (f !== 0) {
2067
- writer.writeInt64(
2068
- 15,
2069
- f
2070
- );
2071
- }
2072
- f = message.getDeadlineEffect();
2073
- if (f.length > 0) {
2074
- writer.writeString(
2075
- 16,
2076
- f
2064
+ f,
2065
+ proto.WorkflowDeadline.serializeBinaryToWriter
2077
2066
  );
2078
2067
  }
2079
2068
  f = message.getCreatedAt();
2080
2069
  if (f.length > 0) {
2081
2070
  writer.writeString(
2082
- 17,
2071
+ 14,
2083
2072
  f
2084
2073
  );
2085
2074
  }
2086
2075
  f = message.getUpdatedAt();
2087
2076
  if (f.length > 0) {
2088
2077
  writer.writeString(
2089
- 18,
2078
+ 15,
2090
2079
  f
2091
2080
  );
2092
2081
  }
2093
2082
  f = message.getWorkflowConditionList();
2094
2083
  if (f.length > 0) {
2095
2084
  writer.writeRepeatedMessage(
2096
- 19,
2085
+ 16,
2097
2086
  f,
2098
2087
  proto.WorkflowCondition.serializeBinaryToWriter
2099
2088
  );
@@ -2101,7 +2090,7 @@ proto.WorkflowSteps.serializeBinaryToWriter = function(message, writer) {
2101
2090
  f = message.getWorkflowStepsRecipientsList();
2102
2091
  if (f.length > 0) {
2103
2092
  writer.writeRepeatedMessage(
2104
- 20,
2093
+ 17,
2105
2094
  f,
2106
2095
  proto.WorkflowStepsRecipients.serializeBinaryToWriter
2107
2096
  );
@@ -2326,83 +2315,49 @@ proto.WorkflowSteps.prototype.setIsCompletedBy = function(value) {
2326
2315
 
2327
2316
 
2328
2317
  /**
2329
- * optional string deadline_context = 13;
2330
- * @return {string}
2318
+ * repeated WorkflowDeadline deadlines = 13;
2319
+ * @return {!Array<!proto.WorkflowDeadline>}
2331
2320
  */
2332
- proto.WorkflowSteps.prototype.getDeadlineContext = function() {
2333
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2321
+ proto.WorkflowSteps.prototype.getDeadlinesList = function() {
2322
+ return /** @type{!Array<!proto.WorkflowDeadline>} */ (
2323
+ jspb.Message.getRepeatedWrapperField(this, proto.WorkflowDeadline, 13));
2334
2324
  };
2335
2325
 
2336
2326
 
2337
2327
  /**
2338
- * @param {string} value
2328
+ * @param {!Array<!proto.WorkflowDeadline>} value
2339
2329
  * @return {!proto.WorkflowSteps} returns this
2340
- */
2341
- proto.WorkflowSteps.prototype.setDeadlineContext = function(value) {
2342
- return jspb.Message.setProto3StringField(this, 13, value);
2343
- };
2344
-
2345
-
2346
- /**
2347
- * optional string deadline_unit = 14;
2348
- * @return {string}
2349
- */
2350
- proto.WorkflowSteps.prototype.getDeadlineUnit = function() {
2351
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2352
- };
2353
-
2354
-
2355
- /**
2356
- * @param {string} value
2357
- * @return {!proto.WorkflowSteps} returns this
2358
- */
2359
- proto.WorkflowSteps.prototype.setDeadlineUnit = function(value) {
2360
- return jspb.Message.setProto3StringField(this, 14, value);
2361
- };
2362
-
2363
-
2364
- /**
2365
- * optional int64 deadline_unit_counter = 15;
2366
- * @return {number}
2367
- */
2368
- proto.WorkflowSteps.prototype.getDeadlineUnitCounter = function() {
2369
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
2370
- };
2371
-
2372
-
2373
- /**
2374
- * @param {number} value
2375
- * @return {!proto.WorkflowSteps} returns this
2376
- */
2377
- proto.WorkflowSteps.prototype.setDeadlineUnitCounter = function(value) {
2378
- return jspb.Message.setProto3IntField(this, 15, value);
2330
+ */
2331
+ proto.WorkflowSteps.prototype.setDeadlinesList = function(value) {
2332
+ return jspb.Message.setRepeatedWrapperField(this, 13, value);
2379
2333
  };
2380
2334
 
2381
2335
 
2382
2336
  /**
2383
- * optional string deadline_effect = 16;
2384
- * @return {string}
2337
+ * @param {!proto.WorkflowDeadline=} opt_value
2338
+ * @param {number=} opt_index
2339
+ * @return {!proto.WorkflowDeadline}
2385
2340
  */
2386
- proto.WorkflowSteps.prototype.getDeadlineEffect = function() {
2387
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
2341
+ proto.WorkflowSteps.prototype.addDeadlines = function(opt_value, opt_index) {
2342
+ return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.WorkflowDeadline, opt_index);
2388
2343
  };
2389
2344
 
2390
2345
 
2391
2346
  /**
2392
- * @param {string} value
2347
+ * Clears the list making it empty but non-null.
2393
2348
  * @return {!proto.WorkflowSteps} returns this
2394
2349
  */
2395
- proto.WorkflowSteps.prototype.setDeadlineEffect = function(value) {
2396
- return jspb.Message.setProto3StringField(this, 16, value);
2350
+ proto.WorkflowSteps.prototype.clearDeadlinesList = function() {
2351
+ return this.setDeadlinesList([]);
2397
2352
  };
2398
2353
 
2399
2354
 
2400
2355
  /**
2401
- * optional string created_at = 17;
2356
+ * optional string created_at = 14;
2402
2357
  * @return {string}
2403
2358
  */
2404
2359
  proto.WorkflowSteps.prototype.getCreatedAt = function() {
2405
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
2360
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2406
2361
  };
2407
2362
 
2408
2363
 
@@ -2411,16 +2366,16 @@ proto.WorkflowSteps.prototype.getCreatedAt = function() {
2411
2366
  * @return {!proto.WorkflowSteps} returns this
2412
2367
  */
2413
2368
  proto.WorkflowSteps.prototype.setCreatedAt = function(value) {
2414
- return jspb.Message.setProto3StringField(this, 17, value);
2369
+ return jspb.Message.setProto3StringField(this, 14, value);
2415
2370
  };
2416
2371
 
2417
2372
 
2418
2373
  /**
2419
- * optional string updated_at = 18;
2374
+ * optional string updated_at = 15;
2420
2375
  * @return {string}
2421
2376
  */
2422
2377
  proto.WorkflowSteps.prototype.getUpdatedAt = function() {
2423
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
2378
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2424
2379
  };
2425
2380
 
2426
2381
 
@@ -2429,17 +2384,17 @@ proto.WorkflowSteps.prototype.getUpdatedAt = function() {
2429
2384
  * @return {!proto.WorkflowSteps} returns this
2430
2385
  */
2431
2386
  proto.WorkflowSteps.prototype.setUpdatedAt = function(value) {
2432
- return jspb.Message.setProto3StringField(this, 18, value);
2387
+ return jspb.Message.setProto3StringField(this, 15, value);
2433
2388
  };
2434
2389
 
2435
2390
 
2436
2391
  /**
2437
- * repeated WorkflowCondition workflow_condition = 19;
2392
+ * repeated WorkflowCondition workflow_condition = 16;
2438
2393
  * @return {!Array<!proto.WorkflowCondition>}
2439
2394
  */
2440
2395
  proto.WorkflowSteps.prototype.getWorkflowConditionList = function() {
2441
2396
  return /** @type{!Array<!proto.WorkflowCondition>} */ (
2442
- jspb.Message.getRepeatedWrapperField(this, proto.WorkflowCondition, 19));
2397
+ jspb.Message.getRepeatedWrapperField(this, proto.WorkflowCondition, 16));
2443
2398
  };
2444
2399
 
2445
2400
 
@@ -2448,7 +2403,7 @@ proto.WorkflowSteps.prototype.getWorkflowConditionList = function() {
2448
2403
  * @return {!proto.WorkflowSteps} returns this
2449
2404
  */
2450
2405
  proto.WorkflowSteps.prototype.setWorkflowConditionList = function(value) {
2451
- return jspb.Message.setRepeatedWrapperField(this, 19, value);
2406
+ return jspb.Message.setRepeatedWrapperField(this, 16, value);
2452
2407
  };
2453
2408
 
2454
2409
 
@@ -2458,7 +2413,7 @@ proto.WorkflowSteps.prototype.setWorkflowConditionList = function(value) {
2458
2413
  * @return {!proto.WorkflowCondition}
2459
2414
  */
2460
2415
  proto.WorkflowSteps.prototype.addWorkflowCondition = function(opt_value, opt_index) {
2461
- return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.WorkflowCondition, opt_index);
2416
+ return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.WorkflowCondition, opt_index);
2462
2417
  };
2463
2418
 
2464
2419
 
@@ -2472,12 +2427,12 @@ proto.WorkflowSteps.prototype.clearWorkflowConditionList = function() {
2472
2427
 
2473
2428
 
2474
2429
  /**
2475
- * repeated WorkflowStepsRecipients workflow_steps_recipients = 20;
2430
+ * repeated WorkflowStepsRecipients workflow_steps_recipients = 17;
2476
2431
  * @return {!Array<!proto.WorkflowStepsRecipients>}
2477
2432
  */
2478
2433
  proto.WorkflowSteps.prototype.getWorkflowStepsRecipientsList = function() {
2479
2434
  return /** @type{!Array<!proto.WorkflowStepsRecipients>} */ (
2480
- jspb.Message.getRepeatedWrapperField(this, proto.WorkflowStepsRecipients, 20));
2435
+ jspb.Message.getRepeatedWrapperField(this, proto.WorkflowStepsRecipients, 17));
2481
2436
  };
2482
2437
 
2483
2438
 
@@ -2486,7 +2441,7 @@ proto.WorkflowSteps.prototype.getWorkflowStepsRecipientsList = function() {
2486
2441
  * @return {!proto.WorkflowSteps} returns this
2487
2442
  */
2488
2443
  proto.WorkflowSteps.prototype.setWorkflowStepsRecipientsList = function(value) {
2489
- return jspb.Message.setRepeatedWrapperField(this, 20, value);
2444
+ return jspb.Message.setRepeatedWrapperField(this, 17, value);
2490
2445
  };
2491
2446
 
2492
2447
 
@@ -2496,7 +2451,7 @@ proto.WorkflowSteps.prototype.setWorkflowStepsRecipientsList = function(value) {
2496
2451
  * @return {!proto.WorkflowStepsRecipients}
2497
2452
  */
2498
2453
  proto.WorkflowSteps.prototype.addWorkflowStepsRecipients = function(opt_value, opt_index) {
2499
- return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.WorkflowStepsRecipients, opt_index);
2454
+ return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.WorkflowStepsRecipients, opt_index);
2500
2455
  };
2501
2456
 
2502
2457
 
@@ -2512,6 +2467,226 @@ proto.WorkflowSteps.prototype.clearWorkflowStepsRecipientsList = function() {
2512
2467
 
2513
2468
 
2514
2469
 
2470
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2471
+ /**
2472
+ * Creates an object representation of this proto.
2473
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2474
+ * Optional fields that are not set will be set to undefined.
2475
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2476
+ * For the list of reserved names please see:
2477
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2478
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2479
+ * JSPB instance for transitional soy proto support:
2480
+ * http://goto/soy-param-migration
2481
+ * @return {!Object}
2482
+ */
2483
+ proto.WorkflowDeadline.prototype.toObject = function(opt_includeInstance) {
2484
+ return proto.WorkflowDeadline.toObject(opt_includeInstance, this);
2485
+ };
2486
+
2487
+
2488
+ /**
2489
+ * Static version of the {@see toObject} method.
2490
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2491
+ * the JSPB instance for transitional soy proto support:
2492
+ * http://goto/soy-param-migration
2493
+ * @param {!proto.WorkflowDeadline} msg The msg instance to transform.
2494
+ * @return {!Object}
2495
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2496
+ */
2497
+ proto.WorkflowDeadline.toObject = function(includeInstance, msg) {
2498
+ var f, obj = {
2499
+ deadlineContext: jspb.Message.getFieldWithDefault(msg, 13, ""),
2500
+ deadlineUnit: jspb.Message.getFieldWithDefault(msg, 14, ""),
2501
+ deadlineUnitCounter: jspb.Message.getFieldWithDefault(msg, 15, 0),
2502
+ deadlineEffect: jspb.Message.getFieldWithDefault(msg, 16, "")
2503
+ };
2504
+
2505
+ if (includeInstance) {
2506
+ obj.$jspbMessageInstance = msg;
2507
+ }
2508
+ return obj;
2509
+ };
2510
+ }
2511
+
2512
+
2513
+ /**
2514
+ * Deserializes binary data (in protobuf wire format).
2515
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2516
+ * @return {!proto.WorkflowDeadline}
2517
+ */
2518
+ proto.WorkflowDeadline.deserializeBinary = function(bytes) {
2519
+ var reader = new jspb.BinaryReader(bytes);
2520
+ var msg = new proto.WorkflowDeadline;
2521
+ return proto.WorkflowDeadline.deserializeBinaryFromReader(msg, reader);
2522
+ };
2523
+
2524
+
2525
+ /**
2526
+ * Deserializes binary data (in protobuf wire format) from the
2527
+ * given reader into the given message object.
2528
+ * @param {!proto.WorkflowDeadline} msg The message object to deserialize into.
2529
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2530
+ * @return {!proto.WorkflowDeadline}
2531
+ */
2532
+ proto.WorkflowDeadline.deserializeBinaryFromReader = function(msg, reader) {
2533
+ while (reader.nextField()) {
2534
+ if (reader.isEndGroup()) {
2535
+ break;
2536
+ }
2537
+ var field = reader.getFieldNumber();
2538
+ switch (field) {
2539
+ case 13:
2540
+ var value = /** @type {string} */ (reader.readString());
2541
+ msg.setDeadlineContext(value);
2542
+ break;
2543
+ case 14:
2544
+ var value = /** @type {string} */ (reader.readString());
2545
+ msg.setDeadlineUnit(value);
2546
+ break;
2547
+ case 15:
2548
+ var value = /** @type {number} */ (reader.readInt64());
2549
+ msg.setDeadlineUnitCounter(value);
2550
+ break;
2551
+ case 16:
2552
+ var value = /** @type {string} */ (reader.readString());
2553
+ msg.setDeadlineEffect(value);
2554
+ break;
2555
+ default:
2556
+ reader.skipField();
2557
+ break;
2558
+ }
2559
+ }
2560
+ return msg;
2561
+ };
2562
+
2563
+
2564
+ /**
2565
+ * Serializes the message to binary data (in protobuf wire format).
2566
+ * @return {!Uint8Array}
2567
+ */
2568
+ proto.WorkflowDeadline.prototype.serializeBinary = function() {
2569
+ var writer = new jspb.BinaryWriter();
2570
+ proto.WorkflowDeadline.serializeBinaryToWriter(this, writer);
2571
+ return writer.getResultBuffer();
2572
+ };
2573
+
2574
+
2575
+ /**
2576
+ * Serializes the given message to binary data (in protobuf wire
2577
+ * format), writing to the given BinaryWriter.
2578
+ * @param {!proto.WorkflowDeadline} message
2579
+ * @param {!jspb.BinaryWriter} writer
2580
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2581
+ */
2582
+ proto.WorkflowDeadline.serializeBinaryToWriter = function(message, writer) {
2583
+ var f = undefined;
2584
+ f = message.getDeadlineContext();
2585
+ if (f.length > 0) {
2586
+ writer.writeString(
2587
+ 13,
2588
+ f
2589
+ );
2590
+ }
2591
+ f = message.getDeadlineUnit();
2592
+ if (f.length > 0) {
2593
+ writer.writeString(
2594
+ 14,
2595
+ f
2596
+ );
2597
+ }
2598
+ f = message.getDeadlineUnitCounter();
2599
+ if (f !== 0) {
2600
+ writer.writeInt64(
2601
+ 15,
2602
+ f
2603
+ );
2604
+ }
2605
+ f = message.getDeadlineEffect();
2606
+ if (f.length > 0) {
2607
+ writer.writeString(
2608
+ 16,
2609
+ f
2610
+ );
2611
+ }
2612
+ };
2613
+
2614
+
2615
+ /**
2616
+ * optional string deadline_context = 13;
2617
+ * @return {string}
2618
+ */
2619
+ proto.WorkflowDeadline.prototype.getDeadlineContext = function() {
2620
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2621
+ };
2622
+
2623
+
2624
+ /**
2625
+ * @param {string} value
2626
+ * @return {!proto.WorkflowDeadline} returns this
2627
+ */
2628
+ proto.WorkflowDeadline.prototype.setDeadlineContext = function(value) {
2629
+ return jspb.Message.setProto3StringField(this, 13, value);
2630
+ };
2631
+
2632
+
2633
+ /**
2634
+ * optional string deadline_unit = 14;
2635
+ * @return {string}
2636
+ */
2637
+ proto.WorkflowDeadline.prototype.getDeadlineUnit = function() {
2638
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2639
+ };
2640
+
2641
+
2642
+ /**
2643
+ * @param {string} value
2644
+ * @return {!proto.WorkflowDeadline} returns this
2645
+ */
2646
+ proto.WorkflowDeadline.prototype.setDeadlineUnit = function(value) {
2647
+ return jspb.Message.setProto3StringField(this, 14, value);
2648
+ };
2649
+
2650
+
2651
+ /**
2652
+ * optional int64 deadline_unit_counter = 15;
2653
+ * @return {number}
2654
+ */
2655
+ proto.WorkflowDeadline.prototype.getDeadlineUnitCounter = function() {
2656
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
2657
+ };
2658
+
2659
+
2660
+ /**
2661
+ * @param {number} value
2662
+ * @return {!proto.WorkflowDeadline} returns this
2663
+ */
2664
+ proto.WorkflowDeadline.prototype.setDeadlineUnitCounter = function(value) {
2665
+ return jspb.Message.setProto3IntField(this, 15, value);
2666
+ };
2667
+
2668
+
2669
+ /**
2670
+ * optional string deadline_effect = 16;
2671
+ * @return {string}
2672
+ */
2673
+ proto.WorkflowDeadline.prototype.getDeadlineEffect = function() {
2674
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
2675
+ };
2676
+
2677
+
2678
+ /**
2679
+ * @param {string} value
2680
+ * @return {!proto.WorkflowDeadline} returns this
2681
+ */
2682
+ proto.WorkflowDeadline.prototype.setDeadlineEffect = function(value) {
2683
+ return jspb.Message.setProto3StringField(this, 16, value);
2684
+ };
2685
+
2686
+
2687
+
2688
+
2689
+
2515
2690
  if (jspb.Message.GENERATE_TO_OBJECT) {
2516
2691
  /**
2517
2692
  * Creates an object representation of this proto.
@@ -3766,7 +3941,7 @@ proto.BaseWorkflowCriteriaRequest.prototype.setOperator = function(value) {
3766
3941
  * @private {!Array<number>}
3767
3942
  * @const
3768
3943
  */
3769
- proto.BaseWorkflowStepsRequest.repeatedFields_ = [14,15];
3944
+ proto.BaseWorkflowStepsRequest.repeatedFields_ = [10,14,15];
3770
3945
 
3771
3946
 
3772
3947
 
@@ -3808,10 +3983,8 @@ actionResult: jspb.Message.getFieldWithDefault(msg, 6, ""),
3808
3983
  requiredAction: jspb.Message.getFieldWithDefault(msg, 7, ""),
3809
3984
  redefineTaskTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
3810
3985
  isCompletedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
3811
- deadlineContext: jspb.Message.getFieldWithDefault(msg, 10, ""),
3812
- deadlineUnit: jspb.Message.getFieldWithDefault(msg, 11, ""),
3813
- deadlineUnitCounter: jspb.Message.getFieldWithDefault(msg, 12, 0),
3814
- deadlineEffect: jspb.Message.getFieldWithDefault(msg, 13, ""),
3986
+ deadlinesList: jspb.Message.toObjectList(msg.getDeadlinesList(),
3987
+ proto.WorkflowDeadline.toObject, includeInstance),
3815
3988
  workflowConditionList: jspb.Message.toObjectList(msg.getWorkflowConditionList(),
3816
3989
  proto.BaseWorkflowConditionRequest.toObject, includeInstance),
3817
3990
  workflowStepsRecipientsList: jspb.Message.toObjectList(msg.getWorkflowStepsRecipientsList(),
@@ -3889,20 +4062,9 @@ proto.BaseWorkflowStepsRequest.deserializeBinaryFromReader = function(msg, reade
3889
4062
  msg.setIsCompletedBy(value);
3890
4063
  break;
3891
4064
  case 10:
3892
- var value = /** @type {string} */ (reader.readString());
3893
- msg.setDeadlineContext(value);
3894
- break;
3895
- case 11:
3896
- var value = /** @type {string} */ (reader.readString());
3897
- msg.setDeadlineUnit(value);
3898
- break;
3899
- case 12:
3900
- var value = /** @type {number} */ (reader.readInt64());
3901
- msg.setDeadlineUnitCounter(value);
3902
- break;
3903
- case 13:
3904
- var value = /** @type {string} */ (reader.readString());
3905
- msg.setDeadlineEffect(value);
4065
+ var value = new proto.WorkflowDeadline;
4066
+ reader.readMessage(value,proto.WorkflowDeadline.deserializeBinaryFromReader);
4067
+ msg.addDeadlines(value);
3906
4068
  break;
3907
4069
  case 14:
3908
4070
  var value = new proto.BaseWorkflowConditionRequest;
@@ -4006,32 +4168,12 @@ proto.BaseWorkflowStepsRequest.serializeBinaryToWriter = function(message, write
4006
4168
  f
4007
4169
  );
4008
4170
  }
4009
- f = message.getDeadlineContext();
4171
+ f = message.getDeadlinesList();
4010
4172
  if (f.length > 0) {
4011
- writer.writeString(
4173
+ writer.writeRepeatedMessage(
4012
4174
  10,
4013
- f
4014
- );
4015
- }
4016
- f = message.getDeadlineUnit();
4017
- if (f.length > 0) {
4018
- writer.writeString(
4019
- 11,
4020
- f
4021
- );
4022
- }
4023
- f = message.getDeadlineUnitCounter();
4024
- if (f !== 0) {
4025
- writer.writeInt64(
4026
- 12,
4027
- f
4028
- );
4029
- }
4030
- f = message.getDeadlineEffect();
4031
- if (f.length > 0) {
4032
- writer.writeString(
4033
- 13,
4034
- f
4175
+ f,
4176
+ proto.WorkflowDeadline.serializeBinaryToWriter
4035
4177
  );
4036
4178
  }
4037
4179
  f = message.getWorkflowConditionList();
@@ -4216,74 +4358,40 @@ proto.BaseWorkflowStepsRequest.prototype.setIsCompletedBy = function(value) {
4216
4358
 
4217
4359
 
4218
4360
  /**
4219
- * optional string deadline_context = 10;
4220
- * @return {string}
4221
- */
4222
- proto.BaseWorkflowStepsRequest.prototype.getDeadlineContext = function() {
4223
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
4224
- };
4225
-
4226
-
4227
- /**
4228
- * @param {string} value
4229
- * @return {!proto.BaseWorkflowStepsRequest} returns this
4230
- */
4231
- proto.BaseWorkflowStepsRequest.prototype.setDeadlineContext = function(value) {
4232
- return jspb.Message.setProto3StringField(this, 10, value);
4233
- };
4234
-
4235
-
4236
- /**
4237
- * optional string deadline_unit = 11;
4238
- * @return {string}
4239
- */
4240
- proto.BaseWorkflowStepsRequest.prototype.getDeadlineUnit = function() {
4241
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
4242
- };
4243
-
4244
-
4245
- /**
4246
- * @param {string} value
4247
- * @return {!proto.BaseWorkflowStepsRequest} returns this
4248
- */
4249
- proto.BaseWorkflowStepsRequest.prototype.setDeadlineUnit = function(value) {
4250
- return jspb.Message.setProto3StringField(this, 11, value);
4251
- };
4252
-
4253
-
4254
- /**
4255
- * optional int64 deadline_unit_counter = 12;
4256
- * @return {number}
4361
+ * repeated WorkflowDeadline deadlines = 10;
4362
+ * @return {!Array<!proto.WorkflowDeadline>}
4257
4363
  */
4258
- proto.BaseWorkflowStepsRequest.prototype.getDeadlineUnitCounter = function() {
4259
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
4364
+ proto.BaseWorkflowStepsRequest.prototype.getDeadlinesList = function() {
4365
+ return /** @type{!Array<!proto.WorkflowDeadline>} */ (
4366
+ jspb.Message.getRepeatedWrapperField(this, proto.WorkflowDeadline, 10));
4260
4367
  };
4261
4368
 
4262
4369
 
4263
4370
  /**
4264
- * @param {number} value
4371
+ * @param {!Array<!proto.WorkflowDeadline>} value
4265
4372
  * @return {!proto.BaseWorkflowStepsRequest} returns this
4266
- */
4267
- proto.BaseWorkflowStepsRequest.prototype.setDeadlineUnitCounter = function(value) {
4268
- return jspb.Message.setProto3IntField(this, 12, value);
4373
+ */
4374
+ proto.BaseWorkflowStepsRequest.prototype.setDeadlinesList = function(value) {
4375
+ return jspb.Message.setRepeatedWrapperField(this, 10, value);
4269
4376
  };
4270
4377
 
4271
4378
 
4272
4379
  /**
4273
- * optional string deadline_effect = 13;
4274
- * @return {string}
4380
+ * @param {!proto.WorkflowDeadline=} opt_value
4381
+ * @param {number=} opt_index
4382
+ * @return {!proto.WorkflowDeadline}
4275
4383
  */
4276
- proto.BaseWorkflowStepsRequest.prototype.getDeadlineEffect = function() {
4277
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
4384
+ proto.BaseWorkflowStepsRequest.prototype.addDeadlines = function(opt_value, opt_index) {
4385
+ return jspb.Message.addToRepeatedWrapperField(this, 10, opt_value, proto.WorkflowDeadline, opt_index);
4278
4386
  };
4279
4387
 
4280
4388
 
4281
4389
  /**
4282
- * @param {string} value
4390
+ * Clears the list making it empty but non-null.
4283
4391
  * @return {!proto.BaseWorkflowStepsRequest} returns this
4284
4392
  */
4285
- proto.BaseWorkflowStepsRequest.prototype.setDeadlineEffect = function(value) {
4286
- return jspb.Message.setProto3StringField(this, 13, value);
4393
+ proto.BaseWorkflowStepsRequest.prototype.clearDeadlinesList = function() {
4394
+ return this.setDeadlinesList([]);
4287
4395
  };
4288
4396
 
4289
4397