@miradorlabs/web-grpc 3.12.0 → 3.13.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.
Files changed (52) hide show
  1. package/google/api/field_behavior.ts +145 -0
  2. package/google/api/field_behavior_grpc_pb.js +1 -0
  3. package/google/api/field_behavior_pb.js +62 -0
  4. package/google/protobuf/descriptor.ts +5211 -0
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value_pb.js +2 -0
  7. package/proto/gateway/web/v1/account_gateway.ts +4 -4
  8. package/proto/gateway/web/v1/account_gateway_grpc_pb.js +1 -0
  9. package/proto/gateway/web/v1/account_gateway_pb.js +2 -0
  10. package/proto/gateway/web/v1/admin_gateway.ts +5 -8
  11. package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +1 -0
  12. package/proto/gateway/web/v1/admin_gateway_pb.js +2 -0
  13. package/proto/gateway/web/v1/beta_gateway_grpc_pb.js +1 -0
  14. package/proto/gateway/web/v1/beta_gateway_pb.js +2 -0
  15. package/proto/gateway/web/v1/chain_gateway_grpc_pb.js +1 -0
  16. package/proto/gateway/web/v1/chain_gateway_pb.js +2 -0
  17. package/proto/gateway/web/v1/derived_metric_gateway_grpc_pb.js +1 -0
  18. package/proto/gateway/web/v1/derived_metric_gateway_pb.js +2 -0
  19. package/proto/gateway/web/v1/github_connector.ts +2 -0
  20. package/proto/gateway/web/v1/github_connector_grpc_pb.js +1 -0
  21. package/proto/gateway/web/v1/github_connector_pb.js +2 -0
  22. package/proto/gateway/web/v1/integration_gateway.ts +89 -14
  23. package/proto/gateway/web/v1/integration_gateway_grpc_pb.js +1 -0
  24. package/proto/gateway/web/v1/integration_gateway_pb.js +188 -13
  25. package/proto/gateway/web/v1/log_gateway.ts +13 -9
  26. package/proto/gateway/web/v1/log_gateway_grpc_pb.js +1 -0
  27. package/proto/gateway/web/v1/log_gateway_pb.js +8 -6
  28. package/proto/gateway/web/v1/market_gateway_grpc_pb.js +1 -0
  29. package/proto/gateway/web/v1/market_gateway_pb.js +2 -0
  30. package/proto/gateway/web/v1/metric_gateway_grpc_pb.js +1 -0
  31. package/proto/gateway/web/v1/metric_gateway_pb.js +2 -0
  32. package/proto/gateway/web/v1/oauth_gateway_grpc_pb.js +1 -0
  33. package/proto/gateway/web/v1/oauth_gateway_pb.js +2 -0
  34. package/proto/gateway/web/v1/plan_gateway_grpc_pb.js +1 -0
  35. package/proto/gateway/web/v1/plan_gateway_pb.js +2 -0
  36. package/proto/gateway/web/v1/policy_gateway.ts +2 -5
  37. package/proto/gateway/web/v1/policy_gateway_grpc_pb.js +1 -0
  38. package/proto/gateway/web/v1/policy_gateway_pb.js +2 -0
  39. package/proto/gateway/web/v1/reference_gateway.ts +120 -41
  40. package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +1 -0
  41. package/proto/gateway/web/v1/reference_gateway_pb.js +229 -54
  42. package/proto/gateway/web/v1/rule_gateway.ts +28 -68
  43. package/proto/gateway/web/v1/rule_gateway_grpc_pb.js +1 -0
  44. package/proto/gateway/web/v1/rule_gateway_pb.js +20 -204
  45. package/proto/gateway/web/v1/slo_gateway_grpc_pb.js +1 -0
  46. package/proto/gateway/web/v1/slo_gateway_pb.js +2 -0
  47. package/proto/gateway/web/v1/trace_gateway.ts +158 -307
  48. package/proto/gateway/web/v1/trace_gateway_grpc_pb.js +1 -0
  49. package/proto/gateway/web/v1/trace_gateway_pb.js +168 -511
  50. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -3
  51. package/proto/gateway/web/v1/trace_measure_gateway_grpc_pb.js +1 -0
  52. package/proto/gateway/web/v1/trace_measure_gateway_pb.js +2 -0
@@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
16
  var global = globalThis;
17
17
 
18
+ var google_api_field_behavior_pb = require('../../../../google/api/field_behavior_pb.js');
19
+ goog.object.extend(proto, google_api_field_behavior_pb);
18
20
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
19
21
  goog.object.extend(proto, google_protobuf_timestamp_pb);
20
22
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
@@ -39,7 +41,6 @@ goog.exportSymbol('proto.gateway.web.v1.ListTracesRequest', null, global);
39
41
  goog.exportSymbol('proto.gateway.web.v1.ListTracesResponse', null, global);
40
42
  goog.exportSymbol('proto.gateway.web.v1.MetadataSnapshot', null, global);
41
43
  goog.exportSymbol('proto.gateway.web.v1.Pagination', null, global);
42
- goog.exportSymbol('proto.gateway.web.v1.PaginationDetails', null, global);
43
44
  goog.exportSymbol('proto.gateway.web.v1.RuleMatch', null, global);
44
45
  goog.exportSymbol('proto.gateway.web.v1.SpanEnded', null, global);
45
46
  goog.exportSymbol('proto.gateway.web.v1.SpanStarted', null, global);
@@ -61,7 +62,6 @@ goog.exportSymbol('proto.gateway.web.v1.TraceEventEnvelope.PayloadCase', null, g
61
62
  goog.exportSymbol('proto.gateway.web.v1.TraceEventType', null, global);
62
63
  goog.exportSymbol('proto.gateway.web.v1.TraceFilter', null, global);
63
64
  goog.exportSymbol('proto.gateway.web.v1.TraceFilter.AttributeFilter', null, global);
64
- goog.exportSymbol('proto.gateway.web.v1.TraceFilter.Search', null, global);
65
65
  goog.exportSymbol('proto.gateway.web.v1.TraceFilter.SeverityFilter', null, global);
66
66
  goog.exportSymbol('proto.gateway.web.v1.TraceFilter.StatusFilter', null, global);
67
67
  goog.exportSymbol('proto.gateway.web.v1.TraceFilter.TagFilter', null, global);
@@ -598,27 +598,6 @@ if (goog.DEBUG && !COMPILED) {
598
598
  */
599
599
  proto.gateway.web.v1.TraceFilter.SeverityFilter.displayName = 'proto.gateway.web.v1.TraceFilter.SeverityFilter';
600
600
  }
601
- /**
602
- * Generated by JsPbCodeGenerator.
603
- * @param {Array=} opt_data Optional initial data array, typically from a
604
- * server response, or constructed directly in Javascript. The array is used
605
- * in place and becomes part of the constructed object. It is not cloned.
606
- * If no data is provided, the constructed object will be empty, but still
607
- * valid.
608
- * @extends {jspb.Message}
609
- * @constructor
610
- */
611
- proto.gateway.web.v1.TraceFilter.Search = function(opt_data) {
612
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
613
- };
614
- goog.inherits(proto.gateway.web.v1.TraceFilter.Search, jspb.Message);
615
- if (goog.DEBUG && !COMPILED) {
616
- /**
617
- * @public
618
- * @override
619
- */
620
- proto.gateway.web.v1.TraceFilter.Search.displayName = 'proto.gateway.web.v1.TraceFilter.Search';
621
- }
622
601
  /**
623
602
  * Generated by JsPbCodeGenerator.
624
603
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -871,27 +850,6 @@ if (goog.DEBUG && !COMPILED) {
871
850
  */
872
851
  proto.gateway.web.v1.Pagination.displayName = 'proto.gateway.web.v1.Pagination';
873
852
  }
874
- /**
875
- * Generated by JsPbCodeGenerator.
876
- * @param {Array=} opt_data Optional initial data array, typically from a
877
- * server response, or constructed directly in Javascript. The array is used
878
- * in place and becomes part of the constructed object. It is not cloned.
879
- * If no data is provided, the constructed object will be empty, but still
880
- * valid.
881
- * @extends {jspb.Message}
882
- * @constructor
883
- */
884
- proto.gateway.web.v1.PaginationDetails = function(opt_data) {
885
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
886
- };
887
- goog.inherits(proto.gateway.web.v1.PaginationDetails, jspb.Message);
888
- if (goog.DEBUG && !COMPILED) {
889
- /**
890
- * @public
891
- * @override
892
- */
893
- proto.gateway.web.v1.PaginationDetails.displayName = 'proto.gateway.web.v1.PaginationDetails';
894
- }
895
853
 
896
854
 
897
855
 
@@ -926,8 +884,10 @@ proto.gateway.web.v1.ListTracesRequest.toObject = function(includeInstance, msg)
926
884
  var f, obj = {
927
885
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
928
886
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
929
- traceFilter: (f = msg.getTraceFilter()) && proto.gateway.web.v1.TraceFilter.toObject(includeInstance, f),
930
- pagination: (f = msg.getPagination()) && proto.gateway.web.v1.Pagination.toObject(includeInstance, f)
887
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.TraceFilter.toObject(includeInstance, f),
888
+ page: jspb.Message.getFieldWithDefault(msg, 4, 0),
889
+ perPage: jspb.Message.getFieldWithDefault(msg, 5, 0),
890
+ anchorTimestamp: (f = msg.getAnchorTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
931
891
  };
932
892
 
933
893
  if (includeInstance) {
@@ -975,12 +935,20 @@ proto.gateway.web.v1.ListTracesRequest.deserializeBinaryFromReader = function(ms
975
935
  case 3:
976
936
  var value = new proto.gateway.web.v1.TraceFilter;
977
937
  reader.readMessage(value,proto.gateway.web.v1.TraceFilter.deserializeBinaryFromReader);
978
- msg.setTraceFilter(value);
938
+ msg.setFilter(value);
979
939
  break;
980
940
  case 4:
981
- var value = new proto.gateway.web.v1.Pagination;
982
- reader.readMessage(value,proto.gateway.web.v1.Pagination.deserializeBinaryFromReader);
983
- msg.setPagination(value);
941
+ var value = /** @type {number} */ (reader.readInt32());
942
+ msg.setPage(value);
943
+ break;
944
+ case 5:
945
+ var value = /** @type {number} */ (reader.readInt32());
946
+ msg.setPerPage(value);
947
+ break;
948
+ case 6:
949
+ var value = new google_protobuf_timestamp_pb.Timestamp;
950
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
951
+ msg.setAnchorTimestamp(value);
984
952
  break;
985
953
  default:
986
954
  reader.skipField();
@@ -1025,7 +993,7 @@ proto.gateway.web.v1.ListTracesRequest.serializeBinaryToWriter = function(messag
1025
993
  f
1026
994
  );
1027
995
  }
1028
- f = message.getTraceFilter();
996
+ f = message.getFilter();
1029
997
  if (f != null) {
1030
998
  writer.writeMessage(
1031
999
  3,
@@ -1033,12 +1001,26 @@ proto.gateway.web.v1.ListTracesRequest.serializeBinaryToWriter = function(messag
1033
1001
  proto.gateway.web.v1.TraceFilter.serializeBinaryToWriter
1034
1002
  );
1035
1003
  }
1036
- f = message.getPagination();
1004
+ f = message.getPage();
1005
+ if (f !== 0) {
1006
+ writer.writeInt32(
1007
+ 4,
1008
+ f
1009
+ );
1010
+ }
1011
+ f = message.getPerPage();
1012
+ if (f !== 0) {
1013
+ writer.writeInt32(
1014
+ 5,
1015
+ f
1016
+ );
1017
+ }
1018
+ f = message.getAnchorTimestamp();
1037
1019
  if (f != null) {
1038
1020
  writer.writeMessage(
1039
- 4,
1021
+ 6,
1040
1022
  f,
1041
- proto.gateway.web.v1.Pagination.serializeBinaryToWriter
1023
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1042
1024
  );
1043
1025
  }
1044
1026
  };
@@ -1081,10 +1063,10 @@ proto.gateway.web.v1.ListTracesRequest.prototype.setProjectId = function(value)
1081
1063
 
1082
1064
 
1083
1065
  /**
1084
- * optional TraceFilter trace_filter = 3;
1066
+ * optional TraceFilter filter = 3;
1085
1067
  * @return {?proto.gateway.web.v1.TraceFilter}
1086
1068
  */
1087
- proto.gateway.web.v1.ListTracesRequest.prototype.getTraceFilter = function() {
1069
+ proto.gateway.web.v1.ListTracesRequest.prototype.getFilter = function() {
1088
1070
  return /** @type{?proto.gateway.web.v1.TraceFilter} */ (
1089
1071
  jspb.Message.getWrapperField(this, proto.gateway.web.v1.TraceFilter, 3));
1090
1072
  };
@@ -1094,7 +1076,7 @@ proto.gateway.web.v1.ListTracesRequest.prototype.getTraceFilter = function() {
1094
1076
  * @param {?proto.gateway.web.v1.TraceFilter|undefined} value
1095
1077
  * @return {!proto.gateway.web.v1.ListTracesRequest} returns this
1096
1078
  */
1097
- proto.gateway.web.v1.ListTracesRequest.prototype.setTraceFilter = function(value) {
1079
+ proto.gateway.web.v1.ListTracesRequest.prototype.setFilter = function(value) {
1098
1080
  return jspb.Message.setWrapperField(this, 3, value);
1099
1081
  };
1100
1082
 
@@ -1103,8 +1085,8 @@ proto.gateway.web.v1.ListTracesRequest.prototype.setTraceFilter = function(value
1103
1085
  * Clears the message field making it undefined.
1104
1086
  * @return {!proto.gateway.web.v1.ListTracesRequest} returns this
1105
1087
  */
1106
- proto.gateway.web.v1.ListTracesRequest.prototype.clearTraceFilter = function() {
1107
- return this.setTraceFilter(undefined);
1088
+ proto.gateway.web.v1.ListTracesRequest.prototype.clearFilter = function() {
1089
+ return this.setFilter(undefined);
1108
1090
  };
1109
1091
 
1110
1092
 
@@ -1112,27 +1094,63 @@ proto.gateway.web.v1.ListTracesRequest.prototype.clearTraceFilter = function() {
1112
1094
  * Returns whether this field is set.
1113
1095
  * @return {boolean}
1114
1096
  */
1115
- proto.gateway.web.v1.ListTracesRequest.prototype.hasTraceFilter = function() {
1097
+ proto.gateway.web.v1.ListTracesRequest.prototype.hasFilter = function() {
1116
1098
  return jspb.Message.getField(this, 3) != null;
1117
1099
  };
1118
1100
 
1119
1101
 
1120
1102
  /**
1121
- * optional Pagination pagination = 4;
1122
- * @return {?proto.gateway.web.v1.Pagination}
1103
+ * optional int32 page = 4;
1104
+ * @return {number}
1123
1105
  */
1124
- proto.gateway.web.v1.ListTracesRequest.prototype.getPagination = function() {
1125
- return /** @type{?proto.gateway.web.v1.Pagination} */ (
1126
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.Pagination, 4));
1106
+ proto.gateway.web.v1.ListTracesRequest.prototype.getPage = function() {
1107
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1127
1108
  };
1128
1109
 
1129
1110
 
1130
1111
  /**
1131
- * @param {?proto.gateway.web.v1.Pagination|undefined} value
1112
+ * @param {number} value
1113
+ * @return {!proto.gateway.web.v1.ListTracesRequest} returns this
1114
+ */
1115
+ proto.gateway.web.v1.ListTracesRequest.prototype.setPage = function(value) {
1116
+ return jspb.Message.setProto3IntField(this, 4, value);
1117
+ };
1118
+
1119
+
1120
+ /**
1121
+ * optional int32 per_page = 5;
1122
+ * @return {number}
1123
+ */
1124
+ proto.gateway.web.v1.ListTracesRequest.prototype.getPerPage = 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.ListTracesRequest} returns this
1132
+ */
1133
+ proto.gateway.web.v1.ListTracesRequest.prototype.setPerPage = function(value) {
1134
+ return jspb.Message.setProto3IntField(this, 5, value);
1135
+ };
1136
+
1137
+
1138
+ /**
1139
+ * optional google.protobuf.Timestamp anchor_timestamp = 6;
1140
+ * @return {?proto.google.protobuf.Timestamp}
1141
+ */
1142
+ proto.gateway.web.v1.ListTracesRequest.prototype.getAnchorTimestamp = function() {
1143
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
1144
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
1145
+ };
1146
+
1147
+
1148
+ /**
1149
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
1132
1150
  * @return {!proto.gateway.web.v1.ListTracesRequest} returns this
1133
1151
  */
1134
- proto.gateway.web.v1.ListTracesRequest.prototype.setPagination = function(value) {
1135
- return jspb.Message.setWrapperField(this, 4, value);
1152
+ proto.gateway.web.v1.ListTracesRequest.prototype.setAnchorTimestamp = function(value) {
1153
+ return jspb.Message.setWrapperField(this, 6, value);
1136
1154
  };
1137
1155
 
1138
1156
 
@@ -1140,8 +1158,8 @@ proto.gateway.web.v1.ListTracesRequest.prototype.setPagination = function(value)
1140
1158
  * Clears the message field making it undefined.
1141
1159
  * @return {!proto.gateway.web.v1.ListTracesRequest} returns this
1142
1160
  */
1143
- proto.gateway.web.v1.ListTracesRequest.prototype.clearPagination = function() {
1144
- return this.setPagination(undefined);
1161
+ proto.gateway.web.v1.ListTracesRequest.prototype.clearAnchorTimestamp = function() {
1162
+ return this.setAnchorTimestamp(undefined);
1145
1163
  };
1146
1164
 
1147
1165
 
@@ -1149,8 +1167,8 @@ proto.gateway.web.v1.ListTracesRequest.prototype.clearPagination = function() {
1149
1167
  * Returns whether this field is set.
1150
1168
  * @return {boolean}
1151
1169
  */
1152
- proto.gateway.web.v1.ListTracesRequest.prototype.hasPagination = function() {
1153
- return jspb.Message.getField(this, 4) != null;
1170
+ proto.gateway.web.v1.ListTracesRequest.prototype.hasAnchorTimestamp = function() {
1171
+ return jspb.Message.getField(this, 6) != null;
1154
1172
  };
1155
1173
 
1156
1174
 
@@ -1196,7 +1214,7 @@ proto.gateway.web.v1.ListTracesResponse.toObject = function(includeInstance, msg
1196
1214
  status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
1197
1215
  tracesList: jspb.Message.toObjectList(msg.getTracesList(),
1198
1216
  proto.gateway.web.v1.Trace.toObject, includeInstance),
1199
- pagination: (f = msg.getPagination()) && proto.gateway.web.v1.PaginationDetails.toObject(includeInstance, f)
1217
+ pagination: (f = msg.getPagination()) && proto.gateway.web.v1.Pagination.toObject(includeInstance, f)
1200
1218
  };
1201
1219
 
1202
1220
  if (includeInstance) {
@@ -1244,8 +1262,8 @@ proto.gateway.web.v1.ListTracesResponse.deserializeBinaryFromReader = function(m
1244
1262
  msg.addTraces(value);
1245
1263
  break;
1246
1264
  case 3:
1247
- var value = new proto.gateway.web.v1.PaginationDetails;
1248
- reader.readMessage(value,proto.gateway.web.v1.PaginationDetails.deserializeBinaryFromReader);
1265
+ var value = new proto.gateway.web.v1.Pagination;
1266
+ reader.readMessage(value,proto.gateway.web.v1.Pagination.deserializeBinaryFromReader);
1249
1267
  msg.setPagination(value);
1250
1268
  break;
1251
1269
  default:
@@ -1298,7 +1316,7 @@ proto.gateway.web.v1.ListTracesResponse.serializeBinaryToWriter = function(messa
1298
1316
  writer.writeMessage(
1299
1317
  3,
1300
1318
  f,
1301
- proto.gateway.web.v1.PaginationDetails.serializeBinaryToWriter
1319
+ proto.gateway.web.v1.Pagination.serializeBinaryToWriter
1302
1320
  );
1303
1321
  }
1304
1322
  };
@@ -1380,17 +1398,17 @@ proto.gateway.web.v1.ListTracesResponse.prototype.clearTracesList = function() {
1380
1398
 
1381
1399
 
1382
1400
  /**
1383
- * optional PaginationDetails pagination = 3;
1384
- * @return {?proto.gateway.web.v1.PaginationDetails}
1401
+ * optional Pagination pagination = 3;
1402
+ * @return {?proto.gateway.web.v1.Pagination}
1385
1403
  */
1386
1404
  proto.gateway.web.v1.ListTracesResponse.prototype.getPagination = function() {
1387
- return /** @type{?proto.gateway.web.v1.PaginationDetails} */ (
1388
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.PaginationDetails, 3));
1405
+ return /** @type{?proto.gateway.web.v1.Pagination} */ (
1406
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.Pagination, 3));
1389
1407
  };
1390
1408
 
1391
1409
 
1392
1410
  /**
1393
- * @param {?proto.gateway.web.v1.PaginationDetails|undefined} value
1411
+ * @param {?proto.gateway.web.v1.Pagination|undefined} value
1394
1412
  * @return {!proto.gateway.web.v1.ListTracesResponse} returns this
1395
1413
  */
1396
1414
  proto.gateway.web.v1.ListTracesResponse.prototype.setPagination = function(value) {
@@ -2032,7 +2050,7 @@ proto.gateway.web.v1.StreamTracesRequest.toObject = function(includeInstance, ms
2032
2050
  var f, obj = {
2033
2051
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2034
2052
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2035
- traceFilter: (f = msg.getTraceFilter()) && proto.gateway.web.v1.TraceFilter.toObject(includeInstance, f),
2053
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.TraceFilter.toObject(includeInstance, f),
2036
2054
  perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
2037
2055
  };
2038
2056
 
@@ -2081,7 +2099,7 @@ proto.gateway.web.v1.StreamTracesRequest.deserializeBinaryFromReader = function(
2081
2099
  case 3:
2082
2100
  var value = new proto.gateway.web.v1.TraceFilter;
2083
2101
  reader.readMessage(value,proto.gateway.web.v1.TraceFilter.deserializeBinaryFromReader);
2084
- msg.setTraceFilter(value);
2102
+ msg.setFilter(value);
2085
2103
  break;
2086
2104
  case 4:
2087
2105
  var value = /** @type {number} */ (reader.readInt32());
@@ -2130,7 +2148,7 @@ proto.gateway.web.v1.StreamTracesRequest.serializeBinaryToWriter = function(mess
2130
2148
  f
2131
2149
  );
2132
2150
  }
2133
- f = message.getTraceFilter();
2151
+ f = message.getFilter();
2134
2152
  if (f != null) {
2135
2153
  writer.writeMessage(
2136
2154
  3,
@@ -2185,10 +2203,10 @@ proto.gateway.web.v1.StreamTracesRequest.prototype.setProjectId = function(value
2185
2203
 
2186
2204
 
2187
2205
  /**
2188
- * optional TraceFilter trace_filter = 3;
2206
+ * optional TraceFilter filter = 3;
2189
2207
  * @return {?proto.gateway.web.v1.TraceFilter}
2190
2208
  */
2191
- proto.gateway.web.v1.StreamTracesRequest.prototype.getTraceFilter = function() {
2209
+ proto.gateway.web.v1.StreamTracesRequest.prototype.getFilter = function() {
2192
2210
  return /** @type{?proto.gateway.web.v1.TraceFilter} */ (
2193
2211
  jspb.Message.getWrapperField(this, proto.gateway.web.v1.TraceFilter, 3));
2194
2212
  };
@@ -2198,7 +2216,7 @@ proto.gateway.web.v1.StreamTracesRequest.prototype.getTraceFilter = function() {
2198
2216
  * @param {?proto.gateway.web.v1.TraceFilter|undefined} value
2199
2217
  * @return {!proto.gateway.web.v1.StreamTracesRequest} returns this
2200
2218
  */
2201
- proto.gateway.web.v1.StreamTracesRequest.prototype.setTraceFilter = function(value) {
2219
+ proto.gateway.web.v1.StreamTracesRequest.prototype.setFilter = function(value) {
2202
2220
  return jspb.Message.setWrapperField(this, 3, value);
2203
2221
  };
2204
2222
 
@@ -2207,8 +2225,8 @@ proto.gateway.web.v1.StreamTracesRequest.prototype.setTraceFilter = function(val
2207
2225
  * Clears the message field making it undefined.
2208
2226
  * @return {!proto.gateway.web.v1.StreamTracesRequest} returns this
2209
2227
  */
2210
- proto.gateway.web.v1.StreamTracesRequest.prototype.clearTraceFilter = function() {
2211
- return this.setTraceFilter(undefined);
2228
+ proto.gateway.web.v1.StreamTracesRequest.prototype.clearFilter = function() {
2229
+ return this.setFilter(undefined);
2212
2230
  };
2213
2231
 
2214
2232
 
@@ -2216,7 +2234,7 @@ proto.gateway.web.v1.StreamTracesRequest.prototype.clearTraceFilter = function()
2216
2234
  * Returns whether this field is set.
2217
2235
  * @return {boolean}
2218
2236
  */
2219
- proto.gateway.web.v1.StreamTracesRequest.prototype.hasTraceFilter = function() {
2237
+ proto.gateway.web.v1.StreamTracesRequest.prototype.hasFilter = function() {
2220
2238
  return jspb.Message.getField(this, 3) != null;
2221
2239
  };
2222
2240
 
@@ -2299,7 +2317,7 @@ proto.gateway.web.v1.TraceEnvelope.toObject = function(includeInstance, msg) {
2299
2317
  var f, obj = {
2300
2318
  snapshot: (f = msg.getSnapshot()) && proto.gateway.web.v1.TraceSnapshot.toObject(includeInstance, f),
2301
2319
  update: (f = msg.getUpdate()) && proto.gateway.web.v1.TraceUpdate.toObject(includeInstance, f),
2302
- pagination: (f = msg.getPagination()) && proto.gateway.web.v1.PaginationDetails.toObject(includeInstance, f)
2320
+ pagination: (f = msg.getPagination()) && proto.gateway.web.v1.Pagination.toObject(includeInstance, f)
2303
2321
  };
2304
2322
 
2305
2323
  if (includeInstance) {
@@ -2347,8 +2365,8 @@ proto.gateway.web.v1.TraceEnvelope.deserializeBinaryFromReader = function(msg, r
2347
2365
  msg.setUpdate(value);
2348
2366
  break;
2349
2367
  case 10:
2350
- var value = new proto.gateway.web.v1.PaginationDetails;
2351
- reader.readMessage(value,proto.gateway.web.v1.PaginationDetails.deserializeBinaryFromReader);
2368
+ var value = new proto.gateway.web.v1.Pagination;
2369
+ reader.readMessage(value,proto.gateway.web.v1.Pagination.deserializeBinaryFromReader);
2352
2370
  msg.setPagination(value);
2353
2371
  break;
2354
2372
  default:
@@ -2401,7 +2419,7 @@ proto.gateway.web.v1.TraceEnvelope.serializeBinaryToWriter = function(message, w
2401
2419
  writer.writeMessage(
2402
2420
  10,
2403
2421
  f,
2404
- proto.gateway.web.v1.PaginationDetails.serializeBinaryToWriter
2422
+ proto.gateway.web.v1.Pagination.serializeBinaryToWriter
2405
2423
  );
2406
2424
  }
2407
2425
  };
@@ -2482,17 +2500,17 @@ proto.gateway.web.v1.TraceEnvelope.prototype.hasUpdate = function() {
2482
2500
 
2483
2501
 
2484
2502
  /**
2485
- * optional PaginationDetails pagination = 10;
2486
- * @return {?proto.gateway.web.v1.PaginationDetails}
2503
+ * optional Pagination pagination = 10;
2504
+ * @return {?proto.gateway.web.v1.Pagination}
2487
2505
  */
2488
2506
  proto.gateway.web.v1.TraceEnvelope.prototype.getPagination = function() {
2489
- return /** @type{?proto.gateway.web.v1.PaginationDetails} */ (
2490
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.PaginationDetails, 10));
2507
+ return /** @type{?proto.gateway.web.v1.Pagination} */ (
2508
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.Pagination, 10));
2491
2509
  };
2492
2510
 
2493
2511
 
2494
2512
  /**
2495
- * @param {?proto.gateway.web.v1.PaginationDetails|undefined} value
2513
+ * @param {?proto.gateway.web.v1.Pagination|undefined} value
2496
2514
  * @return {!proto.gateway.web.v1.TraceEnvelope} returns this
2497
2515
  */
2498
2516
  proto.gateway.web.v1.TraceEnvelope.prototype.setPagination = function(value) {
@@ -2895,7 +2913,7 @@ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2895
2913
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2896
2914
  timeWindow: jspb.Message.getFieldWithDefault(msg, 3, 0),
2897
2915
  timeInterval: jspb.Message.getFieldWithDefault(msg, 4, 0),
2898
- traceFilter: (f = msg.getTraceFilter()) && proto.gateway.web.v1.TraceFilter.toObject(includeInstance, f)
2916
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.TraceFilter.toObject(includeInstance, f)
2899
2917
  };
2900
2918
 
2901
2919
  if (includeInstance) {
@@ -2951,7 +2969,7 @@ proto.gateway.web.v1.StreamTraceAnalyticsRequest.deserializeBinaryFromReader = f
2951
2969
  case 5:
2952
2970
  var value = new proto.gateway.web.v1.TraceFilter;
2953
2971
  reader.readMessage(value,proto.gateway.web.v1.TraceFilter.deserializeBinaryFromReader);
2954
- msg.setTraceFilter(value);
2972
+ msg.setFilter(value);
2955
2973
  break;
2956
2974
  default:
2957
2975
  reader.skipField();
@@ -3010,7 +3028,7 @@ proto.gateway.web.v1.StreamTraceAnalyticsRequest.serializeBinaryToWriter = funct
3010
3028
  f
3011
3029
  );
3012
3030
  }
3013
- f = message.getTraceFilter();
3031
+ f = message.getFilter();
3014
3032
  if (f != null) {
3015
3033
  writer.writeMessage(
3016
3034
  5,
@@ -3094,10 +3112,10 @@ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.setTimeInterval = fun
3094
3112
 
3095
3113
 
3096
3114
  /**
3097
- * optional TraceFilter trace_filter = 5;
3115
+ * optional TraceFilter filter = 5;
3098
3116
  * @return {?proto.gateway.web.v1.TraceFilter}
3099
3117
  */
3100
- proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.getTraceFilter = function() {
3118
+ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.getFilter = function() {
3101
3119
  return /** @type{?proto.gateway.web.v1.TraceFilter} */ (
3102
3120
  jspb.Message.getWrapperField(this, proto.gateway.web.v1.TraceFilter, 5));
3103
3121
  };
@@ -3107,7 +3125,7 @@ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.getTraceFilter = func
3107
3125
  * @param {?proto.gateway.web.v1.TraceFilter|undefined} value
3108
3126
  * @return {!proto.gateway.web.v1.StreamTraceAnalyticsRequest} returns this
3109
3127
  */
3110
- proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.setTraceFilter = function(value) {
3128
+ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.setFilter = function(value) {
3111
3129
  return jspb.Message.setWrapperField(this, 5, value);
3112
3130
  };
3113
3131
 
@@ -3116,8 +3134,8 @@ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.setTraceFilter = func
3116
3134
  * Clears the message field making it undefined.
3117
3135
  * @return {!proto.gateway.web.v1.StreamTraceAnalyticsRequest} returns this
3118
3136
  */
3119
- proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.clearTraceFilter = function() {
3120
- return this.setTraceFilter(undefined);
3137
+ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.clearFilter = function() {
3138
+ return this.setFilter(undefined);
3121
3139
  };
3122
3140
 
3123
3141
 
@@ -3125,7 +3143,7 @@ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.clearTraceFilter = fu
3125
3143
  * Returns whether this field is set.
3126
3144
  * @return {boolean}
3127
3145
  */
3128
- proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.hasTraceFilter = function() {
3146
+ proto.gateway.web.v1.StreamTraceAnalyticsRequest.prototype.hasFilter = function() {
3129
3147
  return jspb.Message.getField(this, 5) != null;
3130
3148
  };
3131
3149
 
@@ -6036,7 +6054,7 @@ tags: (f = msg.getTags()) && proto.gateway.web.v1.TraceFilter.TagFilter.toObject
6036
6054
  attributes: (f = msg.getAttributes()) && proto.gateway.web.v1.TraceFilter.AttributeFilter.toObject(includeInstance, f),
6037
6055
  statuses: (f = msg.getStatuses()) && proto.gateway.web.v1.TraceFilter.StatusFilter.toObject(includeInstance, f),
6038
6056
  severity: (f = msg.getSeverity()) && proto.gateway.web.v1.TraceFilter.SeverityFilter.toObject(includeInstance, f),
6039
- search: (f = msg.getSearch()) && proto.gateway.web.v1.TraceFilter.Search.toObject(includeInstance, f)
6057
+ search: jspb.Message.getFieldWithDefault(msg, 5, "")
6040
6058
  };
6041
6059
 
6042
6060
  if (includeInstance) {
@@ -6094,8 +6112,7 @@ proto.gateway.web.v1.TraceFilter.deserializeBinaryFromReader = function(msg, rea
6094
6112
  msg.setSeverity(value);
6095
6113
  break;
6096
6114
  case 5:
6097
- var value = new proto.gateway.web.v1.TraceFilter.Search;
6098
- reader.readMessage(value,proto.gateway.web.v1.TraceFilter.Search.deserializeBinaryFromReader);
6115
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6099
6116
  msg.setSearch(value);
6100
6117
  break;
6101
6118
  default:
@@ -6160,11 +6177,10 @@ proto.gateway.web.v1.TraceFilter.serializeBinaryToWriter = function(message, wri
6160
6177
  );
6161
6178
  }
6162
6179
  f = message.getSearch();
6163
- if (f != null) {
6164
- writer.writeMessage(
6180
+ if (f.length > 0) {
6181
+ writer.writeString(
6165
6182
  5,
6166
- f,
6167
- proto.gateway.web.v1.TraceFilter.Search.serializeBinaryToWriter
6183
+ f
6168
6184
  );
6169
6185
  }
6170
6186
  };
@@ -6840,136 +6856,6 @@ proto.gateway.web.v1.TraceFilter.SeverityFilter.prototype.setHasInfo = function(
6840
6856
  };
6841
6857
 
6842
6858
 
6843
-
6844
-
6845
-
6846
- if (jspb.Message.GENERATE_TO_OBJECT) {
6847
- /**
6848
- * Creates an object representation of this proto.
6849
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
6850
- * Optional fields that are not set will be set to undefined.
6851
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6852
- * For the list of reserved names please see:
6853
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6854
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6855
- * JSPB instance for transitional soy proto support:
6856
- * http://goto/soy-param-migration
6857
- * @return {!Object}
6858
- */
6859
- proto.gateway.web.v1.TraceFilter.Search.prototype.toObject = function(opt_includeInstance) {
6860
- return proto.gateway.web.v1.TraceFilter.Search.toObject(opt_includeInstance, this);
6861
- };
6862
-
6863
-
6864
- /**
6865
- * Static version of the {@see toObject} method.
6866
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6867
- * the JSPB instance for transitional soy proto support:
6868
- * http://goto/soy-param-migration
6869
- * @param {!proto.gateway.web.v1.TraceFilter.Search} msg The msg instance to transform.
6870
- * @return {!Object}
6871
- * @suppress {unusedLocalVariables} f is only used for nested messages
6872
- */
6873
- proto.gateway.web.v1.TraceFilter.Search.toObject = function(includeInstance, msg) {
6874
- var f, obj = {
6875
- value: jspb.Message.getFieldWithDefault(msg, 1, "")
6876
- };
6877
-
6878
- if (includeInstance) {
6879
- obj.$jspbMessageInstance = msg;
6880
- }
6881
- return obj;
6882
- };
6883
- }
6884
-
6885
-
6886
- /**
6887
- * Deserializes binary data (in protobuf wire format).
6888
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6889
- * @return {!proto.gateway.web.v1.TraceFilter.Search}
6890
- */
6891
- proto.gateway.web.v1.TraceFilter.Search.deserializeBinary = function(bytes) {
6892
- var reader = new jspb.BinaryReader(bytes);
6893
- var msg = new proto.gateway.web.v1.TraceFilter.Search;
6894
- return proto.gateway.web.v1.TraceFilter.Search.deserializeBinaryFromReader(msg, reader);
6895
- };
6896
-
6897
-
6898
- /**
6899
- * Deserializes binary data (in protobuf wire format) from the
6900
- * given reader into the given message object.
6901
- * @param {!proto.gateway.web.v1.TraceFilter.Search} msg The message object to deserialize into.
6902
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6903
- * @return {!proto.gateway.web.v1.TraceFilter.Search}
6904
- */
6905
- proto.gateway.web.v1.TraceFilter.Search.deserializeBinaryFromReader = function(msg, reader) {
6906
- while (reader.nextField()) {
6907
- if (reader.isEndGroup()) {
6908
- break;
6909
- }
6910
- var field = reader.getFieldNumber();
6911
- switch (field) {
6912
- case 1:
6913
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
6914
- msg.setValue(value);
6915
- break;
6916
- default:
6917
- reader.skipField();
6918
- break;
6919
- }
6920
- }
6921
- return msg;
6922
- };
6923
-
6924
-
6925
- /**
6926
- * Serializes the message to binary data (in protobuf wire format).
6927
- * @return {!Uint8Array}
6928
- */
6929
- proto.gateway.web.v1.TraceFilter.Search.prototype.serializeBinary = function() {
6930
- var writer = new jspb.BinaryWriter();
6931
- proto.gateway.web.v1.TraceFilter.Search.serializeBinaryToWriter(this, writer);
6932
- return writer.getResultBuffer();
6933
- };
6934
-
6935
-
6936
- /**
6937
- * Serializes the given message to binary data (in protobuf wire
6938
- * format), writing to the given BinaryWriter.
6939
- * @param {!proto.gateway.web.v1.TraceFilter.Search} message
6940
- * @param {!jspb.BinaryWriter} writer
6941
- * @suppress {unusedLocalVariables} f is only used for nested messages
6942
- */
6943
- proto.gateway.web.v1.TraceFilter.Search.serializeBinaryToWriter = function(message, writer) {
6944
- var f = undefined;
6945
- f = message.getValue();
6946
- if (f.length > 0) {
6947
- writer.writeString(
6948
- 1,
6949
- f
6950
- );
6951
- }
6952
- };
6953
-
6954
-
6955
- /**
6956
- * optional string value = 1;
6957
- * @return {string}
6958
- */
6959
- proto.gateway.web.v1.TraceFilter.Search.prototype.getValue = function() {
6960
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6961
- };
6962
-
6963
-
6964
- /**
6965
- * @param {string} value
6966
- * @return {!proto.gateway.web.v1.TraceFilter.Search} returns this
6967
- */
6968
- proto.gateway.web.v1.TraceFilter.Search.prototype.setValue = function(value) {
6969
- return jspb.Message.setProto3StringField(this, 1, value);
6970
- };
6971
-
6972
-
6973
6859
  /**
6974
6860
  * optional TagFilter tags = 1;
6975
6861
  * @return {?proto.gateway.web.v1.TraceFilter.TagFilter}
@@ -7119,39 +7005,20 @@ proto.gateway.web.v1.TraceFilter.prototype.hasSeverity = function() {
7119
7005
 
7120
7006
 
7121
7007
  /**
7122
- * optional Search search = 5;
7123
- * @return {?proto.gateway.web.v1.TraceFilter.Search}
7008
+ * optional string search = 5;
7009
+ * @return {string}
7124
7010
  */
7125
7011
  proto.gateway.web.v1.TraceFilter.prototype.getSearch = function() {
7126
- return /** @type{?proto.gateway.web.v1.TraceFilter.Search} */ (
7127
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.TraceFilter.Search, 5));
7012
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
7128
7013
  };
7129
7014
 
7130
7015
 
7131
7016
  /**
7132
- * @param {?proto.gateway.web.v1.TraceFilter.Search|undefined} value
7133
- * @return {!proto.gateway.web.v1.TraceFilter} returns this
7134
- */
7135
- proto.gateway.web.v1.TraceFilter.prototype.setSearch = function(value) {
7136
- return jspb.Message.setWrapperField(this, 5, value);
7137
- };
7138
-
7139
-
7140
- /**
7141
- * Clears the message field making it undefined.
7017
+ * @param {string} value
7142
7018
  * @return {!proto.gateway.web.v1.TraceFilter} returns this
7143
7019
  */
7144
- proto.gateway.web.v1.TraceFilter.prototype.clearSearch = function() {
7145
- return this.setSearch(undefined);
7146
- };
7147
-
7148
-
7149
- /**
7150
- * Returns whether this field is set.
7151
- * @return {boolean}
7152
- */
7153
- proto.gateway.web.v1.TraceFilter.prototype.hasSearch = function() {
7154
- return jspb.Message.getField(this, 5) != null;
7020
+ proto.gateway.web.v1.TraceFilter.prototype.setSearch = function(value) {
7021
+ return jspb.Message.setProto3StringField(this, 5, value);
7155
7022
  };
7156
7023
 
7157
7024
 
@@ -10700,7 +10567,9 @@ proto.gateway.web.v1.Pagination.toObject = function(includeInstance, msg) {
10700
10567
  var f, obj = {
10701
10568
  anchorTimestamp: (f = msg.getAnchorTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10702
10569
  page: jspb.Message.getFieldWithDefault(msg, 2, 0),
10703
- perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
10570
+ perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
10571
+ totalCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
10572
+ totalPages: jspb.Message.getFieldWithDefault(msg, 5, 0)
10704
10573
  };
10705
10574
 
10706
10575
  if (includeInstance) {
@@ -10731,219 +10600,6 @@ proto.gateway.web.v1.Pagination.deserializeBinary = function(bytes) {
10731
10600
  * @return {!proto.gateway.web.v1.Pagination}
10732
10601
  */
10733
10602
  proto.gateway.web.v1.Pagination.deserializeBinaryFromReader = function(msg, reader) {
10734
- while (reader.nextField()) {
10735
- if (reader.isEndGroup()) {
10736
- break;
10737
- }
10738
- var field = reader.getFieldNumber();
10739
- switch (field) {
10740
- case 1:
10741
- var value = new google_protobuf_timestamp_pb.Timestamp;
10742
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
10743
- msg.setAnchorTimestamp(value);
10744
- break;
10745
- case 2:
10746
- var value = /** @type {number} */ (reader.readInt32());
10747
- msg.setPage(value);
10748
- break;
10749
- case 3:
10750
- var value = /** @type {number} */ (reader.readInt32());
10751
- msg.setPerPage(value);
10752
- break;
10753
- default:
10754
- reader.skipField();
10755
- break;
10756
- }
10757
- }
10758
- return msg;
10759
- };
10760
-
10761
-
10762
- /**
10763
- * Serializes the message to binary data (in protobuf wire format).
10764
- * @return {!Uint8Array}
10765
- */
10766
- proto.gateway.web.v1.Pagination.prototype.serializeBinary = function() {
10767
- var writer = new jspb.BinaryWriter();
10768
- proto.gateway.web.v1.Pagination.serializeBinaryToWriter(this, writer);
10769
- return writer.getResultBuffer();
10770
- };
10771
-
10772
-
10773
- /**
10774
- * Serializes the given message to binary data (in protobuf wire
10775
- * format), writing to the given BinaryWriter.
10776
- * @param {!proto.gateway.web.v1.Pagination} message
10777
- * @param {!jspb.BinaryWriter} writer
10778
- * @suppress {unusedLocalVariables} f is only used for nested messages
10779
- */
10780
- proto.gateway.web.v1.Pagination.serializeBinaryToWriter = function(message, writer) {
10781
- var f = undefined;
10782
- f = message.getAnchorTimestamp();
10783
- if (f != null) {
10784
- writer.writeMessage(
10785
- 1,
10786
- f,
10787
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
10788
- );
10789
- }
10790
- f = message.getPage();
10791
- if (f !== 0) {
10792
- writer.writeInt32(
10793
- 2,
10794
- f
10795
- );
10796
- }
10797
- f = message.getPerPage();
10798
- if (f !== 0) {
10799
- writer.writeInt32(
10800
- 3,
10801
- f
10802
- );
10803
- }
10804
- };
10805
-
10806
-
10807
- /**
10808
- * optional google.protobuf.Timestamp anchor_timestamp = 1;
10809
- * @return {?proto.google.protobuf.Timestamp}
10810
- */
10811
- proto.gateway.web.v1.Pagination.prototype.getAnchorTimestamp = function() {
10812
- return /** @type{?proto.google.protobuf.Timestamp} */ (
10813
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
10814
- };
10815
-
10816
-
10817
- /**
10818
- * @param {?proto.google.protobuf.Timestamp|undefined} value
10819
- * @return {!proto.gateway.web.v1.Pagination} returns this
10820
- */
10821
- proto.gateway.web.v1.Pagination.prototype.setAnchorTimestamp = function(value) {
10822
- return jspb.Message.setWrapperField(this, 1, value);
10823
- };
10824
-
10825
-
10826
- /**
10827
- * Clears the message field making it undefined.
10828
- * @return {!proto.gateway.web.v1.Pagination} returns this
10829
- */
10830
- proto.gateway.web.v1.Pagination.prototype.clearAnchorTimestamp = function() {
10831
- return this.setAnchorTimestamp(undefined);
10832
- };
10833
-
10834
-
10835
- /**
10836
- * Returns whether this field is set.
10837
- * @return {boolean}
10838
- */
10839
- proto.gateway.web.v1.Pagination.prototype.hasAnchorTimestamp = function() {
10840
- return jspb.Message.getField(this, 1) != null;
10841
- };
10842
-
10843
-
10844
- /**
10845
- * optional int32 page = 2;
10846
- * @return {number}
10847
- */
10848
- proto.gateway.web.v1.Pagination.prototype.getPage = function() {
10849
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10850
- };
10851
-
10852
-
10853
- /**
10854
- * @param {number} value
10855
- * @return {!proto.gateway.web.v1.Pagination} returns this
10856
- */
10857
- proto.gateway.web.v1.Pagination.prototype.setPage = function(value) {
10858
- return jspb.Message.setProto3IntField(this, 2, value);
10859
- };
10860
-
10861
-
10862
- /**
10863
- * optional int32 per_page = 3;
10864
- * @return {number}
10865
- */
10866
- proto.gateway.web.v1.Pagination.prototype.getPerPage = function() {
10867
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10868
- };
10869
-
10870
-
10871
- /**
10872
- * @param {number} value
10873
- * @return {!proto.gateway.web.v1.Pagination} returns this
10874
- */
10875
- proto.gateway.web.v1.Pagination.prototype.setPerPage = function(value) {
10876
- return jspb.Message.setProto3IntField(this, 3, value);
10877
- };
10878
-
10879
-
10880
-
10881
-
10882
-
10883
- if (jspb.Message.GENERATE_TO_OBJECT) {
10884
- /**
10885
- * Creates an object representation of this proto.
10886
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
10887
- * Optional fields that are not set will be set to undefined.
10888
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10889
- * For the list of reserved names please see:
10890
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10891
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10892
- * JSPB instance for transitional soy proto support:
10893
- * http://goto/soy-param-migration
10894
- * @return {!Object}
10895
- */
10896
- proto.gateway.web.v1.PaginationDetails.prototype.toObject = function(opt_includeInstance) {
10897
- return proto.gateway.web.v1.PaginationDetails.toObject(opt_includeInstance, this);
10898
- };
10899
-
10900
-
10901
- /**
10902
- * Static version of the {@see toObject} method.
10903
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10904
- * the JSPB instance for transitional soy proto support:
10905
- * http://goto/soy-param-migration
10906
- * @param {!proto.gateway.web.v1.PaginationDetails} msg The msg instance to transform.
10907
- * @return {!Object}
10908
- * @suppress {unusedLocalVariables} f is only used for nested messages
10909
- */
10910
- proto.gateway.web.v1.PaginationDetails.toObject = function(includeInstance, msg) {
10911
- var f, obj = {
10912
- anchorTimestamp: (f = msg.getAnchorTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
10913
- page: jspb.Message.getFieldWithDefault(msg, 2, 0),
10914
- perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
10915
- total: jspb.Message.getFieldWithDefault(msg, 4, 0),
10916
- totalPages: jspb.Message.getFieldWithDefault(msg, 5, 0)
10917
- };
10918
-
10919
- if (includeInstance) {
10920
- obj.$jspbMessageInstance = msg;
10921
- }
10922
- return obj;
10923
- };
10924
- }
10925
-
10926
-
10927
- /**
10928
- * Deserializes binary data (in protobuf wire format).
10929
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10930
- * @return {!proto.gateway.web.v1.PaginationDetails}
10931
- */
10932
- proto.gateway.web.v1.PaginationDetails.deserializeBinary = function(bytes) {
10933
- var reader = new jspb.BinaryReader(bytes);
10934
- var msg = new proto.gateway.web.v1.PaginationDetails;
10935
- return proto.gateway.web.v1.PaginationDetails.deserializeBinaryFromReader(msg, reader);
10936
- };
10937
-
10938
-
10939
- /**
10940
- * Deserializes binary data (in protobuf wire format) from the
10941
- * given reader into the given message object.
10942
- * @param {!proto.gateway.web.v1.PaginationDetails} msg The message object to deserialize into.
10943
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10944
- * @return {!proto.gateway.web.v1.PaginationDetails}
10945
- */
10946
- proto.gateway.web.v1.PaginationDetails.deserializeBinaryFromReader = function(msg, reader) {
10947
10603
  while (reader.nextField()) {
10948
10604
  if (reader.isEndGroup()) {
10949
10605
  break;
@@ -10965,7 +10621,7 @@ proto.gateway.web.v1.PaginationDetails.deserializeBinaryFromReader = function(ms
10965
10621
  break;
10966
10622
  case 4:
10967
10623
  var value = /** @type {number} */ (reader.readInt64());
10968
- msg.setTotal(value);
10624
+ msg.setTotalCount(value);
10969
10625
  break;
10970
10626
  case 5:
10971
10627
  var value = /** @type {number} */ (reader.readInt32());
@@ -10984,9 +10640,9 @@ proto.gateway.web.v1.PaginationDetails.deserializeBinaryFromReader = function(ms
10984
10640
  * Serializes the message to binary data (in protobuf wire format).
10985
10641
  * @return {!Uint8Array}
10986
10642
  */
10987
- proto.gateway.web.v1.PaginationDetails.prototype.serializeBinary = function() {
10643
+ proto.gateway.web.v1.Pagination.prototype.serializeBinary = function() {
10988
10644
  var writer = new jspb.BinaryWriter();
10989
- proto.gateway.web.v1.PaginationDetails.serializeBinaryToWriter(this, writer);
10645
+ proto.gateway.web.v1.Pagination.serializeBinaryToWriter(this, writer);
10990
10646
  return writer.getResultBuffer();
10991
10647
  };
10992
10648
 
@@ -10994,11 +10650,11 @@ proto.gateway.web.v1.PaginationDetails.prototype.serializeBinary = function() {
10994
10650
  /**
10995
10651
  * Serializes the given message to binary data (in protobuf wire
10996
10652
  * format), writing to the given BinaryWriter.
10997
- * @param {!proto.gateway.web.v1.PaginationDetails} message
10653
+ * @param {!proto.gateway.web.v1.Pagination} message
10998
10654
  * @param {!jspb.BinaryWriter} writer
10999
10655
  * @suppress {unusedLocalVariables} f is only used for nested messages
11000
10656
  */
11001
- proto.gateway.web.v1.PaginationDetails.serializeBinaryToWriter = function(message, writer) {
10657
+ proto.gateway.web.v1.Pagination.serializeBinaryToWriter = function(message, writer) {
11002
10658
  var f = undefined;
11003
10659
  f = message.getAnchorTimestamp();
11004
10660
  if (f != null) {
@@ -11022,7 +10678,7 @@ proto.gateway.web.v1.PaginationDetails.serializeBinaryToWriter = function(messag
11022
10678
  f
11023
10679
  );
11024
10680
  }
11025
- f = message.getTotal();
10681
+ f = message.getTotalCount();
11026
10682
  if (f !== 0) {
11027
10683
  writer.writeInt64(
11028
10684
  4,
@@ -11043,7 +10699,7 @@ proto.gateway.web.v1.PaginationDetails.serializeBinaryToWriter = function(messag
11043
10699
  * optional google.protobuf.Timestamp anchor_timestamp = 1;
11044
10700
  * @return {?proto.google.protobuf.Timestamp}
11045
10701
  */
11046
- proto.gateway.web.v1.PaginationDetails.prototype.getAnchorTimestamp = function() {
10702
+ proto.gateway.web.v1.Pagination.prototype.getAnchorTimestamp = function() {
11047
10703
  return /** @type{?proto.google.protobuf.Timestamp} */ (
11048
10704
  jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
11049
10705
  };
@@ -11051,18 +10707,18 @@ proto.gateway.web.v1.PaginationDetails.prototype.getAnchorTimestamp = function()
11051
10707
 
11052
10708
  /**
11053
10709
  * @param {?proto.google.protobuf.Timestamp|undefined} value
11054
- * @return {!proto.gateway.web.v1.PaginationDetails} returns this
10710
+ * @return {!proto.gateway.web.v1.Pagination} returns this
11055
10711
  */
11056
- proto.gateway.web.v1.PaginationDetails.prototype.setAnchorTimestamp = function(value) {
10712
+ proto.gateway.web.v1.Pagination.prototype.setAnchorTimestamp = function(value) {
11057
10713
  return jspb.Message.setWrapperField(this, 1, value);
11058
10714
  };
11059
10715
 
11060
10716
 
11061
10717
  /**
11062
10718
  * Clears the message field making it undefined.
11063
- * @return {!proto.gateway.web.v1.PaginationDetails} returns this
10719
+ * @return {!proto.gateway.web.v1.Pagination} returns this
11064
10720
  */
11065
- proto.gateway.web.v1.PaginationDetails.prototype.clearAnchorTimestamp = function() {
10721
+ proto.gateway.web.v1.Pagination.prototype.clearAnchorTimestamp = function() {
11066
10722
  return this.setAnchorTimestamp(undefined);
11067
10723
  };
11068
10724
 
@@ -11071,7 +10727,7 @@ proto.gateway.web.v1.PaginationDetails.prototype.clearAnchorTimestamp = function
11071
10727
  * Returns whether this field is set.
11072
10728
  * @return {boolean}
11073
10729
  */
11074
- proto.gateway.web.v1.PaginationDetails.prototype.hasAnchorTimestamp = function() {
10730
+ proto.gateway.web.v1.Pagination.prototype.hasAnchorTimestamp = function() {
11075
10731
  return jspb.Message.getField(this, 1) != null;
11076
10732
  };
11077
10733
 
@@ -11080,16 +10736,16 @@ proto.gateway.web.v1.PaginationDetails.prototype.hasAnchorTimestamp = function()
11080
10736
  * optional int32 page = 2;
11081
10737
  * @return {number}
11082
10738
  */
11083
- proto.gateway.web.v1.PaginationDetails.prototype.getPage = function() {
10739
+ proto.gateway.web.v1.Pagination.prototype.getPage = function() {
11084
10740
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11085
10741
  };
11086
10742
 
11087
10743
 
11088
10744
  /**
11089
10745
  * @param {number} value
11090
- * @return {!proto.gateway.web.v1.PaginationDetails} returns this
10746
+ * @return {!proto.gateway.web.v1.Pagination} returns this
11091
10747
  */
11092
- proto.gateway.web.v1.PaginationDetails.prototype.setPage = function(value) {
10748
+ proto.gateway.web.v1.Pagination.prototype.setPage = function(value) {
11093
10749
  return jspb.Message.setProto3IntField(this, 2, value);
11094
10750
  };
11095
10751
 
@@ -11098,34 +10754,34 @@ proto.gateway.web.v1.PaginationDetails.prototype.setPage = function(value) {
11098
10754
  * optional int32 per_page = 3;
11099
10755
  * @return {number}
11100
10756
  */
11101
- proto.gateway.web.v1.PaginationDetails.prototype.getPerPage = function() {
10757
+ proto.gateway.web.v1.Pagination.prototype.getPerPage = function() {
11102
10758
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
11103
10759
  };
11104
10760
 
11105
10761
 
11106
10762
  /**
11107
10763
  * @param {number} value
11108
- * @return {!proto.gateway.web.v1.PaginationDetails} returns this
10764
+ * @return {!proto.gateway.web.v1.Pagination} returns this
11109
10765
  */
11110
- proto.gateway.web.v1.PaginationDetails.prototype.setPerPage = function(value) {
10766
+ proto.gateway.web.v1.Pagination.prototype.setPerPage = function(value) {
11111
10767
  return jspb.Message.setProto3IntField(this, 3, value);
11112
10768
  };
11113
10769
 
11114
10770
 
11115
10771
  /**
11116
- * optional int64 total = 4;
10772
+ * optional int64 total_count = 4;
11117
10773
  * @return {number}
11118
10774
  */
11119
- proto.gateway.web.v1.PaginationDetails.prototype.getTotal = function() {
10775
+ proto.gateway.web.v1.Pagination.prototype.getTotalCount = function() {
11120
10776
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
11121
10777
  };
11122
10778
 
11123
10779
 
11124
10780
  /**
11125
10781
  * @param {number} value
11126
- * @return {!proto.gateway.web.v1.PaginationDetails} returns this
10782
+ * @return {!proto.gateway.web.v1.Pagination} returns this
11127
10783
  */
11128
- proto.gateway.web.v1.PaginationDetails.prototype.setTotal = function(value) {
10784
+ proto.gateway.web.v1.Pagination.prototype.setTotalCount = function(value) {
11129
10785
  return jspb.Message.setProto3IntField(this, 4, value);
11130
10786
  };
11131
10787
 
@@ -11134,16 +10790,16 @@ proto.gateway.web.v1.PaginationDetails.prototype.setTotal = function(value) {
11134
10790
  * optional int32 total_pages = 5;
11135
10791
  * @return {number}
11136
10792
  */
11137
- proto.gateway.web.v1.PaginationDetails.prototype.getTotalPages = function() {
10793
+ proto.gateway.web.v1.Pagination.prototype.getTotalPages = function() {
11138
10794
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11139
10795
  };
11140
10796
 
11141
10797
 
11142
10798
  /**
11143
10799
  * @param {number} value
11144
- * @return {!proto.gateway.web.v1.PaginationDetails} returns this
10800
+ * @return {!proto.gateway.web.v1.Pagination} returns this
11145
10801
  */
11146
- proto.gateway.web.v1.PaginationDetails.prototype.setTotalPages = function(value) {
10802
+ proto.gateway.web.v1.Pagination.prototype.setTotalPages = function(value) {
11147
10803
  return jspb.Message.setProto3IntField(this, 5, value);
11148
10804
  };
11149
10805
 
@@ -11152,8 +10808,9 @@ proto.gateway.web.v1.PaginationDetails.prototype.setTotalPages = function(value)
11152
10808
  * @enum {number}
11153
10809
  */
11154
10810
  proto.gateway.web.v1.TagMatchMode = {
11155
- TAG_MATCH_MODE_ANY: 0,
11156
- TAG_MATCH_MODE_ALL: 1
10811
+ TAG_MATCH_MODE_UNSPECIFIED: 0,
10812
+ TAG_MATCH_MODE_ALL: 1,
10813
+ TAG_MATCH_MODE_ANY: 2
11157
10814
  };
11158
10815
 
11159
10816
  /**