@miradorlabs/web-grpc 4.31.0 → 4.32.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.
|
@@ -129,6 +129,8 @@ goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse', n
|
|
|
129
129
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreTrendRequest', null, global);
|
|
130
130
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreTrendResponse', null, global);
|
|
131
131
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionSummaryRequest', null, global);
|
|
132
|
+
goog.exportSymbol('proto.gateway.web.v1.GetSessionTotalsTrendRequest', null, global);
|
|
133
|
+
goog.exportSymbol('proto.gateway.web.v1.GetSessionTotalsTrendResponse', null, global);
|
|
132
134
|
goog.exportSymbol('proto.gateway.web.v1.GitActivitiesSnapshotCompleted', null, global);
|
|
133
135
|
goog.exportSymbol('proto.gateway.web.v1.GitActivityFrame', null, global);
|
|
134
136
|
goog.exportSymbol('proto.gateway.web.v1.GitActivityFrame.FrameCase', null, global);
|
|
@@ -227,6 +229,7 @@ goog.exportSymbol('proto.gateway.web.v1.SessionSort', null, global);
|
|
|
227
229
|
goog.exportSymbol('proto.gateway.web.v1.SessionTimelinePoint', null, global);
|
|
228
230
|
goog.exportSymbol('proto.gateway.web.v1.SessionTokenTimeline', null, global);
|
|
229
231
|
goog.exportSymbol('proto.gateway.web.v1.SessionTokenTimelineRequest', null, global);
|
|
232
|
+
goog.exportSymbol('proto.gateway.web.v1.SessionTotalsBucket', null, global);
|
|
230
233
|
goog.exportSymbol('proto.gateway.web.v1.SessionUsageBucket', null, global);
|
|
231
234
|
goog.exportSymbol('proto.gateway.web.v1.SessionUsageTrendRequest', null, global);
|
|
232
235
|
goog.exportSymbol('proto.gateway.web.v1.SessionUsageTrendResponse', null, global);
|
|
@@ -2861,6 +2864,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2861
2864
|
*/
|
|
2862
2865
|
proto.gateway.web.v1.SessionGitBucket.displayName = 'proto.gateway.web.v1.SessionGitBucket';
|
|
2863
2866
|
}
|
|
2867
|
+
/**
|
|
2868
|
+
* Generated by JsPbCodeGenerator.
|
|
2869
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2870
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2871
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2872
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2873
|
+
* valid.
|
|
2874
|
+
* @extends {jspb.Message}
|
|
2875
|
+
* @constructor
|
|
2876
|
+
*/
|
|
2877
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest = function(opt_data) {
|
|
2878
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2879
|
+
};
|
|
2880
|
+
goog.inherits(proto.gateway.web.v1.GetSessionTotalsTrendRequest, jspb.Message);
|
|
2881
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2882
|
+
/**
|
|
2883
|
+
* @public
|
|
2884
|
+
* @override
|
|
2885
|
+
*/
|
|
2886
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.displayName = 'proto.gateway.web.v1.GetSessionTotalsTrendRequest';
|
|
2887
|
+
}
|
|
2888
|
+
/**
|
|
2889
|
+
* Generated by JsPbCodeGenerator.
|
|
2890
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2891
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2892
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2893
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2894
|
+
* valid.
|
|
2895
|
+
* @extends {jspb.Message}
|
|
2896
|
+
* @constructor
|
|
2897
|
+
*/
|
|
2898
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse = function(opt_data) {
|
|
2899
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GetSessionTotalsTrendResponse.repeatedFields_, null);
|
|
2900
|
+
};
|
|
2901
|
+
goog.inherits(proto.gateway.web.v1.GetSessionTotalsTrendResponse, jspb.Message);
|
|
2902
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2903
|
+
/**
|
|
2904
|
+
* @public
|
|
2905
|
+
* @override
|
|
2906
|
+
*/
|
|
2907
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.displayName = 'proto.gateway.web.v1.GetSessionTotalsTrendResponse';
|
|
2908
|
+
}
|
|
2909
|
+
/**
|
|
2910
|
+
* Generated by JsPbCodeGenerator.
|
|
2911
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2912
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2913
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2914
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2915
|
+
* valid.
|
|
2916
|
+
* @extends {jspb.Message}
|
|
2917
|
+
* @constructor
|
|
2918
|
+
*/
|
|
2919
|
+
proto.gateway.web.v1.SessionTotalsBucket = function(opt_data) {
|
|
2920
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2921
|
+
};
|
|
2922
|
+
goog.inherits(proto.gateway.web.v1.SessionTotalsBucket, jspb.Message);
|
|
2923
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2924
|
+
/**
|
|
2925
|
+
* @public
|
|
2926
|
+
* @override
|
|
2927
|
+
*/
|
|
2928
|
+
proto.gateway.web.v1.SessionTotalsBucket.displayName = 'proto.gateway.web.v1.SessionTotalsBucket';
|
|
2929
|
+
}
|
|
2864
2930
|
/**
|
|
2865
2931
|
* Generated by JsPbCodeGenerator.
|
|
2866
2932
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -41491,6 +41557,879 @@ proto.gateway.web.v1.SessionGitBucket.prototype.setCount = function(value) {
|
|
|
41491
41557
|
|
|
41492
41558
|
|
|
41493
41559
|
|
|
41560
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41561
|
+
/**
|
|
41562
|
+
* Creates an object representation of this proto.
|
|
41563
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41564
|
+
* Optional fields that are not set will be set to undefined.
|
|
41565
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41566
|
+
* For the list of reserved names please see:
|
|
41567
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41568
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41569
|
+
* JSPB instance for transitional soy proto support:
|
|
41570
|
+
* http://goto/soy-param-migration
|
|
41571
|
+
* @return {!Object}
|
|
41572
|
+
*/
|
|
41573
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.toObject = function(opt_includeInstance) {
|
|
41574
|
+
return proto.gateway.web.v1.GetSessionTotalsTrendRequest.toObject(opt_includeInstance, this);
|
|
41575
|
+
};
|
|
41576
|
+
|
|
41577
|
+
|
|
41578
|
+
/**
|
|
41579
|
+
* Static version of the {@see toObject} method.
|
|
41580
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41581
|
+
* the JSPB instance for transitional soy proto support:
|
|
41582
|
+
* http://goto/soy-param-migration
|
|
41583
|
+
* @param {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} msg The msg instance to transform.
|
|
41584
|
+
* @return {!Object}
|
|
41585
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41586
|
+
*/
|
|
41587
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.toObject = function(includeInstance, msg) {
|
|
41588
|
+
var f, obj = {
|
|
41589
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
41590
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
41591
|
+
activeAfter: (f = msg.getActiveAfter()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
41592
|
+
timeInterval: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
41593
|
+
timeZone: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
41594
|
+
};
|
|
41595
|
+
|
|
41596
|
+
if (includeInstance) {
|
|
41597
|
+
obj.$jspbMessageInstance = msg;
|
|
41598
|
+
}
|
|
41599
|
+
return obj;
|
|
41600
|
+
};
|
|
41601
|
+
}
|
|
41602
|
+
|
|
41603
|
+
|
|
41604
|
+
/**
|
|
41605
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41606
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
41607
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest}
|
|
41608
|
+
*/
|
|
41609
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.deserializeBinary = function(bytes) {
|
|
41610
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41611
|
+
var msg = new proto.gateway.web.v1.GetSessionTotalsTrendRequest;
|
|
41612
|
+
return proto.gateway.web.v1.GetSessionTotalsTrendRequest.deserializeBinaryFromReader(msg, reader);
|
|
41613
|
+
};
|
|
41614
|
+
|
|
41615
|
+
|
|
41616
|
+
/**
|
|
41617
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41618
|
+
* given reader into the given message object.
|
|
41619
|
+
* @param {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} msg The message object to deserialize into.
|
|
41620
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41621
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest}
|
|
41622
|
+
*/
|
|
41623
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
41624
|
+
while (reader.nextField()) {
|
|
41625
|
+
if (reader.isEndGroup()) {
|
|
41626
|
+
break;
|
|
41627
|
+
}
|
|
41628
|
+
var field = reader.getFieldNumber();
|
|
41629
|
+
switch (field) {
|
|
41630
|
+
case 1:
|
|
41631
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
41632
|
+
msg.setOrganizationId(value);
|
|
41633
|
+
break;
|
|
41634
|
+
case 2:
|
|
41635
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
41636
|
+
msg.setProjectId(value);
|
|
41637
|
+
break;
|
|
41638
|
+
case 3:
|
|
41639
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
41640
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
41641
|
+
msg.setActiveAfter(value);
|
|
41642
|
+
break;
|
|
41643
|
+
case 4:
|
|
41644
|
+
var value = /** @type {!proto.gateway.web.v1.AnalyticsTimeInterval} */ (reader.readEnum());
|
|
41645
|
+
msg.setTimeInterval(value);
|
|
41646
|
+
break;
|
|
41647
|
+
case 5:
|
|
41648
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
41649
|
+
msg.setTimeZone(value);
|
|
41650
|
+
break;
|
|
41651
|
+
default:
|
|
41652
|
+
reader.skipField();
|
|
41653
|
+
break;
|
|
41654
|
+
}
|
|
41655
|
+
}
|
|
41656
|
+
return msg;
|
|
41657
|
+
};
|
|
41658
|
+
|
|
41659
|
+
|
|
41660
|
+
/**
|
|
41661
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41662
|
+
* @return {!Uint8Array}
|
|
41663
|
+
*/
|
|
41664
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.serializeBinary = function() {
|
|
41665
|
+
var writer = new jspb.BinaryWriter();
|
|
41666
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.serializeBinaryToWriter(this, writer);
|
|
41667
|
+
return writer.getResultBuffer();
|
|
41668
|
+
};
|
|
41669
|
+
|
|
41670
|
+
|
|
41671
|
+
/**
|
|
41672
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41673
|
+
* format), writing to the given BinaryWriter.
|
|
41674
|
+
* @param {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} message
|
|
41675
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41676
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41677
|
+
*/
|
|
41678
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.serializeBinaryToWriter = function(message, writer) {
|
|
41679
|
+
var f = undefined;
|
|
41680
|
+
f = message.getOrganizationId();
|
|
41681
|
+
if (f.length > 0) {
|
|
41682
|
+
writer.writeString(
|
|
41683
|
+
1,
|
|
41684
|
+
f
|
|
41685
|
+
);
|
|
41686
|
+
}
|
|
41687
|
+
f = message.getProjectId();
|
|
41688
|
+
if (f.length > 0) {
|
|
41689
|
+
writer.writeString(
|
|
41690
|
+
2,
|
|
41691
|
+
f
|
|
41692
|
+
);
|
|
41693
|
+
}
|
|
41694
|
+
f = message.getActiveAfter();
|
|
41695
|
+
if (f != null) {
|
|
41696
|
+
writer.writeMessage(
|
|
41697
|
+
3,
|
|
41698
|
+
f,
|
|
41699
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
41700
|
+
);
|
|
41701
|
+
}
|
|
41702
|
+
f = message.getTimeInterval();
|
|
41703
|
+
if (f !== 0.0) {
|
|
41704
|
+
writer.writeEnum(
|
|
41705
|
+
4,
|
|
41706
|
+
f
|
|
41707
|
+
);
|
|
41708
|
+
}
|
|
41709
|
+
f = message.getTimeZone();
|
|
41710
|
+
if (f.length > 0) {
|
|
41711
|
+
writer.writeString(
|
|
41712
|
+
5,
|
|
41713
|
+
f
|
|
41714
|
+
);
|
|
41715
|
+
}
|
|
41716
|
+
};
|
|
41717
|
+
|
|
41718
|
+
|
|
41719
|
+
/**
|
|
41720
|
+
* optional string organization_id = 1;
|
|
41721
|
+
* @return {string}
|
|
41722
|
+
*/
|
|
41723
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.getOrganizationId = function() {
|
|
41724
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
41725
|
+
};
|
|
41726
|
+
|
|
41727
|
+
|
|
41728
|
+
/**
|
|
41729
|
+
* @param {string} value
|
|
41730
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} returns this
|
|
41731
|
+
*/
|
|
41732
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.setOrganizationId = function(value) {
|
|
41733
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
41734
|
+
};
|
|
41735
|
+
|
|
41736
|
+
|
|
41737
|
+
/**
|
|
41738
|
+
* optional string project_id = 2;
|
|
41739
|
+
* @return {string}
|
|
41740
|
+
*/
|
|
41741
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.getProjectId = function() {
|
|
41742
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
41743
|
+
};
|
|
41744
|
+
|
|
41745
|
+
|
|
41746
|
+
/**
|
|
41747
|
+
* @param {string} value
|
|
41748
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} returns this
|
|
41749
|
+
*/
|
|
41750
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.setProjectId = function(value) {
|
|
41751
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
41752
|
+
};
|
|
41753
|
+
|
|
41754
|
+
|
|
41755
|
+
/**
|
|
41756
|
+
* optional google.protobuf.Timestamp active_after = 3;
|
|
41757
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
41758
|
+
*/
|
|
41759
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.getActiveAfter = function() {
|
|
41760
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
41761
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
41762
|
+
};
|
|
41763
|
+
|
|
41764
|
+
|
|
41765
|
+
/**
|
|
41766
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
41767
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} returns this
|
|
41768
|
+
*/
|
|
41769
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.setActiveAfter = function(value) {
|
|
41770
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
41771
|
+
};
|
|
41772
|
+
|
|
41773
|
+
|
|
41774
|
+
/**
|
|
41775
|
+
* Clears the message field making it undefined.
|
|
41776
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} returns this
|
|
41777
|
+
*/
|
|
41778
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.clearActiveAfter = function() {
|
|
41779
|
+
return this.setActiveAfter(undefined);
|
|
41780
|
+
};
|
|
41781
|
+
|
|
41782
|
+
|
|
41783
|
+
/**
|
|
41784
|
+
* Returns whether this field is set.
|
|
41785
|
+
* @return {boolean}
|
|
41786
|
+
*/
|
|
41787
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.hasActiveAfter = function() {
|
|
41788
|
+
return jspb.Message.getField(this, 3) != null;
|
|
41789
|
+
};
|
|
41790
|
+
|
|
41791
|
+
|
|
41792
|
+
/**
|
|
41793
|
+
* optional AnalyticsTimeInterval time_interval = 4;
|
|
41794
|
+
* @return {!proto.gateway.web.v1.AnalyticsTimeInterval}
|
|
41795
|
+
*/
|
|
41796
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.getTimeInterval = function() {
|
|
41797
|
+
return /** @type {!proto.gateway.web.v1.AnalyticsTimeInterval} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
41798
|
+
};
|
|
41799
|
+
|
|
41800
|
+
|
|
41801
|
+
/**
|
|
41802
|
+
* @param {!proto.gateway.web.v1.AnalyticsTimeInterval} value
|
|
41803
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} returns this
|
|
41804
|
+
*/
|
|
41805
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.setTimeInterval = function(value) {
|
|
41806
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
41807
|
+
};
|
|
41808
|
+
|
|
41809
|
+
|
|
41810
|
+
/**
|
|
41811
|
+
* optional string time_zone = 5;
|
|
41812
|
+
* @return {string}
|
|
41813
|
+
*/
|
|
41814
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.getTimeZone = function() {
|
|
41815
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
41816
|
+
};
|
|
41817
|
+
|
|
41818
|
+
|
|
41819
|
+
/**
|
|
41820
|
+
* @param {string} value
|
|
41821
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendRequest} returns this
|
|
41822
|
+
*/
|
|
41823
|
+
proto.gateway.web.v1.GetSessionTotalsTrendRequest.prototype.setTimeZone = function(value) {
|
|
41824
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
41825
|
+
};
|
|
41826
|
+
|
|
41827
|
+
|
|
41828
|
+
|
|
41829
|
+
/**
|
|
41830
|
+
* List of repeated fields within this message type.
|
|
41831
|
+
* @private {!Array<number>}
|
|
41832
|
+
* @const
|
|
41833
|
+
*/
|
|
41834
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.repeatedFields_ = [2];
|
|
41835
|
+
|
|
41836
|
+
|
|
41837
|
+
|
|
41838
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41839
|
+
/**
|
|
41840
|
+
* Creates an object representation of this proto.
|
|
41841
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41842
|
+
* Optional fields that are not set will be set to undefined.
|
|
41843
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41844
|
+
* For the list of reserved names please see:
|
|
41845
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41846
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41847
|
+
* JSPB instance for transitional soy proto support:
|
|
41848
|
+
* http://goto/soy-param-migration
|
|
41849
|
+
* @return {!Object}
|
|
41850
|
+
*/
|
|
41851
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.toObject = function(opt_includeInstance) {
|
|
41852
|
+
return proto.gateway.web.v1.GetSessionTotalsTrendResponse.toObject(opt_includeInstance, this);
|
|
41853
|
+
};
|
|
41854
|
+
|
|
41855
|
+
|
|
41856
|
+
/**
|
|
41857
|
+
* Static version of the {@see toObject} method.
|
|
41858
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41859
|
+
* the JSPB instance for transitional soy proto support:
|
|
41860
|
+
* http://goto/soy-param-migration
|
|
41861
|
+
* @param {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} msg The msg instance to transform.
|
|
41862
|
+
* @return {!Object}
|
|
41863
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41864
|
+
*/
|
|
41865
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.toObject = function(includeInstance, msg) {
|
|
41866
|
+
var f, obj = {
|
|
41867
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
41868
|
+
bucketsList: jspb.Message.toObjectList(msg.getBucketsList(),
|
|
41869
|
+
proto.gateway.web.v1.SessionTotalsBucket.toObject, includeInstance),
|
|
41870
|
+
timeZone: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
41871
|
+
};
|
|
41872
|
+
|
|
41873
|
+
if (includeInstance) {
|
|
41874
|
+
obj.$jspbMessageInstance = msg;
|
|
41875
|
+
}
|
|
41876
|
+
return obj;
|
|
41877
|
+
};
|
|
41878
|
+
}
|
|
41879
|
+
|
|
41880
|
+
|
|
41881
|
+
/**
|
|
41882
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41883
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
41884
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendResponse}
|
|
41885
|
+
*/
|
|
41886
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.deserializeBinary = function(bytes) {
|
|
41887
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41888
|
+
var msg = new proto.gateway.web.v1.GetSessionTotalsTrendResponse;
|
|
41889
|
+
return proto.gateway.web.v1.GetSessionTotalsTrendResponse.deserializeBinaryFromReader(msg, reader);
|
|
41890
|
+
};
|
|
41891
|
+
|
|
41892
|
+
|
|
41893
|
+
/**
|
|
41894
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41895
|
+
* given reader into the given message object.
|
|
41896
|
+
* @param {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} msg The message object to deserialize into.
|
|
41897
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41898
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendResponse}
|
|
41899
|
+
*/
|
|
41900
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
41901
|
+
while (reader.nextField()) {
|
|
41902
|
+
if (reader.isEndGroup()) {
|
|
41903
|
+
break;
|
|
41904
|
+
}
|
|
41905
|
+
var field = reader.getFieldNumber();
|
|
41906
|
+
switch (field) {
|
|
41907
|
+
case 1:
|
|
41908
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
41909
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
41910
|
+
msg.setStatus(value);
|
|
41911
|
+
break;
|
|
41912
|
+
case 2:
|
|
41913
|
+
var value = new proto.gateway.web.v1.SessionTotalsBucket;
|
|
41914
|
+
reader.readMessage(value,proto.gateway.web.v1.SessionTotalsBucket.deserializeBinaryFromReader);
|
|
41915
|
+
msg.addBuckets(value);
|
|
41916
|
+
break;
|
|
41917
|
+
case 3:
|
|
41918
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
41919
|
+
msg.setTimeZone(value);
|
|
41920
|
+
break;
|
|
41921
|
+
default:
|
|
41922
|
+
reader.skipField();
|
|
41923
|
+
break;
|
|
41924
|
+
}
|
|
41925
|
+
}
|
|
41926
|
+
return msg;
|
|
41927
|
+
};
|
|
41928
|
+
|
|
41929
|
+
|
|
41930
|
+
/**
|
|
41931
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41932
|
+
* @return {!Uint8Array}
|
|
41933
|
+
*/
|
|
41934
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.serializeBinary = function() {
|
|
41935
|
+
var writer = new jspb.BinaryWriter();
|
|
41936
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.serializeBinaryToWriter(this, writer);
|
|
41937
|
+
return writer.getResultBuffer();
|
|
41938
|
+
};
|
|
41939
|
+
|
|
41940
|
+
|
|
41941
|
+
/**
|
|
41942
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41943
|
+
* format), writing to the given BinaryWriter.
|
|
41944
|
+
* @param {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} message
|
|
41945
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41946
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41947
|
+
*/
|
|
41948
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.serializeBinaryToWriter = function(message, writer) {
|
|
41949
|
+
var f = undefined;
|
|
41950
|
+
f = message.getStatus();
|
|
41951
|
+
if (f != null) {
|
|
41952
|
+
writer.writeMessage(
|
|
41953
|
+
1,
|
|
41954
|
+
f,
|
|
41955
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
41956
|
+
);
|
|
41957
|
+
}
|
|
41958
|
+
f = message.getBucketsList();
|
|
41959
|
+
if (f.length > 0) {
|
|
41960
|
+
writer.writeRepeatedMessage(
|
|
41961
|
+
2,
|
|
41962
|
+
f,
|
|
41963
|
+
proto.gateway.web.v1.SessionTotalsBucket.serializeBinaryToWriter
|
|
41964
|
+
);
|
|
41965
|
+
}
|
|
41966
|
+
f = message.getTimeZone();
|
|
41967
|
+
if (f.length > 0) {
|
|
41968
|
+
writer.writeString(
|
|
41969
|
+
3,
|
|
41970
|
+
f
|
|
41971
|
+
);
|
|
41972
|
+
}
|
|
41973
|
+
};
|
|
41974
|
+
|
|
41975
|
+
|
|
41976
|
+
/**
|
|
41977
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
41978
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
41979
|
+
*/
|
|
41980
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.getStatus = function() {
|
|
41981
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
41982
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
41983
|
+
};
|
|
41984
|
+
|
|
41985
|
+
|
|
41986
|
+
/**
|
|
41987
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
41988
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} returns this
|
|
41989
|
+
*/
|
|
41990
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.setStatus = function(value) {
|
|
41991
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
41992
|
+
};
|
|
41993
|
+
|
|
41994
|
+
|
|
41995
|
+
/**
|
|
41996
|
+
* Clears the message field making it undefined.
|
|
41997
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} returns this
|
|
41998
|
+
*/
|
|
41999
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.clearStatus = function() {
|
|
42000
|
+
return this.setStatus(undefined);
|
|
42001
|
+
};
|
|
42002
|
+
|
|
42003
|
+
|
|
42004
|
+
/**
|
|
42005
|
+
* Returns whether this field is set.
|
|
42006
|
+
* @return {boolean}
|
|
42007
|
+
*/
|
|
42008
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.hasStatus = function() {
|
|
42009
|
+
return jspb.Message.getField(this, 1) != null;
|
|
42010
|
+
};
|
|
42011
|
+
|
|
42012
|
+
|
|
42013
|
+
/**
|
|
42014
|
+
* repeated SessionTotalsBucket buckets = 2;
|
|
42015
|
+
* @return {!Array<!proto.gateway.web.v1.SessionTotalsBucket>}
|
|
42016
|
+
*/
|
|
42017
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.getBucketsList = function() {
|
|
42018
|
+
return /** @type{!Array<!proto.gateway.web.v1.SessionTotalsBucket>} */ (
|
|
42019
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SessionTotalsBucket, 2));
|
|
42020
|
+
};
|
|
42021
|
+
|
|
42022
|
+
|
|
42023
|
+
/**
|
|
42024
|
+
* @param {!Array<!proto.gateway.web.v1.SessionTotalsBucket>} value
|
|
42025
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} returns this
|
|
42026
|
+
*/
|
|
42027
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.setBucketsList = function(value) {
|
|
42028
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
42029
|
+
};
|
|
42030
|
+
|
|
42031
|
+
|
|
42032
|
+
/**
|
|
42033
|
+
* @param {!proto.gateway.web.v1.SessionTotalsBucket=} opt_value
|
|
42034
|
+
* @param {number=} opt_index
|
|
42035
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket}
|
|
42036
|
+
*/
|
|
42037
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.addBuckets = function(opt_value, opt_index) {
|
|
42038
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.SessionTotalsBucket, opt_index);
|
|
42039
|
+
};
|
|
42040
|
+
|
|
42041
|
+
|
|
42042
|
+
/**
|
|
42043
|
+
* Clears the list making it empty but non-null.
|
|
42044
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} returns this
|
|
42045
|
+
*/
|
|
42046
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.clearBucketsList = function() {
|
|
42047
|
+
return this.setBucketsList([]);
|
|
42048
|
+
};
|
|
42049
|
+
|
|
42050
|
+
|
|
42051
|
+
/**
|
|
42052
|
+
* optional string time_zone = 3;
|
|
42053
|
+
* @return {string}
|
|
42054
|
+
*/
|
|
42055
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.getTimeZone = function() {
|
|
42056
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
42057
|
+
};
|
|
42058
|
+
|
|
42059
|
+
|
|
42060
|
+
/**
|
|
42061
|
+
* @param {string} value
|
|
42062
|
+
* @return {!proto.gateway.web.v1.GetSessionTotalsTrendResponse} returns this
|
|
42063
|
+
*/
|
|
42064
|
+
proto.gateway.web.v1.GetSessionTotalsTrendResponse.prototype.setTimeZone = function(value) {
|
|
42065
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
42066
|
+
};
|
|
42067
|
+
|
|
42068
|
+
|
|
42069
|
+
|
|
42070
|
+
|
|
42071
|
+
|
|
42072
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42073
|
+
/**
|
|
42074
|
+
* Creates an object representation of this proto.
|
|
42075
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42076
|
+
* Optional fields that are not set will be set to undefined.
|
|
42077
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42078
|
+
* For the list of reserved names please see:
|
|
42079
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42080
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42081
|
+
* JSPB instance for transitional soy proto support:
|
|
42082
|
+
* http://goto/soy-param-migration
|
|
42083
|
+
* @return {!Object}
|
|
42084
|
+
*/
|
|
42085
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.toObject = function(opt_includeInstance) {
|
|
42086
|
+
return proto.gateway.web.v1.SessionTotalsBucket.toObject(opt_includeInstance, this);
|
|
42087
|
+
};
|
|
42088
|
+
|
|
42089
|
+
|
|
42090
|
+
/**
|
|
42091
|
+
* Static version of the {@see toObject} method.
|
|
42092
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42093
|
+
* the JSPB instance for transitional soy proto support:
|
|
42094
|
+
* http://goto/soy-param-migration
|
|
42095
|
+
* @param {!proto.gateway.web.v1.SessionTotalsBucket} msg The msg instance to transform.
|
|
42096
|
+
* @return {!Object}
|
|
42097
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42098
|
+
*/
|
|
42099
|
+
proto.gateway.web.v1.SessionTotalsBucket.toObject = function(includeInstance, msg) {
|
|
42100
|
+
var f, obj = {
|
|
42101
|
+
bucketStart: (f = msg.getBucketStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
42102
|
+
sourceSystem: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
42103
|
+
sessions: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
42104
|
+
modelCalls: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
42105
|
+
inputTokens: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
42106
|
+
outputTokens: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
42107
|
+
providerCostUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
42108
|
+
subscriptionFacilityUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
|
|
42109
|
+
};
|
|
42110
|
+
|
|
42111
|
+
if (includeInstance) {
|
|
42112
|
+
obj.$jspbMessageInstance = msg;
|
|
42113
|
+
}
|
|
42114
|
+
return obj;
|
|
42115
|
+
};
|
|
42116
|
+
}
|
|
42117
|
+
|
|
42118
|
+
|
|
42119
|
+
/**
|
|
42120
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42121
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
42122
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket}
|
|
42123
|
+
*/
|
|
42124
|
+
proto.gateway.web.v1.SessionTotalsBucket.deserializeBinary = function(bytes) {
|
|
42125
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42126
|
+
var msg = new proto.gateway.web.v1.SessionTotalsBucket;
|
|
42127
|
+
return proto.gateway.web.v1.SessionTotalsBucket.deserializeBinaryFromReader(msg, reader);
|
|
42128
|
+
};
|
|
42129
|
+
|
|
42130
|
+
|
|
42131
|
+
/**
|
|
42132
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42133
|
+
* given reader into the given message object.
|
|
42134
|
+
* @param {!proto.gateway.web.v1.SessionTotalsBucket} msg The message object to deserialize into.
|
|
42135
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42136
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket}
|
|
42137
|
+
*/
|
|
42138
|
+
proto.gateway.web.v1.SessionTotalsBucket.deserializeBinaryFromReader = function(msg, reader) {
|
|
42139
|
+
while (reader.nextField()) {
|
|
42140
|
+
if (reader.isEndGroup()) {
|
|
42141
|
+
break;
|
|
42142
|
+
}
|
|
42143
|
+
var field = reader.getFieldNumber();
|
|
42144
|
+
switch (field) {
|
|
42145
|
+
case 1:
|
|
42146
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
42147
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
42148
|
+
msg.setBucketStart(value);
|
|
42149
|
+
break;
|
|
42150
|
+
case 2:
|
|
42151
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
42152
|
+
msg.setSourceSystem(value);
|
|
42153
|
+
break;
|
|
42154
|
+
case 3:
|
|
42155
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
42156
|
+
msg.setSessions(value);
|
|
42157
|
+
break;
|
|
42158
|
+
case 4:
|
|
42159
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
42160
|
+
msg.setModelCalls(value);
|
|
42161
|
+
break;
|
|
42162
|
+
case 5:
|
|
42163
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
42164
|
+
msg.setInputTokens(value);
|
|
42165
|
+
break;
|
|
42166
|
+
case 6:
|
|
42167
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
42168
|
+
msg.setOutputTokens(value);
|
|
42169
|
+
break;
|
|
42170
|
+
case 7:
|
|
42171
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
42172
|
+
msg.setProviderCostUsd(value);
|
|
42173
|
+
break;
|
|
42174
|
+
case 8:
|
|
42175
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
42176
|
+
msg.setSubscriptionFacilityUsd(value);
|
|
42177
|
+
break;
|
|
42178
|
+
default:
|
|
42179
|
+
reader.skipField();
|
|
42180
|
+
break;
|
|
42181
|
+
}
|
|
42182
|
+
}
|
|
42183
|
+
return msg;
|
|
42184
|
+
};
|
|
42185
|
+
|
|
42186
|
+
|
|
42187
|
+
/**
|
|
42188
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42189
|
+
* @return {!Uint8Array}
|
|
42190
|
+
*/
|
|
42191
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.serializeBinary = function() {
|
|
42192
|
+
var writer = new jspb.BinaryWriter();
|
|
42193
|
+
proto.gateway.web.v1.SessionTotalsBucket.serializeBinaryToWriter(this, writer);
|
|
42194
|
+
return writer.getResultBuffer();
|
|
42195
|
+
};
|
|
42196
|
+
|
|
42197
|
+
|
|
42198
|
+
/**
|
|
42199
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42200
|
+
* format), writing to the given BinaryWriter.
|
|
42201
|
+
* @param {!proto.gateway.web.v1.SessionTotalsBucket} message
|
|
42202
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42203
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42204
|
+
*/
|
|
42205
|
+
proto.gateway.web.v1.SessionTotalsBucket.serializeBinaryToWriter = function(message, writer) {
|
|
42206
|
+
var f = undefined;
|
|
42207
|
+
f = message.getBucketStart();
|
|
42208
|
+
if (f != null) {
|
|
42209
|
+
writer.writeMessage(
|
|
42210
|
+
1,
|
|
42211
|
+
f,
|
|
42212
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
42213
|
+
);
|
|
42214
|
+
}
|
|
42215
|
+
f = message.getSourceSystem();
|
|
42216
|
+
if (f.length > 0) {
|
|
42217
|
+
writer.writeString(
|
|
42218
|
+
2,
|
|
42219
|
+
f
|
|
42220
|
+
);
|
|
42221
|
+
}
|
|
42222
|
+
f = message.getSessions();
|
|
42223
|
+
if (f !== 0) {
|
|
42224
|
+
writer.writeUint64(
|
|
42225
|
+
3,
|
|
42226
|
+
f
|
|
42227
|
+
);
|
|
42228
|
+
}
|
|
42229
|
+
f = message.getModelCalls();
|
|
42230
|
+
if (f !== 0) {
|
|
42231
|
+
writer.writeUint64(
|
|
42232
|
+
4,
|
|
42233
|
+
f
|
|
42234
|
+
);
|
|
42235
|
+
}
|
|
42236
|
+
f = message.getInputTokens();
|
|
42237
|
+
if (f !== 0) {
|
|
42238
|
+
writer.writeUint64(
|
|
42239
|
+
5,
|
|
42240
|
+
f
|
|
42241
|
+
);
|
|
42242
|
+
}
|
|
42243
|
+
f = message.getOutputTokens();
|
|
42244
|
+
if (f !== 0) {
|
|
42245
|
+
writer.writeUint64(
|
|
42246
|
+
6,
|
|
42247
|
+
f
|
|
42248
|
+
);
|
|
42249
|
+
}
|
|
42250
|
+
f = message.getProviderCostUsd();
|
|
42251
|
+
if (f !== 0.0) {
|
|
42252
|
+
writer.writeDouble(
|
|
42253
|
+
7,
|
|
42254
|
+
f
|
|
42255
|
+
);
|
|
42256
|
+
}
|
|
42257
|
+
f = message.getSubscriptionFacilityUsd();
|
|
42258
|
+
if (f !== 0.0) {
|
|
42259
|
+
writer.writeDouble(
|
|
42260
|
+
8,
|
|
42261
|
+
f
|
|
42262
|
+
);
|
|
42263
|
+
}
|
|
42264
|
+
};
|
|
42265
|
+
|
|
42266
|
+
|
|
42267
|
+
/**
|
|
42268
|
+
* optional google.protobuf.Timestamp bucket_start = 1;
|
|
42269
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
42270
|
+
*/
|
|
42271
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getBucketStart = function() {
|
|
42272
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
42273
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 1));
|
|
42274
|
+
};
|
|
42275
|
+
|
|
42276
|
+
|
|
42277
|
+
/**
|
|
42278
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
42279
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42280
|
+
*/
|
|
42281
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setBucketStart = function(value) {
|
|
42282
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
42283
|
+
};
|
|
42284
|
+
|
|
42285
|
+
|
|
42286
|
+
/**
|
|
42287
|
+
* Clears the message field making it undefined.
|
|
42288
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42289
|
+
*/
|
|
42290
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.clearBucketStart = function() {
|
|
42291
|
+
return this.setBucketStart(undefined);
|
|
42292
|
+
};
|
|
42293
|
+
|
|
42294
|
+
|
|
42295
|
+
/**
|
|
42296
|
+
* Returns whether this field is set.
|
|
42297
|
+
* @return {boolean}
|
|
42298
|
+
*/
|
|
42299
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.hasBucketStart = function() {
|
|
42300
|
+
return jspb.Message.getField(this, 1) != null;
|
|
42301
|
+
};
|
|
42302
|
+
|
|
42303
|
+
|
|
42304
|
+
/**
|
|
42305
|
+
* optional string source_system = 2;
|
|
42306
|
+
* @return {string}
|
|
42307
|
+
*/
|
|
42308
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getSourceSystem = function() {
|
|
42309
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
42310
|
+
};
|
|
42311
|
+
|
|
42312
|
+
|
|
42313
|
+
/**
|
|
42314
|
+
* @param {string} value
|
|
42315
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42316
|
+
*/
|
|
42317
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setSourceSystem = function(value) {
|
|
42318
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
42319
|
+
};
|
|
42320
|
+
|
|
42321
|
+
|
|
42322
|
+
/**
|
|
42323
|
+
* optional uint64 sessions = 3;
|
|
42324
|
+
* @return {number}
|
|
42325
|
+
*/
|
|
42326
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getSessions = function() {
|
|
42327
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
42328
|
+
};
|
|
42329
|
+
|
|
42330
|
+
|
|
42331
|
+
/**
|
|
42332
|
+
* @param {number} value
|
|
42333
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42334
|
+
*/
|
|
42335
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setSessions = function(value) {
|
|
42336
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
42337
|
+
};
|
|
42338
|
+
|
|
42339
|
+
|
|
42340
|
+
/**
|
|
42341
|
+
* optional uint64 model_calls = 4;
|
|
42342
|
+
* @return {number}
|
|
42343
|
+
*/
|
|
42344
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getModelCalls = function() {
|
|
42345
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
42346
|
+
};
|
|
42347
|
+
|
|
42348
|
+
|
|
42349
|
+
/**
|
|
42350
|
+
* @param {number} value
|
|
42351
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42352
|
+
*/
|
|
42353
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setModelCalls = function(value) {
|
|
42354
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
42355
|
+
};
|
|
42356
|
+
|
|
42357
|
+
|
|
42358
|
+
/**
|
|
42359
|
+
* optional uint64 input_tokens = 5;
|
|
42360
|
+
* @return {number}
|
|
42361
|
+
*/
|
|
42362
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getInputTokens = function() {
|
|
42363
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
42364
|
+
};
|
|
42365
|
+
|
|
42366
|
+
|
|
42367
|
+
/**
|
|
42368
|
+
* @param {number} value
|
|
42369
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42370
|
+
*/
|
|
42371
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setInputTokens = function(value) {
|
|
42372
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
42373
|
+
};
|
|
42374
|
+
|
|
42375
|
+
|
|
42376
|
+
/**
|
|
42377
|
+
* optional uint64 output_tokens = 6;
|
|
42378
|
+
* @return {number}
|
|
42379
|
+
*/
|
|
42380
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getOutputTokens = function() {
|
|
42381
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
42382
|
+
};
|
|
42383
|
+
|
|
42384
|
+
|
|
42385
|
+
/**
|
|
42386
|
+
* @param {number} value
|
|
42387
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42388
|
+
*/
|
|
42389
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setOutputTokens = function(value) {
|
|
42390
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
42391
|
+
};
|
|
42392
|
+
|
|
42393
|
+
|
|
42394
|
+
/**
|
|
42395
|
+
* optional double provider_cost_usd = 7;
|
|
42396
|
+
* @return {number}
|
|
42397
|
+
*/
|
|
42398
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getProviderCostUsd = function() {
|
|
42399
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
42400
|
+
};
|
|
42401
|
+
|
|
42402
|
+
|
|
42403
|
+
/**
|
|
42404
|
+
* @param {number} value
|
|
42405
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42406
|
+
*/
|
|
42407
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setProviderCostUsd = function(value) {
|
|
42408
|
+
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
42409
|
+
};
|
|
42410
|
+
|
|
42411
|
+
|
|
42412
|
+
/**
|
|
42413
|
+
* optional double subscription_facility_usd = 8;
|
|
42414
|
+
* @return {number}
|
|
42415
|
+
*/
|
|
42416
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.getSubscriptionFacilityUsd = function() {
|
|
42417
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
42418
|
+
};
|
|
42419
|
+
|
|
42420
|
+
|
|
42421
|
+
/**
|
|
42422
|
+
* @param {number} value
|
|
42423
|
+
* @return {!proto.gateway.web.v1.SessionTotalsBucket} returns this
|
|
42424
|
+
*/
|
|
42425
|
+
proto.gateway.web.v1.SessionTotalsBucket.prototype.setSubscriptionFacilityUsd = function(value) {
|
|
42426
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
42427
|
+
};
|
|
42428
|
+
|
|
42429
|
+
|
|
42430
|
+
|
|
42431
|
+
|
|
42432
|
+
|
|
41494
42433
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41495
42434
|
/**
|
|
41496
42435
|
* Creates an object representation of this proto.
|