@miradorlabs/web-grpc 1.0.1 → 1.2.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.
|
@@ -95,6 +95,8 @@ goog.exportSymbol('proto.gateway.web.v1.SafeTxTrackingFinished', null, global);
|
|
|
95
95
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxTrackingFinished.SafeTxHintStatus', null, global);
|
|
96
96
|
goog.exportSymbol('proto.gateway.web.v1.SafeTxTrackingStarted', null, global);
|
|
97
97
|
goog.exportSymbol('proto.gateway.web.v1.SolanaTxAdded', null, global);
|
|
98
|
+
goog.exportSymbol('proto.gateway.web.v1.SpanEnded', null, global);
|
|
99
|
+
goog.exportSymbol('proto.gateway.web.v1.SpanStarted', null, global);
|
|
98
100
|
goog.exportSymbol('proto.gateway.web.v1.StreamTraceAnalyticsRequest', null, global);
|
|
99
101
|
goog.exportSymbol('proto.gateway.web.v1.StreamTraceEventsRequest', null, global);
|
|
100
102
|
goog.exportSymbol('proto.gateway.web.v1.StreamTraceMetadataRequest', null, global);
|
|
@@ -804,6 +806,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
804
806
|
*/
|
|
805
807
|
proto.gateway.web.v1.TraceEventEnvelope.displayName = 'proto.gateway.web.v1.TraceEventEnvelope';
|
|
806
808
|
}
|
|
809
|
+
/**
|
|
810
|
+
* Generated by JsPbCodeGenerator.
|
|
811
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
812
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
813
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
814
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
815
|
+
* valid.
|
|
816
|
+
* @extends {jspb.Message}
|
|
817
|
+
* @constructor
|
|
818
|
+
*/
|
|
819
|
+
proto.gateway.web.v1.SpanStarted = function(opt_data) {
|
|
820
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
821
|
+
};
|
|
822
|
+
goog.inherits(proto.gateway.web.v1.SpanStarted, jspb.Message);
|
|
823
|
+
if (goog.DEBUG && !COMPILED) {
|
|
824
|
+
/**
|
|
825
|
+
* @public
|
|
826
|
+
* @override
|
|
827
|
+
*/
|
|
828
|
+
proto.gateway.web.v1.SpanStarted.displayName = 'proto.gateway.web.v1.SpanStarted';
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* Generated by JsPbCodeGenerator.
|
|
832
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
833
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
834
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
835
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
836
|
+
* valid.
|
|
837
|
+
* @extends {jspb.Message}
|
|
838
|
+
* @constructor
|
|
839
|
+
*/
|
|
840
|
+
proto.gateway.web.v1.SpanEnded = function(opt_data) {
|
|
841
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
842
|
+
};
|
|
843
|
+
goog.inherits(proto.gateway.web.v1.SpanEnded, jspb.Message);
|
|
844
|
+
if (goog.DEBUG && !COMPILED) {
|
|
845
|
+
/**
|
|
846
|
+
* @public
|
|
847
|
+
* @override
|
|
848
|
+
*/
|
|
849
|
+
proto.gateway.web.v1.SpanEnded.displayName = 'proto.gateway.web.v1.SpanEnded';
|
|
850
|
+
}
|
|
807
851
|
/**
|
|
808
852
|
* Generated by JsPbCodeGenerator.
|
|
809
853
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9418,7 +9462,7 @@ proto.gateway.web.v1.RuleMatch.prototype.hasMatchedAt = function() {
|
|
|
9418
9462
|
* @private {!Array<!Array<number>>}
|
|
9419
9463
|
* @const
|
|
9420
9464
|
*/
|
|
9421
|
-
proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64]];
|
|
9465
|
+
proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_ = [[20,21,22,23,24,25,26,28,29,30,31,32,33,34,35,36,38,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66]];
|
|
9422
9466
|
|
|
9423
9467
|
/**
|
|
9424
9468
|
* @enum {number}
|
|
@@ -9466,7 +9510,9 @@ proto.gateway.web.v1.TraceEventEnvelope.PayloadCase = {
|
|
|
9466
9510
|
RELAY_TRACKING_FINISHED: 61,
|
|
9467
9511
|
RELAY_NOT_FOUND: 62,
|
|
9468
9512
|
RULE_MATCH_ADDED: 63,
|
|
9469
|
-
CANTON_TX_ADDED: 64
|
|
9513
|
+
CANTON_TX_ADDED: 64,
|
|
9514
|
+
SPAN_STARTED: 65,
|
|
9515
|
+
SPAN_ENDED: 66
|
|
9470
9516
|
};
|
|
9471
9517
|
|
|
9472
9518
|
/**
|
|
@@ -9517,6 +9563,8 @@ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.to
|
|
|
9517
9563
|
traceTimestamp: (f = msg.getTraceTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
9518
9564
|
source: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
9519
9565
|
category: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
9566
|
+
spanId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
9567
|
+
parentSpanId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
9520
9568
|
traceStarted: (f = msg.getTraceStarted()) && proto.gateway.web.v1.TraceStarted.toObject(includeInstance, f),
|
|
9521
9569
|
traceFinished: (f = msg.getTraceFinished()) && proto.gateway.web.v1.TraceFinished.toObject(includeInstance, f),
|
|
9522
9570
|
infoEventAdded: (f = msg.getInfoEventAdded()) && proto.gateway.web.v1.InfoEventAdded.toObject(includeInstance, f),
|
|
@@ -9558,7 +9606,9 @@ relayRefunded: (f = msg.getRelayRefunded()) && proto.gateway.web.v1.RelayRefunde
|
|
|
9558
9606
|
relayTrackingFinished: (f = msg.getRelayTrackingFinished()) && proto.gateway.web.v1.RelayTrackingFinished.toObject(includeInstance, f),
|
|
9559
9607
|
relayNotFound: (f = msg.getRelayNotFound()) && proto.gateway.web.v1.RelayNotFound.toObject(includeInstance, f),
|
|
9560
9608
|
ruleMatchAdded: (f = msg.getRuleMatchAdded()) && proto.gateway.web.v1.RuleMatchAdded.toObject(includeInstance, f),
|
|
9561
|
-
cantonTxAdded: (f = msg.getCantonTxAdded()) && proto.gateway.web.v1.CantonTxAdded.toObject(includeInstance, f)
|
|
9609
|
+
cantonTxAdded: (f = msg.getCantonTxAdded()) && proto.gateway.web.v1.CantonTxAdded.toObject(includeInstance, f),
|
|
9610
|
+
spanStarted: (f = msg.getSpanStarted()) && proto.gateway.web.v1.SpanStarted.toObject(includeInstance, f),
|
|
9611
|
+
spanEnded: (f = msg.getSpanEnded()) && proto.gateway.web.v1.SpanEnded.toObject(includeInstance, f)
|
|
9562
9612
|
};
|
|
9563
9613
|
|
|
9564
9614
|
if (includeInstance) {
|
|
@@ -9637,6 +9687,14 @@ proto.gateway.web.v1.TraceEventEnvelope.deserializeBinaryFromReader = function(m
|
|
|
9637
9687
|
var value = /** @type {!proto.gateway.web.v1.TraceEventCategory} */ (reader.readEnum());
|
|
9638
9688
|
msg.setCategory(value);
|
|
9639
9689
|
break;
|
|
9690
|
+
case 13:
|
|
9691
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9692
|
+
msg.setSpanId(value);
|
|
9693
|
+
break;
|
|
9694
|
+
case 14:
|
|
9695
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9696
|
+
msg.setParentSpanId(value);
|
|
9697
|
+
break;
|
|
9640
9698
|
case 20:
|
|
9641
9699
|
var value = new proto.gateway.web.v1.TraceStarted;
|
|
9642
9700
|
reader.readMessage(value,proto.gateway.web.v1.TraceStarted.deserializeBinaryFromReader);
|
|
@@ -9847,6 +9905,16 @@ proto.gateway.web.v1.TraceEventEnvelope.deserializeBinaryFromReader = function(m
|
|
|
9847
9905
|
reader.readMessage(value,proto.gateway.web.v1.CantonTxAdded.deserializeBinaryFromReader);
|
|
9848
9906
|
msg.setCantonTxAdded(value);
|
|
9849
9907
|
break;
|
|
9908
|
+
case 65:
|
|
9909
|
+
var value = new proto.gateway.web.v1.SpanStarted;
|
|
9910
|
+
reader.readMessage(value,proto.gateway.web.v1.SpanStarted.deserializeBinaryFromReader);
|
|
9911
|
+
msg.setSpanStarted(value);
|
|
9912
|
+
break;
|
|
9913
|
+
case 66:
|
|
9914
|
+
var value = new proto.gateway.web.v1.SpanEnded;
|
|
9915
|
+
reader.readMessage(value,proto.gateway.web.v1.SpanEnded.deserializeBinaryFromReader);
|
|
9916
|
+
msg.setSpanEnded(value);
|
|
9917
|
+
break;
|
|
9850
9918
|
default:
|
|
9851
9919
|
reader.skipField();
|
|
9852
9920
|
break;
|
|
@@ -9948,6 +10016,20 @@ proto.gateway.web.v1.TraceEventEnvelope.serializeBinaryToWriter = function(messa
|
|
|
9948
10016
|
f
|
|
9949
10017
|
);
|
|
9950
10018
|
}
|
|
10019
|
+
f = message.getSpanId();
|
|
10020
|
+
if (f.length > 0) {
|
|
10021
|
+
writer.writeString(
|
|
10022
|
+
13,
|
|
10023
|
+
f
|
|
10024
|
+
);
|
|
10025
|
+
}
|
|
10026
|
+
f = message.getParentSpanId();
|
|
10027
|
+
if (f.length > 0) {
|
|
10028
|
+
writer.writeString(
|
|
10029
|
+
14,
|
|
10030
|
+
f
|
|
10031
|
+
);
|
|
10032
|
+
}
|
|
9951
10033
|
f = message.getTraceStarted();
|
|
9952
10034
|
if (f != null) {
|
|
9953
10035
|
writer.writeMessage(
|
|
@@ -10284,6 +10366,22 @@ proto.gateway.web.v1.TraceEventEnvelope.serializeBinaryToWriter = function(messa
|
|
|
10284
10366
|
proto.gateway.web.v1.CantonTxAdded.serializeBinaryToWriter
|
|
10285
10367
|
);
|
|
10286
10368
|
}
|
|
10369
|
+
f = message.getSpanStarted();
|
|
10370
|
+
if (f != null) {
|
|
10371
|
+
writer.writeMessage(
|
|
10372
|
+
65,
|
|
10373
|
+
f,
|
|
10374
|
+
proto.gateway.web.v1.SpanStarted.serializeBinaryToWriter
|
|
10375
|
+
);
|
|
10376
|
+
}
|
|
10377
|
+
f = message.getSpanEnded();
|
|
10378
|
+
if (f != null) {
|
|
10379
|
+
writer.writeMessage(
|
|
10380
|
+
66,
|
|
10381
|
+
f,
|
|
10382
|
+
proto.gateway.web.v1.SpanEnded.serializeBinaryToWriter
|
|
10383
|
+
);
|
|
10384
|
+
}
|
|
10287
10385
|
};
|
|
10288
10386
|
|
|
10289
10387
|
|
|
@@ -10505,6 +10603,42 @@ proto.gateway.web.v1.TraceEventEnvelope.prototype.setCategory = function(value)
|
|
|
10505
10603
|
};
|
|
10506
10604
|
|
|
10507
10605
|
|
|
10606
|
+
/**
|
|
10607
|
+
* optional string span_id = 13;
|
|
10608
|
+
* @return {string}
|
|
10609
|
+
*/
|
|
10610
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getSpanId = function() {
|
|
10611
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
10612
|
+
};
|
|
10613
|
+
|
|
10614
|
+
|
|
10615
|
+
/**
|
|
10616
|
+
* @param {string} value
|
|
10617
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
10618
|
+
*/
|
|
10619
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setSpanId = function(value) {
|
|
10620
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
10621
|
+
};
|
|
10622
|
+
|
|
10623
|
+
|
|
10624
|
+
/**
|
|
10625
|
+
* optional string parent_span_id = 14;
|
|
10626
|
+
* @return {string}
|
|
10627
|
+
*/
|
|
10628
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getParentSpanId = function() {
|
|
10629
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
10630
|
+
};
|
|
10631
|
+
|
|
10632
|
+
|
|
10633
|
+
/**
|
|
10634
|
+
* @param {string} value
|
|
10635
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
10636
|
+
*/
|
|
10637
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setParentSpanId = function(value) {
|
|
10638
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
10639
|
+
};
|
|
10640
|
+
|
|
10641
|
+
|
|
10508
10642
|
/**
|
|
10509
10643
|
* optional TraceStarted trace_started = 20;
|
|
10510
10644
|
* @return {?proto.gateway.web.v1.TraceStarted}
|
|
@@ -12059,6 +12193,650 @@ proto.gateway.web.v1.TraceEventEnvelope.prototype.hasCantonTxAdded = function()
|
|
|
12059
12193
|
};
|
|
12060
12194
|
|
|
12061
12195
|
|
|
12196
|
+
/**
|
|
12197
|
+
* optional SpanStarted span_started = 65;
|
|
12198
|
+
* @return {?proto.gateway.web.v1.SpanStarted}
|
|
12199
|
+
*/
|
|
12200
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getSpanStarted = function() {
|
|
12201
|
+
return /** @type{?proto.gateway.web.v1.SpanStarted} */ (
|
|
12202
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.SpanStarted, 65));
|
|
12203
|
+
};
|
|
12204
|
+
|
|
12205
|
+
|
|
12206
|
+
/**
|
|
12207
|
+
* @param {?proto.gateway.web.v1.SpanStarted|undefined} value
|
|
12208
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12209
|
+
*/
|
|
12210
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setSpanStarted = function(value) {
|
|
12211
|
+
return jspb.Message.setOneofWrapperField(this, 65, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12212
|
+
};
|
|
12213
|
+
|
|
12214
|
+
|
|
12215
|
+
/**
|
|
12216
|
+
* Clears the message field making it undefined.
|
|
12217
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12218
|
+
*/
|
|
12219
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearSpanStarted = function() {
|
|
12220
|
+
return this.setSpanStarted(undefined);
|
|
12221
|
+
};
|
|
12222
|
+
|
|
12223
|
+
|
|
12224
|
+
/**
|
|
12225
|
+
* Returns whether this field is set.
|
|
12226
|
+
* @return {boolean}
|
|
12227
|
+
*/
|
|
12228
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasSpanStarted = function() {
|
|
12229
|
+
return jspb.Message.getField(this, 65) != null;
|
|
12230
|
+
};
|
|
12231
|
+
|
|
12232
|
+
|
|
12233
|
+
/**
|
|
12234
|
+
* optional SpanEnded span_ended = 66;
|
|
12235
|
+
* @return {?proto.gateway.web.v1.SpanEnded}
|
|
12236
|
+
*/
|
|
12237
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.getSpanEnded = function() {
|
|
12238
|
+
return /** @type{?proto.gateway.web.v1.SpanEnded} */ (
|
|
12239
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.SpanEnded, 66));
|
|
12240
|
+
};
|
|
12241
|
+
|
|
12242
|
+
|
|
12243
|
+
/**
|
|
12244
|
+
* @param {?proto.gateway.web.v1.SpanEnded|undefined} value
|
|
12245
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12246
|
+
*/
|
|
12247
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.setSpanEnded = function(value) {
|
|
12248
|
+
return jspb.Message.setOneofWrapperField(this, 66, proto.gateway.web.v1.TraceEventEnvelope.oneofGroups_[0], value);
|
|
12249
|
+
};
|
|
12250
|
+
|
|
12251
|
+
|
|
12252
|
+
/**
|
|
12253
|
+
* Clears the message field making it undefined.
|
|
12254
|
+
* @return {!proto.gateway.web.v1.TraceEventEnvelope} returns this
|
|
12255
|
+
*/
|
|
12256
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.clearSpanEnded = function() {
|
|
12257
|
+
return this.setSpanEnded(undefined);
|
|
12258
|
+
};
|
|
12259
|
+
|
|
12260
|
+
|
|
12261
|
+
/**
|
|
12262
|
+
* Returns whether this field is set.
|
|
12263
|
+
* @return {boolean}
|
|
12264
|
+
*/
|
|
12265
|
+
proto.gateway.web.v1.TraceEventEnvelope.prototype.hasSpanEnded = function() {
|
|
12266
|
+
return jspb.Message.getField(this, 66) != null;
|
|
12267
|
+
};
|
|
12268
|
+
|
|
12269
|
+
|
|
12270
|
+
|
|
12271
|
+
|
|
12272
|
+
|
|
12273
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12274
|
+
/**
|
|
12275
|
+
* Creates an object representation of this proto.
|
|
12276
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12277
|
+
* Optional fields that are not set will be set to undefined.
|
|
12278
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12279
|
+
* For the list of reserved names please see:
|
|
12280
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12281
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12282
|
+
* JSPB instance for transitional soy proto support:
|
|
12283
|
+
* http://goto/soy-param-migration
|
|
12284
|
+
* @return {!Object}
|
|
12285
|
+
*/
|
|
12286
|
+
proto.gateway.web.v1.SpanStarted.prototype.toObject = function(opt_includeInstance) {
|
|
12287
|
+
return proto.gateway.web.v1.SpanStarted.toObject(opt_includeInstance, this);
|
|
12288
|
+
};
|
|
12289
|
+
|
|
12290
|
+
|
|
12291
|
+
/**
|
|
12292
|
+
* Static version of the {@see toObject} method.
|
|
12293
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12294
|
+
* the JSPB instance for transitional soy proto support:
|
|
12295
|
+
* http://goto/soy-param-migration
|
|
12296
|
+
* @param {!proto.gateway.web.v1.SpanStarted} msg The msg instance to transform.
|
|
12297
|
+
* @return {!Object}
|
|
12298
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12299
|
+
*/
|
|
12300
|
+
proto.gateway.web.v1.SpanStarted.toObject = function(includeInstance, msg) {
|
|
12301
|
+
var f, obj = {
|
|
12302
|
+
spanId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12303
|
+
parentSpanId: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
12304
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12305
|
+
startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12306
|
+
attributesMap: (f = msg.getAttributesMap()) ? f.toObject(includeInstance, undefined) : []
|
|
12307
|
+
};
|
|
12308
|
+
|
|
12309
|
+
if (includeInstance) {
|
|
12310
|
+
obj.$jspbMessageInstance = msg;
|
|
12311
|
+
}
|
|
12312
|
+
return obj;
|
|
12313
|
+
};
|
|
12314
|
+
}
|
|
12315
|
+
|
|
12316
|
+
|
|
12317
|
+
/**
|
|
12318
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12319
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12320
|
+
* @return {!proto.gateway.web.v1.SpanStarted}
|
|
12321
|
+
*/
|
|
12322
|
+
proto.gateway.web.v1.SpanStarted.deserializeBinary = function(bytes) {
|
|
12323
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12324
|
+
var msg = new proto.gateway.web.v1.SpanStarted;
|
|
12325
|
+
return proto.gateway.web.v1.SpanStarted.deserializeBinaryFromReader(msg, reader);
|
|
12326
|
+
};
|
|
12327
|
+
|
|
12328
|
+
|
|
12329
|
+
/**
|
|
12330
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12331
|
+
* given reader into the given message object.
|
|
12332
|
+
* @param {!proto.gateway.web.v1.SpanStarted} msg The message object to deserialize into.
|
|
12333
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12334
|
+
* @return {!proto.gateway.web.v1.SpanStarted}
|
|
12335
|
+
*/
|
|
12336
|
+
proto.gateway.web.v1.SpanStarted.deserializeBinaryFromReader = function(msg, reader) {
|
|
12337
|
+
while (reader.nextField()) {
|
|
12338
|
+
if (reader.isEndGroup()) {
|
|
12339
|
+
break;
|
|
12340
|
+
}
|
|
12341
|
+
var field = reader.getFieldNumber();
|
|
12342
|
+
switch (field) {
|
|
12343
|
+
case 1:
|
|
12344
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12345
|
+
msg.setSpanId(value);
|
|
12346
|
+
break;
|
|
12347
|
+
case 2:
|
|
12348
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12349
|
+
msg.setParentSpanId(value);
|
|
12350
|
+
break;
|
|
12351
|
+
case 3:
|
|
12352
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12353
|
+
msg.setName(value);
|
|
12354
|
+
break;
|
|
12355
|
+
case 4:
|
|
12356
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
12357
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
12358
|
+
msg.setStartTime(value);
|
|
12359
|
+
break;
|
|
12360
|
+
case 5:
|
|
12361
|
+
var value = msg.getAttributesMap();
|
|
12362
|
+
reader.readMessage(value, function(message, reader) {
|
|
12363
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
12364
|
+
});
|
|
12365
|
+
break;
|
|
12366
|
+
default:
|
|
12367
|
+
reader.skipField();
|
|
12368
|
+
break;
|
|
12369
|
+
}
|
|
12370
|
+
}
|
|
12371
|
+
return msg;
|
|
12372
|
+
};
|
|
12373
|
+
|
|
12374
|
+
|
|
12375
|
+
/**
|
|
12376
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12377
|
+
* @return {!Uint8Array}
|
|
12378
|
+
*/
|
|
12379
|
+
proto.gateway.web.v1.SpanStarted.prototype.serializeBinary = function() {
|
|
12380
|
+
var writer = new jspb.BinaryWriter();
|
|
12381
|
+
proto.gateway.web.v1.SpanStarted.serializeBinaryToWriter(this, writer);
|
|
12382
|
+
return writer.getResultBuffer();
|
|
12383
|
+
};
|
|
12384
|
+
|
|
12385
|
+
|
|
12386
|
+
/**
|
|
12387
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12388
|
+
* format), writing to the given BinaryWriter.
|
|
12389
|
+
* @param {!proto.gateway.web.v1.SpanStarted} message
|
|
12390
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12391
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12392
|
+
*/
|
|
12393
|
+
proto.gateway.web.v1.SpanStarted.serializeBinaryToWriter = function(message, writer) {
|
|
12394
|
+
var f = undefined;
|
|
12395
|
+
f = message.getSpanId();
|
|
12396
|
+
if (f.length > 0) {
|
|
12397
|
+
writer.writeString(
|
|
12398
|
+
1,
|
|
12399
|
+
f
|
|
12400
|
+
);
|
|
12401
|
+
}
|
|
12402
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
12403
|
+
if (f != null) {
|
|
12404
|
+
writer.writeString(
|
|
12405
|
+
2,
|
|
12406
|
+
f
|
|
12407
|
+
);
|
|
12408
|
+
}
|
|
12409
|
+
f = message.getName();
|
|
12410
|
+
if (f.length > 0) {
|
|
12411
|
+
writer.writeString(
|
|
12412
|
+
3,
|
|
12413
|
+
f
|
|
12414
|
+
);
|
|
12415
|
+
}
|
|
12416
|
+
f = message.getStartTime();
|
|
12417
|
+
if (f != null) {
|
|
12418
|
+
writer.writeMessage(
|
|
12419
|
+
4,
|
|
12420
|
+
f,
|
|
12421
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
12422
|
+
);
|
|
12423
|
+
}
|
|
12424
|
+
f = message.getAttributesMap(true);
|
|
12425
|
+
if (f && f.getLength() > 0) {
|
|
12426
|
+
f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
12427
|
+
}
|
|
12428
|
+
};
|
|
12429
|
+
|
|
12430
|
+
|
|
12431
|
+
/**
|
|
12432
|
+
* optional string span_id = 1;
|
|
12433
|
+
* @return {string}
|
|
12434
|
+
*/
|
|
12435
|
+
proto.gateway.web.v1.SpanStarted.prototype.getSpanId = function() {
|
|
12436
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12437
|
+
};
|
|
12438
|
+
|
|
12439
|
+
|
|
12440
|
+
/**
|
|
12441
|
+
* @param {string} value
|
|
12442
|
+
* @return {!proto.gateway.web.v1.SpanStarted} returns this
|
|
12443
|
+
*/
|
|
12444
|
+
proto.gateway.web.v1.SpanStarted.prototype.setSpanId = function(value) {
|
|
12445
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12446
|
+
};
|
|
12447
|
+
|
|
12448
|
+
|
|
12449
|
+
/**
|
|
12450
|
+
* optional string parent_span_id = 2;
|
|
12451
|
+
* @return {string}
|
|
12452
|
+
*/
|
|
12453
|
+
proto.gateway.web.v1.SpanStarted.prototype.getParentSpanId = function() {
|
|
12454
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12455
|
+
};
|
|
12456
|
+
|
|
12457
|
+
|
|
12458
|
+
/**
|
|
12459
|
+
* @param {string} value
|
|
12460
|
+
* @return {!proto.gateway.web.v1.SpanStarted} returns this
|
|
12461
|
+
*/
|
|
12462
|
+
proto.gateway.web.v1.SpanStarted.prototype.setParentSpanId = function(value) {
|
|
12463
|
+
return jspb.Message.setField(this, 2, value);
|
|
12464
|
+
};
|
|
12465
|
+
|
|
12466
|
+
|
|
12467
|
+
/**
|
|
12468
|
+
* Clears the field making it undefined.
|
|
12469
|
+
* @return {!proto.gateway.web.v1.SpanStarted} returns this
|
|
12470
|
+
*/
|
|
12471
|
+
proto.gateway.web.v1.SpanStarted.prototype.clearParentSpanId = function() {
|
|
12472
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
12473
|
+
};
|
|
12474
|
+
|
|
12475
|
+
|
|
12476
|
+
/**
|
|
12477
|
+
* Returns whether this field is set.
|
|
12478
|
+
* @return {boolean}
|
|
12479
|
+
*/
|
|
12480
|
+
proto.gateway.web.v1.SpanStarted.prototype.hasParentSpanId = function() {
|
|
12481
|
+
return jspb.Message.getField(this, 2) != null;
|
|
12482
|
+
};
|
|
12483
|
+
|
|
12484
|
+
|
|
12485
|
+
/**
|
|
12486
|
+
* optional string name = 3;
|
|
12487
|
+
* @return {string}
|
|
12488
|
+
*/
|
|
12489
|
+
proto.gateway.web.v1.SpanStarted.prototype.getName = function() {
|
|
12490
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12491
|
+
};
|
|
12492
|
+
|
|
12493
|
+
|
|
12494
|
+
/**
|
|
12495
|
+
* @param {string} value
|
|
12496
|
+
* @return {!proto.gateway.web.v1.SpanStarted} returns this
|
|
12497
|
+
*/
|
|
12498
|
+
proto.gateway.web.v1.SpanStarted.prototype.setName = function(value) {
|
|
12499
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12500
|
+
};
|
|
12501
|
+
|
|
12502
|
+
|
|
12503
|
+
/**
|
|
12504
|
+
* optional google.protobuf.Timestamp start_time = 4;
|
|
12505
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
12506
|
+
*/
|
|
12507
|
+
proto.gateway.web.v1.SpanStarted.prototype.getStartTime = function() {
|
|
12508
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
12509
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
12510
|
+
};
|
|
12511
|
+
|
|
12512
|
+
|
|
12513
|
+
/**
|
|
12514
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
12515
|
+
* @return {!proto.gateway.web.v1.SpanStarted} returns this
|
|
12516
|
+
*/
|
|
12517
|
+
proto.gateway.web.v1.SpanStarted.prototype.setStartTime = function(value) {
|
|
12518
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
12519
|
+
};
|
|
12520
|
+
|
|
12521
|
+
|
|
12522
|
+
/**
|
|
12523
|
+
* Clears the message field making it undefined.
|
|
12524
|
+
* @return {!proto.gateway.web.v1.SpanStarted} returns this
|
|
12525
|
+
*/
|
|
12526
|
+
proto.gateway.web.v1.SpanStarted.prototype.clearStartTime = function() {
|
|
12527
|
+
return this.setStartTime(undefined);
|
|
12528
|
+
};
|
|
12529
|
+
|
|
12530
|
+
|
|
12531
|
+
/**
|
|
12532
|
+
* Returns whether this field is set.
|
|
12533
|
+
* @return {boolean}
|
|
12534
|
+
*/
|
|
12535
|
+
proto.gateway.web.v1.SpanStarted.prototype.hasStartTime = function() {
|
|
12536
|
+
return jspb.Message.getField(this, 4) != null;
|
|
12537
|
+
};
|
|
12538
|
+
|
|
12539
|
+
|
|
12540
|
+
/**
|
|
12541
|
+
* map<string, string> attributes = 5;
|
|
12542
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
12543
|
+
* empty, instead returning `undefined`
|
|
12544
|
+
* @return {!jspb.Map<string,string>}
|
|
12545
|
+
*/
|
|
12546
|
+
proto.gateway.web.v1.SpanStarted.prototype.getAttributesMap = function(opt_noLazyCreate) {
|
|
12547
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
12548
|
+
jspb.Message.getMapField(this, 5, opt_noLazyCreate,
|
|
12549
|
+
null));
|
|
12550
|
+
};
|
|
12551
|
+
|
|
12552
|
+
|
|
12553
|
+
/**
|
|
12554
|
+
* Clears values from the map. The map will be non-null.
|
|
12555
|
+
* @return {!proto.gateway.web.v1.SpanStarted} returns this
|
|
12556
|
+
*/
|
|
12557
|
+
proto.gateway.web.v1.SpanStarted.prototype.clearAttributesMap = function() {
|
|
12558
|
+
this.getAttributesMap().clear();
|
|
12559
|
+
return this;
|
|
12560
|
+
};
|
|
12561
|
+
|
|
12562
|
+
|
|
12563
|
+
|
|
12564
|
+
|
|
12565
|
+
|
|
12566
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12567
|
+
/**
|
|
12568
|
+
* Creates an object representation of this proto.
|
|
12569
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12570
|
+
* Optional fields that are not set will be set to undefined.
|
|
12571
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12572
|
+
* For the list of reserved names please see:
|
|
12573
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12574
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12575
|
+
* JSPB instance for transitional soy proto support:
|
|
12576
|
+
* http://goto/soy-param-migration
|
|
12577
|
+
* @return {!Object}
|
|
12578
|
+
*/
|
|
12579
|
+
proto.gateway.web.v1.SpanEnded.prototype.toObject = function(opt_includeInstance) {
|
|
12580
|
+
return proto.gateway.web.v1.SpanEnded.toObject(opt_includeInstance, this);
|
|
12581
|
+
};
|
|
12582
|
+
|
|
12583
|
+
|
|
12584
|
+
/**
|
|
12585
|
+
* Static version of the {@see toObject} method.
|
|
12586
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12587
|
+
* the JSPB instance for transitional soy proto support:
|
|
12588
|
+
* http://goto/soy-param-migration
|
|
12589
|
+
* @param {!proto.gateway.web.v1.SpanEnded} msg The msg instance to transform.
|
|
12590
|
+
* @return {!Object}
|
|
12591
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12592
|
+
*/
|
|
12593
|
+
proto.gateway.web.v1.SpanEnded.toObject = function(includeInstance, msg) {
|
|
12594
|
+
var f, obj = {
|
|
12595
|
+
spanId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
12596
|
+
endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
12597
|
+
statusCode: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
12598
|
+
statusMessage: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
|
|
12599
|
+
};
|
|
12600
|
+
|
|
12601
|
+
if (includeInstance) {
|
|
12602
|
+
obj.$jspbMessageInstance = msg;
|
|
12603
|
+
}
|
|
12604
|
+
return obj;
|
|
12605
|
+
};
|
|
12606
|
+
}
|
|
12607
|
+
|
|
12608
|
+
|
|
12609
|
+
/**
|
|
12610
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12611
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12612
|
+
* @return {!proto.gateway.web.v1.SpanEnded}
|
|
12613
|
+
*/
|
|
12614
|
+
proto.gateway.web.v1.SpanEnded.deserializeBinary = function(bytes) {
|
|
12615
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12616
|
+
var msg = new proto.gateway.web.v1.SpanEnded;
|
|
12617
|
+
return proto.gateway.web.v1.SpanEnded.deserializeBinaryFromReader(msg, reader);
|
|
12618
|
+
};
|
|
12619
|
+
|
|
12620
|
+
|
|
12621
|
+
/**
|
|
12622
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12623
|
+
* given reader into the given message object.
|
|
12624
|
+
* @param {!proto.gateway.web.v1.SpanEnded} msg The message object to deserialize into.
|
|
12625
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12626
|
+
* @return {!proto.gateway.web.v1.SpanEnded}
|
|
12627
|
+
*/
|
|
12628
|
+
proto.gateway.web.v1.SpanEnded.deserializeBinaryFromReader = function(msg, reader) {
|
|
12629
|
+
while (reader.nextField()) {
|
|
12630
|
+
if (reader.isEndGroup()) {
|
|
12631
|
+
break;
|
|
12632
|
+
}
|
|
12633
|
+
var field = reader.getFieldNumber();
|
|
12634
|
+
switch (field) {
|
|
12635
|
+
case 1:
|
|
12636
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12637
|
+
msg.setSpanId(value);
|
|
12638
|
+
break;
|
|
12639
|
+
case 2:
|
|
12640
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
12641
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
12642
|
+
msg.setEndTime(value);
|
|
12643
|
+
break;
|
|
12644
|
+
case 3:
|
|
12645
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12646
|
+
msg.setStatusCode(value);
|
|
12647
|
+
break;
|
|
12648
|
+
case 4:
|
|
12649
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12650
|
+
msg.setStatusMessage(value);
|
|
12651
|
+
break;
|
|
12652
|
+
default:
|
|
12653
|
+
reader.skipField();
|
|
12654
|
+
break;
|
|
12655
|
+
}
|
|
12656
|
+
}
|
|
12657
|
+
return msg;
|
|
12658
|
+
};
|
|
12659
|
+
|
|
12660
|
+
|
|
12661
|
+
/**
|
|
12662
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12663
|
+
* @return {!Uint8Array}
|
|
12664
|
+
*/
|
|
12665
|
+
proto.gateway.web.v1.SpanEnded.prototype.serializeBinary = function() {
|
|
12666
|
+
var writer = new jspb.BinaryWriter();
|
|
12667
|
+
proto.gateway.web.v1.SpanEnded.serializeBinaryToWriter(this, writer);
|
|
12668
|
+
return writer.getResultBuffer();
|
|
12669
|
+
};
|
|
12670
|
+
|
|
12671
|
+
|
|
12672
|
+
/**
|
|
12673
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12674
|
+
* format), writing to the given BinaryWriter.
|
|
12675
|
+
* @param {!proto.gateway.web.v1.SpanEnded} message
|
|
12676
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12677
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12678
|
+
*/
|
|
12679
|
+
proto.gateway.web.v1.SpanEnded.serializeBinaryToWriter = function(message, writer) {
|
|
12680
|
+
var f = undefined;
|
|
12681
|
+
f = message.getSpanId();
|
|
12682
|
+
if (f.length > 0) {
|
|
12683
|
+
writer.writeString(
|
|
12684
|
+
1,
|
|
12685
|
+
f
|
|
12686
|
+
);
|
|
12687
|
+
}
|
|
12688
|
+
f = message.getEndTime();
|
|
12689
|
+
if (f != null) {
|
|
12690
|
+
writer.writeMessage(
|
|
12691
|
+
2,
|
|
12692
|
+
f,
|
|
12693
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
12694
|
+
);
|
|
12695
|
+
}
|
|
12696
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
12697
|
+
if (f != null) {
|
|
12698
|
+
writer.writeString(
|
|
12699
|
+
3,
|
|
12700
|
+
f
|
|
12701
|
+
);
|
|
12702
|
+
}
|
|
12703
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
12704
|
+
if (f != null) {
|
|
12705
|
+
writer.writeString(
|
|
12706
|
+
4,
|
|
12707
|
+
f
|
|
12708
|
+
);
|
|
12709
|
+
}
|
|
12710
|
+
};
|
|
12711
|
+
|
|
12712
|
+
|
|
12713
|
+
/**
|
|
12714
|
+
* optional string span_id = 1;
|
|
12715
|
+
* @return {string}
|
|
12716
|
+
*/
|
|
12717
|
+
proto.gateway.web.v1.SpanEnded.prototype.getSpanId = function() {
|
|
12718
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12719
|
+
};
|
|
12720
|
+
|
|
12721
|
+
|
|
12722
|
+
/**
|
|
12723
|
+
* @param {string} value
|
|
12724
|
+
* @return {!proto.gateway.web.v1.SpanEnded} returns this
|
|
12725
|
+
*/
|
|
12726
|
+
proto.gateway.web.v1.SpanEnded.prototype.setSpanId = function(value) {
|
|
12727
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12728
|
+
};
|
|
12729
|
+
|
|
12730
|
+
|
|
12731
|
+
/**
|
|
12732
|
+
* optional google.protobuf.Timestamp end_time = 2;
|
|
12733
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
12734
|
+
*/
|
|
12735
|
+
proto.gateway.web.v1.SpanEnded.prototype.getEndTime = function() {
|
|
12736
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
12737
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
12738
|
+
};
|
|
12739
|
+
|
|
12740
|
+
|
|
12741
|
+
/**
|
|
12742
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
12743
|
+
* @return {!proto.gateway.web.v1.SpanEnded} returns this
|
|
12744
|
+
*/
|
|
12745
|
+
proto.gateway.web.v1.SpanEnded.prototype.setEndTime = function(value) {
|
|
12746
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
12747
|
+
};
|
|
12748
|
+
|
|
12749
|
+
|
|
12750
|
+
/**
|
|
12751
|
+
* Clears the message field making it undefined.
|
|
12752
|
+
* @return {!proto.gateway.web.v1.SpanEnded} returns this
|
|
12753
|
+
*/
|
|
12754
|
+
proto.gateway.web.v1.SpanEnded.prototype.clearEndTime = function() {
|
|
12755
|
+
return this.setEndTime(undefined);
|
|
12756
|
+
};
|
|
12757
|
+
|
|
12758
|
+
|
|
12759
|
+
/**
|
|
12760
|
+
* Returns whether this field is set.
|
|
12761
|
+
* @return {boolean}
|
|
12762
|
+
*/
|
|
12763
|
+
proto.gateway.web.v1.SpanEnded.prototype.hasEndTime = function() {
|
|
12764
|
+
return jspb.Message.getField(this, 2) != null;
|
|
12765
|
+
};
|
|
12766
|
+
|
|
12767
|
+
|
|
12768
|
+
/**
|
|
12769
|
+
* optional string status_code = 3;
|
|
12770
|
+
* @return {string}
|
|
12771
|
+
*/
|
|
12772
|
+
proto.gateway.web.v1.SpanEnded.prototype.getStatusCode = function() {
|
|
12773
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12774
|
+
};
|
|
12775
|
+
|
|
12776
|
+
|
|
12777
|
+
/**
|
|
12778
|
+
* @param {string} value
|
|
12779
|
+
* @return {!proto.gateway.web.v1.SpanEnded} returns this
|
|
12780
|
+
*/
|
|
12781
|
+
proto.gateway.web.v1.SpanEnded.prototype.setStatusCode = function(value) {
|
|
12782
|
+
return jspb.Message.setField(this, 3, value);
|
|
12783
|
+
};
|
|
12784
|
+
|
|
12785
|
+
|
|
12786
|
+
/**
|
|
12787
|
+
* Clears the field making it undefined.
|
|
12788
|
+
* @return {!proto.gateway.web.v1.SpanEnded} returns this
|
|
12789
|
+
*/
|
|
12790
|
+
proto.gateway.web.v1.SpanEnded.prototype.clearStatusCode = function() {
|
|
12791
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
12792
|
+
};
|
|
12793
|
+
|
|
12794
|
+
|
|
12795
|
+
/**
|
|
12796
|
+
* Returns whether this field is set.
|
|
12797
|
+
* @return {boolean}
|
|
12798
|
+
*/
|
|
12799
|
+
proto.gateway.web.v1.SpanEnded.prototype.hasStatusCode = function() {
|
|
12800
|
+
return jspb.Message.getField(this, 3) != null;
|
|
12801
|
+
};
|
|
12802
|
+
|
|
12803
|
+
|
|
12804
|
+
/**
|
|
12805
|
+
* optional string status_message = 4;
|
|
12806
|
+
* @return {string}
|
|
12807
|
+
*/
|
|
12808
|
+
proto.gateway.web.v1.SpanEnded.prototype.getStatusMessage = function() {
|
|
12809
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
12810
|
+
};
|
|
12811
|
+
|
|
12812
|
+
|
|
12813
|
+
/**
|
|
12814
|
+
* @param {string} value
|
|
12815
|
+
* @return {!proto.gateway.web.v1.SpanEnded} returns this
|
|
12816
|
+
*/
|
|
12817
|
+
proto.gateway.web.v1.SpanEnded.prototype.setStatusMessage = function(value) {
|
|
12818
|
+
return jspb.Message.setField(this, 4, value);
|
|
12819
|
+
};
|
|
12820
|
+
|
|
12821
|
+
|
|
12822
|
+
/**
|
|
12823
|
+
* Clears the field making it undefined.
|
|
12824
|
+
* @return {!proto.gateway.web.v1.SpanEnded} returns this
|
|
12825
|
+
*/
|
|
12826
|
+
proto.gateway.web.v1.SpanEnded.prototype.clearStatusMessage = function() {
|
|
12827
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
12828
|
+
};
|
|
12829
|
+
|
|
12830
|
+
|
|
12831
|
+
/**
|
|
12832
|
+
* Returns whether this field is set.
|
|
12833
|
+
* @return {boolean}
|
|
12834
|
+
*/
|
|
12835
|
+
proto.gateway.web.v1.SpanEnded.prototype.hasStatusMessage = function() {
|
|
12836
|
+
return jspb.Message.getField(this, 4) != null;
|
|
12837
|
+
};
|
|
12838
|
+
|
|
12839
|
+
|
|
12062
12840
|
|
|
12063
12841
|
|
|
12064
12842
|
|
|
@@ -28514,7 +29292,9 @@ proto.gateway.web.v1.TraceEventType = {
|
|
|
28514
29292
|
TRACE_EVENT_TYPE_RELAY_TRACKING_FINISHED: 51,
|
|
28515
29293
|
TRACE_EVENT_TYPE_RELAY_NOT_FOUND: 52,
|
|
28516
29294
|
TRACE_EVENT_TYPE_RULE_MATCH_ADDED: 53,
|
|
28517
|
-
TRACE_EVENT_TYPE_CANTON_TRANSACTION: 54
|
|
29295
|
+
TRACE_EVENT_TYPE_CANTON_TRANSACTION: 54,
|
|
29296
|
+
TRACE_EVENT_TYPE_SPAN_STARTED: 55,
|
|
29297
|
+
TRACE_EVENT_TYPE_SPAN_ENDED: 56
|
|
28518
29298
|
};
|
|
28519
29299
|
|
|
28520
29300
|
/**
|