@miradorlabs/web-grpc 4.13.0 → 4.15.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.
@@ -49,6 +49,14 @@ goog.exportSymbol('proto.gateway.web.v1.AIGitActivityFilter', null, global);
49
49
  goog.exportSymbol('proto.gateway.web.v1.AIGitOutcome', null, global);
50
50
  goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
51
51
  goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
52
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsight', null, global);
53
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightAvailability', null, global);
54
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCitation', null, global);
55
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCoverage', null, global);
56
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCoverageStatus', null, global);
57
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightKind', null, global);
58
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightRun', null, global);
59
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightStopReason', null, global);
52
60
  goog.exportSymbol('proto.gateway.web.v1.AIPromptClarity', null, global);
53
61
  goog.exportSymbol('proto.gateway.web.v1.AIPromptComplexity', null, global);
54
62
  goog.exportSymbol('proto.gateway.web.v1.AIPromptFrustration', null, global);
@@ -161,6 +169,8 @@ goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningRequest', null, global
161
169
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningResponse', null, global);
162
170
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningTrendRequest', null, global);
163
171
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningTrendResponse', null, global);
172
+ goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightsRequest', null, global);
173
+ goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightsResponse', null, global);
164
174
  goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsRequest', null, global);
165
175
  goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsResponse', null, global);
166
176
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global);
@@ -3875,6 +3885,132 @@ if (goog.DEBUG && !COMPILED) {
3875
3885
  */
3876
3886
  proto.gateway.web.v1.IssueSession.displayName = 'proto.gateway.web.v1.IssueSession';
3877
3887
  }
3888
+ /**
3889
+ * Generated by JsPbCodeGenerator.
3890
+ * @param {Array=} opt_data Optional initial data array, typically from a
3891
+ * server response, or constructed directly in Javascript. The array is used
3892
+ * in place and becomes part of the constructed object. It is not cloned.
3893
+ * If no data is provided, the constructed object will be empty, but still
3894
+ * valid.
3895
+ * @extends {jspb.Message}
3896
+ * @constructor
3897
+ */
3898
+ proto.gateway.web.v1.ListProjectInsightsRequest = function(opt_data) {
3899
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3900
+ };
3901
+ goog.inherits(proto.gateway.web.v1.ListProjectInsightsRequest, jspb.Message);
3902
+ if (goog.DEBUG && !COMPILED) {
3903
+ /**
3904
+ * @public
3905
+ * @override
3906
+ */
3907
+ proto.gateway.web.v1.ListProjectInsightsRequest.displayName = 'proto.gateway.web.v1.ListProjectInsightsRequest';
3908
+ }
3909
+ /**
3910
+ * Generated by JsPbCodeGenerator.
3911
+ * @param {Array=} opt_data Optional initial data array, typically from a
3912
+ * server response, or constructed directly in Javascript. The array is used
3913
+ * in place and becomes part of the constructed object. It is not cloned.
3914
+ * If no data is provided, the constructed object will be empty, but still
3915
+ * valid.
3916
+ * @extends {jspb.Message}
3917
+ * @constructor
3918
+ */
3919
+ proto.gateway.web.v1.ListProjectInsightsResponse = function(opt_data) {
3920
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3921
+ };
3922
+ goog.inherits(proto.gateway.web.v1.ListProjectInsightsResponse, jspb.Message);
3923
+ if (goog.DEBUG && !COMPILED) {
3924
+ /**
3925
+ * @public
3926
+ * @override
3927
+ */
3928
+ proto.gateway.web.v1.ListProjectInsightsResponse.displayName = 'proto.gateway.web.v1.ListProjectInsightsResponse';
3929
+ }
3930
+ /**
3931
+ * Generated by JsPbCodeGenerator.
3932
+ * @param {Array=} opt_data Optional initial data array, typically from a
3933
+ * server response, or constructed directly in Javascript. The array is used
3934
+ * in place and becomes part of the constructed object. It is not cloned.
3935
+ * If no data is provided, the constructed object will be empty, but still
3936
+ * valid.
3937
+ * @extends {jspb.Message}
3938
+ * @constructor
3939
+ */
3940
+ proto.gateway.web.v1.AIProjectInsightRun = function(opt_data) {
3941
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIProjectInsightRun.repeatedFields_, null);
3942
+ };
3943
+ goog.inherits(proto.gateway.web.v1.AIProjectInsightRun, jspb.Message);
3944
+ if (goog.DEBUG && !COMPILED) {
3945
+ /**
3946
+ * @public
3947
+ * @override
3948
+ */
3949
+ proto.gateway.web.v1.AIProjectInsightRun.displayName = 'proto.gateway.web.v1.AIProjectInsightRun';
3950
+ }
3951
+ /**
3952
+ * Generated by JsPbCodeGenerator.
3953
+ * @param {Array=} opt_data Optional initial data array, typically from a
3954
+ * server response, or constructed directly in Javascript. The array is used
3955
+ * in place and becomes part of the constructed object. It is not cloned.
3956
+ * If no data is provided, the constructed object will be empty, but still
3957
+ * valid.
3958
+ * @extends {jspb.Message}
3959
+ * @constructor
3960
+ */
3961
+ proto.gateway.web.v1.AIProjectInsightCoverage = function(opt_data) {
3962
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3963
+ };
3964
+ goog.inherits(proto.gateway.web.v1.AIProjectInsightCoverage, jspb.Message);
3965
+ if (goog.DEBUG && !COMPILED) {
3966
+ /**
3967
+ * @public
3968
+ * @override
3969
+ */
3970
+ proto.gateway.web.v1.AIProjectInsightCoverage.displayName = 'proto.gateway.web.v1.AIProjectInsightCoverage';
3971
+ }
3972
+ /**
3973
+ * Generated by JsPbCodeGenerator.
3974
+ * @param {Array=} opt_data Optional initial data array, typically from a
3975
+ * server response, or constructed directly in Javascript. The array is used
3976
+ * in place and becomes part of the constructed object. It is not cloned.
3977
+ * If no data is provided, the constructed object will be empty, but still
3978
+ * valid.
3979
+ * @extends {jspb.Message}
3980
+ * @constructor
3981
+ */
3982
+ proto.gateway.web.v1.AIProjectInsight = function(opt_data) {
3983
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIProjectInsight.repeatedFields_, null);
3984
+ };
3985
+ goog.inherits(proto.gateway.web.v1.AIProjectInsight, jspb.Message);
3986
+ if (goog.DEBUG && !COMPILED) {
3987
+ /**
3988
+ * @public
3989
+ * @override
3990
+ */
3991
+ proto.gateway.web.v1.AIProjectInsight.displayName = 'proto.gateway.web.v1.AIProjectInsight';
3992
+ }
3993
+ /**
3994
+ * Generated by JsPbCodeGenerator.
3995
+ * @param {Array=} opt_data Optional initial data array, typically from a
3996
+ * server response, or constructed directly in Javascript. The array is used
3997
+ * in place and becomes part of the constructed object. It is not cloned.
3998
+ * If no data is provided, the constructed object will be empty, but still
3999
+ * valid.
4000
+ * @extends {jspb.Message}
4001
+ * @constructor
4002
+ */
4003
+ proto.gateway.web.v1.AIProjectInsightCitation = function(opt_data) {
4004
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4005
+ };
4006
+ goog.inherits(proto.gateway.web.v1.AIProjectInsightCitation, jspb.Message);
4007
+ if (goog.DEBUG && !COMPILED) {
4008
+ /**
4009
+ * @public
4010
+ * @override
4011
+ */
4012
+ proto.gateway.web.v1.AIProjectInsightCitation.displayName = 'proto.gateway.web.v1.AIProjectInsightCitation';
4013
+ }
3878
4014
 
3879
4015
 
3880
4016
 
@@ -57602,266 +57738,2492 @@ proto.gateway.web.v1.IssueSession.prototype.setCostUsdNanos = function(value) {
57602
57738
  };
57603
57739
 
57604
57740
 
57741
+
57742
+
57743
+
57744
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57605
57745
  /**
57606
- * @enum {number}
57746
+ * Creates an object representation of this proto.
57747
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57748
+ * Optional fields that are not set will be set to undefined.
57749
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57750
+ * For the list of reserved names please see:
57751
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57752
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57753
+ * JSPB instance for transitional soy proto support:
57754
+ * http://goto/soy-param-migration
57755
+ * @return {!Object}
57607
57756
  */
57608
- proto.gateway.web.v1.SessionSort = {
57609
- SESSION_SORT_UNSPECIFIED: 0,
57610
- SESSION_SORT_COST: 1,
57611
- SESSION_SORT_TOKENS: 2,
57612
- SESSION_SORT_TURNS: 3,
57613
- SESSION_SORT_TOOLS: 4,
57614
- SESSION_SORT_RECENCY: 5,
57615
- SESSION_SORT_NET_COST: 6
57757
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.toObject = function(opt_includeInstance) {
57758
+ return proto.gateway.web.v1.ListProjectInsightsRequest.toObject(opt_includeInstance, this);
57616
57759
  };
57617
57760
 
57761
+
57618
57762
  /**
57619
- * @enum {number}
57763
+ * Static version of the {@see toObject} method.
57764
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57765
+ * the JSPB instance for transitional soy proto support:
57766
+ * http://goto/soy-param-migration
57767
+ * @param {!proto.gateway.web.v1.ListProjectInsightsRequest} msg The msg instance to transform.
57768
+ * @return {!Object}
57769
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57620
57770
  */
57621
- proto.gateway.web.v1.AISessionEventType = {
57622
- AI_SESSION_EVENT_TYPE_UNSPECIFIED: 0,
57623
- AI_SESSION_EVENT_TYPE_SESSION: 1,
57624
- AI_SESSION_EVENT_TYPE_MESSAGE: 2,
57625
- AI_SESSION_EVENT_TYPE_MODEL: 3,
57626
- AI_SESSION_EVENT_TYPE_TOOL: 4,
57627
- AI_SESSION_EVENT_TYPE_AGENT: 5,
57628
- AI_SESSION_EVENT_TYPE_COMMAND: 6,
57629
- AI_SESSION_EVENT_TYPE_COMPACTION: 7,
57630
- AI_SESSION_EVENT_TYPE_AUTH: 8,
57631
- AI_SESSION_EVENT_TYPE_SKILL: 9,
57632
- AI_SESSION_EVENT_TYPE_MCP: 10,
57633
- AI_SESSION_EVENT_TYPE_MENTION: 11,
57634
- AI_SESSION_EVENT_TYPE_PERMISSION: 12,
57635
- AI_SESSION_EVENT_TYPE_FEEDBACK: 13,
57636
- AI_SESSION_EVENT_TYPE_ERROR: 14,
57637
- AI_SESSION_EVENT_TYPE_SUMMARY: 15
57771
+ proto.gateway.web.v1.ListProjectInsightsRequest.toObject = function(includeInstance, msg) {
57772
+ var f, obj = {
57773
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
57774
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
57775
+ limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
57776
+ };
57777
+
57778
+ if (includeInstance) {
57779
+ obj.$jspbMessageInstance = msg;
57780
+ }
57781
+ return obj;
57638
57782
  };
57783
+ }
57784
+
57639
57785
 
57640
57786
  /**
57641
- * @enum {number}
57787
+ * Deserializes binary data (in protobuf wire format).
57788
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
57789
+ * @return {!proto.gateway.web.v1.ListProjectInsightsRequest}
57642
57790
  */
57643
- proto.gateway.web.v1.AIPromptComplexity = {
57644
- AI_PROMPT_COMPLEXITY_UNSPECIFIED: 0,
57645
- AI_PROMPT_COMPLEXITY_SIMPLE: 1,
57646
- AI_PROMPT_COMPLEXITY_MODERATE: 2,
57647
- AI_PROMPT_COMPLEXITY_COMPLEX: 3
57791
+ proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinary = function(bytes) {
57792
+ var reader = new jspb.BinaryReader(bytes);
57793
+ var msg = new proto.gateway.web.v1.ListProjectInsightsRequest;
57794
+ return proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinaryFromReader(msg, reader);
57648
57795
  };
57649
57796
 
57797
+
57650
57798
  /**
57651
- * @enum {number}
57799
+ * Deserializes binary data (in protobuf wire format) from the
57800
+ * given reader into the given message object.
57801
+ * @param {!proto.gateway.web.v1.ListProjectInsightsRequest} msg The message object to deserialize into.
57802
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57803
+ * @return {!proto.gateway.web.v1.ListProjectInsightsRequest}
57652
57804
  */
57653
- proto.gateway.web.v1.AIPromptClarity = {
57654
- AI_PROMPT_CLARITY_UNSPECIFIED: 0,
57655
- AI_PROMPT_CLARITY_UNCLEAR: 1,
57656
- AI_PROMPT_CLARITY_PARTIAL: 2,
57657
- AI_PROMPT_CLARITY_CLEAR: 3
57805
+ proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinaryFromReader = function(msg, reader) {
57806
+ while (reader.nextField()) {
57807
+ if (reader.isEndGroup()) {
57808
+ break;
57809
+ }
57810
+ var field = reader.getFieldNumber();
57811
+ switch (field) {
57812
+ case 1:
57813
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
57814
+ msg.setOrganizationId(value);
57815
+ break;
57816
+ case 2:
57817
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
57818
+ msg.setProjectId(value);
57819
+ break;
57820
+ case 3:
57821
+ var value = /** @type {number} */ (reader.readInt32());
57822
+ msg.setLimit(value);
57823
+ break;
57824
+ default:
57825
+ reader.skipField();
57826
+ break;
57827
+ }
57828
+ }
57829
+ return msg;
57658
57830
  };
57659
57831
 
57832
+
57660
57833
  /**
57661
- * @enum {number}
57834
+ * Serializes the message to binary data (in protobuf wire format).
57835
+ * @return {!Uint8Array}
57662
57836
  */
57663
- proto.gateway.web.v1.AIPromptSteering = {
57664
- AI_PROMPT_STEERING_UNSPECIFIED: 0,
57665
- AI_PROMPT_STEERING_NEW_TASK: 1,
57666
- AI_PROMPT_STEERING_FOLLOW_UP: 2,
57667
- AI_PROMPT_STEERING_CORRECTION: 3,
57668
- AI_PROMPT_STEERING_REDIRECT: 4,
57669
- AI_PROMPT_STEERING_APPROVAL: 5
57837
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.serializeBinary = function() {
57838
+ var writer = new jspb.BinaryWriter();
57839
+ proto.gateway.web.v1.ListProjectInsightsRequest.serializeBinaryToWriter(this, writer);
57840
+ return writer.getResultBuffer();
57670
57841
  };
57671
57842
 
57843
+
57672
57844
  /**
57673
- * @enum {number}
57845
+ * Serializes the given message to binary data (in protobuf wire
57846
+ * format), writing to the given BinaryWriter.
57847
+ * @param {!proto.gateway.web.v1.ListProjectInsightsRequest} message
57848
+ * @param {!jspb.BinaryWriter} writer
57849
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57674
57850
  */
57675
- proto.gateway.web.v1.AIPromptFrustration = {
57676
- AI_PROMPT_FRUSTRATION_UNSPECIFIED: 0,
57677
- AI_PROMPT_FRUSTRATION_NONE: 1,
57678
- AI_PROMPT_FRUSTRATION_MILD: 2,
57679
- AI_PROMPT_FRUSTRATION_STRONG: 3
57851
+ proto.gateway.web.v1.ListProjectInsightsRequest.serializeBinaryToWriter = function(message, writer) {
57852
+ var f = undefined;
57853
+ f = message.getOrganizationId();
57854
+ if (f.length > 0) {
57855
+ writer.writeString(
57856
+ 1,
57857
+ f
57858
+ );
57859
+ }
57860
+ f = message.getProjectId();
57861
+ if (f.length > 0) {
57862
+ writer.writeString(
57863
+ 2,
57864
+ f
57865
+ );
57866
+ }
57867
+ f = message.getLimit();
57868
+ if (f !== 0) {
57869
+ writer.writeInt32(
57870
+ 3,
57871
+ f
57872
+ );
57873
+ }
57680
57874
  };
57681
57875
 
57876
+
57682
57877
  /**
57683
- * @enum {number}
57878
+ * optional string organization_id = 1;
57879
+ * @return {string}
57684
57880
  */
57685
- proto.gateway.web.v1.AIPromptSentiment = {
57686
- AI_PROMPT_SENTIMENT_UNSPECIFIED: 0,
57687
- AI_PROMPT_SENTIMENT_NEGATIVE: 1,
57688
- AI_PROMPT_SENTIMENT_NEUTRAL: 2,
57689
- AI_PROMPT_SENTIMENT_POSITIVE: 3
57881
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.getOrganizationId = function() {
57882
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
57690
57883
  };
57691
57884
 
57885
+
57692
57886
  /**
57693
- * @enum {number}
57887
+ * @param {string} value
57888
+ * @return {!proto.gateway.web.v1.ListProjectInsightsRequest} returns this
57694
57889
  */
57695
- proto.gateway.web.v1.AISessionWorkType = {
57696
- AI_SESSION_WORK_TYPE_UNSPECIFIED: 0,
57697
- AI_SESSION_WORK_TYPE_BUG_FIX: 1,
57698
- AI_SESSION_WORK_TYPE_FEATURE: 2,
57699
- AI_SESSION_WORK_TYPE_REFACTOR: 3,
57700
- AI_SESSION_WORK_TYPE_TESTS: 4,
57701
- AI_SESSION_WORK_TYPE_DOCS: 5,
57702
- AI_SESSION_WORK_TYPE_OPS: 6,
57703
- AI_SESSION_WORK_TYPE_REVIEW: 7,
57704
- AI_SESSION_WORK_TYPE_EXPLORATION: 8
57890
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.setOrganizationId = function(value) {
57891
+ return jspb.Message.setProto3StringField(this, 1, value);
57705
57892
  };
57706
57893
 
57894
+
57707
57895
  /**
57708
- * @enum {number}
57896
+ * optional string project_id = 2;
57897
+ * @return {string}
57709
57898
  */
57710
- proto.gateway.web.v1.AISessionComplexity = {
57711
- AI_SESSION_COMPLEXITY_UNSPECIFIED: 0,
57712
- AI_SESSION_COMPLEXITY_SMALL: 1,
57713
- AI_SESSION_COMPLEXITY_MEDIUM: 2,
57714
- AI_SESSION_COMPLEXITY_LARGE: 3
57899
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.getProjectId = function() {
57900
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
57715
57901
  };
57716
57902
 
57903
+
57717
57904
  /**
57718
- * @enum {number}
57905
+ * @param {string} value
57906
+ * @return {!proto.gateway.web.v1.ListProjectInsightsRequest} returns this
57719
57907
  */
57720
- proto.gateway.web.v1.AISessionOutcome = {
57721
- AI_SESSION_OUTCOME_UNSPECIFIED: 0,
57722
- AI_SESSION_OUTCOME_DELIVERED: 1,
57723
- AI_SESSION_OUTCOME_PARTIAL: 2,
57724
- AI_SESSION_OUTCOME_ABANDONED: 3,
57725
- AI_SESSION_OUTCOME_UNCLEAR: 4
57908
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.setProjectId = function(value) {
57909
+ return jspb.Message.setProto3StringField(this, 2, value);
57726
57910
  };
57727
57911
 
57912
+
57728
57913
  /**
57729
- * @enum {number}
57914
+ * optional int32 limit = 3;
57915
+ * @return {number}
57730
57916
  */
57731
- proto.gateway.web.v1.AISessionSteeringLoad = {
57732
- AI_SESSION_STEERING_LOAD_UNSPECIFIED: 0,
57733
- AI_SESSION_STEERING_LOAD_NONE: 1,
57734
- AI_SESSION_STEERING_LOAD_LIGHT: 2,
57735
- AI_SESSION_STEERING_LOAD_HEAVY: 3
57917
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.getLimit = function() {
57918
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
57736
57919
  };
57737
57920
 
57921
+
57738
57922
  /**
57739
- * @enum {number}
57923
+ * @param {number} value
57924
+ * @return {!proto.gateway.web.v1.ListProjectInsightsRequest} returns this
57740
57925
  */
57741
- proto.gateway.web.v1.AISessionAgentReliability = {
57742
- AI_SESSION_AGENT_RELIABILITY_UNSPECIFIED: 0,
57743
- AI_SESSION_AGENT_RELIABILITY_CLEAN: 1,
57744
- AI_SESSION_AGENT_RELIABILITY_MINOR_ISSUES: 2,
57745
- AI_SESSION_AGENT_RELIABILITY_CONSTRAINT_VIOLATION: 3,
57746
- AI_SESSION_AGENT_RELIABILITY_MAJOR_FAILURE: 4
57926
+ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.setLimit = function(value) {
57927
+ return jspb.Message.setProto3IntField(this, 3, value);
57747
57928
  };
57748
57929
 
57930
+
57931
+
57932
+
57933
+
57934
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57749
57935
  /**
57750
- * @enum {number}
57936
+ * Creates an object representation of this proto.
57937
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57938
+ * Optional fields that are not set will be set to undefined.
57939
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57940
+ * For the list of reserved names please see:
57941
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57942
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57943
+ * JSPB instance for transitional soy proto support:
57944
+ * http://goto/soy-param-migration
57945
+ * @return {!Object}
57751
57946
  */
57752
- proto.gateway.web.v1.AISessionVerification = {
57753
- AI_SESSION_VERIFICATION_UNSPECIFIED: 0,
57754
- AI_SESSION_VERIFICATION_VERIFIED: 1,
57755
- AI_SESSION_VERIFICATION_CLAIMED_ONLY: 2,
57756
- AI_SESSION_VERIFICATION_NOT_APPLICABLE: 3,
57757
- AI_SESSION_VERIFICATION_UNOBSERVED: 4
57947
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.toObject = function(opt_includeInstance) {
57948
+ return proto.gateway.web.v1.ListProjectInsightsResponse.toObject(opt_includeInstance, this);
57758
57949
  };
57759
57950
 
57951
+
57760
57952
  /**
57761
- * @enum {number}
57953
+ * Static version of the {@see toObject} method.
57954
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57955
+ * the JSPB instance for transitional soy proto support:
57956
+ * http://goto/soy-param-migration
57957
+ * @param {!proto.gateway.web.v1.ListProjectInsightsResponse} msg The msg instance to transform.
57958
+ * @return {!Object}
57959
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57762
57960
  */
57763
- proto.gateway.web.v1.AISessionInsightCategory = {
57764
- AI_SESSION_INSIGHT_CATEGORY_UNSPECIFIED: 0,
57765
- AI_SESSION_INSIGHT_CATEGORY_CONSTRAINT_VIOLATION: 1,
57766
- AI_SESSION_INSIGHT_CATEGORY_MISREAD_REQUEST: 2,
57767
- AI_SESSION_INSIGHT_CATEGORY_REPEATED_CORRECTION: 3,
57768
- AI_SESSION_INSIGHT_CATEGORY_LOOPING: 4,
57769
- AI_SESSION_INSIGHT_CATEGORY_VERIFICATION_GAP: 5,
57770
- AI_SESSION_INSIGHT_CATEGORY_MISSING_CONTEXT: 6,
57771
- AI_SESSION_INSIGHT_CATEGORY_TOOLING_FAILURE: 7,
57772
- AI_SESSION_INSIGHT_CATEGORY_SCOPE_CREEP: 8,
57773
- AI_SESSION_INSIGHT_CATEGORY_MANUAL_WORKFLOW: 9
57961
+ proto.gateway.web.v1.ListProjectInsightsResponse.toObject = function(includeInstance, msg) {
57962
+ var f, obj = {
57963
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
57964
+ availability: jspb.Message.getFieldWithDefault(msg, 2, 0),
57965
+ current: (f = msg.getCurrent()) && proto.gateway.web.v1.AIProjectInsightRun.toObject(includeInstance, f),
57966
+ previous: (f = msg.getPrevious()) && proto.gateway.web.v1.AIProjectInsightRun.toObject(includeInstance, f)
57967
+ };
57968
+
57969
+ if (includeInstance) {
57970
+ obj.$jspbMessageInstance = msg;
57971
+ }
57972
+ return obj;
57774
57973
  };
57974
+ }
57975
+
57775
57976
 
57776
57977
  /**
57777
- * @enum {number}
57978
+ * Deserializes binary data (in protobuf wire format).
57979
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
57980
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse}
57778
57981
  */
57779
- proto.gateway.web.v1.AISessionInsightActionType = {
57780
- AI_SESSION_INSIGHT_ACTION_TYPE_UNSPECIFIED: 0,
57781
- AI_SESSION_INSIGHT_ACTION_TYPE_ADD_RULE: 1,
57782
- AI_SESSION_INSIGHT_ACTION_TYPE_ADD_SKILL: 2,
57783
- AI_SESSION_INSIGHT_ACTION_TYPE_USE_EXISTING_SKILL: 3,
57784
- AI_SESSION_INSIGHT_ACTION_TYPE_CHANGE_MODEL: 4,
57785
- AI_SESSION_INSIGHT_ACTION_TYPE_CLARIFY_PROMPTS: 5,
57786
- AI_SESSION_INSIGHT_ACTION_TYPE_FIX_TOOLING: 6
57982
+ proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinary = function(bytes) {
57983
+ var reader = new jspb.BinaryReader(bytes);
57984
+ var msg = new proto.gateway.web.v1.ListProjectInsightsResponse;
57985
+ return proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinaryFromReader(msg, reader);
57787
57986
  };
57788
57987
 
57988
+
57789
57989
  /**
57790
- * @enum {number}
57990
+ * Deserializes binary data (in protobuf wire format) from the
57991
+ * given reader into the given message object.
57992
+ * @param {!proto.gateway.web.v1.ListProjectInsightsResponse} msg The message object to deserialize into.
57993
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57994
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse}
57791
57995
  */
57792
- proto.gateway.web.v1.AISessionInsightSeverity = {
57793
- AI_SESSION_INSIGHT_SEVERITY_UNSPECIFIED: 0,
57794
- AI_SESSION_INSIGHT_SEVERITY_LOW: 1,
57795
- AI_SESSION_INSIGHT_SEVERITY_MEDIUM: 2,
57796
- AI_SESSION_INSIGHT_SEVERITY_HIGH: 3
57996
+ proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinaryFromReader = function(msg, reader) {
57997
+ while (reader.nextField()) {
57998
+ if (reader.isEndGroup()) {
57999
+ break;
58000
+ }
58001
+ var field = reader.getFieldNumber();
58002
+ switch (field) {
58003
+ case 1:
58004
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
58005
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
58006
+ msg.setStatus(value);
58007
+ break;
58008
+ case 2:
58009
+ var value = /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (reader.readEnum());
58010
+ msg.setAvailability(value);
58011
+ break;
58012
+ case 3:
58013
+ var value = new proto.gateway.web.v1.AIProjectInsightRun;
58014
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader);
58015
+ msg.setCurrent(value);
58016
+ break;
58017
+ case 4:
58018
+ var value = new proto.gateway.web.v1.AIProjectInsightRun;
58019
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader);
58020
+ msg.setPrevious(value);
58021
+ break;
58022
+ default:
58023
+ reader.skipField();
58024
+ break;
58025
+ }
58026
+ }
58027
+ return msg;
57797
58028
  };
57798
58029
 
58030
+
57799
58031
  /**
57800
- * @enum {number}
58032
+ * Serializes the message to binary data (in protobuf wire format).
58033
+ * @return {!Uint8Array}
57801
58034
  */
57802
- proto.gateway.web.v1.AISessionScoreComponentKind = {
57803
- AI_SESSION_SCORE_COMPONENT_KIND_UNSPECIFIED: 0,
57804
- AI_SESSION_SCORE_COMPONENT_KIND_OUTCOME: 1,
57805
- AI_SESSION_SCORE_COMPONENT_KIND_STEERING_LOAD: 2,
57806
- AI_SESSION_SCORE_COMPONENT_KIND_AGENT_RELIABILITY: 3,
57807
- AI_SESSION_SCORE_COMPONENT_KIND_VERIFICATION: 4,
57808
- AI_SESSION_SCORE_COMPONENT_KIND_REWORK_SPEND: 5,
57809
- AI_SESSION_SCORE_COMPONENT_KIND_PROMPT_CLARITY: 6
58035
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.serializeBinary = function() {
58036
+ var writer = new jspb.BinaryWriter();
58037
+ proto.gateway.web.v1.ListProjectInsightsResponse.serializeBinaryToWriter(this, writer);
58038
+ return writer.getResultBuffer();
57810
58039
  };
57811
58040
 
58041
+
57812
58042
  /**
57813
- * @enum {number}
58043
+ * Serializes the given message to binary data (in protobuf wire
58044
+ * format), writing to the given BinaryWriter.
58045
+ * @param {!proto.gateway.web.v1.ListProjectInsightsResponse} message
58046
+ * @param {!jspb.BinaryWriter} writer
58047
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57814
58048
  */
57815
- proto.gateway.web.v1.AIGitAction = {
57816
- AI_GIT_ACTION_UNSPECIFIED: 0,
57817
- AI_GIT_ACTION_BRANCH_CREATE: 1,
57818
- AI_GIT_ACTION_COMMIT: 2,
57819
- AI_GIT_ACTION_PUSH: 3,
57820
- AI_GIT_ACTION_PULL_REQUEST_CREATE: 4,
57821
- AI_GIT_ACTION_PULL_REQUEST_MERGE: 5,
57822
- AI_GIT_ACTION_PULL_REQUEST_COMMENT: 6,
57823
- AI_GIT_ACTION_OTHER: 7
58049
+ proto.gateway.web.v1.ListProjectInsightsResponse.serializeBinaryToWriter = function(message, writer) {
58050
+ var f = undefined;
58051
+ f = message.getStatus();
58052
+ if (f != null) {
58053
+ writer.writeMessage(
58054
+ 1,
58055
+ f,
58056
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
58057
+ );
58058
+ }
58059
+ f = message.getAvailability();
58060
+ if (f !== 0.0) {
58061
+ writer.writeEnum(
58062
+ 2,
58063
+ f
58064
+ );
58065
+ }
58066
+ f = message.getCurrent();
58067
+ if (f != null) {
58068
+ writer.writeMessage(
58069
+ 3,
58070
+ f,
58071
+ proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter
58072
+ );
58073
+ }
58074
+ f = message.getPrevious();
58075
+ if (f != null) {
58076
+ writer.writeMessage(
58077
+ 4,
58078
+ f,
58079
+ proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter
58080
+ );
58081
+ }
57824
58082
  };
57825
58083
 
58084
+
57826
58085
  /**
57827
- * @enum {number}
58086
+ * optional gateway.common.v1.ResponseStatus status = 1;
58087
+ * @return {?proto.gateway.common.v1.ResponseStatus}
57828
58088
  */
57829
- proto.gateway.web.v1.AIGitOutcome = {
57830
- AI_GIT_OUTCOME_UNSPECIFIED: 0,
57831
- AI_GIT_OUTCOME_ATTEMPTED: 1,
57832
- AI_GIT_OUTCOME_CONFIRMED: 2,
57833
- AI_GIT_OUTCOME_FAILED: 3
58089
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getStatus = function() {
58090
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
58091
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
57834
58092
  };
57835
58093
 
58094
+
57836
58095
  /**
57837
- * @enum {number}
57838
- */
57839
- proto.gateway.web.v1.AIGitActivityDimension = {
57840
- AI_GIT_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
57841
- AI_GIT_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 1,
57842
- AI_GIT_ACTIVITY_DIMENSION_REPOSITORY: 2,
57843
- AI_GIT_ACTIVITY_DIMENSION_ACTION: 3,
57844
- AI_GIT_ACTIVITY_DIMENSION_OUTCOME: 4,
57845
- AI_GIT_ACTIVITY_DIMENSION_SESSION: 5
58096
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
58097
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
58098
+ */
58099
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setStatus = function(value) {
58100
+ return jspb.Message.setWrapperField(this, 1, value);
57846
58101
  };
57847
58102
 
58103
+
57848
58104
  /**
57849
- * @enum {number}
58105
+ * Clears the message field making it undefined.
58106
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
57850
58107
  */
57851
- proto.gateway.web.v1.AITokenActivityDimension = {
57852
- AI_TOKEN_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
57853
- AI_TOKEN_ACTIVITY_DIMENSION_MODEL: 1,
57854
- AI_TOKEN_ACTIVITY_DIMENSION_PROVIDER: 2,
57855
- AI_TOKEN_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 3,
57856
- AI_TOKEN_ACTIVITY_DIMENSION_USER: 4,
57857
- AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5,
57858
- AI_TOKEN_ACTIVITY_DIMENSION_EFFORT: 6
58108
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.clearStatus = function() {
58109
+ return this.setStatus(undefined);
57859
58110
  };
57860
58111
 
58112
+
57861
58113
  /**
57862
- * @enum {number}
58114
+ * Returns whether this field is set.
58115
+ * @return {boolean}
57863
58116
  */
57864
- proto.gateway.web.v1.AISpendForecastDimension = {
58117
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.hasStatus = function() {
58118
+ return jspb.Message.getField(this, 1) != null;
58119
+ };
58120
+
58121
+
58122
+ /**
58123
+ * optional AIProjectInsightAvailability availability = 2;
58124
+ * @return {!proto.gateway.web.v1.AIProjectInsightAvailability}
58125
+ */
58126
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getAvailability = function() {
58127
+ return /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
58128
+ };
58129
+
58130
+
58131
+ /**
58132
+ * @param {!proto.gateway.web.v1.AIProjectInsightAvailability} value
58133
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
58134
+ */
58135
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setAvailability = function(value) {
58136
+ return jspb.Message.setProto3EnumField(this, 2, value);
58137
+ };
58138
+
58139
+
58140
+ /**
58141
+ * optional AIProjectInsightRun current = 3;
58142
+ * @return {?proto.gateway.web.v1.AIProjectInsightRun}
58143
+ */
58144
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getCurrent = function() {
58145
+ return /** @type{?proto.gateway.web.v1.AIProjectInsightRun} */ (
58146
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightRun, 3));
58147
+ };
58148
+
58149
+
58150
+ /**
58151
+ * @param {?proto.gateway.web.v1.AIProjectInsightRun|undefined} value
58152
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
58153
+ */
58154
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setCurrent = function(value) {
58155
+ return jspb.Message.setWrapperField(this, 3, value);
58156
+ };
58157
+
58158
+
58159
+ /**
58160
+ * Clears the message field making it undefined.
58161
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
58162
+ */
58163
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.clearCurrent = function() {
58164
+ return this.setCurrent(undefined);
58165
+ };
58166
+
58167
+
58168
+ /**
58169
+ * Returns whether this field is set.
58170
+ * @return {boolean}
58171
+ */
58172
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.hasCurrent = function() {
58173
+ return jspb.Message.getField(this, 3) != null;
58174
+ };
58175
+
58176
+
58177
+ /**
58178
+ * optional AIProjectInsightRun previous = 4;
58179
+ * @return {?proto.gateway.web.v1.AIProjectInsightRun}
58180
+ */
58181
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getPrevious = function() {
58182
+ return /** @type{?proto.gateway.web.v1.AIProjectInsightRun} */ (
58183
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightRun, 4));
58184
+ };
58185
+
58186
+
58187
+ /**
58188
+ * @param {?proto.gateway.web.v1.AIProjectInsightRun|undefined} value
58189
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
58190
+ */
58191
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setPrevious = function(value) {
58192
+ return jspb.Message.setWrapperField(this, 4, value);
58193
+ };
58194
+
58195
+
58196
+ /**
58197
+ * Clears the message field making it undefined.
58198
+ * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
58199
+ */
58200
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.clearPrevious = function() {
58201
+ return this.setPrevious(undefined);
58202
+ };
58203
+
58204
+
58205
+ /**
58206
+ * Returns whether this field is set.
58207
+ * @return {boolean}
58208
+ */
58209
+ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.hasPrevious = function() {
58210
+ return jspb.Message.getField(this, 4) != null;
58211
+ };
58212
+
58213
+
58214
+
58215
+ /**
58216
+ * List of repeated fields within this message type.
58217
+ * @private {!Array<number>}
58218
+ * @const
58219
+ */
58220
+ proto.gateway.web.v1.AIProjectInsightRun.repeatedFields_ = [16];
58221
+
58222
+
58223
+
58224
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58225
+ /**
58226
+ * Creates an object representation of this proto.
58227
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58228
+ * Optional fields that are not set will be set to undefined.
58229
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58230
+ * For the list of reserved names please see:
58231
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58232
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58233
+ * JSPB instance for transitional soy proto support:
58234
+ * http://goto/soy-param-migration
58235
+ * @return {!Object}
58236
+ */
58237
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.toObject = function(opt_includeInstance) {
58238
+ return proto.gateway.web.v1.AIProjectInsightRun.toObject(opt_includeInstance, this);
58239
+ };
58240
+
58241
+
58242
+ /**
58243
+ * Static version of the {@see toObject} method.
58244
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58245
+ * the JSPB instance for transitional soy proto support:
58246
+ * http://goto/soy-param-migration
58247
+ * @param {!proto.gateway.web.v1.AIProjectInsightRun} msg The msg instance to transform.
58248
+ * @return {!Object}
58249
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58250
+ */
58251
+ proto.gateway.web.v1.AIProjectInsightRun.toObject = function(includeInstance, msg) {
58252
+ var f, obj = {
58253
+ runId: jspb.Message.getFieldWithDefault(msg, 1, ""),
58254
+ availability: jspb.Message.getFieldWithDefault(msg, 2, 0),
58255
+ localDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
58256
+ timeZone: jspb.Message.getFieldWithDefault(msg, 4, ""),
58257
+ timeZoneSet: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
58258
+ windowClosed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
58259
+ windowStart: (f = msg.getWindowStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
58260
+ windowEnd: (f = msg.getWindowEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
58261
+ analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
58262
+ model: jspb.Message.getFieldWithDefault(msg, 10, ""),
58263
+ analysisVersion: jspb.Message.getFieldWithDefault(msg, 11, ""),
58264
+ eligibleSessionCount: jspb.Message.getFieldWithDefault(msg, 12, 0),
58265
+ unresolvedSessionCount: jspb.Message.getFieldWithDefault(msg, 13, 0),
58266
+ linkedPersonCount: jspb.Message.getFieldWithDefault(msg, 14, 0),
58267
+ coverage: (f = msg.getCoverage()) && proto.gateway.web.v1.AIProjectInsightCoverage.toObject(includeInstance, f),
58268
+ insightsList: jspb.Message.toObjectList(msg.getInsightsList(),
58269
+ proto.gateway.web.v1.AIProjectInsight.toObject, includeInstance),
58270
+ totalCount: jspb.Message.getFieldWithDefault(msg, 17, 0)
58271
+ };
58272
+
58273
+ if (includeInstance) {
58274
+ obj.$jspbMessageInstance = msg;
58275
+ }
58276
+ return obj;
58277
+ };
58278
+ }
58279
+
58280
+
58281
+ /**
58282
+ * Deserializes binary data (in protobuf wire format).
58283
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
58284
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun}
58285
+ */
58286
+ proto.gateway.web.v1.AIProjectInsightRun.deserializeBinary = function(bytes) {
58287
+ var reader = new jspb.BinaryReader(bytes);
58288
+ var msg = new proto.gateway.web.v1.AIProjectInsightRun;
58289
+ return proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader(msg, reader);
58290
+ };
58291
+
58292
+
58293
+ /**
58294
+ * Deserializes binary data (in protobuf wire format) from the
58295
+ * given reader into the given message object.
58296
+ * @param {!proto.gateway.web.v1.AIProjectInsightRun} msg The message object to deserialize into.
58297
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
58298
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun}
58299
+ */
58300
+ proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader = function(msg, reader) {
58301
+ while (reader.nextField()) {
58302
+ if (reader.isEndGroup()) {
58303
+ break;
58304
+ }
58305
+ var field = reader.getFieldNumber();
58306
+ switch (field) {
58307
+ case 1:
58308
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
58309
+ msg.setRunId(value);
58310
+ break;
58311
+ case 2:
58312
+ var value = /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (reader.readEnum());
58313
+ msg.setAvailability(value);
58314
+ break;
58315
+ case 3:
58316
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
58317
+ msg.setLocalDate(value);
58318
+ break;
58319
+ case 4:
58320
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
58321
+ msg.setTimeZone(value);
58322
+ break;
58323
+ case 5:
58324
+ var value = /** @type {boolean} */ (reader.readBool());
58325
+ msg.setTimeZoneSet(value);
58326
+ break;
58327
+ case 6:
58328
+ var value = /** @type {boolean} */ (reader.readBool());
58329
+ msg.setWindowClosed(value);
58330
+ break;
58331
+ case 7:
58332
+ var value = new google_protobuf_timestamp_pb.Timestamp;
58333
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
58334
+ msg.setWindowStart(value);
58335
+ break;
58336
+ case 8:
58337
+ var value = new google_protobuf_timestamp_pb.Timestamp;
58338
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
58339
+ msg.setWindowEnd(value);
58340
+ break;
58341
+ case 9:
58342
+ var value = new google_protobuf_timestamp_pb.Timestamp;
58343
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
58344
+ msg.setAnalyzedAt(value);
58345
+ break;
58346
+ case 10:
58347
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
58348
+ msg.setModel(value);
58349
+ break;
58350
+ case 11:
58351
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
58352
+ msg.setAnalysisVersion(value);
58353
+ break;
58354
+ case 12:
58355
+ var value = /** @type {number} */ (reader.readUint32());
58356
+ msg.setEligibleSessionCount(value);
58357
+ break;
58358
+ case 13:
58359
+ var value = /** @type {number} */ (reader.readUint32());
58360
+ msg.setUnresolvedSessionCount(value);
58361
+ break;
58362
+ case 14:
58363
+ var value = /** @type {number} */ (reader.readUint32());
58364
+ msg.setLinkedPersonCount(value);
58365
+ break;
58366
+ case 15:
58367
+ var value = new proto.gateway.web.v1.AIProjectInsightCoverage;
58368
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinaryFromReader);
58369
+ msg.setCoverage(value);
58370
+ break;
58371
+ case 16:
58372
+ var value = new proto.gateway.web.v1.AIProjectInsight;
58373
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader);
58374
+ msg.addInsights(value);
58375
+ break;
58376
+ case 17:
58377
+ var value = /** @type {number} */ (reader.readUint32());
58378
+ msg.setTotalCount(value);
58379
+ break;
58380
+ default:
58381
+ reader.skipField();
58382
+ break;
58383
+ }
58384
+ }
58385
+ return msg;
58386
+ };
58387
+
58388
+
58389
+ /**
58390
+ * Serializes the message to binary data (in protobuf wire format).
58391
+ * @return {!Uint8Array}
58392
+ */
58393
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.serializeBinary = function() {
58394
+ var writer = new jspb.BinaryWriter();
58395
+ proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter(this, writer);
58396
+ return writer.getResultBuffer();
58397
+ };
58398
+
58399
+
58400
+ /**
58401
+ * Serializes the given message to binary data (in protobuf wire
58402
+ * format), writing to the given BinaryWriter.
58403
+ * @param {!proto.gateway.web.v1.AIProjectInsightRun} message
58404
+ * @param {!jspb.BinaryWriter} writer
58405
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58406
+ */
58407
+ proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter = function(message, writer) {
58408
+ var f = undefined;
58409
+ f = message.getRunId();
58410
+ if (f.length > 0) {
58411
+ writer.writeString(
58412
+ 1,
58413
+ f
58414
+ );
58415
+ }
58416
+ f = message.getAvailability();
58417
+ if (f !== 0.0) {
58418
+ writer.writeEnum(
58419
+ 2,
58420
+ f
58421
+ );
58422
+ }
58423
+ f = message.getLocalDate();
58424
+ if (f.length > 0) {
58425
+ writer.writeString(
58426
+ 3,
58427
+ f
58428
+ );
58429
+ }
58430
+ f = message.getTimeZone();
58431
+ if (f.length > 0) {
58432
+ writer.writeString(
58433
+ 4,
58434
+ f
58435
+ );
58436
+ }
58437
+ f = message.getTimeZoneSet();
58438
+ if (f) {
58439
+ writer.writeBool(
58440
+ 5,
58441
+ f
58442
+ );
58443
+ }
58444
+ f = message.getWindowClosed();
58445
+ if (f) {
58446
+ writer.writeBool(
58447
+ 6,
58448
+ f
58449
+ );
58450
+ }
58451
+ f = message.getWindowStart();
58452
+ if (f != null) {
58453
+ writer.writeMessage(
58454
+ 7,
58455
+ f,
58456
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
58457
+ );
58458
+ }
58459
+ f = message.getWindowEnd();
58460
+ if (f != null) {
58461
+ writer.writeMessage(
58462
+ 8,
58463
+ f,
58464
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
58465
+ );
58466
+ }
58467
+ f = message.getAnalyzedAt();
58468
+ if (f != null) {
58469
+ writer.writeMessage(
58470
+ 9,
58471
+ f,
58472
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
58473
+ );
58474
+ }
58475
+ f = message.getModel();
58476
+ if (f.length > 0) {
58477
+ writer.writeString(
58478
+ 10,
58479
+ f
58480
+ );
58481
+ }
58482
+ f = message.getAnalysisVersion();
58483
+ if (f.length > 0) {
58484
+ writer.writeString(
58485
+ 11,
58486
+ f
58487
+ );
58488
+ }
58489
+ f = message.getEligibleSessionCount();
58490
+ if (f !== 0) {
58491
+ writer.writeUint32(
58492
+ 12,
58493
+ f
58494
+ );
58495
+ }
58496
+ f = message.getUnresolvedSessionCount();
58497
+ if (f !== 0) {
58498
+ writer.writeUint32(
58499
+ 13,
58500
+ f
58501
+ );
58502
+ }
58503
+ f = message.getLinkedPersonCount();
58504
+ if (f !== 0) {
58505
+ writer.writeUint32(
58506
+ 14,
58507
+ f
58508
+ );
58509
+ }
58510
+ f = message.getCoverage();
58511
+ if (f != null) {
58512
+ writer.writeMessage(
58513
+ 15,
58514
+ f,
58515
+ proto.gateway.web.v1.AIProjectInsightCoverage.serializeBinaryToWriter
58516
+ );
58517
+ }
58518
+ f = message.getInsightsList();
58519
+ if (f.length > 0) {
58520
+ writer.writeRepeatedMessage(
58521
+ 16,
58522
+ f,
58523
+ proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter
58524
+ );
58525
+ }
58526
+ f = message.getTotalCount();
58527
+ if (f !== 0) {
58528
+ writer.writeUint32(
58529
+ 17,
58530
+ f
58531
+ );
58532
+ }
58533
+ };
58534
+
58535
+
58536
+ /**
58537
+ * optional string run_id = 1;
58538
+ * @return {string}
58539
+ */
58540
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getRunId = function() {
58541
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
58542
+ };
58543
+
58544
+
58545
+ /**
58546
+ * @param {string} value
58547
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58548
+ */
58549
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setRunId = function(value) {
58550
+ return jspb.Message.setProto3StringField(this, 1, value);
58551
+ };
58552
+
58553
+
58554
+ /**
58555
+ * optional AIProjectInsightAvailability availability = 2;
58556
+ * @return {!proto.gateway.web.v1.AIProjectInsightAvailability}
58557
+ */
58558
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getAvailability = function() {
58559
+ return /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
58560
+ };
58561
+
58562
+
58563
+ /**
58564
+ * @param {!proto.gateway.web.v1.AIProjectInsightAvailability} value
58565
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58566
+ */
58567
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setAvailability = function(value) {
58568
+ return jspb.Message.setProto3EnumField(this, 2, value);
58569
+ };
58570
+
58571
+
58572
+ /**
58573
+ * optional string local_date = 3;
58574
+ * @return {string}
58575
+ */
58576
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getLocalDate = function() {
58577
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
58578
+ };
58579
+
58580
+
58581
+ /**
58582
+ * @param {string} value
58583
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58584
+ */
58585
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setLocalDate = function(value) {
58586
+ return jspb.Message.setProto3StringField(this, 3, value);
58587
+ };
58588
+
58589
+
58590
+ /**
58591
+ * optional string time_zone = 4;
58592
+ * @return {string}
58593
+ */
58594
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getTimeZone = function() {
58595
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
58596
+ };
58597
+
58598
+
58599
+ /**
58600
+ * @param {string} value
58601
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58602
+ */
58603
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setTimeZone = function(value) {
58604
+ return jspb.Message.setProto3StringField(this, 4, value);
58605
+ };
58606
+
58607
+
58608
+ /**
58609
+ * optional bool time_zone_set = 5;
58610
+ * @return {boolean}
58611
+ */
58612
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getTimeZoneSet = function() {
58613
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
58614
+ };
58615
+
58616
+
58617
+ /**
58618
+ * @param {boolean} value
58619
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58620
+ */
58621
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setTimeZoneSet = function(value) {
58622
+ return jspb.Message.setProto3BooleanField(this, 5, value);
58623
+ };
58624
+
58625
+
58626
+ /**
58627
+ * optional bool window_closed = 6;
58628
+ * @return {boolean}
58629
+ */
58630
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getWindowClosed = function() {
58631
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
58632
+ };
58633
+
58634
+
58635
+ /**
58636
+ * @param {boolean} value
58637
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58638
+ */
58639
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setWindowClosed = function(value) {
58640
+ return jspb.Message.setProto3BooleanField(this, 6, value);
58641
+ };
58642
+
58643
+
58644
+ /**
58645
+ * optional google.protobuf.Timestamp window_start = 7;
58646
+ * @return {?proto.google.protobuf.Timestamp}
58647
+ */
58648
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getWindowStart = function() {
58649
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
58650
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
58651
+ };
58652
+
58653
+
58654
+ /**
58655
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
58656
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58657
+ */
58658
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setWindowStart = function(value) {
58659
+ return jspb.Message.setWrapperField(this, 7, value);
58660
+ };
58661
+
58662
+
58663
+ /**
58664
+ * Clears the message field making it undefined.
58665
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58666
+ */
58667
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.clearWindowStart = function() {
58668
+ return this.setWindowStart(undefined);
58669
+ };
58670
+
58671
+
58672
+ /**
58673
+ * Returns whether this field is set.
58674
+ * @return {boolean}
58675
+ */
58676
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.hasWindowStart = function() {
58677
+ return jspb.Message.getField(this, 7) != null;
58678
+ };
58679
+
58680
+
58681
+ /**
58682
+ * optional google.protobuf.Timestamp window_end = 8;
58683
+ * @return {?proto.google.protobuf.Timestamp}
58684
+ */
58685
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getWindowEnd = function() {
58686
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
58687
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
58688
+ };
58689
+
58690
+
58691
+ /**
58692
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
58693
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58694
+ */
58695
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setWindowEnd = function(value) {
58696
+ return jspb.Message.setWrapperField(this, 8, value);
58697
+ };
58698
+
58699
+
58700
+ /**
58701
+ * Clears the message field making it undefined.
58702
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58703
+ */
58704
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.clearWindowEnd = function() {
58705
+ return this.setWindowEnd(undefined);
58706
+ };
58707
+
58708
+
58709
+ /**
58710
+ * Returns whether this field is set.
58711
+ * @return {boolean}
58712
+ */
58713
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.hasWindowEnd = function() {
58714
+ return jspb.Message.getField(this, 8) != null;
58715
+ };
58716
+
58717
+
58718
+ /**
58719
+ * optional google.protobuf.Timestamp analyzed_at = 9;
58720
+ * @return {?proto.google.protobuf.Timestamp}
58721
+ */
58722
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getAnalyzedAt = function() {
58723
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
58724
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
58725
+ };
58726
+
58727
+
58728
+ /**
58729
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
58730
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58731
+ */
58732
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setAnalyzedAt = function(value) {
58733
+ return jspb.Message.setWrapperField(this, 9, value);
58734
+ };
58735
+
58736
+
58737
+ /**
58738
+ * Clears the message field making it undefined.
58739
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58740
+ */
58741
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.clearAnalyzedAt = function() {
58742
+ return this.setAnalyzedAt(undefined);
58743
+ };
58744
+
58745
+
58746
+ /**
58747
+ * Returns whether this field is set.
58748
+ * @return {boolean}
58749
+ */
58750
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.hasAnalyzedAt = function() {
58751
+ return jspb.Message.getField(this, 9) != null;
58752
+ };
58753
+
58754
+
58755
+ /**
58756
+ * optional string model = 10;
58757
+ * @return {string}
58758
+ */
58759
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getModel = function() {
58760
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
58761
+ };
58762
+
58763
+
58764
+ /**
58765
+ * @param {string} value
58766
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58767
+ */
58768
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setModel = function(value) {
58769
+ return jspb.Message.setProto3StringField(this, 10, value);
58770
+ };
58771
+
58772
+
58773
+ /**
58774
+ * optional string analysis_version = 11;
58775
+ * @return {string}
58776
+ */
58777
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getAnalysisVersion = function() {
58778
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
58779
+ };
58780
+
58781
+
58782
+ /**
58783
+ * @param {string} value
58784
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58785
+ */
58786
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setAnalysisVersion = function(value) {
58787
+ return jspb.Message.setProto3StringField(this, 11, value);
58788
+ };
58789
+
58790
+
58791
+ /**
58792
+ * optional uint32 eligible_session_count = 12;
58793
+ * @return {number}
58794
+ */
58795
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getEligibleSessionCount = function() {
58796
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
58797
+ };
58798
+
58799
+
58800
+ /**
58801
+ * @param {number} value
58802
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58803
+ */
58804
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setEligibleSessionCount = function(value) {
58805
+ return jspb.Message.setProto3IntField(this, 12, value);
58806
+ };
58807
+
58808
+
58809
+ /**
58810
+ * optional uint32 unresolved_session_count = 13;
58811
+ * @return {number}
58812
+ */
58813
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getUnresolvedSessionCount = function() {
58814
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
58815
+ };
58816
+
58817
+
58818
+ /**
58819
+ * @param {number} value
58820
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58821
+ */
58822
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setUnresolvedSessionCount = function(value) {
58823
+ return jspb.Message.setProto3IntField(this, 13, value);
58824
+ };
58825
+
58826
+
58827
+ /**
58828
+ * optional uint32 linked_person_count = 14;
58829
+ * @return {number}
58830
+ */
58831
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getLinkedPersonCount = function() {
58832
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
58833
+ };
58834
+
58835
+
58836
+ /**
58837
+ * @param {number} value
58838
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58839
+ */
58840
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setLinkedPersonCount = function(value) {
58841
+ return jspb.Message.setProto3IntField(this, 14, value);
58842
+ };
58843
+
58844
+
58845
+ /**
58846
+ * optional AIProjectInsightCoverage coverage = 15;
58847
+ * @return {?proto.gateway.web.v1.AIProjectInsightCoverage}
58848
+ */
58849
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getCoverage = function() {
58850
+ return /** @type{?proto.gateway.web.v1.AIProjectInsightCoverage} */ (
58851
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightCoverage, 15));
58852
+ };
58853
+
58854
+
58855
+ /**
58856
+ * @param {?proto.gateway.web.v1.AIProjectInsightCoverage|undefined} value
58857
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58858
+ */
58859
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setCoverage = function(value) {
58860
+ return jspb.Message.setWrapperField(this, 15, value);
58861
+ };
58862
+
58863
+
58864
+ /**
58865
+ * Clears the message field making it undefined.
58866
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58867
+ */
58868
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.clearCoverage = function() {
58869
+ return this.setCoverage(undefined);
58870
+ };
58871
+
58872
+
58873
+ /**
58874
+ * Returns whether this field is set.
58875
+ * @return {boolean}
58876
+ */
58877
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.hasCoverage = function() {
58878
+ return jspb.Message.getField(this, 15) != null;
58879
+ };
58880
+
58881
+
58882
+ /**
58883
+ * repeated AIProjectInsight insights = 16;
58884
+ * @return {!Array<!proto.gateway.web.v1.AIProjectInsight>}
58885
+ */
58886
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getInsightsList = function() {
58887
+ return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsight>} */ (
58888
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsight, 16));
58889
+ };
58890
+
58891
+
58892
+ /**
58893
+ * @param {!Array<!proto.gateway.web.v1.AIProjectInsight>} value
58894
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58895
+ */
58896
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setInsightsList = function(value) {
58897
+ return jspb.Message.setRepeatedWrapperField(this, 16, value);
58898
+ };
58899
+
58900
+
58901
+ /**
58902
+ * @param {!proto.gateway.web.v1.AIProjectInsight=} opt_value
58903
+ * @param {number=} opt_index
58904
+ * @return {!proto.gateway.web.v1.AIProjectInsight}
58905
+ */
58906
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.addInsights = function(opt_value, opt_index) {
58907
+ return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.gateway.web.v1.AIProjectInsight, opt_index);
58908
+ };
58909
+
58910
+
58911
+ /**
58912
+ * Clears the list making it empty but non-null.
58913
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58914
+ */
58915
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.clearInsightsList = function() {
58916
+ return this.setInsightsList([]);
58917
+ };
58918
+
58919
+
58920
+ /**
58921
+ * optional uint32 total_count = 17;
58922
+ * @return {number}
58923
+ */
58924
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.getTotalCount = function() {
58925
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
58926
+ };
58927
+
58928
+
58929
+ /**
58930
+ * @param {number} value
58931
+ * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
58932
+ */
58933
+ proto.gateway.web.v1.AIProjectInsightRun.prototype.setTotalCount = function(value) {
58934
+ return jspb.Message.setProto3IntField(this, 17, value);
58935
+ };
58936
+
58937
+
58938
+
58939
+
58940
+
58941
+ if (jspb.Message.GENERATE_TO_OBJECT) {
58942
+ /**
58943
+ * Creates an object representation of this proto.
58944
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
58945
+ * Optional fields that are not set will be set to undefined.
58946
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
58947
+ * For the list of reserved names please see:
58948
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
58949
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
58950
+ * JSPB instance for transitional soy proto support:
58951
+ * http://goto/soy-param-migration
58952
+ * @return {!Object}
58953
+ */
58954
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.toObject = function(opt_includeInstance) {
58955
+ return proto.gateway.web.v1.AIProjectInsightCoverage.toObject(opt_includeInstance, this);
58956
+ };
58957
+
58958
+
58959
+ /**
58960
+ * Static version of the {@see toObject} method.
58961
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
58962
+ * the JSPB instance for transitional soy proto support:
58963
+ * http://goto/soy-param-migration
58964
+ * @param {!proto.gateway.web.v1.AIProjectInsightCoverage} msg The msg instance to transform.
58965
+ * @return {!Object}
58966
+ * @suppress {unusedLocalVariables} f is only used for nested messages
58967
+ */
58968
+ proto.gateway.web.v1.AIProjectInsightCoverage.toObject = function(includeInstance, msg) {
58969
+ var f, obj = {
58970
+ status: jspb.Message.getFieldWithDefault(msg, 1, 0),
58971
+ stopReason: jspb.Message.getFieldWithDefault(msg, 2, 0),
58972
+ overviewSessionCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
58973
+ evidenceSessionCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
58974
+ evidencePersonCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
58975
+ withheldEvidenceCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
58976
+ truncatedEvidenceCount: jspb.Message.getFieldWithDefault(msg, 7, 0)
58977
+ };
58978
+
58979
+ if (includeInstance) {
58980
+ obj.$jspbMessageInstance = msg;
58981
+ }
58982
+ return obj;
58983
+ };
58984
+ }
58985
+
58986
+
58987
+ /**
58988
+ * Deserializes binary data (in protobuf wire format).
58989
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
58990
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage}
58991
+ */
58992
+ proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinary = function(bytes) {
58993
+ var reader = new jspb.BinaryReader(bytes);
58994
+ var msg = new proto.gateway.web.v1.AIProjectInsightCoverage;
58995
+ return proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinaryFromReader(msg, reader);
58996
+ };
58997
+
58998
+
58999
+ /**
59000
+ * Deserializes binary data (in protobuf wire format) from the
59001
+ * given reader into the given message object.
59002
+ * @param {!proto.gateway.web.v1.AIProjectInsightCoverage} msg The message object to deserialize into.
59003
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59004
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage}
59005
+ */
59006
+ proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinaryFromReader = function(msg, reader) {
59007
+ while (reader.nextField()) {
59008
+ if (reader.isEndGroup()) {
59009
+ break;
59010
+ }
59011
+ var field = reader.getFieldNumber();
59012
+ switch (field) {
59013
+ case 1:
59014
+ var value = /** @type {!proto.gateway.web.v1.AIProjectInsightCoverageStatus} */ (reader.readEnum());
59015
+ msg.setStatus(value);
59016
+ break;
59017
+ case 2:
59018
+ var value = /** @type {!proto.gateway.web.v1.AIProjectInsightStopReason} */ (reader.readEnum());
59019
+ msg.setStopReason(value);
59020
+ break;
59021
+ case 3:
59022
+ var value = /** @type {number} */ (reader.readUint32());
59023
+ msg.setOverviewSessionCount(value);
59024
+ break;
59025
+ case 4:
59026
+ var value = /** @type {number} */ (reader.readUint32());
59027
+ msg.setEvidenceSessionCount(value);
59028
+ break;
59029
+ case 5:
59030
+ var value = /** @type {number} */ (reader.readUint32());
59031
+ msg.setEvidencePersonCount(value);
59032
+ break;
59033
+ case 6:
59034
+ var value = /** @type {number} */ (reader.readUint32());
59035
+ msg.setWithheldEvidenceCount(value);
59036
+ break;
59037
+ case 7:
59038
+ var value = /** @type {number} */ (reader.readUint32());
59039
+ msg.setTruncatedEvidenceCount(value);
59040
+ break;
59041
+ default:
59042
+ reader.skipField();
59043
+ break;
59044
+ }
59045
+ }
59046
+ return msg;
59047
+ };
59048
+
59049
+
59050
+ /**
59051
+ * Serializes the message to binary data (in protobuf wire format).
59052
+ * @return {!Uint8Array}
59053
+ */
59054
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.serializeBinary = function() {
59055
+ var writer = new jspb.BinaryWriter();
59056
+ proto.gateway.web.v1.AIProjectInsightCoverage.serializeBinaryToWriter(this, writer);
59057
+ return writer.getResultBuffer();
59058
+ };
59059
+
59060
+
59061
+ /**
59062
+ * Serializes the given message to binary data (in protobuf wire
59063
+ * format), writing to the given BinaryWriter.
59064
+ * @param {!proto.gateway.web.v1.AIProjectInsightCoverage} message
59065
+ * @param {!jspb.BinaryWriter} writer
59066
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59067
+ */
59068
+ proto.gateway.web.v1.AIProjectInsightCoverage.serializeBinaryToWriter = function(message, writer) {
59069
+ var f = undefined;
59070
+ f = message.getStatus();
59071
+ if (f !== 0.0) {
59072
+ writer.writeEnum(
59073
+ 1,
59074
+ f
59075
+ );
59076
+ }
59077
+ f = message.getStopReason();
59078
+ if (f !== 0.0) {
59079
+ writer.writeEnum(
59080
+ 2,
59081
+ f
59082
+ );
59083
+ }
59084
+ f = message.getOverviewSessionCount();
59085
+ if (f !== 0) {
59086
+ writer.writeUint32(
59087
+ 3,
59088
+ f
59089
+ );
59090
+ }
59091
+ f = message.getEvidenceSessionCount();
59092
+ if (f !== 0) {
59093
+ writer.writeUint32(
59094
+ 4,
59095
+ f
59096
+ );
59097
+ }
59098
+ f = message.getEvidencePersonCount();
59099
+ if (f !== 0) {
59100
+ writer.writeUint32(
59101
+ 5,
59102
+ f
59103
+ );
59104
+ }
59105
+ f = message.getWithheldEvidenceCount();
59106
+ if (f !== 0) {
59107
+ writer.writeUint32(
59108
+ 6,
59109
+ f
59110
+ );
59111
+ }
59112
+ f = message.getTruncatedEvidenceCount();
59113
+ if (f !== 0) {
59114
+ writer.writeUint32(
59115
+ 7,
59116
+ f
59117
+ );
59118
+ }
59119
+ };
59120
+
59121
+
59122
+ /**
59123
+ * optional AIProjectInsightCoverageStatus status = 1;
59124
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverageStatus}
59125
+ */
59126
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getStatus = function() {
59127
+ return /** @type {!proto.gateway.web.v1.AIProjectInsightCoverageStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
59128
+ };
59129
+
59130
+
59131
+ /**
59132
+ * @param {!proto.gateway.web.v1.AIProjectInsightCoverageStatus} value
59133
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
59134
+ */
59135
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setStatus = function(value) {
59136
+ return jspb.Message.setProto3EnumField(this, 1, value);
59137
+ };
59138
+
59139
+
59140
+ /**
59141
+ * optional AIProjectInsightStopReason stop_reason = 2;
59142
+ * @return {!proto.gateway.web.v1.AIProjectInsightStopReason}
59143
+ */
59144
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getStopReason = function() {
59145
+ return /** @type {!proto.gateway.web.v1.AIProjectInsightStopReason} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
59146
+ };
59147
+
59148
+
59149
+ /**
59150
+ * @param {!proto.gateway.web.v1.AIProjectInsightStopReason} value
59151
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
59152
+ */
59153
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setStopReason = function(value) {
59154
+ return jspb.Message.setProto3EnumField(this, 2, value);
59155
+ };
59156
+
59157
+
59158
+ /**
59159
+ * optional uint32 overview_session_count = 3;
59160
+ * @return {number}
59161
+ */
59162
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getOverviewSessionCount = function() {
59163
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
59164
+ };
59165
+
59166
+
59167
+ /**
59168
+ * @param {number} value
59169
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
59170
+ */
59171
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setOverviewSessionCount = function(value) {
59172
+ return jspb.Message.setProto3IntField(this, 3, value);
59173
+ };
59174
+
59175
+
59176
+ /**
59177
+ * optional uint32 evidence_session_count = 4;
59178
+ * @return {number}
59179
+ */
59180
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getEvidenceSessionCount = function() {
59181
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
59182
+ };
59183
+
59184
+
59185
+ /**
59186
+ * @param {number} value
59187
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
59188
+ */
59189
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setEvidenceSessionCount = function(value) {
59190
+ return jspb.Message.setProto3IntField(this, 4, value);
59191
+ };
59192
+
59193
+
59194
+ /**
59195
+ * optional uint32 evidence_person_count = 5;
59196
+ * @return {number}
59197
+ */
59198
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getEvidencePersonCount = function() {
59199
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
59200
+ };
59201
+
59202
+
59203
+ /**
59204
+ * @param {number} value
59205
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
59206
+ */
59207
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setEvidencePersonCount = function(value) {
59208
+ return jspb.Message.setProto3IntField(this, 5, value);
59209
+ };
59210
+
59211
+
59212
+ /**
59213
+ * optional uint32 withheld_evidence_count = 6;
59214
+ * @return {number}
59215
+ */
59216
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getWithheldEvidenceCount = function() {
59217
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
59218
+ };
59219
+
59220
+
59221
+ /**
59222
+ * @param {number} value
59223
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
59224
+ */
59225
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setWithheldEvidenceCount = function(value) {
59226
+ return jspb.Message.setProto3IntField(this, 6, value);
59227
+ };
59228
+
59229
+
59230
+ /**
59231
+ * optional uint32 truncated_evidence_count = 7;
59232
+ * @return {number}
59233
+ */
59234
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getTruncatedEvidenceCount = function() {
59235
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
59236
+ };
59237
+
59238
+
59239
+ /**
59240
+ * @param {number} value
59241
+ * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
59242
+ */
59243
+ proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setTruncatedEvidenceCount = function(value) {
59244
+ return jspb.Message.setProto3IntField(this, 7, value);
59245
+ };
59246
+
59247
+
59248
+
59249
+ /**
59250
+ * List of repeated fields within this message type.
59251
+ * @private {!Array<number>}
59252
+ * @const
59253
+ */
59254
+ proto.gateway.web.v1.AIProjectInsight.repeatedFields_ = [12];
59255
+
59256
+
59257
+
59258
+ if (jspb.Message.GENERATE_TO_OBJECT) {
59259
+ /**
59260
+ * Creates an object representation of this proto.
59261
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
59262
+ * Optional fields that are not set will be set to undefined.
59263
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
59264
+ * For the list of reserved names please see:
59265
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59266
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
59267
+ * JSPB instance for transitional soy proto support:
59268
+ * http://goto/soy-param-migration
59269
+ * @return {!Object}
59270
+ */
59271
+ proto.gateway.web.v1.AIProjectInsight.prototype.toObject = function(opt_includeInstance) {
59272
+ return proto.gateway.web.v1.AIProjectInsight.toObject(opt_includeInstance, this);
59273
+ };
59274
+
59275
+
59276
+ /**
59277
+ * Static version of the {@see toObject} method.
59278
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
59279
+ * the JSPB instance for transitional soy proto support:
59280
+ * http://goto/soy-param-migration
59281
+ * @param {!proto.gateway.web.v1.AIProjectInsight} msg The msg instance to transform.
59282
+ * @return {!Object}
59283
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59284
+ */
59285
+ proto.gateway.web.v1.AIProjectInsight.toObject = function(includeInstance, msg) {
59286
+ var f, obj = {
59287
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
59288
+ rank: jspb.Message.getFieldWithDefault(msg, 2, 0),
59289
+ kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
59290
+ title: jspb.Message.getFieldWithDefault(msg, 4, ""),
59291
+ pattern: jspb.Message.getFieldWithDefault(msg, 5, ""),
59292
+ explanation: jspb.Message.getFieldWithDefault(msg, 6, ""),
59293
+ action: jspb.Message.getFieldWithDefault(msg, 7, ""),
59294
+ limitations: jspb.Message.getFieldWithDefault(msg, 8, ""),
59295
+ sessionCount: jspb.Message.getFieldWithDefault(msg, 9, 0),
59296
+ personCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
59297
+ spendUsd: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f,
59298
+ citationsList: jspb.Message.toObjectList(msg.getCitationsList(),
59299
+ proto.gateway.web.v1.AIProjectInsightCitation.toObject, includeInstance)
59300
+ };
59301
+
59302
+ if (includeInstance) {
59303
+ obj.$jspbMessageInstance = msg;
59304
+ }
59305
+ return obj;
59306
+ };
59307
+ }
59308
+
59309
+
59310
+ /**
59311
+ * Deserializes binary data (in protobuf wire format).
59312
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
59313
+ * @return {!proto.gateway.web.v1.AIProjectInsight}
59314
+ */
59315
+ proto.gateway.web.v1.AIProjectInsight.deserializeBinary = function(bytes) {
59316
+ var reader = new jspb.BinaryReader(bytes);
59317
+ var msg = new proto.gateway.web.v1.AIProjectInsight;
59318
+ return proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader(msg, reader);
59319
+ };
59320
+
59321
+
59322
+ /**
59323
+ * Deserializes binary data (in protobuf wire format) from the
59324
+ * given reader into the given message object.
59325
+ * @param {!proto.gateway.web.v1.AIProjectInsight} msg The message object to deserialize into.
59326
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59327
+ * @return {!proto.gateway.web.v1.AIProjectInsight}
59328
+ */
59329
+ proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader = function(msg, reader) {
59330
+ while (reader.nextField()) {
59331
+ if (reader.isEndGroup()) {
59332
+ break;
59333
+ }
59334
+ var field = reader.getFieldNumber();
59335
+ switch (field) {
59336
+ case 1:
59337
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59338
+ msg.setId(value);
59339
+ break;
59340
+ case 2:
59341
+ var value = /** @type {number} */ (reader.readUint32());
59342
+ msg.setRank(value);
59343
+ break;
59344
+ case 3:
59345
+ var value = /** @type {!proto.gateway.web.v1.AIProjectInsightKind} */ (reader.readEnum());
59346
+ msg.setKind(value);
59347
+ break;
59348
+ case 4:
59349
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59350
+ msg.setTitle(value);
59351
+ break;
59352
+ case 5:
59353
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59354
+ msg.setPattern(value);
59355
+ break;
59356
+ case 6:
59357
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59358
+ msg.setExplanation(value);
59359
+ break;
59360
+ case 7:
59361
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59362
+ msg.setAction(value);
59363
+ break;
59364
+ case 8:
59365
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59366
+ msg.setLimitations(value);
59367
+ break;
59368
+ case 9:
59369
+ var value = /** @type {number} */ (reader.readUint32());
59370
+ msg.setSessionCount(value);
59371
+ break;
59372
+ case 10:
59373
+ var value = /** @type {number} */ (reader.readUint32());
59374
+ msg.setPersonCount(value);
59375
+ break;
59376
+ case 11:
59377
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59378
+ msg.setSpendUsd(value);
59379
+ break;
59380
+ case 12:
59381
+ var value = new proto.gateway.web.v1.AIProjectInsightCitation;
59382
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader);
59383
+ msg.addCitations(value);
59384
+ break;
59385
+ default:
59386
+ reader.skipField();
59387
+ break;
59388
+ }
59389
+ }
59390
+ return msg;
59391
+ };
59392
+
59393
+
59394
+ /**
59395
+ * Serializes the message to binary data (in protobuf wire format).
59396
+ * @return {!Uint8Array}
59397
+ */
59398
+ proto.gateway.web.v1.AIProjectInsight.prototype.serializeBinary = function() {
59399
+ var writer = new jspb.BinaryWriter();
59400
+ proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter(this, writer);
59401
+ return writer.getResultBuffer();
59402
+ };
59403
+
59404
+
59405
+ /**
59406
+ * Serializes the given message to binary data (in protobuf wire
59407
+ * format), writing to the given BinaryWriter.
59408
+ * @param {!proto.gateway.web.v1.AIProjectInsight} message
59409
+ * @param {!jspb.BinaryWriter} writer
59410
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59411
+ */
59412
+ proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter = function(message, writer) {
59413
+ var f = undefined;
59414
+ f = message.getId();
59415
+ if (f.length > 0) {
59416
+ writer.writeString(
59417
+ 1,
59418
+ f
59419
+ );
59420
+ }
59421
+ f = message.getRank();
59422
+ if (f !== 0) {
59423
+ writer.writeUint32(
59424
+ 2,
59425
+ f
59426
+ );
59427
+ }
59428
+ f = message.getKind();
59429
+ if (f !== 0.0) {
59430
+ writer.writeEnum(
59431
+ 3,
59432
+ f
59433
+ );
59434
+ }
59435
+ f = message.getTitle();
59436
+ if (f.length > 0) {
59437
+ writer.writeString(
59438
+ 4,
59439
+ f
59440
+ );
59441
+ }
59442
+ f = message.getPattern();
59443
+ if (f.length > 0) {
59444
+ writer.writeString(
59445
+ 5,
59446
+ f
59447
+ );
59448
+ }
59449
+ f = message.getExplanation();
59450
+ if (f.length > 0) {
59451
+ writer.writeString(
59452
+ 6,
59453
+ f
59454
+ );
59455
+ }
59456
+ f = message.getAction();
59457
+ if (f.length > 0) {
59458
+ writer.writeString(
59459
+ 7,
59460
+ f
59461
+ );
59462
+ }
59463
+ f = message.getLimitations();
59464
+ if (f.length > 0) {
59465
+ writer.writeString(
59466
+ 8,
59467
+ f
59468
+ );
59469
+ }
59470
+ f = message.getSessionCount();
59471
+ if (f !== 0) {
59472
+ writer.writeUint32(
59473
+ 9,
59474
+ f
59475
+ );
59476
+ }
59477
+ f = message.getPersonCount();
59478
+ if (f !== 0) {
59479
+ writer.writeUint32(
59480
+ 10,
59481
+ f
59482
+ );
59483
+ }
59484
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
59485
+ if (f != null) {
59486
+ writer.writeString(
59487
+ 11,
59488
+ f
59489
+ );
59490
+ }
59491
+ f = message.getCitationsList();
59492
+ if (f.length > 0) {
59493
+ writer.writeRepeatedMessage(
59494
+ 12,
59495
+ f,
59496
+ proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter
59497
+ );
59498
+ }
59499
+ };
59500
+
59501
+
59502
+ /**
59503
+ * optional string id = 1;
59504
+ * @return {string}
59505
+ */
59506
+ proto.gateway.web.v1.AIProjectInsight.prototype.getId = function() {
59507
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
59508
+ };
59509
+
59510
+
59511
+ /**
59512
+ * @param {string} value
59513
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59514
+ */
59515
+ proto.gateway.web.v1.AIProjectInsight.prototype.setId = function(value) {
59516
+ return jspb.Message.setProto3StringField(this, 1, value);
59517
+ };
59518
+
59519
+
59520
+ /**
59521
+ * optional uint32 rank = 2;
59522
+ * @return {number}
59523
+ */
59524
+ proto.gateway.web.v1.AIProjectInsight.prototype.getRank = function() {
59525
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
59526
+ };
59527
+
59528
+
59529
+ /**
59530
+ * @param {number} value
59531
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59532
+ */
59533
+ proto.gateway.web.v1.AIProjectInsight.prototype.setRank = function(value) {
59534
+ return jspb.Message.setProto3IntField(this, 2, value);
59535
+ };
59536
+
59537
+
59538
+ /**
59539
+ * optional AIProjectInsightKind kind = 3;
59540
+ * @return {!proto.gateway.web.v1.AIProjectInsightKind}
59541
+ */
59542
+ proto.gateway.web.v1.AIProjectInsight.prototype.getKind = function() {
59543
+ return /** @type {!proto.gateway.web.v1.AIProjectInsightKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
59544
+ };
59545
+
59546
+
59547
+ /**
59548
+ * @param {!proto.gateway.web.v1.AIProjectInsightKind} value
59549
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59550
+ */
59551
+ proto.gateway.web.v1.AIProjectInsight.prototype.setKind = function(value) {
59552
+ return jspb.Message.setProto3EnumField(this, 3, value);
59553
+ };
59554
+
59555
+
59556
+ /**
59557
+ * optional string title = 4;
59558
+ * @return {string}
59559
+ */
59560
+ proto.gateway.web.v1.AIProjectInsight.prototype.getTitle = function() {
59561
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
59562
+ };
59563
+
59564
+
59565
+ /**
59566
+ * @param {string} value
59567
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59568
+ */
59569
+ proto.gateway.web.v1.AIProjectInsight.prototype.setTitle = function(value) {
59570
+ return jspb.Message.setProto3StringField(this, 4, value);
59571
+ };
59572
+
59573
+
59574
+ /**
59575
+ * optional string pattern = 5;
59576
+ * @return {string}
59577
+ */
59578
+ proto.gateway.web.v1.AIProjectInsight.prototype.getPattern = function() {
59579
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
59580
+ };
59581
+
59582
+
59583
+ /**
59584
+ * @param {string} value
59585
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59586
+ */
59587
+ proto.gateway.web.v1.AIProjectInsight.prototype.setPattern = function(value) {
59588
+ return jspb.Message.setProto3StringField(this, 5, value);
59589
+ };
59590
+
59591
+
59592
+ /**
59593
+ * optional string explanation = 6;
59594
+ * @return {string}
59595
+ */
59596
+ proto.gateway.web.v1.AIProjectInsight.prototype.getExplanation = function() {
59597
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
59598
+ };
59599
+
59600
+
59601
+ /**
59602
+ * @param {string} value
59603
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59604
+ */
59605
+ proto.gateway.web.v1.AIProjectInsight.prototype.setExplanation = function(value) {
59606
+ return jspb.Message.setProto3StringField(this, 6, value);
59607
+ };
59608
+
59609
+
59610
+ /**
59611
+ * optional string action = 7;
59612
+ * @return {string}
59613
+ */
59614
+ proto.gateway.web.v1.AIProjectInsight.prototype.getAction = function() {
59615
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
59616
+ };
59617
+
59618
+
59619
+ /**
59620
+ * @param {string} value
59621
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59622
+ */
59623
+ proto.gateway.web.v1.AIProjectInsight.prototype.setAction = function(value) {
59624
+ return jspb.Message.setProto3StringField(this, 7, value);
59625
+ };
59626
+
59627
+
59628
+ /**
59629
+ * optional string limitations = 8;
59630
+ * @return {string}
59631
+ */
59632
+ proto.gateway.web.v1.AIProjectInsight.prototype.getLimitations = function() {
59633
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
59634
+ };
59635
+
59636
+
59637
+ /**
59638
+ * @param {string} value
59639
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59640
+ */
59641
+ proto.gateway.web.v1.AIProjectInsight.prototype.setLimitations = function(value) {
59642
+ return jspb.Message.setProto3StringField(this, 8, value);
59643
+ };
59644
+
59645
+
59646
+ /**
59647
+ * optional uint32 session_count = 9;
59648
+ * @return {number}
59649
+ */
59650
+ proto.gateway.web.v1.AIProjectInsight.prototype.getSessionCount = function() {
59651
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
59652
+ };
59653
+
59654
+
59655
+ /**
59656
+ * @param {number} value
59657
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59658
+ */
59659
+ proto.gateway.web.v1.AIProjectInsight.prototype.setSessionCount = function(value) {
59660
+ return jspb.Message.setProto3IntField(this, 9, value);
59661
+ };
59662
+
59663
+
59664
+ /**
59665
+ * optional uint32 person_count = 10;
59666
+ * @return {number}
59667
+ */
59668
+ proto.gateway.web.v1.AIProjectInsight.prototype.getPersonCount = function() {
59669
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
59670
+ };
59671
+
59672
+
59673
+ /**
59674
+ * @param {number} value
59675
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59676
+ */
59677
+ proto.gateway.web.v1.AIProjectInsight.prototype.setPersonCount = function(value) {
59678
+ return jspb.Message.setProto3IntField(this, 10, value);
59679
+ };
59680
+
59681
+
59682
+ /**
59683
+ * optional string spend_usd = 11;
59684
+ * @return {string}
59685
+ */
59686
+ proto.gateway.web.v1.AIProjectInsight.prototype.getSpendUsd = function() {
59687
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
59688
+ };
59689
+
59690
+
59691
+ /**
59692
+ * @param {string} value
59693
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59694
+ */
59695
+ proto.gateway.web.v1.AIProjectInsight.prototype.setSpendUsd = function(value) {
59696
+ return jspb.Message.setField(this, 11, value);
59697
+ };
59698
+
59699
+
59700
+ /**
59701
+ * Clears the field making it undefined.
59702
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59703
+ */
59704
+ proto.gateway.web.v1.AIProjectInsight.prototype.clearSpendUsd = function() {
59705
+ return jspb.Message.setField(this, 11, undefined);
59706
+ };
59707
+
59708
+
59709
+ /**
59710
+ * Returns whether this field is set.
59711
+ * @return {boolean}
59712
+ */
59713
+ proto.gateway.web.v1.AIProjectInsight.prototype.hasSpendUsd = function() {
59714
+ return jspb.Message.getField(this, 11) != null;
59715
+ };
59716
+
59717
+
59718
+ /**
59719
+ * repeated AIProjectInsightCitation citations = 12;
59720
+ * @return {!Array<!proto.gateway.web.v1.AIProjectInsightCitation>}
59721
+ */
59722
+ proto.gateway.web.v1.AIProjectInsight.prototype.getCitationsList = function() {
59723
+ return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsightCitation>} */ (
59724
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsightCitation, 12));
59725
+ };
59726
+
59727
+
59728
+ /**
59729
+ * @param {!Array<!proto.gateway.web.v1.AIProjectInsightCitation>} value
59730
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59731
+ */
59732
+ proto.gateway.web.v1.AIProjectInsight.prototype.setCitationsList = function(value) {
59733
+ return jspb.Message.setRepeatedWrapperField(this, 12, value);
59734
+ };
59735
+
59736
+
59737
+ /**
59738
+ * @param {!proto.gateway.web.v1.AIProjectInsightCitation=} opt_value
59739
+ * @param {number=} opt_index
59740
+ * @return {!proto.gateway.web.v1.AIProjectInsightCitation}
59741
+ */
59742
+ proto.gateway.web.v1.AIProjectInsight.prototype.addCitations = function(opt_value, opt_index) {
59743
+ return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.gateway.web.v1.AIProjectInsightCitation, opt_index);
59744
+ };
59745
+
59746
+
59747
+ /**
59748
+ * Clears the list making it empty but non-null.
59749
+ * @return {!proto.gateway.web.v1.AIProjectInsight} returns this
59750
+ */
59751
+ proto.gateway.web.v1.AIProjectInsight.prototype.clearCitationsList = function() {
59752
+ return this.setCitationsList([]);
59753
+ };
59754
+
59755
+
59756
+
59757
+
59758
+
59759
+ if (jspb.Message.GENERATE_TO_OBJECT) {
59760
+ /**
59761
+ * Creates an object representation of this proto.
59762
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
59763
+ * Optional fields that are not set will be set to undefined.
59764
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
59765
+ * For the list of reserved names please see:
59766
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
59767
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
59768
+ * JSPB instance for transitional soy proto support:
59769
+ * http://goto/soy-param-migration
59770
+ * @return {!Object}
59771
+ */
59772
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.toObject = function(opt_includeInstance) {
59773
+ return proto.gateway.web.v1.AIProjectInsightCitation.toObject(opt_includeInstance, this);
59774
+ };
59775
+
59776
+
59777
+ /**
59778
+ * Static version of the {@see toObject} method.
59779
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
59780
+ * the JSPB instance for transitional soy proto support:
59781
+ * http://goto/soy-param-migration
59782
+ * @param {!proto.gateway.web.v1.AIProjectInsightCitation} msg The msg instance to transform.
59783
+ * @return {!Object}
59784
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59785
+ */
59786
+ proto.gateway.web.v1.AIProjectInsightCitation.toObject = function(includeInstance, msg) {
59787
+ var f, obj = {
59788
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
59789
+ sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
59790
+ eventRef: (f = msg.getEventRef()) && proto.gateway.web.v1.AISessionEventRef.toObject(includeInstance, f)
59791
+ };
59792
+
59793
+ if (includeInstance) {
59794
+ obj.$jspbMessageInstance = msg;
59795
+ }
59796
+ return obj;
59797
+ };
59798
+ }
59799
+
59800
+
59801
+ /**
59802
+ * Deserializes binary data (in protobuf wire format).
59803
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
59804
+ * @return {!proto.gateway.web.v1.AIProjectInsightCitation}
59805
+ */
59806
+ proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinary = function(bytes) {
59807
+ var reader = new jspb.BinaryReader(bytes);
59808
+ var msg = new proto.gateway.web.v1.AIProjectInsightCitation;
59809
+ return proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader(msg, reader);
59810
+ };
59811
+
59812
+
59813
+ /**
59814
+ * Deserializes binary data (in protobuf wire format) from the
59815
+ * given reader into the given message object.
59816
+ * @param {!proto.gateway.web.v1.AIProjectInsightCitation} msg The message object to deserialize into.
59817
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
59818
+ * @return {!proto.gateway.web.v1.AIProjectInsightCitation}
59819
+ */
59820
+ proto.gateway.web.v1.AIProjectInsightCitation.deserializeBinaryFromReader = function(msg, reader) {
59821
+ while (reader.nextField()) {
59822
+ if (reader.isEndGroup()) {
59823
+ break;
59824
+ }
59825
+ var field = reader.getFieldNumber();
59826
+ switch (field) {
59827
+ case 1:
59828
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59829
+ msg.setSourceSystem(value);
59830
+ break;
59831
+ case 2:
59832
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
59833
+ msg.setSessionId(value);
59834
+ break;
59835
+ case 3:
59836
+ var value = new proto.gateway.web.v1.AISessionEventRef;
59837
+ reader.readMessage(value,proto.gateway.web.v1.AISessionEventRef.deserializeBinaryFromReader);
59838
+ msg.setEventRef(value);
59839
+ break;
59840
+ default:
59841
+ reader.skipField();
59842
+ break;
59843
+ }
59844
+ }
59845
+ return msg;
59846
+ };
59847
+
59848
+
59849
+ /**
59850
+ * Serializes the message to binary data (in protobuf wire format).
59851
+ * @return {!Uint8Array}
59852
+ */
59853
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.serializeBinary = function() {
59854
+ var writer = new jspb.BinaryWriter();
59855
+ proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter(this, writer);
59856
+ return writer.getResultBuffer();
59857
+ };
59858
+
59859
+
59860
+ /**
59861
+ * Serializes the given message to binary data (in protobuf wire
59862
+ * format), writing to the given BinaryWriter.
59863
+ * @param {!proto.gateway.web.v1.AIProjectInsightCitation} message
59864
+ * @param {!jspb.BinaryWriter} writer
59865
+ * @suppress {unusedLocalVariables} f is only used for nested messages
59866
+ */
59867
+ proto.gateway.web.v1.AIProjectInsightCitation.serializeBinaryToWriter = function(message, writer) {
59868
+ var f = undefined;
59869
+ f = message.getSourceSystem();
59870
+ if (f.length > 0) {
59871
+ writer.writeString(
59872
+ 1,
59873
+ f
59874
+ );
59875
+ }
59876
+ f = message.getSessionId();
59877
+ if (f.length > 0) {
59878
+ writer.writeString(
59879
+ 2,
59880
+ f
59881
+ );
59882
+ }
59883
+ f = message.getEventRef();
59884
+ if (f != null) {
59885
+ writer.writeMessage(
59886
+ 3,
59887
+ f,
59888
+ proto.gateway.web.v1.AISessionEventRef.serializeBinaryToWriter
59889
+ );
59890
+ }
59891
+ };
59892
+
59893
+
59894
+ /**
59895
+ * optional string source_system = 1;
59896
+ * @return {string}
59897
+ */
59898
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.getSourceSystem = function() {
59899
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
59900
+ };
59901
+
59902
+
59903
+ /**
59904
+ * @param {string} value
59905
+ * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
59906
+ */
59907
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.setSourceSystem = function(value) {
59908
+ return jspb.Message.setProto3StringField(this, 1, value);
59909
+ };
59910
+
59911
+
59912
+ /**
59913
+ * optional string session_id = 2;
59914
+ * @return {string}
59915
+ */
59916
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.getSessionId = function() {
59917
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
59918
+ };
59919
+
59920
+
59921
+ /**
59922
+ * @param {string} value
59923
+ * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
59924
+ */
59925
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.setSessionId = function(value) {
59926
+ return jspb.Message.setProto3StringField(this, 2, value);
59927
+ };
59928
+
59929
+
59930
+ /**
59931
+ * optional AISessionEventRef event_ref = 3;
59932
+ * @return {?proto.gateway.web.v1.AISessionEventRef}
59933
+ */
59934
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.getEventRef = function() {
59935
+ return /** @type{?proto.gateway.web.v1.AISessionEventRef} */ (
59936
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionEventRef, 3));
59937
+ };
59938
+
59939
+
59940
+ /**
59941
+ * @param {?proto.gateway.web.v1.AISessionEventRef|undefined} value
59942
+ * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
59943
+ */
59944
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.setEventRef = function(value) {
59945
+ return jspb.Message.setWrapperField(this, 3, value);
59946
+ };
59947
+
59948
+
59949
+ /**
59950
+ * Clears the message field making it undefined.
59951
+ * @return {!proto.gateway.web.v1.AIProjectInsightCitation} returns this
59952
+ */
59953
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.clearEventRef = function() {
59954
+ return this.setEventRef(undefined);
59955
+ };
59956
+
59957
+
59958
+ /**
59959
+ * Returns whether this field is set.
59960
+ * @return {boolean}
59961
+ */
59962
+ proto.gateway.web.v1.AIProjectInsightCitation.prototype.hasEventRef = function() {
59963
+ return jspb.Message.getField(this, 3) != null;
59964
+ };
59965
+
59966
+
59967
+ /**
59968
+ * @enum {number}
59969
+ */
59970
+ proto.gateway.web.v1.SessionSort = {
59971
+ SESSION_SORT_UNSPECIFIED: 0,
59972
+ SESSION_SORT_COST: 1,
59973
+ SESSION_SORT_TOKENS: 2,
59974
+ SESSION_SORT_TURNS: 3,
59975
+ SESSION_SORT_TOOLS: 4,
59976
+ SESSION_SORT_RECENCY: 5,
59977
+ SESSION_SORT_NET_COST: 6
59978
+ };
59979
+
59980
+ /**
59981
+ * @enum {number}
59982
+ */
59983
+ proto.gateway.web.v1.AISessionEventType = {
59984
+ AI_SESSION_EVENT_TYPE_UNSPECIFIED: 0,
59985
+ AI_SESSION_EVENT_TYPE_SESSION: 1,
59986
+ AI_SESSION_EVENT_TYPE_MESSAGE: 2,
59987
+ AI_SESSION_EVENT_TYPE_MODEL: 3,
59988
+ AI_SESSION_EVENT_TYPE_TOOL: 4,
59989
+ AI_SESSION_EVENT_TYPE_AGENT: 5,
59990
+ AI_SESSION_EVENT_TYPE_COMMAND: 6,
59991
+ AI_SESSION_EVENT_TYPE_COMPACTION: 7,
59992
+ AI_SESSION_EVENT_TYPE_AUTH: 8,
59993
+ AI_SESSION_EVENT_TYPE_SKILL: 9,
59994
+ AI_SESSION_EVENT_TYPE_MCP: 10,
59995
+ AI_SESSION_EVENT_TYPE_MENTION: 11,
59996
+ AI_SESSION_EVENT_TYPE_PERMISSION: 12,
59997
+ AI_SESSION_EVENT_TYPE_FEEDBACK: 13,
59998
+ AI_SESSION_EVENT_TYPE_ERROR: 14,
59999
+ AI_SESSION_EVENT_TYPE_SUMMARY: 15
60000
+ };
60001
+
60002
+ /**
60003
+ * @enum {number}
60004
+ */
60005
+ proto.gateway.web.v1.AIPromptComplexity = {
60006
+ AI_PROMPT_COMPLEXITY_UNSPECIFIED: 0,
60007
+ AI_PROMPT_COMPLEXITY_SIMPLE: 1,
60008
+ AI_PROMPT_COMPLEXITY_MODERATE: 2,
60009
+ AI_PROMPT_COMPLEXITY_COMPLEX: 3
60010
+ };
60011
+
60012
+ /**
60013
+ * @enum {number}
60014
+ */
60015
+ proto.gateway.web.v1.AIPromptClarity = {
60016
+ AI_PROMPT_CLARITY_UNSPECIFIED: 0,
60017
+ AI_PROMPT_CLARITY_UNCLEAR: 1,
60018
+ AI_PROMPT_CLARITY_PARTIAL: 2,
60019
+ AI_PROMPT_CLARITY_CLEAR: 3
60020
+ };
60021
+
60022
+ /**
60023
+ * @enum {number}
60024
+ */
60025
+ proto.gateway.web.v1.AIPromptSteering = {
60026
+ AI_PROMPT_STEERING_UNSPECIFIED: 0,
60027
+ AI_PROMPT_STEERING_NEW_TASK: 1,
60028
+ AI_PROMPT_STEERING_FOLLOW_UP: 2,
60029
+ AI_PROMPT_STEERING_CORRECTION: 3,
60030
+ AI_PROMPT_STEERING_REDIRECT: 4,
60031
+ AI_PROMPT_STEERING_APPROVAL: 5
60032
+ };
60033
+
60034
+ /**
60035
+ * @enum {number}
60036
+ */
60037
+ proto.gateway.web.v1.AIPromptFrustration = {
60038
+ AI_PROMPT_FRUSTRATION_UNSPECIFIED: 0,
60039
+ AI_PROMPT_FRUSTRATION_NONE: 1,
60040
+ AI_PROMPT_FRUSTRATION_MILD: 2,
60041
+ AI_PROMPT_FRUSTRATION_STRONG: 3
60042
+ };
60043
+
60044
+ /**
60045
+ * @enum {number}
60046
+ */
60047
+ proto.gateway.web.v1.AIPromptSentiment = {
60048
+ AI_PROMPT_SENTIMENT_UNSPECIFIED: 0,
60049
+ AI_PROMPT_SENTIMENT_NEGATIVE: 1,
60050
+ AI_PROMPT_SENTIMENT_NEUTRAL: 2,
60051
+ AI_PROMPT_SENTIMENT_POSITIVE: 3
60052
+ };
60053
+
60054
+ /**
60055
+ * @enum {number}
60056
+ */
60057
+ proto.gateway.web.v1.AISessionWorkType = {
60058
+ AI_SESSION_WORK_TYPE_UNSPECIFIED: 0,
60059
+ AI_SESSION_WORK_TYPE_BUG_FIX: 1,
60060
+ AI_SESSION_WORK_TYPE_FEATURE: 2,
60061
+ AI_SESSION_WORK_TYPE_REFACTOR: 3,
60062
+ AI_SESSION_WORK_TYPE_TESTS: 4,
60063
+ AI_SESSION_WORK_TYPE_DOCS: 5,
60064
+ AI_SESSION_WORK_TYPE_OPS: 6,
60065
+ AI_SESSION_WORK_TYPE_REVIEW: 7,
60066
+ AI_SESSION_WORK_TYPE_EXPLORATION: 8
60067
+ };
60068
+
60069
+ /**
60070
+ * @enum {number}
60071
+ */
60072
+ proto.gateway.web.v1.AISessionComplexity = {
60073
+ AI_SESSION_COMPLEXITY_UNSPECIFIED: 0,
60074
+ AI_SESSION_COMPLEXITY_SMALL: 1,
60075
+ AI_SESSION_COMPLEXITY_MEDIUM: 2,
60076
+ AI_SESSION_COMPLEXITY_LARGE: 3
60077
+ };
60078
+
60079
+ /**
60080
+ * @enum {number}
60081
+ */
60082
+ proto.gateway.web.v1.AISessionOutcome = {
60083
+ AI_SESSION_OUTCOME_UNSPECIFIED: 0,
60084
+ AI_SESSION_OUTCOME_DELIVERED: 1,
60085
+ AI_SESSION_OUTCOME_PARTIAL: 2,
60086
+ AI_SESSION_OUTCOME_ABANDONED: 3,
60087
+ AI_SESSION_OUTCOME_UNCLEAR: 4
60088
+ };
60089
+
60090
+ /**
60091
+ * @enum {number}
60092
+ */
60093
+ proto.gateway.web.v1.AISessionSteeringLoad = {
60094
+ AI_SESSION_STEERING_LOAD_UNSPECIFIED: 0,
60095
+ AI_SESSION_STEERING_LOAD_NONE: 1,
60096
+ AI_SESSION_STEERING_LOAD_LIGHT: 2,
60097
+ AI_SESSION_STEERING_LOAD_HEAVY: 3
60098
+ };
60099
+
60100
+ /**
60101
+ * @enum {number}
60102
+ */
60103
+ proto.gateway.web.v1.AISessionAgentReliability = {
60104
+ AI_SESSION_AGENT_RELIABILITY_UNSPECIFIED: 0,
60105
+ AI_SESSION_AGENT_RELIABILITY_CLEAN: 1,
60106
+ AI_SESSION_AGENT_RELIABILITY_MINOR_ISSUES: 2,
60107
+ AI_SESSION_AGENT_RELIABILITY_CONSTRAINT_VIOLATION: 3,
60108
+ AI_SESSION_AGENT_RELIABILITY_MAJOR_FAILURE: 4
60109
+ };
60110
+
60111
+ /**
60112
+ * @enum {number}
60113
+ */
60114
+ proto.gateway.web.v1.AISessionVerification = {
60115
+ AI_SESSION_VERIFICATION_UNSPECIFIED: 0,
60116
+ AI_SESSION_VERIFICATION_VERIFIED: 1,
60117
+ AI_SESSION_VERIFICATION_CLAIMED_ONLY: 2,
60118
+ AI_SESSION_VERIFICATION_NOT_APPLICABLE: 3,
60119
+ AI_SESSION_VERIFICATION_UNOBSERVED: 4
60120
+ };
60121
+
60122
+ /**
60123
+ * @enum {number}
60124
+ */
60125
+ proto.gateway.web.v1.AISessionInsightCategory = {
60126
+ AI_SESSION_INSIGHT_CATEGORY_UNSPECIFIED: 0,
60127
+ AI_SESSION_INSIGHT_CATEGORY_CONSTRAINT_VIOLATION: 1,
60128
+ AI_SESSION_INSIGHT_CATEGORY_MISREAD_REQUEST: 2,
60129
+ AI_SESSION_INSIGHT_CATEGORY_REPEATED_CORRECTION: 3,
60130
+ AI_SESSION_INSIGHT_CATEGORY_LOOPING: 4,
60131
+ AI_SESSION_INSIGHT_CATEGORY_VERIFICATION_GAP: 5,
60132
+ AI_SESSION_INSIGHT_CATEGORY_MISSING_CONTEXT: 6,
60133
+ AI_SESSION_INSIGHT_CATEGORY_TOOLING_FAILURE: 7,
60134
+ AI_SESSION_INSIGHT_CATEGORY_SCOPE_CREEP: 8,
60135
+ AI_SESSION_INSIGHT_CATEGORY_MANUAL_WORKFLOW: 9
60136
+ };
60137
+
60138
+ /**
60139
+ * @enum {number}
60140
+ */
60141
+ proto.gateway.web.v1.AISessionInsightActionType = {
60142
+ AI_SESSION_INSIGHT_ACTION_TYPE_UNSPECIFIED: 0,
60143
+ AI_SESSION_INSIGHT_ACTION_TYPE_ADD_RULE: 1,
60144
+ AI_SESSION_INSIGHT_ACTION_TYPE_ADD_SKILL: 2,
60145
+ AI_SESSION_INSIGHT_ACTION_TYPE_USE_EXISTING_SKILL: 3,
60146
+ AI_SESSION_INSIGHT_ACTION_TYPE_CHANGE_MODEL: 4,
60147
+ AI_SESSION_INSIGHT_ACTION_TYPE_CLARIFY_PROMPTS: 5,
60148
+ AI_SESSION_INSIGHT_ACTION_TYPE_FIX_TOOLING: 6
60149
+ };
60150
+
60151
+ /**
60152
+ * @enum {number}
60153
+ */
60154
+ proto.gateway.web.v1.AISessionInsightSeverity = {
60155
+ AI_SESSION_INSIGHT_SEVERITY_UNSPECIFIED: 0,
60156
+ AI_SESSION_INSIGHT_SEVERITY_LOW: 1,
60157
+ AI_SESSION_INSIGHT_SEVERITY_MEDIUM: 2,
60158
+ AI_SESSION_INSIGHT_SEVERITY_HIGH: 3
60159
+ };
60160
+
60161
+ /**
60162
+ * @enum {number}
60163
+ */
60164
+ proto.gateway.web.v1.AISessionScoreComponentKind = {
60165
+ AI_SESSION_SCORE_COMPONENT_KIND_UNSPECIFIED: 0,
60166
+ AI_SESSION_SCORE_COMPONENT_KIND_OUTCOME: 1,
60167
+ AI_SESSION_SCORE_COMPONENT_KIND_STEERING_LOAD: 2,
60168
+ AI_SESSION_SCORE_COMPONENT_KIND_AGENT_RELIABILITY: 3,
60169
+ AI_SESSION_SCORE_COMPONENT_KIND_VERIFICATION: 4,
60170
+ AI_SESSION_SCORE_COMPONENT_KIND_REWORK_SPEND: 5,
60171
+ AI_SESSION_SCORE_COMPONENT_KIND_PROMPT_CLARITY: 6
60172
+ };
60173
+
60174
+ /**
60175
+ * @enum {number}
60176
+ */
60177
+ proto.gateway.web.v1.AIGitAction = {
60178
+ AI_GIT_ACTION_UNSPECIFIED: 0,
60179
+ AI_GIT_ACTION_BRANCH_CREATE: 1,
60180
+ AI_GIT_ACTION_COMMIT: 2,
60181
+ AI_GIT_ACTION_PUSH: 3,
60182
+ AI_GIT_ACTION_PULL_REQUEST_CREATE: 4,
60183
+ AI_GIT_ACTION_PULL_REQUEST_MERGE: 5,
60184
+ AI_GIT_ACTION_PULL_REQUEST_COMMENT: 6,
60185
+ AI_GIT_ACTION_OTHER: 7
60186
+ };
60187
+
60188
+ /**
60189
+ * @enum {number}
60190
+ */
60191
+ proto.gateway.web.v1.AIGitOutcome = {
60192
+ AI_GIT_OUTCOME_UNSPECIFIED: 0,
60193
+ AI_GIT_OUTCOME_ATTEMPTED: 1,
60194
+ AI_GIT_OUTCOME_CONFIRMED: 2,
60195
+ AI_GIT_OUTCOME_FAILED: 3
60196
+ };
60197
+
60198
+ /**
60199
+ * @enum {number}
60200
+ */
60201
+ proto.gateway.web.v1.AIGitActivityDimension = {
60202
+ AI_GIT_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
60203
+ AI_GIT_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 1,
60204
+ AI_GIT_ACTIVITY_DIMENSION_REPOSITORY: 2,
60205
+ AI_GIT_ACTIVITY_DIMENSION_ACTION: 3,
60206
+ AI_GIT_ACTIVITY_DIMENSION_OUTCOME: 4,
60207
+ AI_GIT_ACTIVITY_DIMENSION_SESSION: 5
60208
+ };
60209
+
60210
+ /**
60211
+ * @enum {number}
60212
+ */
60213
+ proto.gateway.web.v1.AITokenActivityDimension = {
60214
+ AI_TOKEN_ACTIVITY_DIMENSION_UNSPECIFIED: 0,
60215
+ AI_TOKEN_ACTIVITY_DIMENSION_MODEL: 1,
60216
+ AI_TOKEN_ACTIVITY_DIMENSION_PROVIDER: 2,
60217
+ AI_TOKEN_ACTIVITY_DIMENSION_SOURCE_SYSTEM: 3,
60218
+ AI_TOKEN_ACTIVITY_DIMENSION_USER: 4,
60219
+ AI_TOKEN_ACTIVITY_DIMENSION_API_KEY: 5,
60220
+ AI_TOKEN_ACTIVITY_DIMENSION_EFFORT: 6
60221
+ };
60222
+
60223
+ /**
60224
+ * @enum {number}
60225
+ */
60226
+ proto.gateway.web.v1.AISpendForecastDimension = {
57865
60227
  AI_SPEND_FORECAST_DIMENSION_UNSPECIFIED: 0,
57866
60228
  AI_SPEND_FORECAST_DIMENSION_MODEL: 1,
57867
60229
  AI_SPEND_FORECAST_DIMENSION_PROVIDER: 2,
@@ -58043,6 +60405,50 @@ proto.gateway.web.v1.TrackerSyncError = {
58043
60405
  TRACKER_SYNC_ERROR_INTERNAL: 7
58044
60406
  };
58045
60407
 
60408
+ /**
60409
+ * @enum {number}
60410
+ */
60411
+ proto.gateway.web.v1.AIProjectInsightAvailability = {
60412
+ AI_PROJECT_INSIGHT_AVAILABILITY_UNSPECIFIED: 0,
60413
+ AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED: 1,
60414
+ AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA: 2,
60415
+ AI_PROJECT_INSIGHT_AVAILABILITY_READY: 3
60416
+ };
60417
+
60418
+ /**
60419
+ * @enum {number}
60420
+ */
60421
+ proto.gateway.web.v1.AIProjectInsightCoverageStatus = {
60422
+ AI_PROJECT_INSIGHT_COVERAGE_STATUS_UNSPECIFIED: 0,
60423
+ AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE: 1,
60424
+ AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL: 2
60425
+ };
60426
+
60427
+ /**
60428
+ * @enum {number}
60429
+ */
60430
+ proto.gateway.web.v1.AIProjectInsightStopReason = {
60431
+ AI_PROJECT_INSIGHT_STOP_REASON_UNSPECIFIED: 0,
60432
+ AI_PROJECT_INSIGHT_STOP_REASON_OVERVIEW_PAGES: 1,
60433
+ AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_PAGES: 2,
60434
+ AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_BUDGET: 3
60435
+ };
60436
+
60437
+ /**
60438
+ * @enum {number}
60439
+ */
60440
+ proto.gateway.web.v1.AIProjectInsightKind = {
60441
+ AI_PROJECT_INSIGHT_KIND_UNSPECIFIED: 0,
60442
+ AI_PROJECT_INSIGHT_KIND_REUSABLE_WORKFLOW: 1,
60443
+ AI_PROJECT_INSIGHT_KIND_REPOSITORY_STRUCTURE: 2,
60444
+ AI_PROJECT_INSIGHT_KIND_SECURITY_REVIEW: 3,
60445
+ AI_PROJECT_INSIGHT_KIND_TOOLING_MCP: 4,
60446
+ AI_PROJECT_INSIGHT_KIND_COORDINATION: 5,
60447
+ AI_PROJECT_INSIGHT_KIND_SHARED_FOCUS: 6,
60448
+ AI_PROJECT_INSIGHT_KIND_SKILL_SHARING: 7,
60449
+ AI_PROJECT_INSIGHT_KIND_AGENT_EXPERIENCE: 8
60450
+ };
60451
+
58046
60452
  /**
58047
60453
  * @enum {number}
58048
60454
  */