@miradorlabs/web-grpc 2.27.0 → 2.28.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "2.27.0",
3
+ "version": "2.28.0",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1734,22 +1734,22 @@ export interface StreamTraceMetadataRequest {
1734
1734
  }
1735
1735
 
1736
1736
  /**
1737
- * TraceMetadataEnvelope wraps metadata stream events
1738
- * First message is always a snapshot, followed by incremental updates
1737
+ * Every event is a complete replacement snapshot. Consumers must replace their
1738
+ * local catalogue on every snapshot so expiry and truncation remain exact.
1739
1739
  */
1740
1740
  export interface TraceMetadataEnvelope {
1741
- snapshot?: MetadataSnapshot | undefined;
1742
- update?: MetadataUpdate | undefined;
1741
+ snapshot: MetadataSnapshot | undefined;
1743
1742
  }
1744
1743
 
1745
- /**
1746
- * MetadataSnapshot contains the full metadata state for initial load
1747
- * Two shapes: attributes (all key/values), tags (all unique tags)
1748
- */
1744
+ /** MetadataSnapshot contains the complete bounded state for its reported window. */
1749
1745
  export interface MetadataSnapshot {
1750
1746
  /** all key -> unique values */
1751
1747
  attributes: { [key: string]: AttributeValues };
1752
1748
  tags: string[];
1749
+ rangeStart?: Date | undefined;
1750
+ rangeEnd?: Date | undefined;
1751
+ attributesTruncated: boolean;
1752
+ tagsTruncated: boolean;
1753
1753
  }
1754
1754
 
1755
1755
  export interface MetadataSnapshot_AttributesEntry {
@@ -1757,21 +1757,10 @@ export interface MetadataSnapshot_AttributesEntry {
1757
1757
  value: AttributeValues | undefined;
1758
1758
  }
1759
1759
 
1760
- /** MetadataUpdate contains incremental metadata changes */
1761
- export interface MetadataUpdate {
1762
- /** new key/values */
1763
- addedAttributes: { [key: string]: AttributeValues };
1764
- addedTags: string[];
1765
- }
1766
-
1767
- export interface MetadataUpdate_AddedAttributesEntry {
1768
- key: string;
1769
- value: AttributeValues | undefined;
1770
- }
1771
-
1772
1760
  /** AttributeValues holds unique values for an attribute key */
1773
1761
  export interface AttributeValues {
1774
1762
  values: string[];
1763
+ valuesTruncated: boolean;
1775
1764
  }
1776
1765
 
1777
1766
  export interface DeleteTraceRequest {
@@ -4909,7 +4898,7 @@ export const StreamTraceMetadataRequest: MessageFns<StreamTraceMetadataRequest>
4909
4898
  };
4910
4899
 
4911
4900
  function createBaseTraceMetadataEnvelope(): TraceMetadataEnvelope {
4912
- return { snapshot: undefined, update: undefined };
4901
+ return { snapshot: undefined };
4913
4902
  }
4914
4903
 
4915
4904
  export const TraceMetadataEnvelope: MessageFns<TraceMetadataEnvelope> = {
@@ -4917,9 +4906,6 @@ export const TraceMetadataEnvelope: MessageFns<TraceMetadataEnvelope> = {
4917
4906
  if (message.snapshot !== undefined) {
4918
4907
  MetadataSnapshot.encode(message.snapshot, writer.uint32(10).fork()).join();
4919
4908
  }
4920
- if (message.update !== undefined) {
4921
- MetadataUpdate.encode(message.update, writer.uint32(18).fork()).join();
4922
- }
4923
4909
  return writer;
4924
4910
  },
4925
4911
 
@@ -4938,14 +4924,6 @@ export const TraceMetadataEnvelope: MessageFns<TraceMetadataEnvelope> = {
4938
4924
  message.snapshot = MetadataSnapshot.decode(reader, reader.uint32());
4939
4925
  continue;
4940
4926
  }
4941
- case 2: {
4942
- if (tag !== 18) {
4943
- break;
4944
- }
4945
-
4946
- message.update = MetadataUpdate.decode(reader, reader.uint32());
4947
- continue;
4948
- }
4949
4927
  }
4950
4928
  if ((tag & 7) === 4 || tag === 0) {
4951
4929
  break;
@@ -4956,10 +4934,7 @@ export const TraceMetadataEnvelope: MessageFns<TraceMetadataEnvelope> = {
4956
4934
  },
4957
4935
 
4958
4936
  fromJSON(object: any): TraceMetadataEnvelope {
4959
- return {
4960
- snapshot: isSet(object.snapshot) ? MetadataSnapshot.fromJSON(object.snapshot) : undefined,
4961
- update: isSet(object.update) ? MetadataUpdate.fromJSON(object.update) : undefined,
4962
- };
4937
+ return { snapshot: isSet(object.snapshot) ? MetadataSnapshot.fromJSON(object.snapshot) : undefined };
4963
4938
  },
4964
4939
 
4965
4940
  toJSON(message: TraceMetadataEnvelope): unknown {
@@ -4967,9 +4942,6 @@ export const TraceMetadataEnvelope: MessageFns<TraceMetadataEnvelope> = {
4967
4942
  if (message.snapshot !== undefined) {
4968
4943
  obj.snapshot = MetadataSnapshot.toJSON(message.snapshot);
4969
4944
  }
4970
- if (message.update !== undefined) {
4971
- obj.update = MetadataUpdate.toJSON(message.update);
4972
- }
4973
4945
  return obj;
4974
4946
  },
4975
4947
 
@@ -4981,15 +4953,19 @@ export const TraceMetadataEnvelope: MessageFns<TraceMetadataEnvelope> = {
4981
4953
  message.snapshot = (object.snapshot !== undefined && object.snapshot !== null)
4982
4954
  ? MetadataSnapshot.fromPartial(object.snapshot)
4983
4955
  : undefined;
4984
- message.update = (object.update !== undefined && object.update !== null)
4985
- ? MetadataUpdate.fromPartial(object.update)
4986
- : undefined;
4987
4956
  return message;
4988
4957
  },
4989
4958
  };
4990
4959
 
4991
4960
  function createBaseMetadataSnapshot(): MetadataSnapshot {
4992
- return { attributes: {}, tags: [] };
4961
+ return {
4962
+ attributes: {},
4963
+ tags: [],
4964
+ rangeStart: undefined,
4965
+ rangeEnd: undefined,
4966
+ attributesTruncated: false,
4967
+ tagsTruncated: false,
4968
+ };
4993
4969
  }
4994
4970
 
4995
4971
  export const MetadataSnapshot: MessageFns<MetadataSnapshot> = {
@@ -5000,6 +4976,18 @@ export const MetadataSnapshot: MessageFns<MetadataSnapshot> = {
5000
4976
  for (const v of message.tags) {
5001
4977
  writer.uint32(18).string(v!);
5002
4978
  }
4979
+ if (message.rangeStart !== undefined) {
4980
+ Timestamp.encode(toTimestamp(message.rangeStart), writer.uint32(26).fork()).join();
4981
+ }
4982
+ if (message.rangeEnd !== undefined) {
4983
+ Timestamp.encode(toTimestamp(message.rangeEnd), writer.uint32(34).fork()).join();
4984
+ }
4985
+ if (message.attributesTruncated !== false) {
4986
+ writer.uint32(40).bool(message.attributesTruncated);
4987
+ }
4988
+ if (message.tagsTruncated !== false) {
4989
+ writer.uint32(48).bool(message.tagsTruncated);
4990
+ }
5003
4991
  return writer;
5004
4992
  },
5005
4993
 
@@ -5029,6 +5017,38 @@ export const MetadataSnapshot: MessageFns<MetadataSnapshot> = {
5029
5017
  message.tags.push(reader.string());
5030
5018
  continue;
5031
5019
  }
5020
+ case 3: {
5021
+ if (tag !== 26) {
5022
+ break;
5023
+ }
5024
+
5025
+ message.rangeStart = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
5026
+ continue;
5027
+ }
5028
+ case 4: {
5029
+ if (tag !== 34) {
5030
+ break;
5031
+ }
5032
+
5033
+ message.rangeEnd = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
5034
+ continue;
5035
+ }
5036
+ case 5: {
5037
+ if (tag !== 40) {
5038
+ break;
5039
+ }
5040
+
5041
+ message.attributesTruncated = reader.bool();
5042
+ continue;
5043
+ }
5044
+ case 6: {
5045
+ if (tag !== 48) {
5046
+ break;
5047
+ }
5048
+
5049
+ message.tagsTruncated = reader.bool();
5050
+ continue;
5051
+ }
5032
5052
  }
5033
5053
  if ((tag & 7) === 4 || tag === 0) {
5034
5054
  break;
@@ -5050,6 +5070,26 @@ export const MetadataSnapshot: MessageFns<MetadataSnapshot> = {
5050
5070
  )
5051
5071
  : {},
5052
5072
  tags: globalThis.Array.isArray(object?.tags) ? object.tags.map((e: any) => globalThis.String(e)) : [],
5073
+ rangeStart: isSet(object.rangeStart)
5074
+ ? fromJsonTimestamp(object.rangeStart)
5075
+ : isSet(object.range_start)
5076
+ ? fromJsonTimestamp(object.range_start)
5077
+ : undefined,
5078
+ rangeEnd: isSet(object.rangeEnd)
5079
+ ? fromJsonTimestamp(object.rangeEnd)
5080
+ : isSet(object.range_end)
5081
+ ? fromJsonTimestamp(object.range_end)
5082
+ : undefined,
5083
+ attributesTruncated: isSet(object.attributesTruncated)
5084
+ ? globalThis.Boolean(object.attributesTruncated)
5085
+ : isSet(object.attributes_truncated)
5086
+ ? globalThis.Boolean(object.attributes_truncated)
5087
+ : false,
5088
+ tagsTruncated: isSet(object.tagsTruncated)
5089
+ ? globalThis.Boolean(object.tagsTruncated)
5090
+ : isSet(object.tags_truncated)
5091
+ ? globalThis.Boolean(object.tags_truncated)
5092
+ : false,
5053
5093
  };
5054
5094
  },
5055
5095
 
@@ -5067,6 +5107,18 @@ export const MetadataSnapshot: MessageFns<MetadataSnapshot> = {
5067
5107
  if (message.tags?.length) {
5068
5108
  obj.tags = message.tags;
5069
5109
  }
5110
+ if (message.rangeStart !== undefined) {
5111
+ obj.rangeStart = message.rangeStart.toISOString();
5112
+ }
5113
+ if (message.rangeEnd !== undefined) {
5114
+ obj.rangeEnd = message.rangeEnd.toISOString();
5115
+ }
5116
+ if (message.attributesTruncated !== false) {
5117
+ obj.attributesTruncated = message.attributesTruncated;
5118
+ }
5119
+ if (message.tagsTruncated !== false) {
5120
+ obj.tagsTruncated = message.tagsTruncated;
5121
+ }
5070
5122
  return obj;
5071
5123
  },
5072
5124
 
@@ -5085,6 +5137,10 @@ export const MetadataSnapshot: MessageFns<MetadataSnapshot> = {
5085
5137
  {},
5086
5138
  );
5087
5139
  message.tags = object.tags?.map((e) => e) || [];
5140
+ message.rangeStart = object.rangeStart ?? undefined;
5141
+ message.rangeEnd = object.rangeEnd ?? undefined;
5142
+ message.attributesTruncated = object.attributesTruncated ?? false;
5143
+ message.tagsTruncated = object.tagsTruncated ?? false;
5088
5144
  return message;
5089
5145
  },
5090
5146
  };
@@ -5171,201 +5227,8 @@ export const MetadataSnapshot_AttributesEntry: MessageFns<MetadataSnapshot_Attri
5171
5227
  },
5172
5228
  };
5173
5229
 
5174
- function createBaseMetadataUpdate(): MetadataUpdate {
5175
- return { addedAttributes: {}, addedTags: [] };
5176
- }
5177
-
5178
- export const MetadataUpdate: MessageFns<MetadataUpdate> = {
5179
- encode(message: MetadataUpdate, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
5180
- globalThis.Object.entries(message.addedAttributes).forEach(([key, value]: [string, AttributeValues]) => {
5181
- MetadataUpdate_AddedAttributesEntry.encode({ key: key as any, value }, writer.uint32(10).fork()).join();
5182
- });
5183
- for (const v of message.addedTags) {
5184
- writer.uint32(18).string(v!);
5185
- }
5186
- return writer;
5187
- },
5188
-
5189
- decode(input: BinaryReader | Uint8Array, length?: number): MetadataUpdate {
5190
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
5191
- const end = length === undefined ? reader.len : reader.pos + length;
5192
- const message = createBaseMetadataUpdate();
5193
- while (reader.pos < end) {
5194
- const tag = reader.uint32();
5195
- switch (tag >>> 3) {
5196
- case 1: {
5197
- if (tag !== 10) {
5198
- break;
5199
- }
5200
-
5201
- const entry1 = MetadataUpdate_AddedAttributesEntry.decode(reader, reader.uint32());
5202
- if (entry1.value !== undefined) {
5203
- message.addedAttributes[entry1.key] = entry1.value;
5204
- }
5205
- continue;
5206
- }
5207
- case 2: {
5208
- if (tag !== 18) {
5209
- break;
5210
- }
5211
-
5212
- message.addedTags.push(reader.string());
5213
- continue;
5214
- }
5215
- }
5216
- if ((tag & 7) === 4 || tag === 0) {
5217
- break;
5218
- }
5219
- reader.skip(tag & 7);
5220
- }
5221
- return message;
5222
- },
5223
-
5224
- fromJSON(object: any): MetadataUpdate {
5225
- return {
5226
- addedAttributes: isObject(object.addedAttributes)
5227
- ? (globalThis.Object.entries(object.addedAttributes) as [string, any][]).reduce(
5228
- (acc: { [key: string]: AttributeValues }, [key, value]: [string, any]) => {
5229
- acc[key] = AttributeValues.fromJSON(value);
5230
- return acc;
5231
- },
5232
- {},
5233
- )
5234
- : isObject(object.added_attributes)
5235
- ? (globalThis.Object.entries(object.added_attributes) as [string, any][]).reduce(
5236
- (acc: { [key: string]: AttributeValues }, [key, value]: [string, any]) => {
5237
- acc[key] = AttributeValues.fromJSON(value);
5238
- return acc;
5239
- },
5240
- {},
5241
- )
5242
- : {},
5243
- addedTags: globalThis.Array.isArray(object?.addedTags)
5244
- ? object.addedTags.map((e: any) => globalThis.String(e))
5245
- : globalThis.Array.isArray(object?.added_tags)
5246
- ? object.added_tags.map((e: any) => globalThis.String(e))
5247
- : [],
5248
- };
5249
- },
5250
-
5251
- toJSON(message: MetadataUpdate): unknown {
5252
- const obj: any = {};
5253
- if (message.addedAttributes) {
5254
- const entries = globalThis.Object.entries(message.addedAttributes) as [string, AttributeValues][];
5255
- if (entries.length > 0) {
5256
- obj.addedAttributes = {};
5257
- entries.forEach(([k, v]) => {
5258
- obj.addedAttributes[k] = AttributeValues.toJSON(v);
5259
- });
5260
- }
5261
- }
5262
- if (message.addedTags?.length) {
5263
- obj.addedTags = message.addedTags;
5264
- }
5265
- return obj;
5266
- },
5267
-
5268
- create<I extends Exact<DeepPartial<MetadataUpdate>, I>>(base?: I): MetadataUpdate {
5269
- return MetadataUpdate.fromPartial(base ?? ({} as any));
5270
- },
5271
- fromPartial<I extends Exact<DeepPartial<MetadataUpdate>, I>>(object: I): MetadataUpdate {
5272
- const message = createBaseMetadataUpdate();
5273
- message.addedAttributes = (globalThis.Object.entries(object.addedAttributes ?? {}) as [string, AttributeValues][])
5274
- .reduce((acc: { [key: string]: AttributeValues }, [key, value]: [string, AttributeValues]) => {
5275
- if (value !== undefined) {
5276
- acc[key] = AttributeValues.fromPartial(value);
5277
- }
5278
- return acc;
5279
- }, {});
5280
- message.addedTags = object.addedTags?.map((e) => e) || [];
5281
- return message;
5282
- },
5283
- };
5284
-
5285
- function createBaseMetadataUpdate_AddedAttributesEntry(): MetadataUpdate_AddedAttributesEntry {
5286
- return { key: "", value: undefined };
5287
- }
5288
-
5289
- export const MetadataUpdate_AddedAttributesEntry: MessageFns<MetadataUpdate_AddedAttributesEntry> = {
5290
- encode(message: MetadataUpdate_AddedAttributesEntry, writer: BinaryWriter = new BinaryWriter()): BinaryWriter {
5291
- if (message.key !== "") {
5292
- writer.uint32(10).string(message.key);
5293
- }
5294
- if (message.value !== undefined) {
5295
- AttributeValues.encode(message.value, writer.uint32(18).fork()).join();
5296
- }
5297
- return writer;
5298
- },
5299
-
5300
- decode(input: BinaryReader | Uint8Array, length?: number): MetadataUpdate_AddedAttributesEntry {
5301
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
5302
- const end = length === undefined ? reader.len : reader.pos + length;
5303
- const message = createBaseMetadataUpdate_AddedAttributesEntry();
5304
- while (reader.pos < end) {
5305
- const tag = reader.uint32();
5306
- switch (tag >>> 3) {
5307
- case 1: {
5308
- if (tag !== 10) {
5309
- break;
5310
- }
5311
-
5312
- message.key = reader.string();
5313
- continue;
5314
- }
5315
- case 2: {
5316
- if (tag !== 18) {
5317
- break;
5318
- }
5319
-
5320
- message.value = AttributeValues.decode(reader, reader.uint32());
5321
- continue;
5322
- }
5323
- }
5324
- if ((tag & 7) === 4 || tag === 0) {
5325
- break;
5326
- }
5327
- reader.skip(tag & 7);
5328
- }
5329
- return message;
5330
- },
5331
-
5332
- fromJSON(object: any): MetadataUpdate_AddedAttributesEntry {
5333
- return {
5334
- key: isSet(object.key) ? globalThis.String(object.key) : "",
5335
- value: isSet(object.value) ? AttributeValues.fromJSON(object.value) : undefined,
5336
- };
5337
- },
5338
-
5339
- toJSON(message: MetadataUpdate_AddedAttributesEntry): unknown {
5340
- const obj: any = {};
5341
- if (message.key !== "") {
5342
- obj.key = message.key;
5343
- }
5344
- if (message.value !== undefined) {
5345
- obj.value = AttributeValues.toJSON(message.value);
5346
- }
5347
- return obj;
5348
- },
5349
-
5350
- create<I extends Exact<DeepPartial<MetadataUpdate_AddedAttributesEntry>, I>>(
5351
- base?: I,
5352
- ): MetadataUpdate_AddedAttributesEntry {
5353
- return MetadataUpdate_AddedAttributesEntry.fromPartial(base ?? ({} as any));
5354
- },
5355
- fromPartial<I extends Exact<DeepPartial<MetadataUpdate_AddedAttributesEntry>, I>>(
5356
- object: I,
5357
- ): MetadataUpdate_AddedAttributesEntry {
5358
- const message = createBaseMetadataUpdate_AddedAttributesEntry();
5359
- message.key = object.key ?? "";
5360
- message.value = (object.value !== undefined && object.value !== null)
5361
- ? AttributeValues.fromPartial(object.value)
5362
- : undefined;
5363
- return message;
5364
- },
5365
- };
5366
-
5367
5230
  function createBaseAttributeValues(): AttributeValues {
5368
- return { values: [] };
5231
+ return { values: [], valuesTruncated: false };
5369
5232
  }
5370
5233
 
5371
5234
  export const AttributeValues: MessageFns<AttributeValues> = {
@@ -5373,6 +5236,9 @@ export const AttributeValues: MessageFns<AttributeValues> = {
5373
5236
  for (const v of message.values) {
5374
5237
  writer.uint32(10).string(v!);
5375
5238
  }
5239
+ if (message.valuesTruncated !== false) {
5240
+ writer.uint32(16).bool(message.valuesTruncated);
5241
+ }
5376
5242
  return writer;
5377
5243
  },
5378
5244
 
@@ -5391,6 +5257,14 @@ export const AttributeValues: MessageFns<AttributeValues> = {
5391
5257
  message.values.push(reader.string());
5392
5258
  continue;
5393
5259
  }
5260
+ case 2: {
5261
+ if (tag !== 16) {
5262
+ break;
5263
+ }
5264
+
5265
+ message.valuesTruncated = reader.bool();
5266
+ continue;
5267
+ }
5394
5268
  }
5395
5269
  if ((tag & 7) === 4 || tag === 0) {
5396
5270
  break;
@@ -5403,6 +5277,11 @@ export const AttributeValues: MessageFns<AttributeValues> = {
5403
5277
  fromJSON(object: any): AttributeValues {
5404
5278
  return {
5405
5279
  values: globalThis.Array.isArray(object?.values) ? object.values.map((e: any) => globalThis.String(e)) : [],
5280
+ valuesTruncated: isSet(object.valuesTruncated)
5281
+ ? globalThis.Boolean(object.valuesTruncated)
5282
+ : isSet(object.values_truncated)
5283
+ ? globalThis.Boolean(object.values_truncated)
5284
+ : false,
5406
5285
  };
5407
5286
  },
5408
5287
 
@@ -5411,6 +5290,9 @@ export const AttributeValues: MessageFns<AttributeValues> = {
5411
5290
  if (message.values?.length) {
5412
5291
  obj.values = message.values;
5413
5292
  }
5293
+ if (message.valuesTruncated !== false) {
5294
+ obj.valuesTruncated = message.valuesTruncated;
5295
+ }
5414
5296
  return obj;
5415
5297
  },
5416
5298
 
@@ -5420,6 +5302,7 @@ export const AttributeValues: MessageFns<AttributeValues> = {
5420
5302
  fromPartial<I extends Exact<DeepPartial<AttributeValues>, I>>(object: I): AttributeValues {
5421
5303
  const message = createBaseAttributeValues();
5422
5304
  message.values = object.values?.map((e) => e) || [];
5305
+ message.valuesTruncated = object.valuesTruncated ?? false;
5423
5306
  return message;
5424
5307
  },
5425
5308
  };
@@ -57,7 +57,6 @@ goog.exportSymbol('proto.gateway.web.v1.InfoEventAdded', null, global);
57
57
  goog.exportSymbol('proto.gateway.web.v1.ListTracesRequest', null, global);
58
58
  goog.exportSymbol('proto.gateway.web.v1.ListTracesResponse', null, global);
59
59
  goog.exportSymbol('proto.gateway.web.v1.MetadataSnapshot', null, global);
60
- goog.exportSymbol('proto.gateway.web.v1.MetadataUpdate', null, global);
61
60
  goog.exportSymbol('proto.gateway.web.v1.Pagination', null, global);
62
61
  goog.exportSymbol('proto.gateway.web.v1.PaginationDetails', null, global);
63
62
  goog.exportSymbol('proto.gateway.web.v1.RateAdded', null, global);
@@ -142,7 +141,6 @@ goog.exportSymbol('proto.gateway.web.v1.TraceFilter.StatusFilter', null, global)
142
141
  goog.exportSymbol('proto.gateway.web.v1.TraceFilter.TagFilter', null, global);
143
142
  goog.exportSymbol('proto.gateway.web.v1.TraceFinished', null, global);
144
143
  goog.exportSymbol('proto.gateway.web.v1.TraceMetadataEnvelope', null, global);
145
- goog.exportSymbol('proto.gateway.web.v1.TraceMetadataEnvelope.EventCase', null, global);
146
144
  goog.exportSymbol('proto.gateway.web.v1.TraceSeverity', null, global);
147
145
  goog.exportSymbol('proto.gateway.web.v1.TraceSnapshot', null, global);
148
146
  goog.exportSymbol('proto.gateway.web.v1.TraceStarted', null, global);
@@ -480,7 +478,7 @@ if (goog.DEBUG && !COMPILED) {
480
478
  * @constructor
481
479
  */
482
480
  proto.gateway.web.v1.TraceMetadataEnvelope = function(opt_data) {
483
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.gateway.web.v1.TraceMetadataEnvelope.oneofGroups_);
481
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
484
482
  };
485
483
  goog.inherits(proto.gateway.web.v1.TraceMetadataEnvelope, jspb.Message);
486
484
  if (goog.DEBUG && !COMPILED) {
@@ -511,27 +509,6 @@ if (goog.DEBUG && !COMPILED) {
511
509
  */
512
510
  proto.gateway.web.v1.MetadataSnapshot.displayName = 'proto.gateway.web.v1.MetadataSnapshot';
513
511
  }
514
- /**
515
- * Generated by JsPbCodeGenerator.
516
- * @param {Array=} opt_data Optional initial data array, typically from a
517
- * server response, or constructed directly in Javascript. The array is used
518
- * in place and becomes part of the constructed object. It is not cloned.
519
- * If no data is provided, the constructed object will be empty, but still
520
- * valid.
521
- * @extends {jspb.Message}
522
- * @constructor
523
- */
524
- proto.gateway.web.v1.MetadataUpdate = function(opt_data) {
525
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.MetadataUpdate.repeatedFields_, null);
526
- };
527
- goog.inherits(proto.gateway.web.v1.MetadataUpdate, jspb.Message);
528
- if (goog.DEBUG && !COMPILED) {
529
- /**
530
- * @public
531
- * @override
532
- */
533
- proto.gateway.web.v1.MetadataUpdate.displayName = 'proto.gateway.web.v1.MetadataUpdate';
534
- }
535
512
  /**
536
513
  * Generated by JsPbCodeGenerator.
537
514
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6264,32 +6241,6 @@ proto.gateway.web.v1.StreamTraceMetadataRequest.prototype.setProjectId = functio
6264
6241
 
6265
6242
 
6266
6243
 
6267
- /**
6268
- * Oneof group definitions for this message. Each group defines the field
6269
- * numbers belonging to that group. When of these fields' value is set, all
6270
- * other fields in the group are cleared. During deserialization, if multiple
6271
- * fields are encountered for a group, only the last value seen will be kept.
6272
- * @private {!Array<!Array<number>>}
6273
- * @const
6274
- */
6275
- proto.gateway.web.v1.TraceMetadataEnvelope.oneofGroups_ = [[1,2]];
6276
-
6277
- /**
6278
- * @enum {number}
6279
- */
6280
- proto.gateway.web.v1.TraceMetadataEnvelope.EventCase = {
6281
- EVENT_NOT_SET: 0,
6282
- SNAPSHOT: 1,
6283
- UPDATE: 2
6284
- };
6285
-
6286
- /**
6287
- * @return {proto.gateway.web.v1.TraceMetadataEnvelope.EventCase}
6288
- */
6289
- proto.gateway.web.v1.TraceMetadataEnvelope.prototype.getEventCase = function() {
6290
- return /** @type {proto.gateway.web.v1.TraceMetadataEnvelope.EventCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.TraceMetadataEnvelope.oneofGroups_[0]));
6291
- };
6292
-
6293
6244
 
6294
6245
 
6295
6246
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -6321,8 +6272,7 @@ proto.gateway.web.v1.TraceMetadataEnvelope.prototype.toObject = function(opt_inc
6321
6272
  */
6322
6273
  proto.gateway.web.v1.TraceMetadataEnvelope.toObject = function(includeInstance, msg) {
6323
6274
  var f, obj = {
6324
- snapshot: (f = msg.getSnapshot()) && proto.gateway.web.v1.MetadataSnapshot.toObject(includeInstance, f),
6325
- update: (f = msg.getUpdate()) && proto.gateway.web.v1.MetadataUpdate.toObject(includeInstance, f)
6275
+ snapshot: (f = msg.getSnapshot()) && proto.gateway.web.v1.MetadataSnapshot.toObject(includeInstance, f)
6326
6276
  };
6327
6277
 
6328
6278
  if (includeInstance) {
@@ -6364,11 +6314,6 @@ proto.gateway.web.v1.TraceMetadataEnvelope.deserializeBinaryFromReader = functio
6364
6314
  reader.readMessage(value,proto.gateway.web.v1.MetadataSnapshot.deserializeBinaryFromReader);
6365
6315
  msg.setSnapshot(value);
6366
6316
  break;
6367
- case 2:
6368
- var value = new proto.gateway.web.v1.MetadataUpdate;
6369
- reader.readMessage(value,proto.gateway.web.v1.MetadataUpdate.deserializeBinaryFromReader);
6370
- msg.setUpdate(value);
6371
- break;
6372
6317
  default:
6373
6318
  reader.skipField();
6374
6319
  break;
@@ -6406,14 +6351,6 @@ proto.gateway.web.v1.TraceMetadataEnvelope.serializeBinaryToWriter = function(me
6406
6351
  proto.gateway.web.v1.MetadataSnapshot.serializeBinaryToWriter
6407
6352
  );
6408
6353
  }
6409
- f = message.getUpdate();
6410
- if (f != null) {
6411
- writer.writeMessage(
6412
- 2,
6413
- f,
6414
- proto.gateway.web.v1.MetadataUpdate.serializeBinaryToWriter
6415
- );
6416
- }
6417
6354
  };
6418
6355
 
6419
6356
 
@@ -6432,7 +6369,7 @@ proto.gateway.web.v1.TraceMetadataEnvelope.prototype.getSnapshot = function() {
6432
6369
  * @return {!proto.gateway.web.v1.TraceMetadataEnvelope} returns this
6433
6370
  */
6434
6371
  proto.gateway.web.v1.TraceMetadataEnvelope.prototype.setSnapshot = function(value) {
6435
- return jspb.Message.setOneofWrapperField(this, 1, proto.gateway.web.v1.TraceMetadataEnvelope.oneofGroups_[0], value);
6372
+ return jspb.Message.setWrapperField(this, 1, value);
6436
6373
  };
6437
6374
 
6438
6375
 
@@ -6454,43 +6391,6 @@ proto.gateway.web.v1.TraceMetadataEnvelope.prototype.hasSnapshot = function() {
6454
6391
  };
6455
6392
 
6456
6393
 
6457
- /**
6458
- * optional MetadataUpdate update = 2;
6459
- * @return {?proto.gateway.web.v1.MetadataUpdate}
6460
- */
6461
- proto.gateway.web.v1.TraceMetadataEnvelope.prototype.getUpdate = function() {
6462
- return /** @type{?proto.gateway.web.v1.MetadataUpdate} */ (
6463
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.MetadataUpdate, 2));
6464
- };
6465
-
6466
-
6467
- /**
6468
- * @param {?proto.gateway.web.v1.MetadataUpdate|undefined} value
6469
- * @return {!proto.gateway.web.v1.TraceMetadataEnvelope} returns this
6470
- */
6471
- proto.gateway.web.v1.TraceMetadataEnvelope.prototype.setUpdate = function(value) {
6472
- return jspb.Message.setOneofWrapperField(this, 2, proto.gateway.web.v1.TraceMetadataEnvelope.oneofGroups_[0], value);
6473
- };
6474
-
6475
-
6476
- /**
6477
- * Clears the message field making it undefined.
6478
- * @return {!proto.gateway.web.v1.TraceMetadataEnvelope} returns this
6479
- */
6480
- proto.gateway.web.v1.TraceMetadataEnvelope.prototype.clearUpdate = function() {
6481
- return this.setUpdate(undefined);
6482
- };
6483
-
6484
-
6485
- /**
6486
- * Returns whether this field is set.
6487
- * @return {boolean}
6488
- */
6489
- proto.gateway.web.v1.TraceMetadataEnvelope.prototype.hasUpdate = function() {
6490
- return jspb.Message.getField(this, 2) != null;
6491
- };
6492
-
6493
-
6494
6394
 
6495
6395
  /**
6496
6396
  * List of repeated fields within this message type.
@@ -6531,7 +6431,11 @@ proto.gateway.web.v1.MetadataSnapshot.prototype.toObject = function(opt_includeI
6531
6431
  proto.gateway.web.v1.MetadataSnapshot.toObject = function(includeInstance, msg) {
6532
6432
  var f, obj = {
6533
6433
  attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, proto.gateway.web.v1.AttributeValues.toObject) : [],
6534
- tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
6434
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
6435
+ rangeStart: (f = msg.getRangeStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
6436
+ rangeEnd: (f = msg.getRangeEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
6437
+ attributesTruncated: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
6438
+ tagsTruncated: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
6535
6439
  };
6536
6440
 
6537
6441
  if (includeInstance) {
@@ -6578,6 +6482,24 @@ proto.gateway.web.v1.MetadataSnapshot.deserializeBinaryFromReader = function(msg
6578
6482
  var value = /** @type {string} */ (reader.readString());
6579
6483
  msg.addTags(value);
6580
6484
  break;
6485
+ case 3:
6486
+ var value = new google_protobuf_timestamp_pb.Timestamp;
6487
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
6488
+ msg.setRangeStart(value);
6489
+ break;
6490
+ case 4:
6491
+ var value = new google_protobuf_timestamp_pb.Timestamp;
6492
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
6493
+ msg.setRangeEnd(value);
6494
+ break;
6495
+ case 5:
6496
+ var value = /** @type {boolean} */ (reader.readBool());
6497
+ msg.setAttributesTruncated(value);
6498
+ break;
6499
+ case 6:
6500
+ var value = /** @type {boolean} */ (reader.readBool());
6501
+ msg.setTagsTruncated(value);
6502
+ break;
6581
6503
  default:
6582
6504
  reader.skipField();
6583
6505
  break;
@@ -6618,6 +6540,36 @@ proto.gateway.web.v1.MetadataSnapshot.serializeBinaryToWriter = function(message
6618
6540
  f
6619
6541
  );
6620
6542
  }
6543
+ f = message.getRangeStart();
6544
+ if (f != null) {
6545
+ writer.writeMessage(
6546
+ 3,
6547
+ f,
6548
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
6549
+ );
6550
+ }
6551
+ f = message.getRangeEnd();
6552
+ if (f != null) {
6553
+ writer.writeMessage(
6554
+ 4,
6555
+ f,
6556
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
6557
+ );
6558
+ }
6559
+ f = message.getAttributesTruncated();
6560
+ if (f) {
6561
+ writer.writeBool(
6562
+ 5,
6563
+ f
6564
+ );
6565
+ }
6566
+ f = message.getTagsTruncated();
6567
+ if (f) {
6568
+ writer.writeBool(
6569
+ 6,
6570
+ f
6571
+ );
6572
+ }
6621
6573
  };
6622
6574
 
6623
6575
 
@@ -6681,193 +6633,113 @@ proto.gateway.web.v1.MetadataSnapshot.prototype.clearTagsList = function() {
6681
6633
  };
6682
6634
 
6683
6635
 
6684
-
6685
- /**
6686
- * List of repeated fields within this message type.
6687
- * @private {!Array<number>}
6688
- * @const
6689
- */
6690
- proto.gateway.web.v1.MetadataUpdate.repeatedFields_ = [2];
6691
-
6692
-
6693
-
6694
- if (jspb.Message.GENERATE_TO_OBJECT) {
6695
6636
  /**
6696
- * Creates an object representation of this proto.
6697
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
6698
- * Optional fields that are not set will be set to undefined.
6699
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6700
- * For the list of reserved names please see:
6701
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6702
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6703
- * JSPB instance for transitional soy proto support:
6704
- * http://goto/soy-param-migration
6705
- * @return {!Object}
6637
+ * optional google.protobuf.Timestamp range_start = 3;
6638
+ * @return {?proto.google.protobuf.Timestamp}
6706
6639
  */
6707
- proto.gateway.web.v1.MetadataUpdate.prototype.toObject = function(opt_includeInstance) {
6708
- return proto.gateway.web.v1.MetadataUpdate.toObject(opt_includeInstance, this);
6640
+ proto.gateway.web.v1.MetadataSnapshot.prototype.getRangeStart = function() {
6641
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
6642
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
6709
6643
  };
6710
6644
 
6711
6645
 
6712
6646
  /**
6713
- * Static version of the {@see toObject} method.
6714
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6715
- * the JSPB instance for transitional soy proto support:
6716
- * http://goto/soy-param-migration
6717
- * @param {!proto.gateway.web.v1.MetadataUpdate} msg The msg instance to transform.
6718
- * @return {!Object}
6719
- * @suppress {unusedLocalVariables} f is only used for nested messages
6720
- */
6721
- proto.gateway.web.v1.MetadataUpdate.toObject = function(includeInstance, msg) {
6722
- var f, obj = {
6723
- addedAttributesMap: (f = msg.getAddedAttributesMap()) ? f.toObject(includeInstance, proto.gateway.web.v1.AttributeValues.toObject) : [],
6724
- addedTagsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
6725
- };
6726
-
6727
- if (includeInstance) {
6728
- obj.$jspbMessageInstance = msg;
6729
- }
6730
- return obj;
6647
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
6648
+ * @return {!proto.gateway.web.v1.MetadataSnapshot} returns this
6649
+ */
6650
+ proto.gateway.web.v1.MetadataSnapshot.prototype.setRangeStart = function(value) {
6651
+ return jspb.Message.setWrapperField(this, 3, value);
6731
6652
  };
6732
- }
6733
6653
 
6734
6654
 
6735
6655
  /**
6736
- * Deserializes binary data (in protobuf wire format).
6737
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
6738
- * @return {!proto.gateway.web.v1.MetadataUpdate}
6656
+ * Clears the message field making it undefined.
6657
+ * @return {!proto.gateway.web.v1.MetadataSnapshot} returns this
6739
6658
  */
6740
- proto.gateway.web.v1.MetadataUpdate.deserializeBinary = function(bytes) {
6741
- var reader = new jspb.BinaryReader(bytes);
6742
- var msg = new proto.gateway.web.v1.MetadataUpdate;
6743
- return proto.gateway.web.v1.MetadataUpdate.deserializeBinaryFromReader(msg, reader);
6659
+ proto.gateway.web.v1.MetadataSnapshot.prototype.clearRangeStart = function() {
6660
+ return this.setRangeStart(undefined);
6744
6661
  };
6745
6662
 
6746
6663
 
6747
6664
  /**
6748
- * Deserializes binary data (in protobuf wire format) from the
6749
- * given reader into the given message object.
6750
- * @param {!proto.gateway.web.v1.MetadataUpdate} msg The message object to deserialize into.
6751
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6752
- * @return {!proto.gateway.web.v1.MetadataUpdate}
6665
+ * Returns whether this field is set.
6666
+ * @return {boolean}
6753
6667
  */
6754
- proto.gateway.web.v1.MetadataUpdate.deserializeBinaryFromReader = function(msg, reader) {
6755
- while (reader.nextField()) {
6756
- if (reader.isEndGroup()) {
6757
- break;
6758
- }
6759
- var field = reader.getFieldNumber();
6760
- switch (field) {
6761
- case 1:
6762
- var value = msg.getAddedAttributesMap();
6763
- reader.readMessage(value, function(message, reader) {
6764
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.gateway.web.v1.AttributeValues.deserializeBinaryFromReader, "", new proto.gateway.web.v1.AttributeValues());
6765
- });
6766
- break;
6767
- case 2:
6768
- var value = /** @type {string} */ (reader.readString());
6769
- msg.addAddedTags(value);
6770
- break;
6771
- default:
6772
- reader.skipField();
6773
- break;
6774
- }
6775
- }
6776
- return msg;
6668
+ proto.gateway.web.v1.MetadataSnapshot.prototype.hasRangeStart = function() {
6669
+ return jspb.Message.getField(this, 3) != null;
6777
6670
  };
6778
6671
 
6779
6672
 
6780
6673
  /**
6781
- * Serializes the message to binary data (in protobuf wire format).
6782
- * @return {!Uint8Array}
6674
+ * optional google.protobuf.Timestamp range_end = 4;
6675
+ * @return {?proto.google.protobuf.Timestamp}
6783
6676
  */
6784
- proto.gateway.web.v1.MetadataUpdate.prototype.serializeBinary = function() {
6785
- var writer = new jspb.BinaryWriter();
6786
- proto.gateway.web.v1.MetadataUpdate.serializeBinaryToWriter(this, writer);
6787
- return writer.getResultBuffer();
6677
+ proto.gateway.web.v1.MetadataSnapshot.prototype.getRangeEnd = function() {
6678
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
6679
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
6788
6680
  };
6789
6681
 
6790
6682
 
6791
6683
  /**
6792
- * Serializes the given message to binary data (in protobuf wire
6793
- * format), writing to the given BinaryWriter.
6794
- * @param {!proto.gateway.web.v1.MetadataUpdate} message
6795
- * @param {!jspb.BinaryWriter} writer
6796
- * @suppress {unusedLocalVariables} f is only used for nested messages
6797
- */
6798
- proto.gateway.web.v1.MetadataUpdate.serializeBinaryToWriter = function(message, writer) {
6799
- var f = undefined;
6800
- f = message.getAddedAttributesMap(true);
6801
- if (f && f.getLength() > 0) {
6802
- f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.gateway.web.v1.AttributeValues.serializeBinaryToWriter);
6803
- }
6804
- f = message.getAddedTagsList();
6805
- if (f.length > 0) {
6806
- writer.writeRepeatedString(
6807
- 2,
6808
- f
6809
- );
6810
- }
6684
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
6685
+ * @return {!proto.gateway.web.v1.MetadataSnapshot} returns this
6686
+ */
6687
+ proto.gateway.web.v1.MetadataSnapshot.prototype.setRangeEnd = function(value) {
6688
+ return jspb.Message.setWrapperField(this, 4, value);
6811
6689
  };
6812
6690
 
6813
6691
 
6814
6692
  /**
6815
- * map<string, AttributeValues> added_attributes = 1;
6816
- * @param {boolean=} opt_noLazyCreate Do not create the map if
6817
- * empty, instead returning `undefined`
6818
- * @return {!jspb.Map<string,!proto.gateway.web.v1.AttributeValues>}
6693
+ * Clears the message field making it undefined.
6694
+ * @return {!proto.gateway.web.v1.MetadataSnapshot} returns this
6819
6695
  */
6820
- proto.gateway.web.v1.MetadataUpdate.prototype.getAddedAttributesMap = function(opt_noLazyCreate) {
6821
- return /** @type {!jspb.Map<string,!proto.gateway.web.v1.AttributeValues>} */ (
6822
- jspb.Message.getMapField(this, 1, opt_noLazyCreate,
6823
- proto.gateway.web.v1.AttributeValues));
6696
+ proto.gateway.web.v1.MetadataSnapshot.prototype.clearRangeEnd = function() {
6697
+ return this.setRangeEnd(undefined);
6824
6698
  };
6825
6699
 
6826
6700
 
6827
6701
  /**
6828
- * Clears values from the map. The map will be non-null.
6829
- * @return {!proto.gateway.web.v1.MetadataUpdate} returns this
6702
+ * Returns whether this field is set.
6703
+ * @return {boolean}
6830
6704
  */
6831
- proto.gateway.web.v1.MetadataUpdate.prototype.clearAddedAttributesMap = function() {
6832
- this.getAddedAttributesMap().clear();
6833
- return this;
6705
+ proto.gateway.web.v1.MetadataSnapshot.prototype.hasRangeEnd = function() {
6706
+ return jspb.Message.getField(this, 4) != null;
6834
6707
  };
6835
6708
 
6836
6709
 
6837
6710
  /**
6838
- * repeated string added_tags = 2;
6839
- * @return {!Array<string>}
6711
+ * optional bool attributes_truncated = 5;
6712
+ * @return {boolean}
6840
6713
  */
6841
- proto.gateway.web.v1.MetadataUpdate.prototype.getAddedTagsList = function() {
6842
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
6714
+ proto.gateway.web.v1.MetadataSnapshot.prototype.getAttributesTruncated = function() {
6715
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
6843
6716
  };
6844
6717
 
6845
6718
 
6846
6719
  /**
6847
- * @param {!Array<string>} value
6848
- * @return {!proto.gateway.web.v1.MetadataUpdate} returns this
6720
+ * @param {boolean} value
6721
+ * @return {!proto.gateway.web.v1.MetadataSnapshot} returns this
6849
6722
  */
6850
- proto.gateway.web.v1.MetadataUpdate.prototype.setAddedTagsList = function(value) {
6851
- return jspb.Message.setField(this, 2, value || []);
6723
+ proto.gateway.web.v1.MetadataSnapshot.prototype.setAttributesTruncated = function(value) {
6724
+ return jspb.Message.setProto3BooleanField(this, 5, value);
6852
6725
  };
6853
6726
 
6854
6727
 
6855
6728
  /**
6856
- * @param {string} value
6857
- * @param {number=} opt_index
6858
- * @return {!proto.gateway.web.v1.MetadataUpdate} returns this
6729
+ * optional bool tags_truncated = 6;
6730
+ * @return {boolean}
6859
6731
  */
6860
- proto.gateway.web.v1.MetadataUpdate.prototype.addAddedTags = function(value, opt_index) {
6861
- return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
6732
+ proto.gateway.web.v1.MetadataSnapshot.prototype.getTagsTruncated = function() {
6733
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
6862
6734
  };
6863
6735
 
6864
6736
 
6865
6737
  /**
6866
- * Clears the list making it empty but non-null.
6867
- * @return {!proto.gateway.web.v1.MetadataUpdate} returns this
6738
+ * @param {boolean} value
6739
+ * @return {!proto.gateway.web.v1.MetadataSnapshot} returns this
6868
6740
  */
6869
- proto.gateway.web.v1.MetadataUpdate.prototype.clearAddedTagsList = function() {
6870
- return this.setAddedTagsList([]);
6741
+ proto.gateway.web.v1.MetadataSnapshot.prototype.setTagsTruncated = function(value) {
6742
+ return jspb.Message.setProto3BooleanField(this, 6, value);
6871
6743
  };
6872
6744
 
6873
6745
 
@@ -6910,7 +6782,8 @@ proto.gateway.web.v1.AttributeValues.prototype.toObject = function(opt_includeIn
6910
6782
  */
6911
6783
  proto.gateway.web.v1.AttributeValues.toObject = function(includeInstance, msg) {
6912
6784
  var f, obj = {
6913
- valuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
6785
+ valuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
6786
+ valuesTruncated: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
6914
6787
  };
6915
6788
 
6916
6789
  if (includeInstance) {
@@ -6951,6 +6824,10 @@ proto.gateway.web.v1.AttributeValues.deserializeBinaryFromReader = function(msg,
6951
6824
  var value = /** @type {string} */ (reader.readString());
6952
6825
  msg.addValues(value);
6953
6826
  break;
6827
+ case 2:
6828
+ var value = /** @type {boolean} */ (reader.readBool());
6829
+ msg.setValuesTruncated(value);
6830
+ break;
6954
6831
  default:
6955
6832
  reader.skipField();
6956
6833
  break;
@@ -6987,6 +6864,13 @@ proto.gateway.web.v1.AttributeValues.serializeBinaryToWriter = function(message,
6987
6864
  f
6988
6865
  );
6989
6866
  }
6867
+ f = message.getValuesTruncated();
6868
+ if (f) {
6869
+ writer.writeBool(
6870
+ 2,
6871
+ f
6872
+ );
6873
+ }
6990
6874
  };
6991
6875
 
6992
6876
 
@@ -7027,6 +6911,24 @@ proto.gateway.web.v1.AttributeValues.prototype.clearValuesList = function() {
7027
6911
  };
7028
6912
 
7029
6913
 
6914
+ /**
6915
+ * optional bool values_truncated = 2;
6916
+ * @return {boolean}
6917
+ */
6918
+ proto.gateway.web.v1.AttributeValues.prototype.getValuesTruncated = function() {
6919
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
6920
+ };
6921
+
6922
+
6923
+ /**
6924
+ * @param {boolean} value
6925
+ * @return {!proto.gateway.web.v1.AttributeValues} returns this
6926
+ */
6927
+ proto.gateway.web.v1.AttributeValues.prototype.setValuesTruncated = function(value) {
6928
+ return jspb.Message.setProto3BooleanField(this, 2, value);
6929
+ };
6930
+
6931
+
7030
6932
 
7031
6933
 
7032
6934