@miradorlabs/web-grpc 2.22.0 → 2.24.0

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.
@@ -41,13 +41,7 @@ goog.exportSymbol('proto.gateway.web.v1.PlanTier', null, global);
41
41
  goog.exportSymbol('proto.gateway.web.v1.PlanUpdateEnvelope', null, global);
42
42
  goog.exportSymbol('proto.gateway.web.v1.PlanUpdateEnvelope.EventCase', null, global);
43
43
  goog.exportSymbol('proto.gateway.web.v1.PlanUpdated', null, global);
44
- goog.exportSymbol('proto.gateway.web.v1.QuotaDetails', null, global);
45
- goog.exportSymbol('proto.gateway.web.v1.QuotaSnapshot', null, global);
46
- goog.exportSymbol('proto.gateway.web.v1.QuotaUpdate', null, global);
47
- goog.exportSymbol('proto.gateway.web.v1.QuotaUpdateEnvelope', null, global);
48
- goog.exportSymbol('proto.gateway.web.v1.QuotaUpdateEnvelope.EventCase', null, global);
49
44
  goog.exportSymbol('proto.gateway.web.v1.StreamPlanUpdatesRequest', null, global);
50
- goog.exportSymbol('proto.gateway.web.v1.StreamQuotaUpdatesRequest', null, global);
51
45
  /**
52
46
  * Generated by JsPbCodeGenerator.
53
47
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -258,111 +252,6 @@ if (goog.DEBUG && !COMPILED) {
258
252
  */
259
253
  proto.gateway.web.v1.PlanDeactivated.displayName = 'proto.gateway.web.v1.PlanDeactivated';
260
254
  }
261
- /**
262
- * Generated by JsPbCodeGenerator.
263
- * @param {Array=} opt_data Optional initial data array, typically from a
264
- * server response, or constructed directly in Javascript. The array is used
265
- * in place and becomes part of the constructed object. It is not cloned.
266
- * If no data is provided, the constructed object will be empty, but still
267
- * valid.
268
- * @extends {jspb.Message}
269
- * @constructor
270
- */
271
- proto.gateway.web.v1.StreamQuotaUpdatesRequest = function(opt_data) {
272
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
273
- };
274
- goog.inherits(proto.gateway.web.v1.StreamQuotaUpdatesRequest, jspb.Message);
275
- if (goog.DEBUG && !COMPILED) {
276
- /**
277
- * @public
278
- * @override
279
- */
280
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.displayName = 'proto.gateway.web.v1.StreamQuotaUpdatesRequest';
281
- }
282
- /**
283
- * Generated by JsPbCodeGenerator.
284
- * @param {Array=} opt_data Optional initial data array, typically from a
285
- * server response, or constructed directly in Javascript. The array is used
286
- * in place and becomes part of the constructed object. It is not cloned.
287
- * If no data is provided, the constructed object will be empty, but still
288
- * valid.
289
- * @extends {jspb.Message}
290
- * @constructor
291
- */
292
- proto.gateway.web.v1.QuotaUpdateEnvelope = function(opt_data) {
293
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.gateway.web.v1.QuotaUpdateEnvelope.oneofGroups_);
294
- };
295
- goog.inherits(proto.gateway.web.v1.QuotaUpdateEnvelope, jspb.Message);
296
- if (goog.DEBUG && !COMPILED) {
297
- /**
298
- * @public
299
- * @override
300
- */
301
- proto.gateway.web.v1.QuotaUpdateEnvelope.displayName = 'proto.gateway.web.v1.QuotaUpdateEnvelope';
302
- }
303
- /**
304
- * Generated by JsPbCodeGenerator.
305
- * @param {Array=} opt_data Optional initial data array, typically from a
306
- * server response, or constructed directly in Javascript. The array is used
307
- * in place and becomes part of the constructed object. It is not cloned.
308
- * If no data is provided, the constructed object will be empty, but still
309
- * valid.
310
- * @extends {jspb.Message}
311
- * @constructor
312
- */
313
- proto.gateway.web.v1.QuotaSnapshot = function(opt_data) {
314
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
315
- };
316
- goog.inherits(proto.gateway.web.v1.QuotaSnapshot, jspb.Message);
317
- if (goog.DEBUG && !COMPILED) {
318
- /**
319
- * @public
320
- * @override
321
- */
322
- proto.gateway.web.v1.QuotaSnapshot.displayName = 'proto.gateway.web.v1.QuotaSnapshot';
323
- }
324
- /**
325
- * Generated by JsPbCodeGenerator.
326
- * @param {Array=} opt_data Optional initial data array, typically from a
327
- * server response, or constructed directly in Javascript. The array is used
328
- * in place and becomes part of the constructed object. It is not cloned.
329
- * If no data is provided, the constructed object will be empty, but still
330
- * valid.
331
- * @extends {jspb.Message}
332
- * @constructor
333
- */
334
- proto.gateway.web.v1.QuotaUpdate = function(opt_data) {
335
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
336
- };
337
- goog.inherits(proto.gateway.web.v1.QuotaUpdate, jspb.Message);
338
- if (goog.DEBUG && !COMPILED) {
339
- /**
340
- * @public
341
- * @override
342
- */
343
- proto.gateway.web.v1.QuotaUpdate.displayName = 'proto.gateway.web.v1.QuotaUpdate';
344
- }
345
- /**
346
- * Generated by JsPbCodeGenerator.
347
- * @param {Array=} opt_data Optional initial data array, typically from a
348
- * server response, or constructed directly in Javascript. The array is used
349
- * in place and becomes part of the constructed object. It is not cloned.
350
- * If no data is provided, the constructed object will be empty, but still
351
- * valid.
352
- * @extends {jspb.Message}
353
- * @constructor
354
- */
355
- proto.gateway.web.v1.QuotaDetails = function(opt_data) {
356
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
357
- };
358
- goog.inherits(proto.gateway.web.v1.QuotaDetails, jspb.Message);
359
- if (goog.DEBUG && !COMPILED) {
360
- /**
361
- * @public
362
- * @override
363
- */
364
- proto.gateway.web.v1.QuotaDetails.displayName = 'proto.gateway.web.v1.QuotaDetails';
365
- }
366
255
  /**
367
256
  * Generated by JsPbCodeGenerator.
368
257
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -845,13 +734,8 @@ planId: jspb.Message.getFieldWithDefault(msg, 1, ""),
845
734
  organizationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
846
735
  tier: jspb.Message.getFieldWithDefault(msg, 3, 0),
847
736
  planStatus: jspb.Message.getFieldWithDefault(msg, 4, 0),
848
- traceSoftLimit: jspb.Message.getFieldWithDefault(msg, 5, 0),
849
- traceHardLimit: jspb.Message.getFieldWithDefault(msg, 6, 0),
850
737
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
851
- updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
852
- projectLimit: jspb.Message.getFieldWithDefault(msg, 9, 0),
853
- automationRuleLimit: jspb.Message.getFieldWithDefault(msg, 10, 0),
854
- automationRuleMatchLimit: jspb.Message.getFieldWithDefault(msg, 11, 0)
738
+ updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
855
739
  };
856
740
 
857
741
  if (includeInstance) {
@@ -905,35 +789,15 @@ proto.gateway.web.v1.Plan.deserializeBinaryFromReader = function(msg, reader) {
905
789
  msg.setPlanStatus(value);
906
790
  break;
907
791
  case 5:
908
- var value = /** @type {number} */ (reader.readInt64());
909
- msg.setTraceSoftLimit(value);
910
- break;
911
- case 6:
912
- var value = /** @type {number} */ (reader.readInt64());
913
- msg.setTraceHardLimit(value);
914
- break;
915
- case 7:
916
792
  var value = new google_protobuf_timestamp_pb.Timestamp;
917
793
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
918
794
  msg.setCreatedAt(value);
919
795
  break;
920
- case 8:
796
+ case 6:
921
797
  var value = new google_protobuf_timestamp_pb.Timestamp;
922
798
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
923
799
  msg.setUpdatedAt(value);
924
800
  break;
925
- case 9:
926
- var value = /** @type {number} */ (reader.readInt64());
927
- msg.setProjectLimit(value);
928
- break;
929
- case 10:
930
- var value = /** @type {number} */ (reader.readInt64());
931
- msg.setAutomationRuleLimit(value);
932
- break;
933
- case 11:
934
- var value = /** @type {number} */ (reader.readInt64());
935
- msg.setAutomationRuleMatchLimit(value);
936
- break;
937
801
  default:
938
802
  reader.skipField();
939
803
  break;
@@ -991,24 +855,10 @@ proto.gateway.web.v1.Plan.serializeBinaryToWriter = function(message, writer) {
991
855
  f
992
856
  );
993
857
  }
994
- f = message.getTraceSoftLimit();
995
- if (f !== 0) {
996
- writer.writeInt64(
997
- 5,
998
- f
999
- );
1000
- }
1001
- f = message.getTraceHardLimit();
1002
- if (f !== 0) {
1003
- writer.writeInt64(
1004
- 6,
1005
- f
1006
- );
1007
- }
1008
858
  f = message.getCreatedAt();
1009
859
  if (f != null) {
1010
860
  writer.writeMessage(
1011
- 7,
861
+ 5,
1012
862
  f,
1013
863
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1014
864
  );
@@ -1016,32 +866,11 @@ proto.gateway.web.v1.Plan.serializeBinaryToWriter = function(message, writer) {
1016
866
  f = message.getUpdatedAt();
1017
867
  if (f != null) {
1018
868
  writer.writeMessage(
1019
- 8,
869
+ 6,
1020
870
  f,
1021
871
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1022
872
  );
1023
873
  }
1024
- f = message.getProjectLimit();
1025
- if (f !== 0) {
1026
- writer.writeInt64(
1027
- 9,
1028
- f
1029
- );
1030
- }
1031
- f = message.getAutomationRuleLimit();
1032
- if (f !== 0) {
1033
- writer.writeInt64(
1034
- 10,
1035
- f
1036
- );
1037
- }
1038
- f = message.getAutomationRuleMatchLimit();
1039
- if (f !== 0) {
1040
- writer.writeInt64(
1041
- 11,
1042
- f
1043
- );
1044
- }
1045
874
  };
1046
875
 
1047
876
 
@@ -1118,48 +947,12 @@ proto.gateway.web.v1.Plan.prototype.setPlanStatus = function(value) {
1118
947
 
1119
948
 
1120
949
  /**
1121
- * optional int64 trace_soft_limit = 5;
1122
- * @return {number}
1123
- */
1124
- proto.gateway.web.v1.Plan.prototype.getTraceSoftLimit = function() {
1125
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
1126
- };
1127
-
1128
-
1129
- /**
1130
- * @param {number} value
1131
- * @return {!proto.gateway.web.v1.Plan} returns this
1132
- */
1133
- proto.gateway.web.v1.Plan.prototype.setTraceSoftLimit = function(value) {
1134
- return jspb.Message.setProto3IntField(this, 5, value);
1135
- };
1136
-
1137
-
1138
- /**
1139
- * optional int64 trace_hard_limit = 6;
1140
- * @return {number}
1141
- */
1142
- proto.gateway.web.v1.Plan.prototype.getTraceHardLimit = function() {
1143
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1144
- };
1145
-
1146
-
1147
- /**
1148
- * @param {number} value
1149
- * @return {!proto.gateway.web.v1.Plan} returns this
1150
- */
1151
- proto.gateway.web.v1.Plan.prototype.setTraceHardLimit = function(value) {
1152
- return jspb.Message.setProto3IntField(this, 6, value);
1153
- };
1154
-
1155
-
1156
- /**
1157
- * optional google.protobuf.Timestamp created_at = 7;
950
+ * optional google.protobuf.Timestamp created_at = 5;
1158
951
  * @return {?proto.google.protobuf.Timestamp}
1159
952
  */
1160
953
  proto.gateway.web.v1.Plan.prototype.getCreatedAt = function() {
1161
954
  return /** @type{?proto.google.protobuf.Timestamp} */ (
1162
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
955
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
1163
956
  };
1164
957
 
1165
958
 
@@ -1168,7 +961,7 @@ proto.gateway.web.v1.Plan.prototype.getCreatedAt = function() {
1168
961
  * @return {!proto.gateway.web.v1.Plan} returns this
1169
962
  */
1170
963
  proto.gateway.web.v1.Plan.prototype.setCreatedAt = function(value) {
1171
- return jspb.Message.setWrapperField(this, 7, value);
964
+ return jspb.Message.setWrapperField(this, 5, value);
1172
965
  };
1173
966
 
1174
967
 
@@ -1186,17 +979,17 @@ proto.gateway.web.v1.Plan.prototype.clearCreatedAt = function() {
1186
979
  * @return {boolean}
1187
980
  */
1188
981
  proto.gateway.web.v1.Plan.prototype.hasCreatedAt = function() {
1189
- return jspb.Message.getField(this, 7) != null;
982
+ return jspb.Message.getField(this, 5) != null;
1190
983
  };
1191
984
 
1192
985
 
1193
986
  /**
1194
- * optional google.protobuf.Timestamp updated_at = 8;
987
+ * optional google.protobuf.Timestamp updated_at = 6;
1195
988
  * @return {?proto.google.protobuf.Timestamp}
1196
989
  */
1197
990
  proto.gateway.web.v1.Plan.prototype.getUpdatedAt = function() {
1198
991
  return /** @type{?proto.google.protobuf.Timestamp} */ (
1199
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
992
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
1200
993
  };
1201
994
 
1202
995
 
@@ -1205,7 +998,7 @@ proto.gateway.web.v1.Plan.prototype.getUpdatedAt = function() {
1205
998
  * @return {!proto.gateway.web.v1.Plan} returns this
1206
999
  */
1207
1000
  proto.gateway.web.v1.Plan.prototype.setUpdatedAt = function(value) {
1208
- return jspb.Message.setWrapperField(this, 8, value);
1001
+ return jspb.Message.setWrapperField(this, 6, value);
1209
1002
  };
1210
1003
 
1211
1004
 
@@ -1223,61 +1016,7 @@ proto.gateway.web.v1.Plan.prototype.clearUpdatedAt = function() {
1223
1016
  * @return {boolean}
1224
1017
  */
1225
1018
  proto.gateway.web.v1.Plan.prototype.hasUpdatedAt = function() {
1226
- return jspb.Message.getField(this, 8) != null;
1227
- };
1228
-
1229
-
1230
- /**
1231
- * optional int64 project_limit = 9;
1232
- * @return {number}
1233
- */
1234
- proto.gateway.web.v1.Plan.prototype.getProjectLimit = function() {
1235
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1236
- };
1237
-
1238
-
1239
- /**
1240
- * @param {number} value
1241
- * @return {!proto.gateway.web.v1.Plan} returns this
1242
- */
1243
- proto.gateway.web.v1.Plan.prototype.setProjectLimit = function(value) {
1244
- return jspb.Message.setProto3IntField(this, 9, value);
1245
- };
1246
-
1247
-
1248
- /**
1249
- * optional int64 automation_rule_limit = 10;
1250
- * @return {number}
1251
- */
1252
- proto.gateway.web.v1.Plan.prototype.getAutomationRuleLimit = function() {
1253
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
1254
- };
1255
-
1256
-
1257
- /**
1258
- * @param {number} value
1259
- * @return {!proto.gateway.web.v1.Plan} returns this
1260
- */
1261
- proto.gateway.web.v1.Plan.prototype.setAutomationRuleLimit = function(value) {
1262
- return jspb.Message.setProto3IntField(this, 10, value);
1263
- };
1264
-
1265
-
1266
- /**
1267
- * optional int64 automation_rule_match_limit = 11;
1268
- * @return {number}
1269
- */
1270
- proto.gateway.web.v1.Plan.prototype.getAutomationRuleMatchLimit = function() {
1271
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
1272
- };
1273
-
1274
-
1275
- /**
1276
- * @param {number} value
1277
- * @return {!proto.gateway.web.v1.Plan} returns this
1278
- */
1279
- proto.gateway.web.v1.Plan.prototype.setAutomationRuleMatchLimit = function(value) {
1280
- return jspb.Message.setProto3IntField(this, 11, value);
1019
+ return jspb.Message.getField(this, 6) != null;
1281
1020
  };
1282
1021
 
1283
1022
 
@@ -3045,8 +2784,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3045
2784
  * http://goto/soy-param-migration
3046
2785
  * @return {!Object}
3047
2786
  */
3048
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.prototype.toObject = function(opt_includeInstance) {
3049
- return proto.gateway.web.v1.StreamQuotaUpdatesRequest.toObject(opt_includeInstance, this);
2787
+ proto.gateway.web.v1.ListAvailablePlansRequest.prototype.toObject = function(opt_includeInstance) {
2788
+ return proto.gateway.web.v1.ListAvailablePlansRequest.toObject(opt_includeInstance, this);
3050
2789
  };
3051
2790
 
3052
2791
 
@@ -3055,13 +2794,13 @@ proto.gateway.web.v1.StreamQuotaUpdatesRequest.prototype.toObject = function(opt
3055
2794
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3056
2795
  * the JSPB instance for transitional soy proto support:
3057
2796
  * http://goto/soy-param-migration
3058
- * @param {!proto.gateway.web.v1.StreamQuotaUpdatesRequest} msg The msg instance to transform.
2797
+ * @param {!proto.gateway.web.v1.ListAvailablePlansRequest} msg The msg instance to transform.
3059
2798
  * @return {!Object}
3060
2799
  * @suppress {unusedLocalVariables} f is only used for nested messages
3061
2800
  */
3062
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.toObject = function(includeInstance, msg) {
2801
+ proto.gateway.web.v1.ListAvailablePlansRequest.toObject = function(includeInstance, msg) {
3063
2802
  var f, obj = {
3064
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, "")
2803
+
3065
2804
  };
3066
2805
 
3067
2806
  if (includeInstance) {
@@ -3075,33 +2814,29 @@ organizationId: jspb.Message.getFieldWithDefault(msg, 1, "")
3075
2814
  /**
3076
2815
  * Deserializes binary data (in protobuf wire format).
3077
2816
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3078
- * @return {!proto.gateway.web.v1.StreamQuotaUpdatesRequest}
2817
+ * @return {!proto.gateway.web.v1.ListAvailablePlansRequest}
3079
2818
  */
3080
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.deserializeBinary = function(bytes) {
2819
+ proto.gateway.web.v1.ListAvailablePlansRequest.deserializeBinary = function(bytes) {
3081
2820
  var reader = new jspb.BinaryReader(bytes);
3082
- var msg = new proto.gateway.web.v1.StreamQuotaUpdatesRequest;
3083
- return proto.gateway.web.v1.StreamQuotaUpdatesRequest.deserializeBinaryFromReader(msg, reader);
2821
+ var msg = new proto.gateway.web.v1.ListAvailablePlansRequest;
2822
+ return proto.gateway.web.v1.ListAvailablePlansRequest.deserializeBinaryFromReader(msg, reader);
3084
2823
  };
3085
2824
 
3086
2825
 
3087
2826
  /**
3088
2827
  * Deserializes binary data (in protobuf wire format) from the
3089
2828
  * given reader into the given message object.
3090
- * @param {!proto.gateway.web.v1.StreamQuotaUpdatesRequest} msg The message object to deserialize into.
2829
+ * @param {!proto.gateway.web.v1.ListAvailablePlansRequest} msg The message object to deserialize into.
3091
2830
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3092
- * @return {!proto.gateway.web.v1.StreamQuotaUpdatesRequest}
2831
+ * @return {!proto.gateway.web.v1.ListAvailablePlansRequest}
3093
2832
  */
3094
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.deserializeBinaryFromReader = function(msg, reader) {
2833
+ proto.gateway.web.v1.ListAvailablePlansRequest.deserializeBinaryFromReader = function(msg, reader) {
3095
2834
  while (reader.nextField()) {
3096
2835
  if (reader.isEndGroup()) {
3097
2836
  break;
3098
2837
  }
3099
2838
  var field = reader.getFieldNumber();
3100
2839
  switch (field) {
3101
- case 1:
3102
- var value = /** @type {string} */ (reader.readString());
3103
- msg.setOrganizationId(value);
3104
- break;
3105
2840
  default:
3106
2841
  reader.skipField();
3107
2842
  break;
@@ -3115,9 +2850,9 @@ proto.gateway.web.v1.StreamQuotaUpdatesRequest.deserializeBinaryFromReader = fun
3115
2850
  * Serializes the message to binary data (in protobuf wire format).
3116
2851
  * @return {!Uint8Array}
3117
2852
  */
3118
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.prototype.serializeBinary = function() {
2853
+ proto.gateway.web.v1.ListAvailablePlansRequest.prototype.serializeBinary = function() {
3119
2854
  var writer = new jspb.BinaryWriter();
3120
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.serializeBinaryToWriter(this, writer);
2855
+ proto.gateway.web.v1.ListAvailablePlansRequest.serializeBinaryToWriter(this, writer);
3121
2856
  return writer.getResultBuffer();
3122
2857
  };
3123
2858
 
@@ -3125,66 +2860,22 @@ proto.gateway.web.v1.StreamQuotaUpdatesRequest.prototype.serializeBinary = funct
3125
2860
  /**
3126
2861
  * Serializes the given message to binary data (in protobuf wire
3127
2862
  * format), writing to the given BinaryWriter.
3128
- * @param {!proto.gateway.web.v1.StreamQuotaUpdatesRequest} message
2863
+ * @param {!proto.gateway.web.v1.ListAvailablePlansRequest} message
3129
2864
  * @param {!jspb.BinaryWriter} writer
3130
2865
  * @suppress {unusedLocalVariables} f is only used for nested messages
3131
2866
  */
3132
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.serializeBinaryToWriter = function(message, writer) {
2867
+ proto.gateway.web.v1.ListAvailablePlansRequest.serializeBinaryToWriter = function(message, writer) {
3133
2868
  var f = undefined;
3134
- f = message.getOrganizationId();
3135
- if (f.length > 0) {
3136
- writer.writeString(
3137
- 1,
3138
- f
3139
- );
3140
- }
3141
- };
3142
-
3143
-
3144
- /**
3145
- * optional string organization_id = 1;
3146
- * @return {string}
3147
- */
3148
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.prototype.getOrganizationId = function() {
3149
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3150
- };
3151
-
3152
-
3153
- /**
3154
- * @param {string} value
3155
- * @return {!proto.gateway.web.v1.StreamQuotaUpdatesRequest} returns this
3156
- */
3157
- proto.gateway.web.v1.StreamQuotaUpdatesRequest.prototype.setOrganizationId = function(value) {
3158
- return jspb.Message.setProto3StringField(this, 1, value);
3159
2869
  };
3160
2870
 
3161
2871
 
3162
2872
 
3163
2873
  /**
3164
- * Oneof group definitions for this message. Each group defines the field
3165
- * numbers belonging to that group. When of these fields' value is set, all
3166
- * other fields in the group are cleared. During deserialization, if multiple
3167
- * fields are encountered for a group, only the last value seen will be kept.
3168
- * @private {!Array<!Array<number>>}
2874
+ * List of repeated fields within this message type.
2875
+ * @private {!Array<number>}
3169
2876
  * @const
3170
2877
  */
3171
- proto.gateway.web.v1.QuotaUpdateEnvelope.oneofGroups_ = [[1,2]];
3172
-
3173
- /**
3174
- * @enum {number}
3175
- */
3176
- proto.gateway.web.v1.QuotaUpdateEnvelope.EventCase = {
3177
- EVENT_NOT_SET: 0,
3178
- QUOTA_SNAPSHOT: 1,
3179
- QUOTA_UPDATED: 2
3180
- };
3181
-
3182
- /**
3183
- * @return {proto.gateway.web.v1.QuotaUpdateEnvelope.EventCase}
3184
- */
3185
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.getEventCase = function() {
3186
- return /** @type {proto.gateway.web.v1.QuotaUpdateEnvelope.EventCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.QuotaUpdateEnvelope.oneofGroups_[0]));
3187
- };
2878
+ proto.gateway.web.v1.ListAvailablePlansResponse.repeatedFields_ = [2];
3188
2879
 
3189
2880
 
3190
2881
 
@@ -3201,1023 +2892,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3201
2892
  * http://goto/soy-param-migration
3202
2893
  * @return {!Object}
3203
2894
  */
3204
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.toObject = function(opt_includeInstance) {
3205
- return proto.gateway.web.v1.QuotaUpdateEnvelope.toObject(opt_includeInstance, this);
3206
- };
3207
-
3208
-
3209
- /**
3210
- * Static version of the {@see toObject} method.
3211
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3212
- * the JSPB instance for transitional soy proto support:
3213
- * http://goto/soy-param-migration
3214
- * @param {!proto.gateway.web.v1.QuotaUpdateEnvelope} msg The msg instance to transform.
3215
- * @return {!Object}
3216
- * @suppress {unusedLocalVariables} f is only used for nested messages
3217
- */
3218
- proto.gateway.web.v1.QuotaUpdateEnvelope.toObject = function(includeInstance, msg) {
3219
- var f, obj = {
3220
- quotaSnapshot: (f = msg.getQuotaSnapshot()) && proto.gateway.web.v1.QuotaSnapshot.toObject(includeInstance, f),
3221
- quotaUpdated: (f = msg.getQuotaUpdated()) && proto.gateway.web.v1.QuotaUpdate.toObject(includeInstance, f)
3222
- };
3223
-
3224
- if (includeInstance) {
3225
- obj.$jspbMessageInstance = msg;
3226
- }
3227
- return obj;
3228
- };
3229
- }
3230
-
3231
-
3232
- /**
3233
- * Deserializes binary data (in protobuf wire format).
3234
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3235
- * @return {!proto.gateway.web.v1.QuotaUpdateEnvelope}
3236
- */
3237
- proto.gateway.web.v1.QuotaUpdateEnvelope.deserializeBinary = function(bytes) {
3238
- var reader = new jspb.BinaryReader(bytes);
3239
- var msg = new proto.gateway.web.v1.QuotaUpdateEnvelope;
3240
- return proto.gateway.web.v1.QuotaUpdateEnvelope.deserializeBinaryFromReader(msg, reader);
3241
- };
3242
-
3243
-
3244
- /**
3245
- * Deserializes binary data (in protobuf wire format) from the
3246
- * given reader into the given message object.
3247
- * @param {!proto.gateway.web.v1.QuotaUpdateEnvelope} msg The message object to deserialize into.
3248
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3249
- * @return {!proto.gateway.web.v1.QuotaUpdateEnvelope}
3250
- */
3251
- proto.gateway.web.v1.QuotaUpdateEnvelope.deserializeBinaryFromReader = function(msg, reader) {
3252
- while (reader.nextField()) {
3253
- if (reader.isEndGroup()) {
3254
- break;
3255
- }
3256
- var field = reader.getFieldNumber();
3257
- switch (field) {
3258
- case 1:
3259
- var value = new proto.gateway.web.v1.QuotaSnapshot;
3260
- reader.readMessage(value,proto.gateway.web.v1.QuotaSnapshot.deserializeBinaryFromReader);
3261
- msg.setQuotaSnapshot(value);
3262
- break;
3263
- case 2:
3264
- var value = new proto.gateway.web.v1.QuotaUpdate;
3265
- reader.readMessage(value,proto.gateway.web.v1.QuotaUpdate.deserializeBinaryFromReader);
3266
- msg.setQuotaUpdated(value);
3267
- break;
3268
- default:
3269
- reader.skipField();
3270
- break;
3271
- }
3272
- }
3273
- return msg;
3274
- };
3275
-
3276
-
3277
- /**
3278
- * Serializes the message to binary data (in protobuf wire format).
3279
- * @return {!Uint8Array}
3280
- */
3281
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.serializeBinary = function() {
3282
- var writer = new jspb.BinaryWriter();
3283
- proto.gateway.web.v1.QuotaUpdateEnvelope.serializeBinaryToWriter(this, writer);
3284
- return writer.getResultBuffer();
3285
- };
3286
-
3287
-
3288
- /**
3289
- * Serializes the given message to binary data (in protobuf wire
3290
- * format), writing to the given BinaryWriter.
3291
- * @param {!proto.gateway.web.v1.QuotaUpdateEnvelope} message
3292
- * @param {!jspb.BinaryWriter} writer
3293
- * @suppress {unusedLocalVariables} f is only used for nested messages
3294
- */
3295
- proto.gateway.web.v1.QuotaUpdateEnvelope.serializeBinaryToWriter = function(message, writer) {
3296
- var f = undefined;
3297
- f = message.getQuotaSnapshot();
3298
- if (f != null) {
3299
- writer.writeMessage(
3300
- 1,
3301
- f,
3302
- proto.gateway.web.v1.QuotaSnapshot.serializeBinaryToWriter
3303
- );
3304
- }
3305
- f = message.getQuotaUpdated();
3306
- if (f != null) {
3307
- writer.writeMessage(
3308
- 2,
3309
- f,
3310
- proto.gateway.web.v1.QuotaUpdate.serializeBinaryToWriter
3311
- );
3312
- }
3313
- };
3314
-
3315
-
3316
- /**
3317
- * optional QuotaSnapshot quota_snapshot = 1;
3318
- * @return {?proto.gateway.web.v1.QuotaSnapshot}
3319
- */
3320
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.getQuotaSnapshot = function() {
3321
- return /** @type{?proto.gateway.web.v1.QuotaSnapshot} */ (
3322
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.QuotaSnapshot, 1));
3323
- };
3324
-
3325
-
3326
- /**
3327
- * @param {?proto.gateway.web.v1.QuotaSnapshot|undefined} value
3328
- * @return {!proto.gateway.web.v1.QuotaUpdateEnvelope} returns this
3329
- */
3330
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.setQuotaSnapshot = function(value) {
3331
- return jspb.Message.setOneofWrapperField(this, 1, proto.gateway.web.v1.QuotaUpdateEnvelope.oneofGroups_[0], value);
3332
- };
3333
-
3334
-
3335
- /**
3336
- * Clears the message field making it undefined.
3337
- * @return {!proto.gateway.web.v1.QuotaUpdateEnvelope} returns this
3338
- */
3339
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.clearQuotaSnapshot = function() {
3340
- return this.setQuotaSnapshot(undefined);
3341
- };
3342
-
3343
-
3344
- /**
3345
- * Returns whether this field is set.
3346
- * @return {boolean}
3347
- */
3348
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.hasQuotaSnapshot = function() {
3349
- return jspb.Message.getField(this, 1) != null;
3350
- };
3351
-
3352
-
3353
- /**
3354
- * optional QuotaUpdate quota_updated = 2;
3355
- * @return {?proto.gateway.web.v1.QuotaUpdate}
3356
- */
3357
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.getQuotaUpdated = function() {
3358
- return /** @type{?proto.gateway.web.v1.QuotaUpdate} */ (
3359
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.QuotaUpdate, 2));
3360
- };
3361
-
3362
-
3363
- /**
3364
- * @param {?proto.gateway.web.v1.QuotaUpdate|undefined} value
3365
- * @return {!proto.gateway.web.v1.QuotaUpdateEnvelope} returns this
3366
- */
3367
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.setQuotaUpdated = function(value) {
3368
- return jspb.Message.setOneofWrapperField(this, 2, proto.gateway.web.v1.QuotaUpdateEnvelope.oneofGroups_[0], value);
3369
- };
3370
-
3371
-
3372
- /**
3373
- * Clears the message field making it undefined.
3374
- * @return {!proto.gateway.web.v1.QuotaUpdateEnvelope} returns this
3375
- */
3376
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.clearQuotaUpdated = function() {
3377
- return this.setQuotaUpdated(undefined);
3378
- };
3379
-
3380
-
3381
- /**
3382
- * Returns whether this field is set.
3383
- * @return {boolean}
3384
- */
3385
- proto.gateway.web.v1.QuotaUpdateEnvelope.prototype.hasQuotaUpdated = function() {
3386
- return jspb.Message.getField(this, 2) != null;
3387
- };
3388
-
3389
-
3390
-
3391
-
3392
-
3393
- if (jspb.Message.GENERATE_TO_OBJECT) {
3394
- /**
3395
- * Creates an object representation of this proto.
3396
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3397
- * Optional fields that are not set will be set to undefined.
3398
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3399
- * For the list of reserved names please see:
3400
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3401
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3402
- * JSPB instance for transitional soy proto support:
3403
- * http://goto/soy-param-migration
3404
- * @return {!Object}
3405
- */
3406
- proto.gateway.web.v1.QuotaSnapshot.prototype.toObject = function(opt_includeInstance) {
3407
- return proto.gateway.web.v1.QuotaSnapshot.toObject(opt_includeInstance, this);
3408
- };
3409
-
3410
-
3411
- /**
3412
- * Static version of the {@see toObject} method.
3413
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3414
- * the JSPB instance for transitional soy proto support:
3415
- * http://goto/soy-param-migration
3416
- * @param {!proto.gateway.web.v1.QuotaSnapshot} msg The msg instance to transform.
3417
- * @return {!Object}
3418
- * @suppress {unusedLocalVariables} f is only used for nested messages
3419
- */
3420
- proto.gateway.web.v1.QuotaSnapshot.toObject = function(includeInstance, msg) {
3421
- var f, obj = {
3422
- details: (f = msg.getDetails()) && proto.gateway.web.v1.QuotaDetails.toObject(includeInstance, f)
3423
- };
3424
-
3425
- if (includeInstance) {
3426
- obj.$jspbMessageInstance = msg;
3427
- }
3428
- return obj;
3429
- };
3430
- }
3431
-
3432
-
3433
- /**
3434
- * Deserializes binary data (in protobuf wire format).
3435
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3436
- * @return {!proto.gateway.web.v1.QuotaSnapshot}
3437
- */
3438
- proto.gateway.web.v1.QuotaSnapshot.deserializeBinary = function(bytes) {
3439
- var reader = new jspb.BinaryReader(bytes);
3440
- var msg = new proto.gateway.web.v1.QuotaSnapshot;
3441
- return proto.gateway.web.v1.QuotaSnapshot.deserializeBinaryFromReader(msg, reader);
3442
- };
3443
-
3444
-
3445
- /**
3446
- * Deserializes binary data (in protobuf wire format) from the
3447
- * given reader into the given message object.
3448
- * @param {!proto.gateway.web.v1.QuotaSnapshot} msg The message object to deserialize into.
3449
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3450
- * @return {!proto.gateway.web.v1.QuotaSnapshot}
3451
- */
3452
- proto.gateway.web.v1.QuotaSnapshot.deserializeBinaryFromReader = function(msg, reader) {
3453
- while (reader.nextField()) {
3454
- if (reader.isEndGroup()) {
3455
- break;
3456
- }
3457
- var field = reader.getFieldNumber();
3458
- switch (field) {
3459
- case 1:
3460
- var value = new proto.gateway.web.v1.QuotaDetails;
3461
- reader.readMessage(value,proto.gateway.web.v1.QuotaDetails.deserializeBinaryFromReader);
3462
- msg.setDetails(value);
3463
- break;
3464
- default:
3465
- reader.skipField();
3466
- break;
3467
- }
3468
- }
3469
- return msg;
3470
- };
3471
-
3472
-
3473
- /**
3474
- * Serializes the message to binary data (in protobuf wire format).
3475
- * @return {!Uint8Array}
3476
- */
3477
- proto.gateway.web.v1.QuotaSnapshot.prototype.serializeBinary = function() {
3478
- var writer = new jspb.BinaryWriter();
3479
- proto.gateway.web.v1.QuotaSnapshot.serializeBinaryToWriter(this, writer);
3480
- return writer.getResultBuffer();
3481
- };
3482
-
3483
-
3484
- /**
3485
- * Serializes the given message to binary data (in protobuf wire
3486
- * format), writing to the given BinaryWriter.
3487
- * @param {!proto.gateway.web.v1.QuotaSnapshot} message
3488
- * @param {!jspb.BinaryWriter} writer
3489
- * @suppress {unusedLocalVariables} f is only used for nested messages
3490
- */
3491
- proto.gateway.web.v1.QuotaSnapshot.serializeBinaryToWriter = function(message, writer) {
3492
- var f = undefined;
3493
- f = message.getDetails();
3494
- if (f != null) {
3495
- writer.writeMessage(
3496
- 1,
3497
- f,
3498
- proto.gateway.web.v1.QuotaDetails.serializeBinaryToWriter
3499
- );
3500
- }
3501
- };
3502
-
3503
-
3504
- /**
3505
- * optional QuotaDetails details = 1;
3506
- * @return {?proto.gateway.web.v1.QuotaDetails}
3507
- */
3508
- proto.gateway.web.v1.QuotaSnapshot.prototype.getDetails = function() {
3509
- return /** @type{?proto.gateway.web.v1.QuotaDetails} */ (
3510
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.QuotaDetails, 1));
3511
- };
3512
-
3513
-
3514
- /**
3515
- * @param {?proto.gateway.web.v1.QuotaDetails|undefined} value
3516
- * @return {!proto.gateway.web.v1.QuotaSnapshot} returns this
3517
- */
3518
- proto.gateway.web.v1.QuotaSnapshot.prototype.setDetails = function(value) {
3519
- return jspb.Message.setWrapperField(this, 1, value);
3520
- };
3521
-
3522
-
3523
- /**
3524
- * Clears the message field making it undefined.
3525
- * @return {!proto.gateway.web.v1.QuotaSnapshot} returns this
3526
- */
3527
- proto.gateway.web.v1.QuotaSnapshot.prototype.clearDetails = function() {
3528
- return this.setDetails(undefined);
3529
- };
3530
-
3531
-
3532
- /**
3533
- * Returns whether this field is set.
3534
- * @return {boolean}
3535
- */
3536
- proto.gateway.web.v1.QuotaSnapshot.prototype.hasDetails = function() {
3537
- return jspb.Message.getField(this, 1) != null;
3538
- };
3539
-
3540
-
3541
-
3542
-
3543
-
3544
- if (jspb.Message.GENERATE_TO_OBJECT) {
3545
- /**
3546
- * Creates an object representation of this proto.
3547
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3548
- * Optional fields that are not set will be set to undefined.
3549
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3550
- * For the list of reserved names please see:
3551
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3552
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3553
- * JSPB instance for transitional soy proto support:
3554
- * http://goto/soy-param-migration
3555
- * @return {!Object}
3556
- */
3557
- proto.gateway.web.v1.QuotaUpdate.prototype.toObject = function(opt_includeInstance) {
3558
- return proto.gateway.web.v1.QuotaUpdate.toObject(opt_includeInstance, this);
3559
- };
3560
-
3561
-
3562
- /**
3563
- * Static version of the {@see toObject} method.
3564
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3565
- * the JSPB instance for transitional soy proto support:
3566
- * http://goto/soy-param-migration
3567
- * @param {!proto.gateway.web.v1.QuotaUpdate} msg The msg instance to transform.
3568
- * @return {!Object}
3569
- * @suppress {unusedLocalVariables} f is only used for nested messages
3570
- */
3571
- proto.gateway.web.v1.QuotaUpdate.toObject = function(includeInstance, msg) {
3572
- var f, obj = {
3573
- details: (f = msg.getDetails()) && proto.gateway.web.v1.QuotaDetails.toObject(includeInstance, f)
3574
- };
3575
-
3576
- if (includeInstance) {
3577
- obj.$jspbMessageInstance = msg;
3578
- }
3579
- return obj;
3580
- };
3581
- }
3582
-
3583
-
3584
- /**
3585
- * Deserializes binary data (in protobuf wire format).
3586
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3587
- * @return {!proto.gateway.web.v1.QuotaUpdate}
3588
- */
3589
- proto.gateway.web.v1.QuotaUpdate.deserializeBinary = function(bytes) {
3590
- var reader = new jspb.BinaryReader(bytes);
3591
- var msg = new proto.gateway.web.v1.QuotaUpdate;
3592
- return proto.gateway.web.v1.QuotaUpdate.deserializeBinaryFromReader(msg, reader);
3593
- };
3594
-
3595
-
3596
- /**
3597
- * Deserializes binary data (in protobuf wire format) from the
3598
- * given reader into the given message object.
3599
- * @param {!proto.gateway.web.v1.QuotaUpdate} msg The message object to deserialize into.
3600
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3601
- * @return {!proto.gateway.web.v1.QuotaUpdate}
3602
- */
3603
- proto.gateway.web.v1.QuotaUpdate.deserializeBinaryFromReader = function(msg, reader) {
3604
- while (reader.nextField()) {
3605
- if (reader.isEndGroup()) {
3606
- break;
3607
- }
3608
- var field = reader.getFieldNumber();
3609
- switch (field) {
3610
- case 1:
3611
- var value = new proto.gateway.web.v1.QuotaDetails;
3612
- reader.readMessage(value,proto.gateway.web.v1.QuotaDetails.deserializeBinaryFromReader);
3613
- msg.setDetails(value);
3614
- break;
3615
- default:
3616
- reader.skipField();
3617
- break;
3618
- }
3619
- }
3620
- return msg;
3621
- };
3622
-
3623
-
3624
- /**
3625
- * Serializes the message to binary data (in protobuf wire format).
3626
- * @return {!Uint8Array}
3627
- */
3628
- proto.gateway.web.v1.QuotaUpdate.prototype.serializeBinary = function() {
3629
- var writer = new jspb.BinaryWriter();
3630
- proto.gateway.web.v1.QuotaUpdate.serializeBinaryToWriter(this, writer);
3631
- return writer.getResultBuffer();
3632
- };
3633
-
3634
-
3635
- /**
3636
- * Serializes the given message to binary data (in protobuf wire
3637
- * format), writing to the given BinaryWriter.
3638
- * @param {!proto.gateway.web.v1.QuotaUpdate} message
3639
- * @param {!jspb.BinaryWriter} writer
3640
- * @suppress {unusedLocalVariables} f is only used for nested messages
3641
- */
3642
- proto.gateway.web.v1.QuotaUpdate.serializeBinaryToWriter = function(message, writer) {
3643
- var f = undefined;
3644
- f = message.getDetails();
3645
- if (f != null) {
3646
- writer.writeMessage(
3647
- 1,
3648
- f,
3649
- proto.gateway.web.v1.QuotaDetails.serializeBinaryToWriter
3650
- );
3651
- }
3652
- };
3653
-
3654
-
3655
- /**
3656
- * optional QuotaDetails details = 1;
3657
- * @return {?proto.gateway.web.v1.QuotaDetails}
3658
- */
3659
- proto.gateway.web.v1.QuotaUpdate.prototype.getDetails = function() {
3660
- return /** @type{?proto.gateway.web.v1.QuotaDetails} */ (
3661
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.QuotaDetails, 1));
3662
- };
3663
-
3664
-
3665
- /**
3666
- * @param {?proto.gateway.web.v1.QuotaDetails|undefined} value
3667
- * @return {!proto.gateway.web.v1.QuotaUpdate} returns this
3668
- */
3669
- proto.gateway.web.v1.QuotaUpdate.prototype.setDetails = function(value) {
3670
- return jspb.Message.setWrapperField(this, 1, value);
3671
- };
3672
-
3673
-
3674
- /**
3675
- * Clears the message field making it undefined.
3676
- * @return {!proto.gateway.web.v1.QuotaUpdate} returns this
3677
- */
3678
- proto.gateway.web.v1.QuotaUpdate.prototype.clearDetails = function() {
3679
- return this.setDetails(undefined);
3680
- };
3681
-
3682
-
3683
- /**
3684
- * Returns whether this field is set.
3685
- * @return {boolean}
3686
- */
3687
- proto.gateway.web.v1.QuotaUpdate.prototype.hasDetails = function() {
3688
- return jspb.Message.getField(this, 1) != null;
3689
- };
3690
-
3691
-
3692
-
3693
-
3694
-
3695
- if (jspb.Message.GENERATE_TO_OBJECT) {
3696
- /**
3697
- * Creates an object representation of this proto.
3698
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3699
- * Optional fields that are not set will be set to undefined.
3700
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3701
- * For the list of reserved names please see:
3702
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3703
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3704
- * JSPB instance for transitional soy proto support:
3705
- * http://goto/soy-param-migration
3706
- * @return {!Object}
3707
- */
3708
- proto.gateway.web.v1.QuotaDetails.prototype.toObject = function(opt_includeInstance) {
3709
- return proto.gateway.web.v1.QuotaDetails.toObject(opt_includeInstance, this);
3710
- };
3711
-
3712
-
3713
- /**
3714
- * Static version of the {@see toObject} method.
3715
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3716
- * the JSPB instance for transitional soy proto support:
3717
- * http://goto/soy-param-migration
3718
- * @param {!proto.gateway.web.v1.QuotaDetails} msg The msg instance to transform.
3719
- * @return {!Object}
3720
- * @suppress {unusedLocalVariables} f is only used for nested messages
3721
- */
3722
- proto.gateway.web.v1.QuotaDetails.toObject = function(includeInstance, msg) {
3723
- var f, obj = {
3724
- traceCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
3725
- traceSoftLimit: jspb.Message.getFieldWithDefault(msg, 2, 0),
3726
- softBreachedAt: (f = msg.getSoftBreachedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3727
- traceHardLimit: jspb.Message.getFieldWithDefault(msg, 4, 0),
3728
- hardBreachedAt: (f = msg.getHardBreachedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3729
- automationRuleMatchCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
3730
- automationRuleMatchLimit: jspb.Message.getFieldWithDefault(msg, 7, 0),
3731
- automationRuleMatchBreachedAt: (f = msg.getAutomationRuleMatchBreachedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
3732
- };
3733
-
3734
- if (includeInstance) {
3735
- obj.$jspbMessageInstance = msg;
3736
- }
3737
- return obj;
3738
- };
3739
- }
3740
-
3741
-
3742
- /**
3743
- * Deserializes binary data (in protobuf wire format).
3744
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3745
- * @return {!proto.gateway.web.v1.QuotaDetails}
3746
- */
3747
- proto.gateway.web.v1.QuotaDetails.deserializeBinary = function(bytes) {
3748
- var reader = new jspb.BinaryReader(bytes);
3749
- var msg = new proto.gateway.web.v1.QuotaDetails;
3750
- return proto.gateway.web.v1.QuotaDetails.deserializeBinaryFromReader(msg, reader);
3751
- };
3752
-
3753
-
3754
- /**
3755
- * Deserializes binary data (in protobuf wire format) from the
3756
- * given reader into the given message object.
3757
- * @param {!proto.gateway.web.v1.QuotaDetails} msg The message object to deserialize into.
3758
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3759
- * @return {!proto.gateway.web.v1.QuotaDetails}
3760
- */
3761
- proto.gateway.web.v1.QuotaDetails.deserializeBinaryFromReader = function(msg, reader) {
3762
- while (reader.nextField()) {
3763
- if (reader.isEndGroup()) {
3764
- break;
3765
- }
3766
- var field = reader.getFieldNumber();
3767
- switch (field) {
3768
- case 1:
3769
- var value = /** @type {number} */ (reader.readInt64());
3770
- msg.setTraceCount(value);
3771
- break;
3772
- case 2:
3773
- var value = /** @type {number} */ (reader.readInt64());
3774
- msg.setTraceSoftLimit(value);
3775
- break;
3776
- case 3:
3777
- var value = new google_protobuf_timestamp_pb.Timestamp;
3778
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3779
- msg.setSoftBreachedAt(value);
3780
- break;
3781
- case 4:
3782
- var value = /** @type {number} */ (reader.readInt64());
3783
- msg.setTraceHardLimit(value);
3784
- break;
3785
- case 5:
3786
- var value = new google_protobuf_timestamp_pb.Timestamp;
3787
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3788
- msg.setHardBreachedAt(value);
3789
- break;
3790
- case 6:
3791
- var value = /** @type {number} */ (reader.readInt64());
3792
- msg.setAutomationRuleMatchCount(value);
3793
- break;
3794
- case 7:
3795
- var value = /** @type {number} */ (reader.readInt64());
3796
- msg.setAutomationRuleMatchLimit(value);
3797
- break;
3798
- case 8:
3799
- var value = new google_protobuf_timestamp_pb.Timestamp;
3800
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3801
- msg.setAutomationRuleMatchBreachedAt(value);
3802
- break;
3803
- default:
3804
- reader.skipField();
3805
- break;
3806
- }
3807
- }
3808
- return msg;
3809
- };
3810
-
3811
-
3812
- /**
3813
- * Serializes the message to binary data (in protobuf wire format).
3814
- * @return {!Uint8Array}
3815
- */
3816
- proto.gateway.web.v1.QuotaDetails.prototype.serializeBinary = function() {
3817
- var writer = new jspb.BinaryWriter();
3818
- proto.gateway.web.v1.QuotaDetails.serializeBinaryToWriter(this, writer);
3819
- return writer.getResultBuffer();
3820
- };
3821
-
3822
-
3823
- /**
3824
- * Serializes the given message to binary data (in protobuf wire
3825
- * format), writing to the given BinaryWriter.
3826
- * @param {!proto.gateway.web.v1.QuotaDetails} message
3827
- * @param {!jspb.BinaryWriter} writer
3828
- * @suppress {unusedLocalVariables} f is only used for nested messages
3829
- */
3830
- proto.gateway.web.v1.QuotaDetails.serializeBinaryToWriter = function(message, writer) {
3831
- var f = undefined;
3832
- f = message.getTraceCount();
3833
- if (f !== 0) {
3834
- writer.writeInt64(
3835
- 1,
3836
- f
3837
- );
3838
- }
3839
- f = message.getTraceSoftLimit();
3840
- if (f !== 0) {
3841
- writer.writeInt64(
3842
- 2,
3843
- f
3844
- );
3845
- }
3846
- f = message.getSoftBreachedAt();
3847
- if (f != null) {
3848
- writer.writeMessage(
3849
- 3,
3850
- f,
3851
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3852
- );
3853
- }
3854
- f = message.getTraceHardLimit();
3855
- if (f !== 0) {
3856
- writer.writeInt64(
3857
- 4,
3858
- f
3859
- );
3860
- }
3861
- f = message.getHardBreachedAt();
3862
- if (f != null) {
3863
- writer.writeMessage(
3864
- 5,
3865
- f,
3866
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3867
- );
3868
- }
3869
- f = message.getAutomationRuleMatchCount();
3870
- if (f !== 0) {
3871
- writer.writeInt64(
3872
- 6,
3873
- f
3874
- );
3875
- }
3876
- f = message.getAutomationRuleMatchLimit();
3877
- if (f !== 0) {
3878
- writer.writeInt64(
3879
- 7,
3880
- f
3881
- );
3882
- }
3883
- f = message.getAutomationRuleMatchBreachedAt();
3884
- if (f != null) {
3885
- writer.writeMessage(
3886
- 8,
3887
- f,
3888
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
3889
- );
3890
- }
3891
- };
3892
-
3893
-
3894
- /**
3895
- * optional int64 trace_count = 1;
3896
- * @return {number}
3897
- */
3898
- proto.gateway.web.v1.QuotaDetails.prototype.getTraceCount = function() {
3899
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3900
- };
3901
-
3902
-
3903
- /**
3904
- * @param {number} value
3905
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
3906
- */
3907
- proto.gateway.web.v1.QuotaDetails.prototype.setTraceCount = function(value) {
3908
- return jspb.Message.setProto3IntField(this, 1, value);
3909
- };
3910
-
3911
-
3912
- /**
3913
- * optional int64 trace_soft_limit = 2;
3914
- * @return {number}
3915
- */
3916
- proto.gateway.web.v1.QuotaDetails.prototype.getTraceSoftLimit = function() {
3917
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3918
- };
3919
-
3920
-
3921
- /**
3922
- * @param {number} value
3923
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
3924
- */
3925
- proto.gateway.web.v1.QuotaDetails.prototype.setTraceSoftLimit = function(value) {
3926
- return jspb.Message.setProto3IntField(this, 2, value);
3927
- };
3928
-
3929
-
3930
- /**
3931
- * optional google.protobuf.Timestamp soft_breached_at = 3;
3932
- * @return {?proto.google.protobuf.Timestamp}
3933
- */
3934
- proto.gateway.web.v1.QuotaDetails.prototype.getSoftBreachedAt = function() {
3935
- return /** @type{?proto.google.protobuf.Timestamp} */ (
3936
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
3937
- };
3938
-
3939
-
3940
- /**
3941
- * @param {?proto.google.protobuf.Timestamp|undefined} value
3942
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
3943
- */
3944
- proto.gateway.web.v1.QuotaDetails.prototype.setSoftBreachedAt = function(value) {
3945
- return jspb.Message.setWrapperField(this, 3, value);
3946
- };
3947
-
3948
-
3949
- /**
3950
- * Clears the message field making it undefined.
3951
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
3952
- */
3953
- proto.gateway.web.v1.QuotaDetails.prototype.clearSoftBreachedAt = function() {
3954
- return this.setSoftBreachedAt(undefined);
3955
- };
3956
-
3957
-
3958
- /**
3959
- * Returns whether this field is set.
3960
- * @return {boolean}
3961
- */
3962
- proto.gateway.web.v1.QuotaDetails.prototype.hasSoftBreachedAt = function() {
3963
- return jspb.Message.getField(this, 3) != null;
3964
- };
3965
-
3966
-
3967
- /**
3968
- * optional int64 trace_hard_limit = 4;
3969
- * @return {number}
3970
- */
3971
- proto.gateway.web.v1.QuotaDetails.prototype.getTraceHardLimit = function() {
3972
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
3973
- };
3974
-
3975
-
3976
- /**
3977
- * @param {number} value
3978
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
3979
- */
3980
- proto.gateway.web.v1.QuotaDetails.prototype.setTraceHardLimit = function(value) {
3981
- return jspb.Message.setProto3IntField(this, 4, value);
3982
- };
3983
-
3984
-
3985
- /**
3986
- * optional google.protobuf.Timestamp hard_breached_at = 5;
3987
- * @return {?proto.google.protobuf.Timestamp}
3988
- */
3989
- proto.gateway.web.v1.QuotaDetails.prototype.getHardBreachedAt = function() {
3990
- return /** @type{?proto.google.protobuf.Timestamp} */ (
3991
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
3992
- };
3993
-
3994
-
3995
- /**
3996
- * @param {?proto.google.protobuf.Timestamp|undefined} value
3997
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
3998
- */
3999
- proto.gateway.web.v1.QuotaDetails.prototype.setHardBreachedAt = function(value) {
4000
- return jspb.Message.setWrapperField(this, 5, value);
4001
- };
4002
-
4003
-
4004
- /**
4005
- * Clears the message field making it undefined.
4006
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
4007
- */
4008
- proto.gateway.web.v1.QuotaDetails.prototype.clearHardBreachedAt = function() {
4009
- return this.setHardBreachedAt(undefined);
4010
- };
4011
-
4012
-
4013
- /**
4014
- * Returns whether this field is set.
4015
- * @return {boolean}
4016
- */
4017
- proto.gateway.web.v1.QuotaDetails.prototype.hasHardBreachedAt = function() {
4018
- return jspb.Message.getField(this, 5) != null;
4019
- };
4020
-
4021
-
4022
- /**
4023
- * optional int64 automation_rule_match_count = 6;
4024
- * @return {number}
4025
- */
4026
- proto.gateway.web.v1.QuotaDetails.prototype.getAutomationRuleMatchCount = function() {
4027
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4028
- };
4029
-
4030
-
4031
- /**
4032
- * @param {number} value
4033
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
4034
- */
4035
- proto.gateway.web.v1.QuotaDetails.prototype.setAutomationRuleMatchCount = function(value) {
4036
- return jspb.Message.setProto3IntField(this, 6, value);
4037
- };
4038
-
4039
-
4040
- /**
4041
- * optional int64 automation_rule_match_limit = 7;
4042
- * @return {number}
4043
- */
4044
- proto.gateway.web.v1.QuotaDetails.prototype.getAutomationRuleMatchLimit = function() {
4045
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4046
- };
4047
-
4048
-
4049
- /**
4050
- * @param {number} value
4051
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
4052
- */
4053
- proto.gateway.web.v1.QuotaDetails.prototype.setAutomationRuleMatchLimit = function(value) {
4054
- return jspb.Message.setProto3IntField(this, 7, value);
4055
- };
4056
-
4057
-
4058
- /**
4059
- * optional google.protobuf.Timestamp automation_rule_match_breached_at = 8;
4060
- * @return {?proto.google.protobuf.Timestamp}
4061
- */
4062
- proto.gateway.web.v1.QuotaDetails.prototype.getAutomationRuleMatchBreachedAt = function() {
4063
- return /** @type{?proto.google.protobuf.Timestamp} */ (
4064
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
4065
- };
4066
-
4067
-
4068
- /**
4069
- * @param {?proto.google.protobuf.Timestamp|undefined} value
4070
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
4071
- */
4072
- proto.gateway.web.v1.QuotaDetails.prototype.setAutomationRuleMatchBreachedAt = function(value) {
4073
- return jspb.Message.setWrapperField(this, 8, value);
4074
- };
4075
-
4076
-
4077
- /**
4078
- * Clears the message field making it undefined.
4079
- * @return {!proto.gateway.web.v1.QuotaDetails} returns this
4080
- */
4081
- proto.gateway.web.v1.QuotaDetails.prototype.clearAutomationRuleMatchBreachedAt = function() {
4082
- return this.setAutomationRuleMatchBreachedAt(undefined);
4083
- };
4084
-
4085
-
4086
- /**
4087
- * Returns whether this field is set.
4088
- * @return {boolean}
4089
- */
4090
- proto.gateway.web.v1.QuotaDetails.prototype.hasAutomationRuleMatchBreachedAt = function() {
4091
- return jspb.Message.getField(this, 8) != null;
4092
- };
4093
-
4094
-
4095
-
4096
-
4097
-
4098
- if (jspb.Message.GENERATE_TO_OBJECT) {
4099
- /**
4100
- * Creates an object representation of this proto.
4101
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4102
- * Optional fields that are not set will be set to undefined.
4103
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4104
- * For the list of reserved names please see:
4105
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4106
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4107
- * JSPB instance for transitional soy proto support:
4108
- * http://goto/soy-param-migration
4109
- * @return {!Object}
4110
- */
4111
- proto.gateway.web.v1.ListAvailablePlansRequest.prototype.toObject = function(opt_includeInstance) {
4112
- return proto.gateway.web.v1.ListAvailablePlansRequest.toObject(opt_includeInstance, this);
4113
- };
4114
-
4115
-
4116
- /**
4117
- * Static version of the {@see toObject} method.
4118
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4119
- * the JSPB instance for transitional soy proto support:
4120
- * http://goto/soy-param-migration
4121
- * @param {!proto.gateway.web.v1.ListAvailablePlansRequest} msg The msg instance to transform.
4122
- * @return {!Object}
4123
- * @suppress {unusedLocalVariables} f is only used for nested messages
4124
- */
4125
- proto.gateway.web.v1.ListAvailablePlansRequest.toObject = function(includeInstance, msg) {
4126
- var f, obj = {
4127
-
4128
- };
4129
-
4130
- if (includeInstance) {
4131
- obj.$jspbMessageInstance = msg;
4132
- }
4133
- return obj;
4134
- };
4135
- }
4136
-
4137
-
4138
- /**
4139
- * Deserializes binary data (in protobuf wire format).
4140
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4141
- * @return {!proto.gateway.web.v1.ListAvailablePlansRequest}
4142
- */
4143
- proto.gateway.web.v1.ListAvailablePlansRequest.deserializeBinary = function(bytes) {
4144
- var reader = new jspb.BinaryReader(bytes);
4145
- var msg = new proto.gateway.web.v1.ListAvailablePlansRequest;
4146
- return proto.gateway.web.v1.ListAvailablePlansRequest.deserializeBinaryFromReader(msg, reader);
4147
- };
4148
-
4149
-
4150
- /**
4151
- * Deserializes binary data (in protobuf wire format) from the
4152
- * given reader into the given message object.
4153
- * @param {!proto.gateway.web.v1.ListAvailablePlansRequest} msg The message object to deserialize into.
4154
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4155
- * @return {!proto.gateway.web.v1.ListAvailablePlansRequest}
4156
- */
4157
- proto.gateway.web.v1.ListAvailablePlansRequest.deserializeBinaryFromReader = function(msg, reader) {
4158
- while (reader.nextField()) {
4159
- if (reader.isEndGroup()) {
4160
- break;
4161
- }
4162
- var field = reader.getFieldNumber();
4163
- switch (field) {
4164
- default:
4165
- reader.skipField();
4166
- break;
4167
- }
4168
- }
4169
- return msg;
4170
- };
4171
-
4172
-
4173
- /**
4174
- * Serializes the message to binary data (in protobuf wire format).
4175
- * @return {!Uint8Array}
4176
- */
4177
- proto.gateway.web.v1.ListAvailablePlansRequest.prototype.serializeBinary = function() {
4178
- var writer = new jspb.BinaryWriter();
4179
- proto.gateway.web.v1.ListAvailablePlansRequest.serializeBinaryToWriter(this, writer);
4180
- return writer.getResultBuffer();
4181
- };
4182
-
4183
-
4184
- /**
4185
- * Serializes the given message to binary data (in protobuf wire
4186
- * format), writing to the given BinaryWriter.
4187
- * @param {!proto.gateway.web.v1.ListAvailablePlansRequest} message
4188
- * @param {!jspb.BinaryWriter} writer
4189
- * @suppress {unusedLocalVariables} f is only used for nested messages
4190
- */
4191
- proto.gateway.web.v1.ListAvailablePlansRequest.serializeBinaryToWriter = function(message, writer) {
4192
- var f = undefined;
4193
- };
4194
-
4195
-
4196
-
4197
- /**
4198
- * List of repeated fields within this message type.
4199
- * @private {!Array<number>}
4200
- * @const
4201
- */
4202
- proto.gateway.web.v1.ListAvailablePlansResponse.repeatedFields_ = [2];
4203
-
4204
-
4205
-
4206
- if (jspb.Message.GENERATE_TO_OBJECT) {
4207
- /**
4208
- * Creates an object representation of this proto.
4209
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
4210
- * Optional fields that are not set will be set to undefined.
4211
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4212
- * For the list of reserved names please see:
4213
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4214
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4215
- * JSPB instance for transitional soy proto support:
4216
- * http://goto/soy-param-migration
4217
- * @return {!Object}
4218
- */
4219
- proto.gateway.web.v1.ListAvailablePlansResponse.prototype.toObject = function(opt_includeInstance) {
4220
- return proto.gateway.web.v1.ListAvailablePlansResponse.toObject(opt_includeInstance, this);
2895
+ proto.gateway.web.v1.ListAvailablePlansResponse.prototype.toObject = function(opt_includeInstance) {
2896
+ return proto.gateway.web.v1.ListAvailablePlansResponse.toObject(opt_includeInstance, this);
4221
2897
  };
4222
2898
 
4223
2899
 
@@ -4440,12 +3116,7 @@ tier: jspb.Message.getFieldWithDefault(msg, 1, 0),
4440
3116
  name: jspb.Message.getFieldWithDefault(msg, 2, ""),
4441
3117
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
4442
3118
  displayPrice: jspb.Message.getFieldWithDefault(msg, 4, ""),
4443
- traceSoftLimit: jspb.Message.getFieldWithDefault(msg, 5, 0),
4444
- traceHardLimit: jspb.Message.getFieldWithDefault(msg, 6, 0),
4445
- automationRuleLimit: jspb.Message.getFieldWithDefault(msg, 7, 0),
4446
- automationRuleMatchLimit: jspb.Message.getFieldWithDefault(msg, 8, 0),
4447
- selfServe: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
4448
- projectLimit: jspb.Message.getFieldWithDefault(msg, 10, 0)
3119
+ selfServe: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
4449
3120
  };
4450
3121
 
4451
3122
  if (includeInstance) {
@@ -4499,29 +3170,9 @@ proto.gateway.web.v1.PlanDetails.deserializeBinaryFromReader = function(msg, rea
4499
3170
  msg.setDisplayPrice(value);
4500
3171
  break;
4501
3172
  case 5:
4502
- var value = /** @type {number} */ (reader.readInt64());
4503
- msg.setTraceSoftLimit(value);
4504
- break;
4505
- case 6:
4506
- var value = /** @type {number} */ (reader.readInt64());
4507
- msg.setTraceHardLimit(value);
4508
- break;
4509
- case 7:
4510
- var value = /** @type {number} */ (reader.readInt64());
4511
- msg.setAutomationRuleLimit(value);
4512
- break;
4513
- case 8:
4514
- var value = /** @type {number} */ (reader.readInt64());
4515
- msg.setAutomationRuleMatchLimit(value);
4516
- break;
4517
- case 9:
4518
3173
  var value = /** @type {boolean} */ (reader.readBool());
4519
3174
  msg.setSelfServe(value);
4520
3175
  break;
4521
- case 10:
4522
- var value = /** @type {number} */ (reader.readInt64());
4523
- msg.setProjectLimit(value);
4524
- break;
4525
3176
  default:
4526
3177
  reader.skipField();
4527
3178
  break;
@@ -4579,45 +3230,10 @@ proto.gateway.web.v1.PlanDetails.serializeBinaryToWriter = function(message, wri
4579
3230
  f
4580
3231
  );
4581
3232
  }
4582
- f = message.getTraceSoftLimit();
4583
- if (f !== 0) {
4584
- writer.writeInt64(
4585
- 5,
4586
- f
4587
- );
4588
- }
4589
- f = message.getTraceHardLimit();
4590
- if (f !== 0) {
4591
- writer.writeInt64(
4592
- 6,
4593
- f
4594
- );
4595
- }
4596
- f = message.getAutomationRuleLimit();
4597
- if (f !== 0) {
4598
- writer.writeInt64(
4599
- 7,
4600
- f
4601
- );
4602
- }
4603
- f = message.getAutomationRuleMatchLimit();
4604
- if (f !== 0) {
4605
- writer.writeInt64(
4606
- 8,
4607
- f
4608
- );
4609
- }
4610
3233
  f = message.getSelfServe();
4611
3234
  if (f) {
4612
3235
  writer.writeBool(
4613
- 9,
4614
- f
4615
- );
4616
- }
4617
- f = message.getProjectLimit();
4618
- if (f !== 0) {
4619
- writer.writeInt64(
4620
- 10,
3236
+ 5,
4621
3237
  f
4622
3238
  );
4623
3239
  }
@@ -4697,83 +3313,11 @@ proto.gateway.web.v1.PlanDetails.prototype.setDisplayPrice = function(value) {
4697
3313
 
4698
3314
 
4699
3315
  /**
4700
- * optional int64 trace_soft_limit = 5;
4701
- * @return {number}
4702
- */
4703
- proto.gateway.web.v1.PlanDetails.prototype.getTraceSoftLimit = function() {
4704
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
4705
- };
4706
-
4707
-
4708
- /**
4709
- * @param {number} value
4710
- * @return {!proto.gateway.web.v1.PlanDetails} returns this
4711
- */
4712
- proto.gateway.web.v1.PlanDetails.prototype.setTraceSoftLimit = function(value) {
4713
- return jspb.Message.setProto3IntField(this, 5, value);
4714
- };
4715
-
4716
-
4717
- /**
4718
- * optional int64 trace_hard_limit = 6;
4719
- * @return {number}
4720
- */
4721
- proto.gateway.web.v1.PlanDetails.prototype.getTraceHardLimit = function() {
4722
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4723
- };
4724
-
4725
-
4726
- /**
4727
- * @param {number} value
4728
- * @return {!proto.gateway.web.v1.PlanDetails} returns this
4729
- */
4730
- proto.gateway.web.v1.PlanDetails.prototype.setTraceHardLimit = function(value) {
4731
- return jspb.Message.setProto3IntField(this, 6, value);
4732
- };
4733
-
4734
-
4735
- /**
4736
- * optional int64 automation_rule_limit = 7;
4737
- * @return {number}
4738
- */
4739
- proto.gateway.web.v1.PlanDetails.prototype.getAutomationRuleLimit = function() {
4740
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4741
- };
4742
-
4743
-
4744
- /**
4745
- * @param {number} value
4746
- * @return {!proto.gateway.web.v1.PlanDetails} returns this
4747
- */
4748
- proto.gateway.web.v1.PlanDetails.prototype.setAutomationRuleLimit = function(value) {
4749
- return jspb.Message.setProto3IntField(this, 7, value);
4750
- };
4751
-
4752
-
4753
- /**
4754
- * optional int64 automation_rule_match_limit = 8;
4755
- * @return {number}
4756
- */
4757
- proto.gateway.web.v1.PlanDetails.prototype.getAutomationRuleMatchLimit = function() {
4758
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
4759
- };
4760
-
4761
-
4762
- /**
4763
- * @param {number} value
4764
- * @return {!proto.gateway.web.v1.PlanDetails} returns this
4765
- */
4766
- proto.gateway.web.v1.PlanDetails.prototype.setAutomationRuleMatchLimit = function(value) {
4767
- return jspb.Message.setProto3IntField(this, 8, value);
4768
- };
4769
-
4770
-
4771
- /**
4772
- * optional bool self_serve = 9;
3316
+ * optional bool self_serve = 5;
4773
3317
  * @return {boolean}
4774
3318
  */
4775
3319
  proto.gateway.web.v1.PlanDetails.prototype.getSelfServe = function() {
4776
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
3320
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
4777
3321
  };
4778
3322
 
4779
3323
 
@@ -4782,25 +3326,7 @@ proto.gateway.web.v1.PlanDetails.prototype.getSelfServe = function() {
4782
3326
  * @return {!proto.gateway.web.v1.PlanDetails} returns this
4783
3327
  */
4784
3328
  proto.gateway.web.v1.PlanDetails.prototype.setSelfServe = function(value) {
4785
- return jspb.Message.setProto3BooleanField(this, 9, value);
4786
- };
4787
-
4788
-
4789
- /**
4790
- * optional int64 project_limit = 10;
4791
- * @return {number}
4792
- */
4793
- proto.gateway.web.v1.PlanDetails.prototype.getProjectLimit = function() {
4794
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
4795
- };
4796
-
4797
-
4798
- /**
4799
- * @param {number} value
4800
- * @return {!proto.gateway.web.v1.PlanDetails} returns this
4801
- */
4802
- proto.gateway.web.v1.PlanDetails.prototype.setProjectLimit = function(value) {
4803
- return jspb.Message.setProto3IntField(this, 10, value);
3329
+ return jspb.Message.setProto3BooleanField(this, 5, value);
4804
3330
  };
4805
3331
 
4806
3332