@miradorlabs/web-grpc 2.54.0 → 2.55.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.
@@ -47,6 +47,10 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionFilter', null, global);
47
47
  goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
48
48
  goog.exportSymbol('proto.gateway.web.v1.AITokenActivityDimension', null, global);
49
49
  goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
50
+ goog.exportSymbol('proto.gateway.web.v1.DailyActivity', null, global);
51
+ goog.exportSymbol('proto.gateway.web.v1.DailyActivityDay', null, global);
52
+ goog.exportSymbol('proto.gateway.web.v1.DailyActivityMeasures', null, global);
53
+ goog.exportSymbol('proto.gateway.web.v1.DailyActivityRequest', null, global);
50
54
  goog.exportSymbol('proto.gateway.web.v1.FileGroup', null, global);
51
55
  goog.exportSymbol('proto.gateway.web.v1.FileTierBucket', null, global);
52
56
  goog.exportSymbol('proto.gateway.web.v1.FileTiers', null, global);
@@ -1047,6 +1051,90 @@ if (goog.DEBUG && !COMPILED) {
1047
1051
  */
1048
1052
  proto.gateway.web.v1.TokenActivityMeasures.displayName = 'proto.gateway.web.v1.TokenActivityMeasures';
1049
1053
  }
1054
+ /**
1055
+ * Generated by JsPbCodeGenerator.
1056
+ * @param {Array=} opt_data Optional initial data array, typically from a
1057
+ * server response, or constructed directly in Javascript. The array is used
1058
+ * in place and becomes part of the constructed object. It is not cloned.
1059
+ * If no data is provided, the constructed object will be empty, but still
1060
+ * valid.
1061
+ * @extends {jspb.Message}
1062
+ * @constructor
1063
+ */
1064
+ proto.gateway.web.v1.DailyActivityRequest = function(opt_data) {
1065
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1066
+ };
1067
+ goog.inherits(proto.gateway.web.v1.DailyActivityRequest, jspb.Message);
1068
+ if (goog.DEBUG && !COMPILED) {
1069
+ /**
1070
+ * @public
1071
+ * @override
1072
+ */
1073
+ proto.gateway.web.v1.DailyActivityRequest.displayName = 'proto.gateway.web.v1.DailyActivityRequest';
1074
+ }
1075
+ /**
1076
+ * Generated by JsPbCodeGenerator.
1077
+ * @param {Array=} opt_data Optional initial data array, typically from a
1078
+ * server response, or constructed directly in Javascript. The array is used
1079
+ * in place and becomes part of the constructed object. It is not cloned.
1080
+ * If no data is provided, the constructed object will be empty, but still
1081
+ * valid.
1082
+ * @extends {jspb.Message}
1083
+ * @constructor
1084
+ */
1085
+ proto.gateway.web.v1.DailyActivity = function(opt_data) {
1086
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DailyActivity.repeatedFields_, null);
1087
+ };
1088
+ goog.inherits(proto.gateway.web.v1.DailyActivity, jspb.Message);
1089
+ if (goog.DEBUG && !COMPILED) {
1090
+ /**
1091
+ * @public
1092
+ * @override
1093
+ */
1094
+ proto.gateway.web.v1.DailyActivity.displayName = 'proto.gateway.web.v1.DailyActivity';
1095
+ }
1096
+ /**
1097
+ * Generated by JsPbCodeGenerator.
1098
+ * @param {Array=} opt_data Optional initial data array, typically from a
1099
+ * server response, or constructed directly in Javascript. The array is used
1100
+ * in place and becomes part of the constructed object. It is not cloned.
1101
+ * If no data is provided, the constructed object will be empty, but still
1102
+ * valid.
1103
+ * @extends {jspb.Message}
1104
+ * @constructor
1105
+ */
1106
+ proto.gateway.web.v1.DailyActivityDay = function(opt_data) {
1107
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1108
+ };
1109
+ goog.inherits(proto.gateway.web.v1.DailyActivityDay, jspb.Message);
1110
+ if (goog.DEBUG && !COMPILED) {
1111
+ /**
1112
+ * @public
1113
+ * @override
1114
+ */
1115
+ proto.gateway.web.v1.DailyActivityDay.displayName = 'proto.gateway.web.v1.DailyActivityDay';
1116
+ }
1117
+ /**
1118
+ * Generated by JsPbCodeGenerator.
1119
+ * @param {Array=} opt_data Optional initial data array, typically from a
1120
+ * server response, or constructed directly in Javascript. The array is used
1121
+ * in place and becomes part of the constructed object. It is not cloned.
1122
+ * If no data is provided, the constructed object will be empty, but still
1123
+ * valid.
1124
+ * @extends {jspb.Message}
1125
+ * @constructor
1126
+ */
1127
+ proto.gateway.web.v1.DailyActivityMeasures = function(opt_data) {
1128
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1129
+ };
1130
+ goog.inherits(proto.gateway.web.v1.DailyActivityMeasures, jspb.Message);
1131
+ if (goog.DEBUG && !COMPILED) {
1132
+ /**
1133
+ * @public
1134
+ * @override
1135
+ */
1136
+ proto.gateway.web.v1.DailyActivityMeasures.displayName = 'proto.gateway.web.v1.DailyActivityMeasures';
1137
+ }
1050
1138
  /**
1051
1139
  * Generated by JsPbCodeGenerator.
1052
1140
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -15464,6 +15552,1288 @@ proto.gateway.web.v1.TokenActivityMeasures.prototype.setModelCalls = function(va
15464
15552
 
15465
15553
 
15466
15554
 
15555
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15556
+ /**
15557
+ * Creates an object representation of this proto.
15558
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15559
+ * Optional fields that are not set will be set to undefined.
15560
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15561
+ * For the list of reserved names please see:
15562
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15563
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15564
+ * JSPB instance for transitional soy proto support:
15565
+ * http://goto/soy-param-migration
15566
+ * @return {!Object}
15567
+ */
15568
+ proto.gateway.web.v1.DailyActivityRequest.prototype.toObject = function(opt_includeInstance) {
15569
+ return proto.gateway.web.v1.DailyActivityRequest.toObject(opt_includeInstance, this);
15570
+ };
15571
+
15572
+
15573
+ /**
15574
+ * Static version of the {@see toObject} method.
15575
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15576
+ * the JSPB instance for transitional soy proto support:
15577
+ * http://goto/soy-param-migration
15578
+ * @param {!proto.gateway.web.v1.DailyActivityRequest} msg The msg instance to transform.
15579
+ * @return {!Object}
15580
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15581
+ */
15582
+ proto.gateway.web.v1.DailyActivityRequest.toObject = function(includeInstance, msg) {
15583
+ var f, obj = {
15584
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
15585
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
15586
+ startDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
15587
+ endDate: jspb.Message.getFieldWithDefault(msg, 4, "")
15588
+ };
15589
+
15590
+ if (includeInstance) {
15591
+ obj.$jspbMessageInstance = msg;
15592
+ }
15593
+ return obj;
15594
+ };
15595
+ }
15596
+
15597
+
15598
+ /**
15599
+ * Deserializes binary data (in protobuf wire format).
15600
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
15601
+ * @return {!proto.gateway.web.v1.DailyActivityRequest}
15602
+ */
15603
+ proto.gateway.web.v1.DailyActivityRequest.deserializeBinary = function(bytes) {
15604
+ var reader = new jspb.BinaryReader(bytes);
15605
+ var msg = new proto.gateway.web.v1.DailyActivityRequest;
15606
+ return proto.gateway.web.v1.DailyActivityRequest.deserializeBinaryFromReader(msg, reader);
15607
+ };
15608
+
15609
+
15610
+ /**
15611
+ * Deserializes binary data (in protobuf wire format) from the
15612
+ * given reader into the given message object.
15613
+ * @param {!proto.gateway.web.v1.DailyActivityRequest} msg The message object to deserialize into.
15614
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15615
+ * @return {!proto.gateway.web.v1.DailyActivityRequest}
15616
+ */
15617
+ proto.gateway.web.v1.DailyActivityRequest.deserializeBinaryFromReader = function(msg, reader) {
15618
+ while (reader.nextField()) {
15619
+ if (reader.isEndGroup()) {
15620
+ break;
15621
+ }
15622
+ var field = reader.getFieldNumber();
15623
+ switch (field) {
15624
+ case 1:
15625
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15626
+ msg.setOrganizationId(value);
15627
+ break;
15628
+ case 2:
15629
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15630
+ msg.setProjectId(value);
15631
+ break;
15632
+ case 3:
15633
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15634
+ msg.setStartDate(value);
15635
+ break;
15636
+ case 4:
15637
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15638
+ msg.setEndDate(value);
15639
+ break;
15640
+ default:
15641
+ reader.skipField();
15642
+ break;
15643
+ }
15644
+ }
15645
+ return msg;
15646
+ };
15647
+
15648
+
15649
+ /**
15650
+ * Serializes the message to binary data (in protobuf wire format).
15651
+ * @return {!Uint8Array}
15652
+ */
15653
+ proto.gateway.web.v1.DailyActivityRequest.prototype.serializeBinary = function() {
15654
+ var writer = new jspb.BinaryWriter();
15655
+ proto.gateway.web.v1.DailyActivityRequest.serializeBinaryToWriter(this, writer);
15656
+ return writer.getResultBuffer();
15657
+ };
15658
+
15659
+
15660
+ /**
15661
+ * Serializes the given message to binary data (in protobuf wire
15662
+ * format), writing to the given BinaryWriter.
15663
+ * @param {!proto.gateway.web.v1.DailyActivityRequest} message
15664
+ * @param {!jspb.BinaryWriter} writer
15665
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15666
+ */
15667
+ proto.gateway.web.v1.DailyActivityRequest.serializeBinaryToWriter = function(message, writer) {
15668
+ var f = undefined;
15669
+ f = message.getOrganizationId();
15670
+ if (f.length > 0) {
15671
+ writer.writeString(
15672
+ 1,
15673
+ f
15674
+ );
15675
+ }
15676
+ f = message.getProjectId();
15677
+ if (f.length > 0) {
15678
+ writer.writeString(
15679
+ 2,
15680
+ f
15681
+ );
15682
+ }
15683
+ f = message.getStartDate();
15684
+ if (f.length > 0) {
15685
+ writer.writeString(
15686
+ 3,
15687
+ f
15688
+ );
15689
+ }
15690
+ f = message.getEndDate();
15691
+ if (f.length > 0) {
15692
+ writer.writeString(
15693
+ 4,
15694
+ f
15695
+ );
15696
+ }
15697
+ };
15698
+
15699
+
15700
+ /**
15701
+ * optional string organization_id = 1;
15702
+ * @return {string}
15703
+ */
15704
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getOrganizationId = function() {
15705
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15706
+ };
15707
+
15708
+
15709
+ /**
15710
+ * @param {string} value
15711
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
15712
+ */
15713
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setOrganizationId = function(value) {
15714
+ return jspb.Message.setProto3StringField(this, 1, value);
15715
+ };
15716
+
15717
+
15718
+ /**
15719
+ * optional string project_id = 2;
15720
+ * @return {string}
15721
+ */
15722
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getProjectId = function() {
15723
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
15724
+ };
15725
+
15726
+
15727
+ /**
15728
+ * @param {string} value
15729
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
15730
+ */
15731
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setProjectId = function(value) {
15732
+ return jspb.Message.setProto3StringField(this, 2, value);
15733
+ };
15734
+
15735
+
15736
+ /**
15737
+ * optional string start_date = 3;
15738
+ * @return {string}
15739
+ */
15740
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getStartDate = function() {
15741
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
15742
+ };
15743
+
15744
+
15745
+ /**
15746
+ * @param {string} value
15747
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
15748
+ */
15749
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setStartDate = function(value) {
15750
+ return jspb.Message.setProto3StringField(this, 3, value);
15751
+ };
15752
+
15753
+
15754
+ /**
15755
+ * optional string end_date = 4;
15756
+ * @return {string}
15757
+ */
15758
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getEndDate = function() {
15759
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
15760
+ };
15761
+
15762
+
15763
+ /**
15764
+ * @param {string} value
15765
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
15766
+ */
15767
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setEndDate = function(value) {
15768
+ return jspb.Message.setProto3StringField(this, 4, value);
15769
+ };
15770
+
15771
+
15772
+
15773
+ /**
15774
+ * List of repeated fields within this message type.
15775
+ * @private {!Array<number>}
15776
+ * @const
15777
+ */
15778
+ proto.gateway.web.v1.DailyActivity.repeatedFields_ = [1];
15779
+
15780
+
15781
+
15782
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15783
+ /**
15784
+ * Creates an object representation of this proto.
15785
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15786
+ * Optional fields that are not set will be set to undefined.
15787
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15788
+ * For the list of reserved names please see:
15789
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15790
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15791
+ * JSPB instance for transitional soy proto support:
15792
+ * http://goto/soy-param-migration
15793
+ * @return {!Object}
15794
+ */
15795
+ proto.gateway.web.v1.DailyActivity.prototype.toObject = function(opt_includeInstance) {
15796
+ return proto.gateway.web.v1.DailyActivity.toObject(opt_includeInstance, this);
15797
+ };
15798
+
15799
+
15800
+ /**
15801
+ * Static version of the {@see toObject} method.
15802
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15803
+ * the JSPB instance for transitional soy proto support:
15804
+ * http://goto/soy-param-migration
15805
+ * @param {!proto.gateway.web.v1.DailyActivity} msg The msg instance to transform.
15806
+ * @return {!Object}
15807
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15808
+ */
15809
+ proto.gateway.web.v1.DailyActivity.toObject = function(includeInstance, msg) {
15810
+ var f, obj = {
15811
+ daysList: jspb.Message.toObjectList(msg.getDaysList(),
15812
+ proto.gateway.web.v1.DailyActivityDay.toObject, includeInstance),
15813
+ startDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
15814
+ endDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
15815
+ coverageStart: jspb.Message.getFieldWithDefault(msg, 4, ""),
15816
+ today: jspb.Message.getFieldWithDefault(msg, 5, ""),
15817
+ asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
15818
+ };
15819
+
15820
+ if (includeInstance) {
15821
+ obj.$jspbMessageInstance = msg;
15822
+ }
15823
+ return obj;
15824
+ };
15825
+ }
15826
+
15827
+
15828
+ /**
15829
+ * Deserializes binary data (in protobuf wire format).
15830
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
15831
+ * @return {!proto.gateway.web.v1.DailyActivity}
15832
+ */
15833
+ proto.gateway.web.v1.DailyActivity.deserializeBinary = function(bytes) {
15834
+ var reader = new jspb.BinaryReader(bytes);
15835
+ var msg = new proto.gateway.web.v1.DailyActivity;
15836
+ return proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader(msg, reader);
15837
+ };
15838
+
15839
+
15840
+ /**
15841
+ * Deserializes binary data (in protobuf wire format) from the
15842
+ * given reader into the given message object.
15843
+ * @param {!proto.gateway.web.v1.DailyActivity} msg The message object to deserialize into.
15844
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15845
+ * @return {!proto.gateway.web.v1.DailyActivity}
15846
+ */
15847
+ proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader = function(msg, reader) {
15848
+ while (reader.nextField()) {
15849
+ if (reader.isEndGroup()) {
15850
+ break;
15851
+ }
15852
+ var field = reader.getFieldNumber();
15853
+ switch (field) {
15854
+ case 1:
15855
+ var value = new proto.gateway.web.v1.DailyActivityDay;
15856
+ reader.readMessage(value,proto.gateway.web.v1.DailyActivityDay.deserializeBinaryFromReader);
15857
+ msg.addDays(value);
15858
+ break;
15859
+ case 2:
15860
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15861
+ msg.setStartDate(value);
15862
+ break;
15863
+ case 3:
15864
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15865
+ msg.setEndDate(value);
15866
+ break;
15867
+ case 4:
15868
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15869
+ msg.setCoverageStart(value);
15870
+ break;
15871
+ case 5:
15872
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15873
+ msg.setToday(value);
15874
+ break;
15875
+ case 6:
15876
+ var value = new google_protobuf_timestamp_pb.Timestamp;
15877
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
15878
+ msg.setAsOf(value);
15879
+ break;
15880
+ default:
15881
+ reader.skipField();
15882
+ break;
15883
+ }
15884
+ }
15885
+ return msg;
15886
+ };
15887
+
15888
+
15889
+ /**
15890
+ * Serializes the message to binary data (in protobuf wire format).
15891
+ * @return {!Uint8Array}
15892
+ */
15893
+ proto.gateway.web.v1.DailyActivity.prototype.serializeBinary = function() {
15894
+ var writer = new jspb.BinaryWriter();
15895
+ proto.gateway.web.v1.DailyActivity.serializeBinaryToWriter(this, writer);
15896
+ return writer.getResultBuffer();
15897
+ };
15898
+
15899
+
15900
+ /**
15901
+ * Serializes the given message to binary data (in protobuf wire
15902
+ * format), writing to the given BinaryWriter.
15903
+ * @param {!proto.gateway.web.v1.DailyActivity} message
15904
+ * @param {!jspb.BinaryWriter} writer
15905
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15906
+ */
15907
+ proto.gateway.web.v1.DailyActivity.serializeBinaryToWriter = function(message, writer) {
15908
+ var f = undefined;
15909
+ f = message.getDaysList();
15910
+ if (f.length > 0) {
15911
+ writer.writeRepeatedMessage(
15912
+ 1,
15913
+ f,
15914
+ proto.gateway.web.v1.DailyActivityDay.serializeBinaryToWriter
15915
+ );
15916
+ }
15917
+ f = message.getStartDate();
15918
+ if (f.length > 0) {
15919
+ writer.writeString(
15920
+ 2,
15921
+ f
15922
+ );
15923
+ }
15924
+ f = message.getEndDate();
15925
+ if (f.length > 0) {
15926
+ writer.writeString(
15927
+ 3,
15928
+ f
15929
+ );
15930
+ }
15931
+ f = message.getCoverageStart();
15932
+ if (f.length > 0) {
15933
+ writer.writeString(
15934
+ 4,
15935
+ f
15936
+ );
15937
+ }
15938
+ f = message.getToday();
15939
+ if (f.length > 0) {
15940
+ writer.writeString(
15941
+ 5,
15942
+ f
15943
+ );
15944
+ }
15945
+ f = message.getAsOf();
15946
+ if (f != null) {
15947
+ writer.writeMessage(
15948
+ 6,
15949
+ f,
15950
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
15951
+ );
15952
+ }
15953
+ };
15954
+
15955
+
15956
+ /**
15957
+ * repeated DailyActivityDay days = 1;
15958
+ * @return {!Array<!proto.gateway.web.v1.DailyActivityDay>}
15959
+ */
15960
+ proto.gateway.web.v1.DailyActivity.prototype.getDaysList = function() {
15961
+ return /** @type{!Array<!proto.gateway.web.v1.DailyActivityDay>} */ (
15962
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DailyActivityDay, 1));
15963
+ };
15964
+
15965
+
15966
+ /**
15967
+ * @param {!Array<!proto.gateway.web.v1.DailyActivityDay>} value
15968
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
15969
+ */
15970
+ proto.gateway.web.v1.DailyActivity.prototype.setDaysList = function(value) {
15971
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
15972
+ };
15973
+
15974
+
15975
+ /**
15976
+ * @param {!proto.gateway.web.v1.DailyActivityDay=} opt_value
15977
+ * @param {number=} opt_index
15978
+ * @return {!proto.gateway.web.v1.DailyActivityDay}
15979
+ */
15980
+ proto.gateway.web.v1.DailyActivity.prototype.addDays = function(opt_value, opt_index) {
15981
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.DailyActivityDay, opt_index);
15982
+ };
15983
+
15984
+
15985
+ /**
15986
+ * Clears the list making it empty but non-null.
15987
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
15988
+ */
15989
+ proto.gateway.web.v1.DailyActivity.prototype.clearDaysList = function() {
15990
+ return this.setDaysList([]);
15991
+ };
15992
+
15993
+
15994
+ /**
15995
+ * optional string start_date = 2;
15996
+ * @return {string}
15997
+ */
15998
+ proto.gateway.web.v1.DailyActivity.prototype.getStartDate = function() {
15999
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16000
+ };
16001
+
16002
+
16003
+ /**
16004
+ * @param {string} value
16005
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
16006
+ */
16007
+ proto.gateway.web.v1.DailyActivity.prototype.setStartDate = function(value) {
16008
+ return jspb.Message.setProto3StringField(this, 2, value);
16009
+ };
16010
+
16011
+
16012
+ /**
16013
+ * optional string end_date = 3;
16014
+ * @return {string}
16015
+ */
16016
+ proto.gateway.web.v1.DailyActivity.prototype.getEndDate = function() {
16017
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16018
+ };
16019
+
16020
+
16021
+ /**
16022
+ * @param {string} value
16023
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
16024
+ */
16025
+ proto.gateway.web.v1.DailyActivity.prototype.setEndDate = function(value) {
16026
+ return jspb.Message.setProto3StringField(this, 3, value);
16027
+ };
16028
+
16029
+
16030
+ /**
16031
+ * optional string coverage_start = 4;
16032
+ * @return {string}
16033
+ */
16034
+ proto.gateway.web.v1.DailyActivity.prototype.getCoverageStart = function() {
16035
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
16036
+ };
16037
+
16038
+
16039
+ /**
16040
+ * @param {string} value
16041
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
16042
+ */
16043
+ proto.gateway.web.v1.DailyActivity.prototype.setCoverageStart = function(value) {
16044
+ return jspb.Message.setProto3StringField(this, 4, value);
16045
+ };
16046
+
16047
+
16048
+ /**
16049
+ * optional string today = 5;
16050
+ * @return {string}
16051
+ */
16052
+ proto.gateway.web.v1.DailyActivity.prototype.getToday = function() {
16053
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16054
+ };
16055
+
16056
+
16057
+ /**
16058
+ * @param {string} value
16059
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
16060
+ */
16061
+ proto.gateway.web.v1.DailyActivity.prototype.setToday = function(value) {
16062
+ return jspb.Message.setProto3StringField(this, 5, value);
16063
+ };
16064
+
16065
+
16066
+ /**
16067
+ * optional google.protobuf.Timestamp as_of = 6;
16068
+ * @return {?proto.google.protobuf.Timestamp}
16069
+ */
16070
+ proto.gateway.web.v1.DailyActivity.prototype.getAsOf = function() {
16071
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
16072
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
16073
+ };
16074
+
16075
+
16076
+ /**
16077
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
16078
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
16079
+ */
16080
+ proto.gateway.web.v1.DailyActivity.prototype.setAsOf = function(value) {
16081
+ return jspb.Message.setWrapperField(this, 6, value);
16082
+ };
16083
+
16084
+
16085
+ /**
16086
+ * Clears the message field making it undefined.
16087
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
16088
+ */
16089
+ proto.gateway.web.v1.DailyActivity.prototype.clearAsOf = function() {
16090
+ return this.setAsOf(undefined);
16091
+ };
16092
+
16093
+
16094
+ /**
16095
+ * Returns whether this field is set.
16096
+ * @return {boolean}
16097
+ */
16098
+ proto.gateway.web.v1.DailyActivity.prototype.hasAsOf = function() {
16099
+ return jspb.Message.getField(this, 6) != null;
16100
+ };
16101
+
16102
+
16103
+
16104
+
16105
+
16106
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16107
+ /**
16108
+ * Creates an object representation of this proto.
16109
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16110
+ * Optional fields that are not set will be set to undefined.
16111
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16112
+ * For the list of reserved names please see:
16113
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16114
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16115
+ * JSPB instance for transitional soy proto support:
16116
+ * http://goto/soy-param-migration
16117
+ * @return {!Object}
16118
+ */
16119
+ proto.gateway.web.v1.DailyActivityDay.prototype.toObject = function(opt_includeInstance) {
16120
+ return proto.gateway.web.v1.DailyActivityDay.toObject(opt_includeInstance, this);
16121
+ };
16122
+
16123
+
16124
+ /**
16125
+ * Static version of the {@see toObject} method.
16126
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16127
+ * the JSPB instance for transitional soy proto support:
16128
+ * http://goto/soy-param-migration
16129
+ * @param {!proto.gateway.web.v1.DailyActivityDay} msg The msg instance to transform.
16130
+ * @return {!Object}
16131
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16132
+ */
16133
+ proto.gateway.web.v1.DailyActivityDay.toObject = function(includeInstance, msg) {
16134
+ var f, obj = {
16135
+ day: jspb.Message.getFieldWithDefault(msg, 1, ""),
16136
+ measures: (f = msg.getMeasures()) && proto.gateway.web.v1.DailyActivityMeasures.toObject(includeInstance, f),
16137
+ provisional: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
16138
+ };
16139
+
16140
+ if (includeInstance) {
16141
+ obj.$jspbMessageInstance = msg;
16142
+ }
16143
+ return obj;
16144
+ };
16145
+ }
16146
+
16147
+
16148
+ /**
16149
+ * Deserializes binary data (in protobuf wire format).
16150
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16151
+ * @return {!proto.gateway.web.v1.DailyActivityDay}
16152
+ */
16153
+ proto.gateway.web.v1.DailyActivityDay.deserializeBinary = function(bytes) {
16154
+ var reader = new jspb.BinaryReader(bytes);
16155
+ var msg = new proto.gateway.web.v1.DailyActivityDay;
16156
+ return proto.gateway.web.v1.DailyActivityDay.deserializeBinaryFromReader(msg, reader);
16157
+ };
16158
+
16159
+
16160
+ /**
16161
+ * Deserializes binary data (in protobuf wire format) from the
16162
+ * given reader into the given message object.
16163
+ * @param {!proto.gateway.web.v1.DailyActivityDay} msg The message object to deserialize into.
16164
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16165
+ * @return {!proto.gateway.web.v1.DailyActivityDay}
16166
+ */
16167
+ proto.gateway.web.v1.DailyActivityDay.deserializeBinaryFromReader = function(msg, reader) {
16168
+ while (reader.nextField()) {
16169
+ if (reader.isEndGroup()) {
16170
+ break;
16171
+ }
16172
+ var field = reader.getFieldNumber();
16173
+ switch (field) {
16174
+ case 1:
16175
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16176
+ msg.setDay(value);
16177
+ break;
16178
+ case 2:
16179
+ var value = new proto.gateway.web.v1.DailyActivityMeasures;
16180
+ reader.readMessage(value,proto.gateway.web.v1.DailyActivityMeasures.deserializeBinaryFromReader);
16181
+ msg.setMeasures(value);
16182
+ break;
16183
+ case 3:
16184
+ var value = /** @type {boolean} */ (reader.readBool());
16185
+ msg.setProvisional(value);
16186
+ break;
16187
+ default:
16188
+ reader.skipField();
16189
+ break;
16190
+ }
16191
+ }
16192
+ return msg;
16193
+ };
16194
+
16195
+
16196
+ /**
16197
+ * Serializes the message to binary data (in protobuf wire format).
16198
+ * @return {!Uint8Array}
16199
+ */
16200
+ proto.gateway.web.v1.DailyActivityDay.prototype.serializeBinary = function() {
16201
+ var writer = new jspb.BinaryWriter();
16202
+ proto.gateway.web.v1.DailyActivityDay.serializeBinaryToWriter(this, writer);
16203
+ return writer.getResultBuffer();
16204
+ };
16205
+
16206
+
16207
+ /**
16208
+ * Serializes the given message to binary data (in protobuf wire
16209
+ * format), writing to the given BinaryWriter.
16210
+ * @param {!proto.gateway.web.v1.DailyActivityDay} message
16211
+ * @param {!jspb.BinaryWriter} writer
16212
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16213
+ */
16214
+ proto.gateway.web.v1.DailyActivityDay.serializeBinaryToWriter = function(message, writer) {
16215
+ var f = undefined;
16216
+ f = message.getDay();
16217
+ if (f.length > 0) {
16218
+ writer.writeString(
16219
+ 1,
16220
+ f
16221
+ );
16222
+ }
16223
+ f = message.getMeasures();
16224
+ if (f != null) {
16225
+ writer.writeMessage(
16226
+ 2,
16227
+ f,
16228
+ proto.gateway.web.v1.DailyActivityMeasures.serializeBinaryToWriter
16229
+ );
16230
+ }
16231
+ f = message.getProvisional();
16232
+ if (f) {
16233
+ writer.writeBool(
16234
+ 3,
16235
+ f
16236
+ );
16237
+ }
16238
+ };
16239
+
16240
+
16241
+ /**
16242
+ * optional string day = 1;
16243
+ * @return {string}
16244
+ */
16245
+ proto.gateway.web.v1.DailyActivityDay.prototype.getDay = function() {
16246
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
16247
+ };
16248
+
16249
+
16250
+ /**
16251
+ * @param {string} value
16252
+ * @return {!proto.gateway.web.v1.DailyActivityDay} returns this
16253
+ */
16254
+ proto.gateway.web.v1.DailyActivityDay.prototype.setDay = function(value) {
16255
+ return jspb.Message.setProto3StringField(this, 1, value);
16256
+ };
16257
+
16258
+
16259
+ /**
16260
+ * optional DailyActivityMeasures measures = 2;
16261
+ * @return {?proto.gateway.web.v1.DailyActivityMeasures}
16262
+ */
16263
+ proto.gateway.web.v1.DailyActivityDay.prototype.getMeasures = function() {
16264
+ return /** @type{?proto.gateway.web.v1.DailyActivityMeasures} */ (
16265
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.DailyActivityMeasures, 2));
16266
+ };
16267
+
16268
+
16269
+ /**
16270
+ * @param {?proto.gateway.web.v1.DailyActivityMeasures|undefined} value
16271
+ * @return {!proto.gateway.web.v1.DailyActivityDay} returns this
16272
+ */
16273
+ proto.gateway.web.v1.DailyActivityDay.prototype.setMeasures = function(value) {
16274
+ return jspb.Message.setWrapperField(this, 2, value);
16275
+ };
16276
+
16277
+
16278
+ /**
16279
+ * Clears the message field making it undefined.
16280
+ * @return {!proto.gateway.web.v1.DailyActivityDay} returns this
16281
+ */
16282
+ proto.gateway.web.v1.DailyActivityDay.prototype.clearMeasures = function() {
16283
+ return this.setMeasures(undefined);
16284
+ };
16285
+
16286
+
16287
+ /**
16288
+ * Returns whether this field is set.
16289
+ * @return {boolean}
16290
+ */
16291
+ proto.gateway.web.v1.DailyActivityDay.prototype.hasMeasures = function() {
16292
+ return jspb.Message.getField(this, 2) != null;
16293
+ };
16294
+
16295
+
16296
+ /**
16297
+ * optional bool provisional = 3;
16298
+ * @return {boolean}
16299
+ */
16300
+ proto.gateway.web.v1.DailyActivityDay.prototype.getProvisional = function() {
16301
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
16302
+ };
16303
+
16304
+
16305
+ /**
16306
+ * @param {boolean} value
16307
+ * @return {!proto.gateway.web.v1.DailyActivityDay} returns this
16308
+ */
16309
+ proto.gateway.web.v1.DailyActivityDay.prototype.setProvisional = function(value) {
16310
+ return jspb.Message.setProto3BooleanField(this, 3, value);
16311
+ };
16312
+
16313
+
16314
+
16315
+
16316
+
16317
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16318
+ /**
16319
+ * Creates an object representation of this proto.
16320
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16321
+ * Optional fields that are not set will be set to undefined.
16322
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16323
+ * For the list of reserved names please see:
16324
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16325
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16326
+ * JSPB instance for transitional soy proto support:
16327
+ * http://goto/soy-param-migration
16328
+ * @return {!Object}
16329
+ */
16330
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.toObject = function(opt_includeInstance) {
16331
+ return proto.gateway.web.v1.DailyActivityMeasures.toObject(opt_includeInstance, this);
16332
+ };
16333
+
16334
+
16335
+ /**
16336
+ * Static version of the {@see toObject} method.
16337
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16338
+ * the JSPB instance for transitional soy proto support:
16339
+ * http://goto/soy-param-migration
16340
+ * @param {!proto.gateway.web.v1.DailyActivityMeasures} msg The msg instance to transform.
16341
+ * @return {!Object}
16342
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16343
+ */
16344
+ proto.gateway.web.v1.DailyActivityMeasures.toObject = function(includeInstance, msg) {
16345
+ var f, obj = {
16346
+ inputTokens: jspb.Message.getFieldWithDefault(msg, 1, 0),
16347
+ outputTokens: jspb.Message.getFieldWithDefault(msg, 2, 0),
16348
+ cacheReadTokens: jspb.Message.getFieldWithDefault(msg, 3, 0),
16349
+ cacheWriteTokens: jspb.Message.getFieldWithDefault(msg, 4, 0),
16350
+ costUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
16351
+ modelCalls: jspb.Message.getFieldWithDefault(msg, 6, 0),
16352
+ toolCalls: jspb.Message.getFieldWithDefault(msg, 7, 0),
16353
+ userMessages: jspb.Message.getFieldWithDefault(msg, 8, 0),
16354
+ filesTouched: jspb.Message.getFieldWithDefault(msg, 9, 0),
16355
+ commits: jspb.Message.getFieldWithDefault(msg, 10, 0),
16356
+ gitPushes: jspb.Message.getFieldWithDefault(msg, 11, 0),
16357
+ pullRequestsCreated: jspb.Message.getFieldWithDefault(msg, 12, 0),
16358
+ pullRequestsMerged: jspb.Message.getFieldWithDefault(msg, 13, 0),
16359
+ branchesCreated: jspb.Message.getFieldWithDefault(msg, 14, 0)
16360
+ };
16361
+
16362
+ if (includeInstance) {
16363
+ obj.$jspbMessageInstance = msg;
16364
+ }
16365
+ return obj;
16366
+ };
16367
+ }
16368
+
16369
+
16370
+ /**
16371
+ * Deserializes binary data (in protobuf wire format).
16372
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16373
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures}
16374
+ */
16375
+ proto.gateway.web.v1.DailyActivityMeasures.deserializeBinary = function(bytes) {
16376
+ var reader = new jspb.BinaryReader(bytes);
16377
+ var msg = new proto.gateway.web.v1.DailyActivityMeasures;
16378
+ return proto.gateway.web.v1.DailyActivityMeasures.deserializeBinaryFromReader(msg, reader);
16379
+ };
16380
+
16381
+
16382
+ /**
16383
+ * Deserializes binary data (in protobuf wire format) from the
16384
+ * given reader into the given message object.
16385
+ * @param {!proto.gateway.web.v1.DailyActivityMeasures} msg The message object to deserialize into.
16386
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16387
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures}
16388
+ */
16389
+ proto.gateway.web.v1.DailyActivityMeasures.deserializeBinaryFromReader = function(msg, reader) {
16390
+ while (reader.nextField()) {
16391
+ if (reader.isEndGroup()) {
16392
+ break;
16393
+ }
16394
+ var field = reader.getFieldNumber();
16395
+ switch (field) {
16396
+ case 1:
16397
+ var value = /** @type {number} */ (reader.readUint64());
16398
+ msg.setInputTokens(value);
16399
+ break;
16400
+ case 2:
16401
+ var value = /** @type {number} */ (reader.readUint64());
16402
+ msg.setOutputTokens(value);
16403
+ break;
16404
+ case 3:
16405
+ var value = /** @type {number} */ (reader.readUint64());
16406
+ msg.setCacheReadTokens(value);
16407
+ break;
16408
+ case 4:
16409
+ var value = /** @type {number} */ (reader.readUint64());
16410
+ msg.setCacheWriteTokens(value);
16411
+ break;
16412
+ case 5:
16413
+ var value = /** @type {number} */ (reader.readDouble());
16414
+ msg.setCostUsd(value);
16415
+ break;
16416
+ case 6:
16417
+ var value = /** @type {number} */ (reader.readUint64());
16418
+ msg.setModelCalls(value);
16419
+ break;
16420
+ case 7:
16421
+ var value = /** @type {number} */ (reader.readUint64());
16422
+ msg.setToolCalls(value);
16423
+ break;
16424
+ case 8:
16425
+ var value = /** @type {number} */ (reader.readUint64());
16426
+ msg.setUserMessages(value);
16427
+ break;
16428
+ case 9:
16429
+ var value = /** @type {number} */ (reader.readUint64());
16430
+ msg.setFilesTouched(value);
16431
+ break;
16432
+ case 10:
16433
+ var value = /** @type {number} */ (reader.readUint64());
16434
+ msg.setCommits(value);
16435
+ break;
16436
+ case 11:
16437
+ var value = /** @type {number} */ (reader.readUint64());
16438
+ msg.setGitPushes(value);
16439
+ break;
16440
+ case 12:
16441
+ var value = /** @type {number} */ (reader.readUint64());
16442
+ msg.setPullRequestsCreated(value);
16443
+ break;
16444
+ case 13:
16445
+ var value = /** @type {number} */ (reader.readUint64());
16446
+ msg.setPullRequestsMerged(value);
16447
+ break;
16448
+ case 14:
16449
+ var value = /** @type {number} */ (reader.readUint64());
16450
+ msg.setBranchesCreated(value);
16451
+ break;
16452
+ default:
16453
+ reader.skipField();
16454
+ break;
16455
+ }
16456
+ }
16457
+ return msg;
16458
+ };
16459
+
16460
+
16461
+ /**
16462
+ * Serializes the message to binary data (in protobuf wire format).
16463
+ * @return {!Uint8Array}
16464
+ */
16465
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.serializeBinary = function() {
16466
+ var writer = new jspb.BinaryWriter();
16467
+ proto.gateway.web.v1.DailyActivityMeasures.serializeBinaryToWriter(this, writer);
16468
+ return writer.getResultBuffer();
16469
+ };
16470
+
16471
+
16472
+ /**
16473
+ * Serializes the given message to binary data (in protobuf wire
16474
+ * format), writing to the given BinaryWriter.
16475
+ * @param {!proto.gateway.web.v1.DailyActivityMeasures} message
16476
+ * @param {!jspb.BinaryWriter} writer
16477
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16478
+ */
16479
+ proto.gateway.web.v1.DailyActivityMeasures.serializeBinaryToWriter = function(message, writer) {
16480
+ var f = undefined;
16481
+ f = message.getInputTokens();
16482
+ if (f !== 0) {
16483
+ writer.writeUint64(
16484
+ 1,
16485
+ f
16486
+ );
16487
+ }
16488
+ f = message.getOutputTokens();
16489
+ if (f !== 0) {
16490
+ writer.writeUint64(
16491
+ 2,
16492
+ f
16493
+ );
16494
+ }
16495
+ f = message.getCacheReadTokens();
16496
+ if (f !== 0) {
16497
+ writer.writeUint64(
16498
+ 3,
16499
+ f
16500
+ );
16501
+ }
16502
+ f = message.getCacheWriteTokens();
16503
+ if (f !== 0) {
16504
+ writer.writeUint64(
16505
+ 4,
16506
+ f
16507
+ );
16508
+ }
16509
+ f = message.getCostUsd();
16510
+ if (f !== 0.0) {
16511
+ writer.writeDouble(
16512
+ 5,
16513
+ f
16514
+ );
16515
+ }
16516
+ f = message.getModelCalls();
16517
+ if (f !== 0) {
16518
+ writer.writeUint64(
16519
+ 6,
16520
+ f
16521
+ );
16522
+ }
16523
+ f = message.getToolCalls();
16524
+ if (f !== 0) {
16525
+ writer.writeUint64(
16526
+ 7,
16527
+ f
16528
+ );
16529
+ }
16530
+ f = message.getUserMessages();
16531
+ if (f !== 0) {
16532
+ writer.writeUint64(
16533
+ 8,
16534
+ f
16535
+ );
16536
+ }
16537
+ f = message.getFilesTouched();
16538
+ if (f !== 0) {
16539
+ writer.writeUint64(
16540
+ 9,
16541
+ f
16542
+ );
16543
+ }
16544
+ f = message.getCommits();
16545
+ if (f !== 0) {
16546
+ writer.writeUint64(
16547
+ 10,
16548
+ f
16549
+ );
16550
+ }
16551
+ f = message.getGitPushes();
16552
+ if (f !== 0) {
16553
+ writer.writeUint64(
16554
+ 11,
16555
+ f
16556
+ );
16557
+ }
16558
+ f = message.getPullRequestsCreated();
16559
+ if (f !== 0) {
16560
+ writer.writeUint64(
16561
+ 12,
16562
+ f
16563
+ );
16564
+ }
16565
+ f = message.getPullRequestsMerged();
16566
+ if (f !== 0) {
16567
+ writer.writeUint64(
16568
+ 13,
16569
+ f
16570
+ );
16571
+ }
16572
+ f = message.getBranchesCreated();
16573
+ if (f !== 0) {
16574
+ writer.writeUint64(
16575
+ 14,
16576
+ f
16577
+ );
16578
+ }
16579
+ };
16580
+
16581
+
16582
+ /**
16583
+ * optional uint64 input_tokens = 1;
16584
+ * @return {number}
16585
+ */
16586
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getInputTokens = function() {
16587
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16588
+ };
16589
+
16590
+
16591
+ /**
16592
+ * @param {number} value
16593
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16594
+ */
16595
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setInputTokens = function(value) {
16596
+ return jspb.Message.setProto3IntField(this, 1, value);
16597
+ };
16598
+
16599
+
16600
+ /**
16601
+ * optional uint64 output_tokens = 2;
16602
+ * @return {number}
16603
+ */
16604
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getOutputTokens = function() {
16605
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
16606
+ };
16607
+
16608
+
16609
+ /**
16610
+ * @param {number} value
16611
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16612
+ */
16613
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setOutputTokens = function(value) {
16614
+ return jspb.Message.setProto3IntField(this, 2, value);
16615
+ };
16616
+
16617
+
16618
+ /**
16619
+ * optional uint64 cache_read_tokens = 3;
16620
+ * @return {number}
16621
+ */
16622
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getCacheReadTokens = function() {
16623
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
16624
+ };
16625
+
16626
+
16627
+ /**
16628
+ * @param {number} value
16629
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16630
+ */
16631
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setCacheReadTokens = function(value) {
16632
+ return jspb.Message.setProto3IntField(this, 3, value);
16633
+ };
16634
+
16635
+
16636
+ /**
16637
+ * optional uint64 cache_write_tokens = 4;
16638
+ * @return {number}
16639
+ */
16640
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getCacheWriteTokens = function() {
16641
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
16642
+ };
16643
+
16644
+
16645
+ /**
16646
+ * @param {number} value
16647
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16648
+ */
16649
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setCacheWriteTokens = function(value) {
16650
+ return jspb.Message.setProto3IntField(this, 4, value);
16651
+ };
16652
+
16653
+
16654
+ /**
16655
+ * optional double cost_usd = 5;
16656
+ * @return {number}
16657
+ */
16658
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getCostUsd = function() {
16659
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
16660
+ };
16661
+
16662
+
16663
+ /**
16664
+ * @param {number} value
16665
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16666
+ */
16667
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setCostUsd = function(value) {
16668
+ return jspb.Message.setProto3FloatField(this, 5, value);
16669
+ };
16670
+
16671
+
16672
+ /**
16673
+ * optional uint64 model_calls = 6;
16674
+ * @return {number}
16675
+ */
16676
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getModelCalls = function() {
16677
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
16678
+ };
16679
+
16680
+
16681
+ /**
16682
+ * @param {number} value
16683
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16684
+ */
16685
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setModelCalls = function(value) {
16686
+ return jspb.Message.setProto3IntField(this, 6, value);
16687
+ };
16688
+
16689
+
16690
+ /**
16691
+ * optional uint64 tool_calls = 7;
16692
+ * @return {number}
16693
+ */
16694
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getToolCalls = function() {
16695
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
16696
+ };
16697
+
16698
+
16699
+ /**
16700
+ * @param {number} value
16701
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16702
+ */
16703
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setToolCalls = function(value) {
16704
+ return jspb.Message.setProto3IntField(this, 7, value);
16705
+ };
16706
+
16707
+
16708
+ /**
16709
+ * optional uint64 user_messages = 8;
16710
+ * @return {number}
16711
+ */
16712
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getUserMessages = function() {
16713
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
16714
+ };
16715
+
16716
+
16717
+ /**
16718
+ * @param {number} value
16719
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16720
+ */
16721
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setUserMessages = function(value) {
16722
+ return jspb.Message.setProto3IntField(this, 8, value);
16723
+ };
16724
+
16725
+
16726
+ /**
16727
+ * optional uint64 files_touched = 9;
16728
+ * @return {number}
16729
+ */
16730
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getFilesTouched = function() {
16731
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
16732
+ };
16733
+
16734
+
16735
+ /**
16736
+ * @param {number} value
16737
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16738
+ */
16739
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setFilesTouched = function(value) {
16740
+ return jspb.Message.setProto3IntField(this, 9, value);
16741
+ };
16742
+
16743
+
16744
+ /**
16745
+ * optional uint64 commits = 10;
16746
+ * @return {number}
16747
+ */
16748
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getCommits = function() {
16749
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
16750
+ };
16751
+
16752
+
16753
+ /**
16754
+ * @param {number} value
16755
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16756
+ */
16757
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setCommits = function(value) {
16758
+ return jspb.Message.setProto3IntField(this, 10, value);
16759
+ };
16760
+
16761
+
16762
+ /**
16763
+ * optional uint64 git_pushes = 11;
16764
+ * @return {number}
16765
+ */
16766
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getGitPushes = function() {
16767
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
16768
+ };
16769
+
16770
+
16771
+ /**
16772
+ * @param {number} value
16773
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16774
+ */
16775
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setGitPushes = function(value) {
16776
+ return jspb.Message.setProto3IntField(this, 11, value);
16777
+ };
16778
+
16779
+
16780
+ /**
16781
+ * optional uint64 pull_requests_created = 12;
16782
+ * @return {number}
16783
+ */
16784
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getPullRequestsCreated = function() {
16785
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
16786
+ };
16787
+
16788
+
16789
+ /**
16790
+ * @param {number} value
16791
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16792
+ */
16793
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setPullRequestsCreated = function(value) {
16794
+ return jspb.Message.setProto3IntField(this, 12, value);
16795
+ };
16796
+
16797
+
16798
+ /**
16799
+ * optional uint64 pull_requests_merged = 13;
16800
+ * @return {number}
16801
+ */
16802
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getPullRequestsMerged = function() {
16803
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
16804
+ };
16805
+
16806
+
16807
+ /**
16808
+ * @param {number} value
16809
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16810
+ */
16811
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setPullRequestsMerged = function(value) {
16812
+ return jspb.Message.setProto3IntField(this, 13, value);
16813
+ };
16814
+
16815
+
16816
+ /**
16817
+ * optional uint64 branches_created = 14;
16818
+ * @return {number}
16819
+ */
16820
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getBranchesCreated = function() {
16821
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
16822
+ };
16823
+
16824
+
16825
+ /**
16826
+ * @param {number} value
16827
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
16828
+ */
16829
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setBranchesCreated = function(value) {
16830
+ return jspb.Message.setProto3IntField(this, 14, value);
16831
+ };
16832
+
16833
+
16834
+
16835
+
16836
+
15467
16837
  if (jspb.Message.GENERATE_TO_OBJECT) {
15468
16838
  /**
15469
16839
  * Creates an object representation of this proto.