@miradorlabs/web-grpc 4.29.0 → 4.31.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.
|
@@ -77,6 +77,9 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionInsights', null, global);
|
|
|
77
77
|
goog.exportSymbol('proto.gateway.web.v1.AISessionRef', null, global);
|
|
78
78
|
goog.exportSymbol('proto.gateway.web.v1.AISessionRubricResult', null, global);
|
|
79
79
|
goog.exportSymbol('proto.gateway.web.v1.AISessionScore', null, global);
|
|
80
|
+
goog.exportSymbol('proto.gateway.web.v1.AISessionScoreRubric', null, global);
|
|
81
|
+
goog.exportSymbol('proto.gateway.web.v1.AISessionScoreRubricCriterion', null, global);
|
|
82
|
+
goog.exportSymbol('proto.gateway.web.v1.AISessionScoreRubricTemplate', null, global);
|
|
80
83
|
goog.exportSymbol('proto.gateway.web.v1.AISessionScoreSummary', null, global);
|
|
81
84
|
goog.exportSymbol('proto.gateway.web.v1.AISessionScoreTrendFilter', null, global);
|
|
82
85
|
goog.exportSymbol('proto.gateway.web.v1.AISessionScoreWeek', null, global);
|
|
@@ -111,6 +114,8 @@ goog.exportSymbol('proto.gateway.web.v1.FilesSummary', null, global);
|
|
|
111
114
|
goog.exportSymbol('proto.gateway.web.v1.FilesSummaryRequest', null, global);
|
|
112
115
|
goog.exportSymbol('proto.gateway.web.v1.GetLabelCatalogRequest', null, global);
|
|
113
116
|
goog.exportSymbol('proto.gateway.web.v1.GetLabelCatalogResponse', null, global);
|
|
117
|
+
goog.exportSymbol('proto.gateway.web.v1.GetProjectSessionScoreRubricRequest', null, global);
|
|
118
|
+
goog.exportSymbol('proto.gateway.web.v1.GetProjectSessionScoreRubricResponse', null, global);
|
|
114
119
|
goog.exportSymbol('proto.gateway.web.v1.GetPromptLabelTrendRequest', null, global);
|
|
115
120
|
goog.exportSymbol('proto.gateway.web.v1.GetPromptLabelTrendResponse', null, global);
|
|
116
121
|
goog.exportSymbol('proto.gateway.web.v1.GetReasoningTrendContributionRequest', null, global);
|
|
@@ -119,6 +124,8 @@ goog.exportSymbol('proto.gateway.web.v1.GetSessionAnalysisRequest', null, global
|
|
|
119
124
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionAnalysisResponse', null, global);
|
|
120
125
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionIssuesRequest', null, global);
|
|
121
126
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionIssuesResponse', null, global);
|
|
127
|
+
goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest', null, global);
|
|
128
|
+
goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse', null, global);
|
|
122
129
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreTrendRequest', null, global);
|
|
123
130
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreTrendResponse', null, global);
|
|
124
131
|
goog.exportSymbol('proto.gateway.web.v1.GetSessionSummaryRequest', null, global);
|
|
@@ -182,6 +189,7 @@ goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewRequest', null, global);
|
|
|
182
189
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewSlice', null, global);
|
|
183
190
|
goog.exportSymbol('proto.gateway.web.v1.ProjectOverviewTotals', null, global);
|
|
184
191
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSessionRef', null, global);
|
|
192
|
+
goog.exportSymbol('proto.gateway.web.v1.ProjectSessionScoreRubric', null, global);
|
|
185
193
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSummaries', null, global);
|
|
186
194
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSummariesRequest', null, global);
|
|
187
195
|
goog.exportSymbol('proto.gateway.web.v1.ProjectSummary', null, global);
|
|
@@ -247,6 +255,8 @@ goog.exportSymbol('proto.gateway.web.v1.Tracker', null, global);
|
|
|
247
255
|
goog.exportSymbol('proto.gateway.web.v1.TrackerIssue', null, global);
|
|
248
256
|
goog.exportSymbol('proto.gateway.web.v1.TrackerSyncError', null, global);
|
|
249
257
|
goog.exportSymbol('proto.gateway.web.v1.TrackerSyncState', null, global);
|
|
258
|
+
goog.exportSymbol('proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest', null, global);
|
|
259
|
+
goog.exportSymbol('proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse', null, global);
|
|
250
260
|
/**
|
|
251
261
|
* Generated by JsPbCodeGenerator.
|
|
252
262
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -856,6 +866,195 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
856
866
|
*/
|
|
857
867
|
proto.gateway.web.v1.AILabelValue.displayName = 'proto.gateway.web.v1.AILabelValue';
|
|
858
868
|
}
|
|
869
|
+
/**
|
|
870
|
+
* Generated by JsPbCodeGenerator.
|
|
871
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
872
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
873
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
874
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
875
|
+
* valid.
|
|
876
|
+
* @extends {jspb.Message}
|
|
877
|
+
* @constructor
|
|
878
|
+
*/
|
|
879
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest = function(opt_data) {
|
|
880
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
881
|
+
};
|
|
882
|
+
goog.inherits(proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest, jspb.Message);
|
|
883
|
+
if (goog.DEBUG && !COMPILED) {
|
|
884
|
+
/**
|
|
885
|
+
* @public
|
|
886
|
+
* @override
|
|
887
|
+
*/
|
|
888
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.displayName = 'proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest';
|
|
889
|
+
}
|
|
890
|
+
/**
|
|
891
|
+
* Generated by JsPbCodeGenerator.
|
|
892
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
893
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
894
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
895
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
896
|
+
* valid.
|
|
897
|
+
* @extends {jspb.Message}
|
|
898
|
+
* @constructor
|
|
899
|
+
*/
|
|
900
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse = function(opt_data) {
|
|
901
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.repeatedFields_, null);
|
|
902
|
+
};
|
|
903
|
+
goog.inherits(proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse, jspb.Message);
|
|
904
|
+
if (goog.DEBUG && !COMPILED) {
|
|
905
|
+
/**
|
|
906
|
+
* @public
|
|
907
|
+
* @override
|
|
908
|
+
*/
|
|
909
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.displayName = 'proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse';
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* Generated by JsPbCodeGenerator.
|
|
913
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
914
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
915
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
916
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
917
|
+
* valid.
|
|
918
|
+
* @extends {jspb.Message}
|
|
919
|
+
* @constructor
|
|
920
|
+
*/
|
|
921
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate = function(opt_data) {
|
|
922
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AISessionScoreRubricTemplate.repeatedFields_, null);
|
|
923
|
+
};
|
|
924
|
+
goog.inherits(proto.gateway.web.v1.AISessionScoreRubricTemplate, jspb.Message);
|
|
925
|
+
if (goog.DEBUG && !COMPILED) {
|
|
926
|
+
/**
|
|
927
|
+
* @public
|
|
928
|
+
* @override
|
|
929
|
+
*/
|
|
930
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.displayName = 'proto.gateway.web.v1.AISessionScoreRubricTemplate';
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* Generated by JsPbCodeGenerator.
|
|
934
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
935
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
936
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
937
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
938
|
+
* valid.
|
|
939
|
+
* @extends {jspb.Message}
|
|
940
|
+
* @constructor
|
|
941
|
+
*/
|
|
942
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion = function(opt_data) {
|
|
943
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
944
|
+
};
|
|
945
|
+
goog.inherits(proto.gateway.web.v1.AISessionScoreRubricCriterion, jspb.Message);
|
|
946
|
+
if (goog.DEBUG && !COMPILED) {
|
|
947
|
+
/**
|
|
948
|
+
* @public
|
|
949
|
+
* @override
|
|
950
|
+
*/
|
|
951
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.displayName = 'proto.gateway.web.v1.AISessionScoreRubricCriterion';
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* Generated by JsPbCodeGenerator.
|
|
955
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
956
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
957
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
958
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
959
|
+
* valid.
|
|
960
|
+
* @extends {jspb.Message}
|
|
961
|
+
* @constructor
|
|
962
|
+
*/
|
|
963
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest = function(opt_data) {
|
|
964
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
965
|
+
};
|
|
966
|
+
goog.inherits(proto.gateway.web.v1.GetProjectSessionScoreRubricRequest, jspb.Message);
|
|
967
|
+
if (goog.DEBUG && !COMPILED) {
|
|
968
|
+
/**
|
|
969
|
+
* @public
|
|
970
|
+
* @override
|
|
971
|
+
*/
|
|
972
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.displayName = 'proto.gateway.web.v1.GetProjectSessionScoreRubricRequest';
|
|
973
|
+
}
|
|
974
|
+
/**
|
|
975
|
+
* Generated by JsPbCodeGenerator.
|
|
976
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
977
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
978
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
979
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
980
|
+
* valid.
|
|
981
|
+
* @extends {jspb.Message}
|
|
982
|
+
* @constructor
|
|
983
|
+
*/
|
|
984
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse = function(opt_data) {
|
|
985
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
986
|
+
};
|
|
987
|
+
goog.inherits(proto.gateway.web.v1.GetProjectSessionScoreRubricResponse, jspb.Message);
|
|
988
|
+
if (goog.DEBUG && !COMPILED) {
|
|
989
|
+
/**
|
|
990
|
+
* @public
|
|
991
|
+
* @override
|
|
992
|
+
*/
|
|
993
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.displayName = 'proto.gateway.web.v1.GetProjectSessionScoreRubricResponse';
|
|
994
|
+
}
|
|
995
|
+
/**
|
|
996
|
+
* Generated by JsPbCodeGenerator.
|
|
997
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
998
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
999
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1000
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1001
|
+
* valid.
|
|
1002
|
+
* @extends {jspb.Message}
|
|
1003
|
+
* @constructor
|
|
1004
|
+
*/
|
|
1005
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest = function(opt_data) {
|
|
1006
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1007
|
+
};
|
|
1008
|
+
goog.inherits(proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest, jspb.Message);
|
|
1009
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1010
|
+
/**
|
|
1011
|
+
* @public
|
|
1012
|
+
* @override
|
|
1013
|
+
*/
|
|
1014
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.displayName = 'proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest';
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* Generated by JsPbCodeGenerator.
|
|
1018
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1019
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1020
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1021
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1022
|
+
* valid.
|
|
1023
|
+
* @extends {jspb.Message}
|
|
1024
|
+
* @constructor
|
|
1025
|
+
*/
|
|
1026
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse = function(opt_data) {
|
|
1027
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1028
|
+
};
|
|
1029
|
+
goog.inherits(proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse, jspb.Message);
|
|
1030
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1031
|
+
/**
|
|
1032
|
+
* @public
|
|
1033
|
+
* @override
|
|
1034
|
+
*/
|
|
1035
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.displayName = 'proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse';
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
* Generated by JsPbCodeGenerator.
|
|
1039
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1040
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1041
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1042
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1043
|
+
* valid.
|
|
1044
|
+
* @extends {jspb.Message}
|
|
1045
|
+
* @constructor
|
|
1046
|
+
*/
|
|
1047
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric = function(opt_data) {
|
|
1048
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1049
|
+
};
|
|
1050
|
+
goog.inherits(proto.gateway.web.v1.ProjectSessionScoreRubric, jspb.Message);
|
|
1051
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1052
|
+
/**
|
|
1053
|
+
* @public
|
|
1054
|
+
* @override
|
|
1055
|
+
*/
|
|
1056
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.displayName = 'proto.gateway.web.v1.ProjectSessionScoreRubric';
|
|
1057
|
+
}
|
|
859
1058
|
/**
|
|
860
1059
|
* Generated by JsPbCodeGenerator.
|
|
861
1060
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6212,6 +6411,7 @@ recap: jspb.Message.getFieldWithDefault(msg, 34, ""),
|
|
|
6212
6411
|
workType: jspb.Message.getFieldWithDefault(msg, 36, ""),
|
|
6213
6412
|
workSize: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
6214
6413
|
sessionScore: (f = jspb.Message.getField(msg, 38)) == null ? undefined : f,
|
|
6414
|
+
sessionScoreRubric: jspb.Message.getFieldWithDefault(msg, 40, 0),
|
|
6215
6415
|
promptLabelSummary: (f = msg.getPromptLabelSummary()) && proto.gateway.web.v1.AIPromptLabelSummary.toObject(includeInstance, f)
|
|
6216
6416
|
};
|
|
6217
6417
|
|
|
@@ -6404,6 +6604,10 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
|
|
|
6404
6604
|
var value = /** @type {number} */ (reader.readInt32());
|
|
6405
6605
|
msg.setSessionScore(value);
|
|
6406
6606
|
break;
|
|
6607
|
+
case 40:
|
|
6608
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
6609
|
+
msg.setSessionScoreRubric(value);
|
|
6610
|
+
break;
|
|
6407
6611
|
case 39:
|
|
6408
6612
|
var value = new proto.gateway.web.v1.AIPromptLabelSummary;
|
|
6409
6613
|
reader.readMessage(value,proto.gateway.web.v1.AIPromptLabelSummary.deserializeBinaryFromReader);
|
|
@@ -6707,6 +6911,13 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
|
|
|
6707
6911
|
f
|
|
6708
6912
|
);
|
|
6709
6913
|
}
|
|
6914
|
+
f = message.getSessionScoreRubric();
|
|
6915
|
+
if (f !== 0.0) {
|
|
6916
|
+
writer.writeEnum(
|
|
6917
|
+
40,
|
|
6918
|
+
f
|
|
6919
|
+
);
|
|
6920
|
+
}
|
|
6710
6921
|
f = message.getPromptLabelSummary();
|
|
6711
6922
|
if (f != null) {
|
|
6712
6923
|
writer.writeMessage(
|
|
@@ -7686,6 +7897,24 @@ proto.gateway.web.v1.AISessionSummary.prototype.hasSessionScore = function() {
|
|
|
7686
7897
|
};
|
|
7687
7898
|
|
|
7688
7899
|
|
|
7900
|
+
/**
|
|
7901
|
+
* optional AISessionScoreRubric session_score_rubric = 40;
|
|
7902
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
7903
|
+
*/
|
|
7904
|
+
proto.gateway.web.v1.AISessionSummary.prototype.getSessionScoreRubric = function() {
|
|
7905
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 40, 0));
|
|
7906
|
+
};
|
|
7907
|
+
|
|
7908
|
+
|
|
7909
|
+
/**
|
|
7910
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
7911
|
+
* @return {!proto.gateway.web.v1.AISessionSummary} returns this
|
|
7912
|
+
*/
|
|
7913
|
+
proto.gateway.web.v1.AISessionSummary.prototype.setSessionScoreRubric = function(value) {
|
|
7914
|
+
return jspb.Message.setProto3EnumField(this, 40, value);
|
|
7915
|
+
};
|
|
7916
|
+
|
|
7917
|
+
|
|
7689
7918
|
/**
|
|
7690
7919
|
* optional AIPromptLabelSummary prompt_label_summary = 39;
|
|
7691
7920
|
* @return {?proto.gateway.web.v1.AIPromptLabelSummary}
|
|
@@ -12800,16 +13029,1960 @@ proto.gateway.web.v1.GetLabelCatalogRequest.serializeBinaryToWriter = function(m
|
|
|
12800
13029
|
* optional string organization_id = 1;
|
|
12801
13030
|
* @return {string}
|
|
12802
13031
|
*/
|
|
12803
|
-
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getOrganizationId = function() {
|
|
13032
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getOrganizationId = function() {
|
|
13033
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13034
|
+
};
|
|
13035
|
+
|
|
13036
|
+
|
|
13037
|
+
/**
|
|
13038
|
+
* @param {string} value
|
|
13039
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogRequest} returns this
|
|
13040
|
+
*/
|
|
13041
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setOrganizationId = function(value) {
|
|
13042
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13043
|
+
};
|
|
13044
|
+
|
|
13045
|
+
|
|
13046
|
+
/**
|
|
13047
|
+
* optional string project_id = 2;
|
|
13048
|
+
* @return {string}
|
|
13049
|
+
*/
|
|
13050
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getProjectId = function() {
|
|
13051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13052
|
+
};
|
|
13053
|
+
|
|
13054
|
+
|
|
13055
|
+
/**
|
|
13056
|
+
* @param {string} value
|
|
13057
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogRequest} returns this
|
|
13058
|
+
*/
|
|
13059
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setProjectId = function(value) {
|
|
13060
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13061
|
+
};
|
|
13062
|
+
|
|
13063
|
+
|
|
13064
|
+
|
|
13065
|
+
|
|
13066
|
+
|
|
13067
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13068
|
+
/**
|
|
13069
|
+
* Creates an object representation of this proto.
|
|
13070
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13071
|
+
* Optional fields that are not set will be set to undefined.
|
|
13072
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13073
|
+
* For the list of reserved names please see:
|
|
13074
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13075
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13076
|
+
* JSPB instance for transitional soy proto support:
|
|
13077
|
+
* http://goto/soy-param-migration
|
|
13078
|
+
* @return {!Object}
|
|
13079
|
+
*/
|
|
13080
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.toObject = function(opt_includeInstance) {
|
|
13081
|
+
return proto.gateway.web.v1.GetLabelCatalogResponse.toObject(opt_includeInstance, this);
|
|
13082
|
+
};
|
|
13083
|
+
|
|
13084
|
+
|
|
13085
|
+
/**
|
|
13086
|
+
* Static version of the {@see toObject} method.
|
|
13087
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13088
|
+
* the JSPB instance for transitional soy proto support:
|
|
13089
|
+
* http://goto/soy-param-migration
|
|
13090
|
+
* @param {!proto.gateway.web.v1.GetLabelCatalogResponse} msg The msg instance to transform.
|
|
13091
|
+
* @return {!Object}
|
|
13092
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13093
|
+
*/
|
|
13094
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.toObject = function(includeInstance, msg) {
|
|
13095
|
+
var f, obj = {
|
|
13096
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
13097
|
+
sessionLabels: (f = msg.getSessionLabels()) && proto.gateway.web.v1.AILabelSet.toObject(includeInstance, f),
|
|
13098
|
+
promptLabels: (f = msg.getPromptLabels()) && proto.gateway.web.v1.AILabelSet.toObject(includeInstance, f)
|
|
13099
|
+
};
|
|
13100
|
+
|
|
13101
|
+
if (includeInstance) {
|
|
13102
|
+
obj.$jspbMessageInstance = msg;
|
|
13103
|
+
}
|
|
13104
|
+
return obj;
|
|
13105
|
+
};
|
|
13106
|
+
}
|
|
13107
|
+
|
|
13108
|
+
|
|
13109
|
+
/**
|
|
13110
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13111
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13112
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse}
|
|
13113
|
+
*/
|
|
13114
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinary = function(bytes) {
|
|
13115
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13116
|
+
var msg = new proto.gateway.web.v1.GetLabelCatalogResponse;
|
|
13117
|
+
return proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader(msg, reader);
|
|
13118
|
+
};
|
|
13119
|
+
|
|
13120
|
+
|
|
13121
|
+
/**
|
|
13122
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13123
|
+
* given reader into the given message object.
|
|
13124
|
+
* @param {!proto.gateway.web.v1.GetLabelCatalogResponse} msg The message object to deserialize into.
|
|
13125
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13126
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse}
|
|
13127
|
+
*/
|
|
13128
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
13129
|
+
while (reader.nextField()) {
|
|
13130
|
+
if (reader.isEndGroup()) {
|
|
13131
|
+
break;
|
|
13132
|
+
}
|
|
13133
|
+
var field = reader.getFieldNumber();
|
|
13134
|
+
switch (field) {
|
|
13135
|
+
case 1:
|
|
13136
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
13137
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
13138
|
+
msg.setStatus(value);
|
|
13139
|
+
break;
|
|
13140
|
+
case 2:
|
|
13141
|
+
var value = new proto.gateway.web.v1.AILabelSet;
|
|
13142
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader);
|
|
13143
|
+
msg.setSessionLabels(value);
|
|
13144
|
+
break;
|
|
13145
|
+
case 3:
|
|
13146
|
+
var value = new proto.gateway.web.v1.AILabelSet;
|
|
13147
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader);
|
|
13148
|
+
msg.setPromptLabels(value);
|
|
13149
|
+
break;
|
|
13150
|
+
default:
|
|
13151
|
+
reader.skipField();
|
|
13152
|
+
break;
|
|
13153
|
+
}
|
|
13154
|
+
}
|
|
13155
|
+
return msg;
|
|
13156
|
+
};
|
|
13157
|
+
|
|
13158
|
+
|
|
13159
|
+
/**
|
|
13160
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13161
|
+
* @return {!Uint8Array}
|
|
13162
|
+
*/
|
|
13163
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.serializeBinary = function() {
|
|
13164
|
+
var writer = new jspb.BinaryWriter();
|
|
13165
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter(this, writer);
|
|
13166
|
+
return writer.getResultBuffer();
|
|
13167
|
+
};
|
|
13168
|
+
|
|
13169
|
+
|
|
13170
|
+
/**
|
|
13171
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13172
|
+
* format), writing to the given BinaryWriter.
|
|
13173
|
+
* @param {!proto.gateway.web.v1.GetLabelCatalogResponse} message
|
|
13174
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13175
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13176
|
+
*/
|
|
13177
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13178
|
+
var f = undefined;
|
|
13179
|
+
f = message.getStatus();
|
|
13180
|
+
if (f != null) {
|
|
13181
|
+
writer.writeMessage(
|
|
13182
|
+
1,
|
|
13183
|
+
f,
|
|
13184
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
13185
|
+
);
|
|
13186
|
+
}
|
|
13187
|
+
f = message.getSessionLabels();
|
|
13188
|
+
if (f != null) {
|
|
13189
|
+
writer.writeMessage(
|
|
13190
|
+
2,
|
|
13191
|
+
f,
|
|
13192
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter
|
|
13193
|
+
);
|
|
13194
|
+
}
|
|
13195
|
+
f = message.getPromptLabels();
|
|
13196
|
+
if (f != null) {
|
|
13197
|
+
writer.writeMessage(
|
|
13198
|
+
3,
|
|
13199
|
+
f,
|
|
13200
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter
|
|
13201
|
+
);
|
|
13202
|
+
}
|
|
13203
|
+
};
|
|
13204
|
+
|
|
13205
|
+
|
|
13206
|
+
/**
|
|
13207
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
13208
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
13209
|
+
*/
|
|
13210
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getStatus = function() {
|
|
13211
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
13212
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
13213
|
+
};
|
|
13214
|
+
|
|
13215
|
+
|
|
13216
|
+
/**
|
|
13217
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
13218
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13219
|
+
*/
|
|
13220
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setStatus = function(value) {
|
|
13221
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
13222
|
+
};
|
|
13223
|
+
|
|
13224
|
+
|
|
13225
|
+
/**
|
|
13226
|
+
* Clears the message field making it undefined.
|
|
13227
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13228
|
+
*/
|
|
13229
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearStatus = function() {
|
|
13230
|
+
return this.setStatus(undefined);
|
|
13231
|
+
};
|
|
13232
|
+
|
|
13233
|
+
|
|
13234
|
+
/**
|
|
13235
|
+
* Returns whether this field is set.
|
|
13236
|
+
* @return {boolean}
|
|
13237
|
+
*/
|
|
13238
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasStatus = function() {
|
|
13239
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13240
|
+
};
|
|
13241
|
+
|
|
13242
|
+
|
|
13243
|
+
/**
|
|
13244
|
+
* optional AILabelSet session_labels = 2;
|
|
13245
|
+
* @return {?proto.gateway.web.v1.AILabelSet}
|
|
13246
|
+
*/
|
|
13247
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getSessionLabels = function() {
|
|
13248
|
+
return /** @type{?proto.gateway.web.v1.AILabelSet} */ (
|
|
13249
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AILabelSet, 2));
|
|
13250
|
+
};
|
|
13251
|
+
|
|
13252
|
+
|
|
13253
|
+
/**
|
|
13254
|
+
* @param {?proto.gateway.web.v1.AILabelSet|undefined} value
|
|
13255
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13256
|
+
*/
|
|
13257
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setSessionLabels = function(value) {
|
|
13258
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
13259
|
+
};
|
|
13260
|
+
|
|
13261
|
+
|
|
13262
|
+
/**
|
|
13263
|
+
* Clears the message field making it undefined.
|
|
13264
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13265
|
+
*/
|
|
13266
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearSessionLabels = function() {
|
|
13267
|
+
return this.setSessionLabels(undefined);
|
|
13268
|
+
};
|
|
13269
|
+
|
|
13270
|
+
|
|
13271
|
+
/**
|
|
13272
|
+
* Returns whether this field is set.
|
|
13273
|
+
* @return {boolean}
|
|
13274
|
+
*/
|
|
13275
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasSessionLabels = function() {
|
|
13276
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13277
|
+
};
|
|
13278
|
+
|
|
13279
|
+
|
|
13280
|
+
/**
|
|
13281
|
+
* optional AILabelSet prompt_labels = 3;
|
|
13282
|
+
* @return {?proto.gateway.web.v1.AILabelSet}
|
|
13283
|
+
*/
|
|
13284
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getPromptLabels = function() {
|
|
13285
|
+
return /** @type{?proto.gateway.web.v1.AILabelSet} */ (
|
|
13286
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AILabelSet, 3));
|
|
13287
|
+
};
|
|
13288
|
+
|
|
13289
|
+
|
|
13290
|
+
/**
|
|
13291
|
+
* @param {?proto.gateway.web.v1.AILabelSet|undefined} value
|
|
13292
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13293
|
+
*/
|
|
13294
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setPromptLabels = function(value) {
|
|
13295
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
13296
|
+
};
|
|
13297
|
+
|
|
13298
|
+
|
|
13299
|
+
/**
|
|
13300
|
+
* Clears the message field making it undefined.
|
|
13301
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13302
|
+
*/
|
|
13303
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearPromptLabels = function() {
|
|
13304
|
+
return this.setPromptLabels(undefined);
|
|
13305
|
+
};
|
|
13306
|
+
|
|
13307
|
+
|
|
13308
|
+
/**
|
|
13309
|
+
* Returns whether this field is set.
|
|
13310
|
+
* @return {boolean}
|
|
13311
|
+
*/
|
|
13312
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasPromptLabels = function() {
|
|
13313
|
+
return jspb.Message.getField(this, 3) != null;
|
|
13314
|
+
};
|
|
13315
|
+
|
|
13316
|
+
|
|
13317
|
+
|
|
13318
|
+
/**
|
|
13319
|
+
* List of repeated fields within this message type.
|
|
13320
|
+
* @private {!Array<number>}
|
|
13321
|
+
* @const
|
|
13322
|
+
*/
|
|
13323
|
+
proto.gateway.web.v1.AILabelSet.repeatedFields_ = [2];
|
|
13324
|
+
|
|
13325
|
+
|
|
13326
|
+
|
|
13327
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13328
|
+
/**
|
|
13329
|
+
* Creates an object representation of this proto.
|
|
13330
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13331
|
+
* Optional fields that are not set will be set to undefined.
|
|
13332
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13333
|
+
* For the list of reserved names please see:
|
|
13334
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13335
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13336
|
+
* JSPB instance for transitional soy proto support:
|
|
13337
|
+
* http://goto/soy-param-migration
|
|
13338
|
+
* @return {!Object}
|
|
13339
|
+
*/
|
|
13340
|
+
proto.gateway.web.v1.AILabelSet.prototype.toObject = function(opt_includeInstance) {
|
|
13341
|
+
return proto.gateway.web.v1.AILabelSet.toObject(opt_includeInstance, this);
|
|
13342
|
+
};
|
|
13343
|
+
|
|
13344
|
+
|
|
13345
|
+
/**
|
|
13346
|
+
* Static version of the {@see toObject} method.
|
|
13347
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13348
|
+
* the JSPB instance for transitional soy proto support:
|
|
13349
|
+
* http://goto/soy-param-migration
|
|
13350
|
+
* @param {!proto.gateway.web.v1.AILabelSet} msg The msg instance to transform.
|
|
13351
|
+
* @return {!Object}
|
|
13352
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13353
|
+
*/
|
|
13354
|
+
proto.gateway.web.v1.AILabelSet.toObject = function(includeInstance, msg) {
|
|
13355
|
+
var f, obj = {
|
|
13356
|
+
version: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13357
|
+
dimensionsList: jspb.Message.toObjectList(msg.getDimensionsList(),
|
|
13358
|
+
proto.gateway.web.v1.AILabelDimension.toObject, includeInstance)
|
|
13359
|
+
};
|
|
13360
|
+
|
|
13361
|
+
if (includeInstance) {
|
|
13362
|
+
obj.$jspbMessageInstance = msg;
|
|
13363
|
+
}
|
|
13364
|
+
return obj;
|
|
13365
|
+
};
|
|
13366
|
+
}
|
|
13367
|
+
|
|
13368
|
+
|
|
13369
|
+
/**
|
|
13370
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13371
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13372
|
+
* @return {!proto.gateway.web.v1.AILabelSet}
|
|
13373
|
+
*/
|
|
13374
|
+
proto.gateway.web.v1.AILabelSet.deserializeBinary = function(bytes) {
|
|
13375
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13376
|
+
var msg = new proto.gateway.web.v1.AILabelSet;
|
|
13377
|
+
return proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader(msg, reader);
|
|
13378
|
+
};
|
|
13379
|
+
|
|
13380
|
+
|
|
13381
|
+
/**
|
|
13382
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13383
|
+
* given reader into the given message object.
|
|
13384
|
+
* @param {!proto.gateway.web.v1.AILabelSet} msg The message object to deserialize into.
|
|
13385
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13386
|
+
* @return {!proto.gateway.web.v1.AILabelSet}
|
|
13387
|
+
*/
|
|
13388
|
+
proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader = function(msg, reader) {
|
|
13389
|
+
while (reader.nextField()) {
|
|
13390
|
+
if (reader.isEndGroup()) {
|
|
13391
|
+
break;
|
|
13392
|
+
}
|
|
13393
|
+
var field = reader.getFieldNumber();
|
|
13394
|
+
switch (field) {
|
|
13395
|
+
case 1:
|
|
13396
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13397
|
+
msg.setVersion(value);
|
|
13398
|
+
break;
|
|
13399
|
+
case 2:
|
|
13400
|
+
var value = new proto.gateway.web.v1.AILabelDimension;
|
|
13401
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader);
|
|
13402
|
+
msg.addDimensions(value);
|
|
13403
|
+
break;
|
|
13404
|
+
default:
|
|
13405
|
+
reader.skipField();
|
|
13406
|
+
break;
|
|
13407
|
+
}
|
|
13408
|
+
}
|
|
13409
|
+
return msg;
|
|
13410
|
+
};
|
|
13411
|
+
|
|
13412
|
+
|
|
13413
|
+
/**
|
|
13414
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13415
|
+
* @return {!Uint8Array}
|
|
13416
|
+
*/
|
|
13417
|
+
proto.gateway.web.v1.AILabelSet.prototype.serializeBinary = function() {
|
|
13418
|
+
var writer = new jspb.BinaryWriter();
|
|
13419
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter(this, writer);
|
|
13420
|
+
return writer.getResultBuffer();
|
|
13421
|
+
};
|
|
13422
|
+
|
|
13423
|
+
|
|
13424
|
+
/**
|
|
13425
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13426
|
+
* format), writing to the given BinaryWriter.
|
|
13427
|
+
* @param {!proto.gateway.web.v1.AILabelSet} message
|
|
13428
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13429
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13430
|
+
*/
|
|
13431
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter = function(message, writer) {
|
|
13432
|
+
var f = undefined;
|
|
13433
|
+
f = message.getVersion();
|
|
13434
|
+
if (f.length > 0) {
|
|
13435
|
+
writer.writeString(
|
|
13436
|
+
1,
|
|
13437
|
+
f
|
|
13438
|
+
);
|
|
13439
|
+
}
|
|
13440
|
+
f = message.getDimensionsList();
|
|
13441
|
+
if (f.length > 0) {
|
|
13442
|
+
writer.writeRepeatedMessage(
|
|
13443
|
+
2,
|
|
13444
|
+
f,
|
|
13445
|
+
proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter
|
|
13446
|
+
);
|
|
13447
|
+
}
|
|
13448
|
+
};
|
|
13449
|
+
|
|
13450
|
+
|
|
13451
|
+
/**
|
|
13452
|
+
* optional string version = 1;
|
|
13453
|
+
* @return {string}
|
|
13454
|
+
*/
|
|
13455
|
+
proto.gateway.web.v1.AILabelSet.prototype.getVersion = function() {
|
|
13456
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13457
|
+
};
|
|
13458
|
+
|
|
13459
|
+
|
|
13460
|
+
/**
|
|
13461
|
+
* @param {string} value
|
|
13462
|
+
* @return {!proto.gateway.web.v1.AILabelSet} returns this
|
|
13463
|
+
*/
|
|
13464
|
+
proto.gateway.web.v1.AILabelSet.prototype.setVersion = function(value) {
|
|
13465
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13466
|
+
};
|
|
13467
|
+
|
|
13468
|
+
|
|
13469
|
+
/**
|
|
13470
|
+
* repeated AILabelDimension dimensions = 2;
|
|
13471
|
+
* @return {!Array<!proto.gateway.web.v1.AILabelDimension>}
|
|
13472
|
+
*/
|
|
13473
|
+
proto.gateway.web.v1.AILabelSet.prototype.getDimensionsList = function() {
|
|
13474
|
+
return /** @type{!Array<!proto.gateway.web.v1.AILabelDimension>} */ (
|
|
13475
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelDimension, 2));
|
|
13476
|
+
};
|
|
13477
|
+
|
|
13478
|
+
|
|
13479
|
+
/**
|
|
13480
|
+
* @param {!Array<!proto.gateway.web.v1.AILabelDimension>} value
|
|
13481
|
+
* @return {!proto.gateway.web.v1.AILabelSet} returns this
|
|
13482
|
+
*/
|
|
13483
|
+
proto.gateway.web.v1.AILabelSet.prototype.setDimensionsList = function(value) {
|
|
13484
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
13485
|
+
};
|
|
13486
|
+
|
|
13487
|
+
|
|
13488
|
+
/**
|
|
13489
|
+
* @param {!proto.gateway.web.v1.AILabelDimension=} opt_value
|
|
13490
|
+
* @param {number=} opt_index
|
|
13491
|
+
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
13492
|
+
*/
|
|
13493
|
+
proto.gateway.web.v1.AILabelSet.prototype.addDimensions = function(opt_value, opt_index) {
|
|
13494
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AILabelDimension, opt_index);
|
|
13495
|
+
};
|
|
13496
|
+
|
|
13497
|
+
|
|
13498
|
+
/**
|
|
13499
|
+
* Clears the list making it empty but non-null.
|
|
13500
|
+
* @return {!proto.gateway.web.v1.AILabelSet} returns this
|
|
13501
|
+
*/
|
|
13502
|
+
proto.gateway.web.v1.AILabelSet.prototype.clearDimensionsList = function() {
|
|
13503
|
+
return this.setDimensionsList([]);
|
|
13504
|
+
};
|
|
13505
|
+
|
|
13506
|
+
|
|
13507
|
+
|
|
13508
|
+
/**
|
|
13509
|
+
* List of repeated fields within this message type.
|
|
13510
|
+
* @private {!Array<number>}
|
|
13511
|
+
* @const
|
|
13512
|
+
*/
|
|
13513
|
+
proto.gateway.web.v1.AILabelDimension.repeatedFields_ = [3];
|
|
13514
|
+
|
|
13515
|
+
|
|
13516
|
+
|
|
13517
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13518
|
+
/**
|
|
13519
|
+
* Creates an object representation of this proto.
|
|
13520
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13521
|
+
* Optional fields that are not set will be set to undefined.
|
|
13522
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13523
|
+
* For the list of reserved names please see:
|
|
13524
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13525
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13526
|
+
* JSPB instance for transitional soy proto support:
|
|
13527
|
+
* http://goto/soy-param-migration
|
|
13528
|
+
* @return {!Object}
|
|
13529
|
+
*/
|
|
13530
|
+
proto.gateway.web.v1.AILabelDimension.prototype.toObject = function(opt_includeInstance) {
|
|
13531
|
+
return proto.gateway.web.v1.AILabelDimension.toObject(opt_includeInstance, this);
|
|
13532
|
+
};
|
|
13533
|
+
|
|
13534
|
+
|
|
13535
|
+
/**
|
|
13536
|
+
* Static version of the {@see toObject} method.
|
|
13537
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13538
|
+
* the JSPB instance for transitional soy proto support:
|
|
13539
|
+
* http://goto/soy-param-migration
|
|
13540
|
+
* @param {!proto.gateway.web.v1.AILabelDimension} msg The msg instance to transform.
|
|
13541
|
+
* @return {!Object}
|
|
13542
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13543
|
+
*/
|
|
13544
|
+
proto.gateway.web.v1.AILabelDimension.toObject = function(includeInstance, msg) {
|
|
13545
|
+
var f, obj = {
|
|
13546
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13547
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13548
|
+
valuesList: jspb.Message.toObjectList(msg.getValuesList(),
|
|
13549
|
+
proto.gateway.web.v1.AILabelValue.toObject, includeInstance)
|
|
13550
|
+
};
|
|
13551
|
+
|
|
13552
|
+
if (includeInstance) {
|
|
13553
|
+
obj.$jspbMessageInstance = msg;
|
|
13554
|
+
}
|
|
13555
|
+
return obj;
|
|
13556
|
+
};
|
|
13557
|
+
}
|
|
13558
|
+
|
|
13559
|
+
|
|
13560
|
+
/**
|
|
13561
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13562
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13563
|
+
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
13564
|
+
*/
|
|
13565
|
+
proto.gateway.web.v1.AILabelDimension.deserializeBinary = function(bytes) {
|
|
13566
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13567
|
+
var msg = new proto.gateway.web.v1.AILabelDimension;
|
|
13568
|
+
return proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader(msg, reader);
|
|
13569
|
+
};
|
|
13570
|
+
|
|
13571
|
+
|
|
13572
|
+
/**
|
|
13573
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13574
|
+
* given reader into the given message object.
|
|
13575
|
+
* @param {!proto.gateway.web.v1.AILabelDimension} msg The message object to deserialize into.
|
|
13576
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13577
|
+
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
13578
|
+
*/
|
|
13579
|
+
proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader = function(msg, reader) {
|
|
13580
|
+
while (reader.nextField()) {
|
|
13581
|
+
if (reader.isEndGroup()) {
|
|
13582
|
+
break;
|
|
13583
|
+
}
|
|
13584
|
+
var field = reader.getFieldNumber();
|
|
13585
|
+
switch (field) {
|
|
13586
|
+
case 1:
|
|
13587
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13588
|
+
msg.setKey(value);
|
|
13589
|
+
break;
|
|
13590
|
+
case 2:
|
|
13591
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13592
|
+
msg.setName(value);
|
|
13593
|
+
break;
|
|
13594
|
+
case 3:
|
|
13595
|
+
var value = new proto.gateway.web.v1.AILabelValue;
|
|
13596
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader);
|
|
13597
|
+
msg.addValues(value);
|
|
13598
|
+
break;
|
|
13599
|
+
default:
|
|
13600
|
+
reader.skipField();
|
|
13601
|
+
break;
|
|
13602
|
+
}
|
|
13603
|
+
}
|
|
13604
|
+
return msg;
|
|
13605
|
+
};
|
|
13606
|
+
|
|
13607
|
+
|
|
13608
|
+
/**
|
|
13609
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13610
|
+
* @return {!Uint8Array}
|
|
13611
|
+
*/
|
|
13612
|
+
proto.gateway.web.v1.AILabelDimension.prototype.serializeBinary = function() {
|
|
13613
|
+
var writer = new jspb.BinaryWriter();
|
|
13614
|
+
proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter(this, writer);
|
|
13615
|
+
return writer.getResultBuffer();
|
|
13616
|
+
};
|
|
13617
|
+
|
|
13618
|
+
|
|
13619
|
+
/**
|
|
13620
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13621
|
+
* format), writing to the given BinaryWriter.
|
|
13622
|
+
* @param {!proto.gateway.web.v1.AILabelDimension} message
|
|
13623
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13624
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13625
|
+
*/
|
|
13626
|
+
proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter = function(message, writer) {
|
|
13627
|
+
var f = undefined;
|
|
13628
|
+
f = message.getKey();
|
|
13629
|
+
if (f.length > 0) {
|
|
13630
|
+
writer.writeString(
|
|
13631
|
+
1,
|
|
13632
|
+
f
|
|
13633
|
+
);
|
|
13634
|
+
}
|
|
13635
|
+
f = message.getName();
|
|
13636
|
+
if (f.length > 0) {
|
|
13637
|
+
writer.writeString(
|
|
13638
|
+
2,
|
|
13639
|
+
f
|
|
13640
|
+
);
|
|
13641
|
+
}
|
|
13642
|
+
f = message.getValuesList();
|
|
13643
|
+
if (f.length > 0) {
|
|
13644
|
+
writer.writeRepeatedMessage(
|
|
13645
|
+
3,
|
|
13646
|
+
f,
|
|
13647
|
+
proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter
|
|
13648
|
+
);
|
|
13649
|
+
}
|
|
13650
|
+
};
|
|
13651
|
+
|
|
13652
|
+
|
|
13653
|
+
/**
|
|
13654
|
+
* optional string key = 1;
|
|
13655
|
+
* @return {string}
|
|
13656
|
+
*/
|
|
13657
|
+
proto.gateway.web.v1.AILabelDimension.prototype.getKey = function() {
|
|
13658
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13659
|
+
};
|
|
13660
|
+
|
|
13661
|
+
|
|
13662
|
+
/**
|
|
13663
|
+
* @param {string} value
|
|
13664
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13665
|
+
*/
|
|
13666
|
+
proto.gateway.web.v1.AILabelDimension.prototype.setKey = function(value) {
|
|
13667
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13668
|
+
};
|
|
13669
|
+
|
|
13670
|
+
|
|
13671
|
+
/**
|
|
13672
|
+
* optional string name = 2;
|
|
13673
|
+
* @return {string}
|
|
13674
|
+
*/
|
|
13675
|
+
proto.gateway.web.v1.AILabelDimension.prototype.getName = function() {
|
|
13676
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13677
|
+
};
|
|
13678
|
+
|
|
13679
|
+
|
|
13680
|
+
/**
|
|
13681
|
+
* @param {string} value
|
|
13682
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13683
|
+
*/
|
|
13684
|
+
proto.gateway.web.v1.AILabelDimension.prototype.setName = function(value) {
|
|
13685
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13686
|
+
};
|
|
13687
|
+
|
|
13688
|
+
|
|
13689
|
+
/**
|
|
13690
|
+
* repeated AILabelValue values = 3;
|
|
13691
|
+
* @return {!Array<!proto.gateway.web.v1.AILabelValue>}
|
|
13692
|
+
*/
|
|
13693
|
+
proto.gateway.web.v1.AILabelDimension.prototype.getValuesList = function() {
|
|
13694
|
+
return /** @type{!Array<!proto.gateway.web.v1.AILabelValue>} */ (
|
|
13695
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelValue, 3));
|
|
13696
|
+
};
|
|
13697
|
+
|
|
13698
|
+
|
|
13699
|
+
/**
|
|
13700
|
+
* @param {!Array<!proto.gateway.web.v1.AILabelValue>} value
|
|
13701
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13702
|
+
*/
|
|
13703
|
+
proto.gateway.web.v1.AILabelDimension.prototype.setValuesList = function(value) {
|
|
13704
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
13705
|
+
};
|
|
13706
|
+
|
|
13707
|
+
|
|
13708
|
+
/**
|
|
13709
|
+
* @param {!proto.gateway.web.v1.AILabelValue=} opt_value
|
|
13710
|
+
* @param {number=} opt_index
|
|
13711
|
+
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
13712
|
+
*/
|
|
13713
|
+
proto.gateway.web.v1.AILabelDimension.prototype.addValues = function(opt_value, opt_index) {
|
|
13714
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AILabelValue, opt_index);
|
|
13715
|
+
};
|
|
13716
|
+
|
|
13717
|
+
|
|
13718
|
+
/**
|
|
13719
|
+
* Clears the list making it empty but non-null.
|
|
13720
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13721
|
+
*/
|
|
13722
|
+
proto.gateway.web.v1.AILabelDimension.prototype.clearValuesList = function() {
|
|
13723
|
+
return this.setValuesList([]);
|
|
13724
|
+
};
|
|
13725
|
+
|
|
13726
|
+
|
|
13727
|
+
|
|
13728
|
+
|
|
13729
|
+
|
|
13730
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13731
|
+
/**
|
|
13732
|
+
* Creates an object representation of this proto.
|
|
13733
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13734
|
+
* Optional fields that are not set will be set to undefined.
|
|
13735
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13736
|
+
* For the list of reserved names please see:
|
|
13737
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13738
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13739
|
+
* JSPB instance for transitional soy proto support:
|
|
13740
|
+
* http://goto/soy-param-migration
|
|
13741
|
+
* @return {!Object}
|
|
13742
|
+
*/
|
|
13743
|
+
proto.gateway.web.v1.AILabelValue.prototype.toObject = function(opt_includeInstance) {
|
|
13744
|
+
return proto.gateway.web.v1.AILabelValue.toObject(opt_includeInstance, this);
|
|
13745
|
+
};
|
|
13746
|
+
|
|
13747
|
+
|
|
13748
|
+
/**
|
|
13749
|
+
* Static version of the {@see toObject} method.
|
|
13750
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13751
|
+
* the JSPB instance for transitional soy proto support:
|
|
13752
|
+
* http://goto/soy-param-migration
|
|
13753
|
+
* @param {!proto.gateway.web.v1.AILabelValue} msg The msg instance to transform.
|
|
13754
|
+
* @return {!Object}
|
|
13755
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13756
|
+
*/
|
|
13757
|
+
proto.gateway.web.v1.AILabelValue.toObject = function(includeInstance, msg) {
|
|
13758
|
+
var f, obj = {
|
|
13759
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13760
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13761
|
+
tooltip: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13762
|
+
rating: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
13763
|
+
};
|
|
13764
|
+
|
|
13765
|
+
if (includeInstance) {
|
|
13766
|
+
obj.$jspbMessageInstance = msg;
|
|
13767
|
+
}
|
|
13768
|
+
return obj;
|
|
13769
|
+
};
|
|
13770
|
+
}
|
|
13771
|
+
|
|
13772
|
+
|
|
13773
|
+
/**
|
|
13774
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13775
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13776
|
+
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
13777
|
+
*/
|
|
13778
|
+
proto.gateway.web.v1.AILabelValue.deserializeBinary = function(bytes) {
|
|
13779
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13780
|
+
var msg = new proto.gateway.web.v1.AILabelValue;
|
|
13781
|
+
return proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader(msg, reader);
|
|
13782
|
+
};
|
|
13783
|
+
|
|
13784
|
+
|
|
13785
|
+
/**
|
|
13786
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13787
|
+
* given reader into the given message object.
|
|
13788
|
+
* @param {!proto.gateway.web.v1.AILabelValue} msg The message object to deserialize into.
|
|
13789
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13790
|
+
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
13791
|
+
*/
|
|
13792
|
+
proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader = function(msg, reader) {
|
|
13793
|
+
while (reader.nextField()) {
|
|
13794
|
+
if (reader.isEndGroup()) {
|
|
13795
|
+
break;
|
|
13796
|
+
}
|
|
13797
|
+
var field = reader.getFieldNumber();
|
|
13798
|
+
switch (field) {
|
|
13799
|
+
case 1:
|
|
13800
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13801
|
+
msg.setKey(value);
|
|
13802
|
+
break;
|
|
13803
|
+
case 2:
|
|
13804
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13805
|
+
msg.setName(value);
|
|
13806
|
+
break;
|
|
13807
|
+
case 3:
|
|
13808
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13809
|
+
msg.setTooltip(value);
|
|
13810
|
+
break;
|
|
13811
|
+
case 4:
|
|
13812
|
+
var value = /** @type {!proto.gateway.web.v1.AILabelRating} */ (reader.readEnum());
|
|
13813
|
+
msg.setRating(value);
|
|
13814
|
+
break;
|
|
13815
|
+
default:
|
|
13816
|
+
reader.skipField();
|
|
13817
|
+
break;
|
|
13818
|
+
}
|
|
13819
|
+
}
|
|
13820
|
+
return msg;
|
|
13821
|
+
};
|
|
13822
|
+
|
|
13823
|
+
|
|
13824
|
+
/**
|
|
13825
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13826
|
+
* @return {!Uint8Array}
|
|
13827
|
+
*/
|
|
13828
|
+
proto.gateway.web.v1.AILabelValue.prototype.serializeBinary = function() {
|
|
13829
|
+
var writer = new jspb.BinaryWriter();
|
|
13830
|
+
proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter(this, writer);
|
|
13831
|
+
return writer.getResultBuffer();
|
|
13832
|
+
};
|
|
13833
|
+
|
|
13834
|
+
|
|
13835
|
+
/**
|
|
13836
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13837
|
+
* format), writing to the given BinaryWriter.
|
|
13838
|
+
* @param {!proto.gateway.web.v1.AILabelValue} message
|
|
13839
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13840
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13841
|
+
*/
|
|
13842
|
+
proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter = function(message, writer) {
|
|
13843
|
+
var f = undefined;
|
|
13844
|
+
f = message.getKey();
|
|
13845
|
+
if (f.length > 0) {
|
|
13846
|
+
writer.writeString(
|
|
13847
|
+
1,
|
|
13848
|
+
f
|
|
13849
|
+
);
|
|
13850
|
+
}
|
|
13851
|
+
f = message.getName();
|
|
13852
|
+
if (f.length > 0) {
|
|
13853
|
+
writer.writeString(
|
|
13854
|
+
2,
|
|
13855
|
+
f
|
|
13856
|
+
);
|
|
13857
|
+
}
|
|
13858
|
+
f = message.getTooltip();
|
|
13859
|
+
if (f.length > 0) {
|
|
13860
|
+
writer.writeString(
|
|
13861
|
+
3,
|
|
13862
|
+
f
|
|
13863
|
+
);
|
|
13864
|
+
}
|
|
13865
|
+
f = message.getRating();
|
|
13866
|
+
if (f !== 0.0) {
|
|
13867
|
+
writer.writeEnum(
|
|
13868
|
+
4,
|
|
13869
|
+
f
|
|
13870
|
+
);
|
|
13871
|
+
}
|
|
13872
|
+
};
|
|
13873
|
+
|
|
13874
|
+
|
|
13875
|
+
/**
|
|
13876
|
+
* optional string key = 1;
|
|
13877
|
+
* @return {string}
|
|
13878
|
+
*/
|
|
13879
|
+
proto.gateway.web.v1.AILabelValue.prototype.getKey = function() {
|
|
13880
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13881
|
+
};
|
|
13882
|
+
|
|
13883
|
+
|
|
13884
|
+
/**
|
|
13885
|
+
* @param {string} value
|
|
13886
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13887
|
+
*/
|
|
13888
|
+
proto.gateway.web.v1.AILabelValue.prototype.setKey = function(value) {
|
|
13889
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13890
|
+
};
|
|
13891
|
+
|
|
13892
|
+
|
|
13893
|
+
/**
|
|
13894
|
+
* optional string name = 2;
|
|
13895
|
+
* @return {string}
|
|
13896
|
+
*/
|
|
13897
|
+
proto.gateway.web.v1.AILabelValue.prototype.getName = function() {
|
|
13898
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13899
|
+
};
|
|
13900
|
+
|
|
13901
|
+
|
|
13902
|
+
/**
|
|
13903
|
+
* @param {string} value
|
|
13904
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13905
|
+
*/
|
|
13906
|
+
proto.gateway.web.v1.AILabelValue.prototype.setName = function(value) {
|
|
13907
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13908
|
+
};
|
|
13909
|
+
|
|
13910
|
+
|
|
13911
|
+
/**
|
|
13912
|
+
* optional string tooltip = 3;
|
|
13913
|
+
* @return {string}
|
|
13914
|
+
*/
|
|
13915
|
+
proto.gateway.web.v1.AILabelValue.prototype.getTooltip = function() {
|
|
13916
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
13917
|
+
};
|
|
13918
|
+
|
|
13919
|
+
|
|
13920
|
+
/**
|
|
13921
|
+
* @param {string} value
|
|
13922
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13923
|
+
*/
|
|
13924
|
+
proto.gateway.web.v1.AILabelValue.prototype.setTooltip = function(value) {
|
|
13925
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
13926
|
+
};
|
|
13927
|
+
|
|
13928
|
+
|
|
13929
|
+
/**
|
|
13930
|
+
* optional AILabelRating rating = 4;
|
|
13931
|
+
* @return {!proto.gateway.web.v1.AILabelRating}
|
|
13932
|
+
*/
|
|
13933
|
+
proto.gateway.web.v1.AILabelValue.prototype.getRating = function() {
|
|
13934
|
+
return /** @type {!proto.gateway.web.v1.AILabelRating} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
13935
|
+
};
|
|
13936
|
+
|
|
13937
|
+
|
|
13938
|
+
/**
|
|
13939
|
+
* @param {!proto.gateway.web.v1.AILabelRating} value
|
|
13940
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13941
|
+
*/
|
|
13942
|
+
proto.gateway.web.v1.AILabelValue.prototype.setRating = function(value) {
|
|
13943
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
13944
|
+
};
|
|
13945
|
+
|
|
13946
|
+
|
|
13947
|
+
|
|
13948
|
+
|
|
13949
|
+
|
|
13950
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13951
|
+
/**
|
|
13952
|
+
* Creates an object representation of this proto.
|
|
13953
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13954
|
+
* Optional fields that are not set will be set to undefined.
|
|
13955
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13956
|
+
* For the list of reserved names please see:
|
|
13957
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13958
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13959
|
+
* JSPB instance for transitional soy proto support:
|
|
13960
|
+
* http://goto/soy-param-migration
|
|
13961
|
+
* @return {!Object}
|
|
13962
|
+
*/
|
|
13963
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13964
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.toObject(opt_includeInstance, this);
|
|
13965
|
+
};
|
|
13966
|
+
|
|
13967
|
+
|
|
13968
|
+
/**
|
|
13969
|
+
* Static version of the {@see toObject} method.
|
|
13970
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13971
|
+
* the JSPB instance for transitional soy proto support:
|
|
13972
|
+
* http://goto/soy-param-migration
|
|
13973
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} msg The msg instance to transform.
|
|
13974
|
+
* @return {!Object}
|
|
13975
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13976
|
+
*/
|
|
13977
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.toObject = function(includeInstance, msg) {
|
|
13978
|
+
var f, obj = {
|
|
13979
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13980
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
13981
|
+
};
|
|
13982
|
+
|
|
13983
|
+
if (includeInstance) {
|
|
13984
|
+
obj.$jspbMessageInstance = msg;
|
|
13985
|
+
}
|
|
13986
|
+
return obj;
|
|
13987
|
+
};
|
|
13988
|
+
}
|
|
13989
|
+
|
|
13990
|
+
|
|
13991
|
+
/**
|
|
13992
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13993
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13994
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest}
|
|
13995
|
+
*/
|
|
13996
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.deserializeBinary = function(bytes) {
|
|
13997
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13998
|
+
var msg = new proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest;
|
|
13999
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.deserializeBinaryFromReader(msg, reader);
|
|
14000
|
+
};
|
|
14001
|
+
|
|
14002
|
+
|
|
14003
|
+
/**
|
|
14004
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14005
|
+
* given reader into the given message object.
|
|
14006
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} msg The message object to deserialize into.
|
|
14007
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14008
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest}
|
|
14009
|
+
*/
|
|
14010
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14011
|
+
while (reader.nextField()) {
|
|
14012
|
+
if (reader.isEndGroup()) {
|
|
14013
|
+
break;
|
|
14014
|
+
}
|
|
14015
|
+
var field = reader.getFieldNumber();
|
|
14016
|
+
switch (field) {
|
|
14017
|
+
case 1:
|
|
14018
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14019
|
+
msg.setOrganizationId(value);
|
|
14020
|
+
break;
|
|
14021
|
+
case 2:
|
|
14022
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14023
|
+
msg.setProjectId(value);
|
|
14024
|
+
break;
|
|
14025
|
+
default:
|
|
14026
|
+
reader.skipField();
|
|
14027
|
+
break;
|
|
14028
|
+
}
|
|
14029
|
+
}
|
|
14030
|
+
return msg;
|
|
14031
|
+
};
|
|
14032
|
+
|
|
14033
|
+
|
|
14034
|
+
/**
|
|
14035
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14036
|
+
* @return {!Uint8Array}
|
|
14037
|
+
*/
|
|
14038
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.serializeBinary = function() {
|
|
14039
|
+
var writer = new jspb.BinaryWriter();
|
|
14040
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.serializeBinaryToWriter(this, writer);
|
|
14041
|
+
return writer.getResultBuffer();
|
|
14042
|
+
};
|
|
14043
|
+
|
|
14044
|
+
|
|
14045
|
+
/**
|
|
14046
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14047
|
+
* format), writing to the given BinaryWriter.
|
|
14048
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} message
|
|
14049
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14050
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14051
|
+
*/
|
|
14052
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14053
|
+
var f = undefined;
|
|
14054
|
+
f = message.getOrganizationId();
|
|
14055
|
+
if (f.length > 0) {
|
|
14056
|
+
writer.writeString(
|
|
14057
|
+
1,
|
|
14058
|
+
f
|
|
14059
|
+
);
|
|
14060
|
+
}
|
|
14061
|
+
f = message.getProjectId();
|
|
14062
|
+
if (f.length > 0) {
|
|
14063
|
+
writer.writeString(
|
|
14064
|
+
2,
|
|
14065
|
+
f
|
|
14066
|
+
);
|
|
14067
|
+
}
|
|
14068
|
+
};
|
|
14069
|
+
|
|
14070
|
+
|
|
14071
|
+
/**
|
|
14072
|
+
* optional string organization_id = 1;
|
|
14073
|
+
* @return {string}
|
|
14074
|
+
*/
|
|
14075
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.getOrganizationId = function() {
|
|
14076
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14077
|
+
};
|
|
14078
|
+
|
|
14079
|
+
|
|
14080
|
+
/**
|
|
14081
|
+
* @param {string} value
|
|
14082
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} returns this
|
|
14083
|
+
*/
|
|
14084
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.setOrganizationId = function(value) {
|
|
14085
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14086
|
+
};
|
|
14087
|
+
|
|
14088
|
+
|
|
14089
|
+
/**
|
|
14090
|
+
* optional string project_id = 2;
|
|
14091
|
+
* @return {string}
|
|
14092
|
+
*/
|
|
14093
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.getProjectId = function() {
|
|
14094
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14095
|
+
};
|
|
14096
|
+
|
|
14097
|
+
|
|
14098
|
+
/**
|
|
14099
|
+
* @param {string} value
|
|
14100
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} returns this
|
|
14101
|
+
*/
|
|
14102
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.setProjectId = function(value) {
|
|
14103
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
14104
|
+
};
|
|
14105
|
+
|
|
14106
|
+
|
|
14107
|
+
|
|
14108
|
+
/**
|
|
14109
|
+
* List of repeated fields within this message type.
|
|
14110
|
+
* @private {!Array<number>}
|
|
14111
|
+
* @const
|
|
14112
|
+
*/
|
|
14113
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.repeatedFields_ = [2];
|
|
14114
|
+
|
|
14115
|
+
|
|
14116
|
+
|
|
14117
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14118
|
+
/**
|
|
14119
|
+
* Creates an object representation of this proto.
|
|
14120
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14121
|
+
* Optional fields that are not set will be set to undefined.
|
|
14122
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14123
|
+
* For the list of reserved names please see:
|
|
14124
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14125
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14126
|
+
* JSPB instance for transitional soy proto support:
|
|
14127
|
+
* http://goto/soy-param-migration
|
|
14128
|
+
* @return {!Object}
|
|
14129
|
+
*/
|
|
14130
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14131
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.toObject(opt_includeInstance, this);
|
|
14132
|
+
};
|
|
14133
|
+
|
|
14134
|
+
|
|
14135
|
+
/**
|
|
14136
|
+
* Static version of the {@see toObject} method.
|
|
14137
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14138
|
+
* the JSPB instance for transitional soy proto support:
|
|
14139
|
+
* http://goto/soy-param-migration
|
|
14140
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} msg The msg instance to transform.
|
|
14141
|
+
* @return {!Object}
|
|
14142
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14143
|
+
*/
|
|
14144
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.toObject = function(includeInstance, msg) {
|
|
14145
|
+
var f, obj = {
|
|
14146
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
14147
|
+
rubricsList: jspb.Message.toObjectList(msg.getRubricsList(),
|
|
14148
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.toObject, includeInstance)
|
|
14149
|
+
};
|
|
14150
|
+
|
|
14151
|
+
if (includeInstance) {
|
|
14152
|
+
obj.$jspbMessageInstance = msg;
|
|
14153
|
+
}
|
|
14154
|
+
return obj;
|
|
14155
|
+
};
|
|
14156
|
+
}
|
|
14157
|
+
|
|
14158
|
+
|
|
14159
|
+
/**
|
|
14160
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14161
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14162
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse}
|
|
14163
|
+
*/
|
|
14164
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.deserializeBinary = function(bytes) {
|
|
14165
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14166
|
+
var msg = new proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse;
|
|
14167
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.deserializeBinaryFromReader(msg, reader);
|
|
14168
|
+
};
|
|
14169
|
+
|
|
14170
|
+
|
|
14171
|
+
/**
|
|
14172
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14173
|
+
* given reader into the given message object.
|
|
14174
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} msg The message object to deserialize into.
|
|
14175
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14176
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse}
|
|
14177
|
+
*/
|
|
14178
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14179
|
+
while (reader.nextField()) {
|
|
14180
|
+
if (reader.isEndGroup()) {
|
|
14181
|
+
break;
|
|
14182
|
+
}
|
|
14183
|
+
var field = reader.getFieldNumber();
|
|
14184
|
+
switch (field) {
|
|
14185
|
+
case 1:
|
|
14186
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
14187
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
14188
|
+
msg.setStatus(value);
|
|
14189
|
+
break;
|
|
14190
|
+
case 2:
|
|
14191
|
+
var value = new proto.gateway.web.v1.AISessionScoreRubricTemplate;
|
|
14192
|
+
reader.readMessage(value,proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinaryFromReader);
|
|
14193
|
+
msg.addRubrics(value);
|
|
14194
|
+
break;
|
|
14195
|
+
default:
|
|
14196
|
+
reader.skipField();
|
|
14197
|
+
break;
|
|
14198
|
+
}
|
|
14199
|
+
}
|
|
14200
|
+
return msg;
|
|
14201
|
+
};
|
|
14202
|
+
|
|
14203
|
+
|
|
14204
|
+
/**
|
|
14205
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14206
|
+
* @return {!Uint8Array}
|
|
14207
|
+
*/
|
|
14208
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.serializeBinary = function() {
|
|
14209
|
+
var writer = new jspb.BinaryWriter();
|
|
14210
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.serializeBinaryToWriter(this, writer);
|
|
14211
|
+
return writer.getResultBuffer();
|
|
14212
|
+
};
|
|
14213
|
+
|
|
14214
|
+
|
|
14215
|
+
/**
|
|
14216
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14217
|
+
* format), writing to the given BinaryWriter.
|
|
14218
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} message
|
|
14219
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14220
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14221
|
+
*/
|
|
14222
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14223
|
+
var f = undefined;
|
|
14224
|
+
f = message.getStatus();
|
|
14225
|
+
if (f != null) {
|
|
14226
|
+
writer.writeMessage(
|
|
14227
|
+
1,
|
|
14228
|
+
f,
|
|
14229
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
14230
|
+
);
|
|
14231
|
+
}
|
|
14232
|
+
f = message.getRubricsList();
|
|
14233
|
+
if (f.length > 0) {
|
|
14234
|
+
writer.writeRepeatedMessage(
|
|
14235
|
+
2,
|
|
14236
|
+
f,
|
|
14237
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.serializeBinaryToWriter
|
|
14238
|
+
);
|
|
14239
|
+
}
|
|
14240
|
+
};
|
|
14241
|
+
|
|
14242
|
+
|
|
14243
|
+
/**
|
|
14244
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
14245
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
14246
|
+
*/
|
|
14247
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.getStatus = function() {
|
|
14248
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
14249
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
14250
|
+
};
|
|
14251
|
+
|
|
14252
|
+
|
|
14253
|
+
/**
|
|
14254
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
14255
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14256
|
+
*/
|
|
14257
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.setStatus = function(value) {
|
|
14258
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
14259
|
+
};
|
|
14260
|
+
|
|
14261
|
+
|
|
14262
|
+
/**
|
|
14263
|
+
* Clears the message field making it undefined.
|
|
14264
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14265
|
+
*/
|
|
14266
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.clearStatus = function() {
|
|
14267
|
+
return this.setStatus(undefined);
|
|
14268
|
+
};
|
|
14269
|
+
|
|
14270
|
+
|
|
14271
|
+
/**
|
|
14272
|
+
* Returns whether this field is set.
|
|
14273
|
+
* @return {boolean}
|
|
14274
|
+
*/
|
|
14275
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.hasStatus = function() {
|
|
14276
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14277
|
+
};
|
|
14278
|
+
|
|
14279
|
+
|
|
14280
|
+
/**
|
|
14281
|
+
* repeated AISessionScoreRubricTemplate rubrics = 2;
|
|
14282
|
+
* @return {!Array<!proto.gateway.web.v1.AISessionScoreRubricTemplate>}
|
|
14283
|
+
*/
|
|
14284
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.getRubricsList = function() {
|
|
14285
|
+
return /** @type{!Array<!proto.gateway.web.v1.AISessionScoreRubricTemplate>} */ (
|
|
14286
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionScoreRubricTemplate, 2));
|
|
14287
|
+
};
|
|
14288
|
+
|
|
14289
|
+
|
|
14290
|
+
/**
|
|
14291
|
+
* @param {!Array<!proto.gateway.web.v1.AISessionScoreRubricTemplate>} value
|
|
14292
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14293
|
+
*/
|
|
14294
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.setRubricsList = function(value) {
|
|
14295
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
14296
|
+
};
|
|
14297
|
+
|
|
14298
|
+
|
|
14299
|
+
/**
|
|
14300
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate=} opt_value
|
|
14301
|
+
* @param {number=} opt_index
|
|
14302
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate}
|
|
14303
|
+
*/
|
|
14304
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.addRubrics = function(opt_value, opt_index) {
|
|
14305
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AISessionScoreRubricTemplate, opt_index);
|
|
14306
|
+
};
|
|
14307
|
+
|
|
14308
|
+
|
|
14309
|
+
/**
|
|
14310
|
+
* Clears the list making it empty but non-null.
|
|
14311
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14312
|
+
*/
|
|
14313
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.clearRubricsList = function() {
|
|
14314
|
+
return this.setRubricsList([]);
|
|
14315
|
+
};
|
|
14316
|
+
|
|
14317
|
+
|
|
14318
|
+
|
|
14319
|
+
/**
|
|
14320
|
+
* List of repeated fields within this message type.
|
|
14321
|
+
* @private {!Array<number>}
|
|
14322
|
+
* @const
|
|
14323
|
+
*/
|
|
14324
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.repeatedFields_ = [5];
|
|
14325
|
+
|
|
14326
|
+
|
|
14327
|
+
|
|
14328
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14329
|
+
/**
|
|
14330
|
+
* Creates an object representation of this proto.
|
|
14331
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14332
|
+
* Optional fields that are not set will be set to undefined.
|
|
14333
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14334
|
+
* For the list of reserved names please see:
|
|
14335
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14336
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14337
|
+
* JSPB instance for transitional soy proto support:
|
|
14338
|
+
* http://goto/soy-param-migration
|
|
14339
|
+
* @return {!Object}
|
|
14340
|
+
*/
|
|
14341
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.toObject = function(opt_includeInstance) {
|
|
14342
|
+
return proto.gateway.web.v1.AISessionScoreRubricTemplate.toObject(opt_includeInstance, this);
|
|
14343
|
+
};
|
|
14344
|
+
|
|
14345
|
+
|
|
14346
|
+
/**
|
|
14347
|
+
* Static version of the {@see toObject} method.
|
|
14348
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14349
|
+
* the JSPB instance for transitional soy proto support:
|
|
14350
|
+
* http://goto/soy-param-migration
|
|
14351
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate} msg The msg instance to transform.
|
|
14352
|
+
* @return {!Object}
|
|
14353
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14354
|
+
*/
|
|
14355
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.toObject = function(includeInstance, msg) {
|
|
14356
|
+
var f, obj = {
|
|
14357
|
+
rubric: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14358
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14359
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14360
|
+
version: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
14361
|
+
criteriaList: jspb.Message.toObjectList(msg.getCriteriaList(),
|
|
14362
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.toObject, includeInstance),
|
|
14363
|
+
aim: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
14364
|
+
};
|
|
14365
|
+
|
|
14366
|
+
if (includeInstance) {
|
|
14367
|
+
obj.$jspbMessageInstance = msg;
|
|
14368
|
+
}
|
|
14369
|
+
return obj;
|
|
14370
|
+
};
|
|
14371
|
+
}
|
|
14372
|
+
|
|
14373
|
+
|
|
14374
|
+
/**
|
|
14375
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14376
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14377
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate}
|
|
14378
|
+
*/
|
|
14379
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinary = function(bytes) {
|
|
14380
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14381
|
+
var msg = new proto.gateway.web.v1.AISessionScoreRubricTemplate;
|
|
14382
|
+
return proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinaryFromReader(msg, reader);
|
|
14383
|
+
};
|
|
14384
|
+
|
|
14385
|
+
|
|
14386
|
+
/**
|
|
14387
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14388
|
+
* given reader into the given message object.
|
|
14389
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate} msg The message object to deserialize into.
|
|
14390
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14391
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate}
|
|
14392
|
+
*/
|
|
14393
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinaryFromReader = function(msg, reader) {
|
|
14394
|
+
while (reader.nextField()) {
|
|
14395
|
+
if (reader.isEndGroup()) {
|
|
14396
|
+
break;
|
|
14397
|
+
}
|
|
14398
|
+
var field = reader.getFieldNumber();
|
|
14399
|
+
switch (field) {
|
|
14400
|
+
case 1:
|
|
14401
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
14402
|
+
msg.setRubric(value);
|
|
14403
|
+
break;
|
|
14404
|
+
case 2:
|
|
14405
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14406
|
+
msg.setName(value);
|
|
14407
|
+
break;
|
|
14408
|
+
case 3:
|
|
14409
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14410
|
+
msg.setDescription(value);
|
|
14411
|
+
break;
|
|
14412
|
+
case 4:
|
|
14413
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14414
|
+
msg.setVersion(value);
|
|
14415
|
+
break;
|
|
14416
|
+
case 5:
|
|
14417
|
+
var value = new proto.gateway.web.v1.AISessionScoreRubricCriterion;
|
|
14418
|
+
reader.readMessage(value,proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinaryFromReader);
|
|
14419
|
+
msg.addCriteria(value);
|
|
14420
|
+
break;
|
|
14421
|
+
case 6:
|
|
14422
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14423
|
+
msg.setAim(value);
|
|
14424
|
+
break;
|
|
14425
|
+
default:
|
|
14426
|
+
reader.skipField();
|
|
14427
|
+
break;
|
|
14428
|
+
}
|
|
14429
|
+
}
|
|
14430
|
+
return msg;
|
|
14431
|
+
};
|
|
14432
|
+
|
|
14433
|
+
|
|
14434
|
+
/**
|
|
14435
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14436
|
+
* @return {!Uint8Array}
|
|
14437
|
+
*/
|
|
14438
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.serializeBinary = function() {
|
|
14439
|
+
var writer = new jspb.BinaryWriter();
|
|
14440
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.serializeBinaryToWriter(this, writer);
|
|
14441
|
+
return writer.getResultBuffer();
|
|
14442
|
+
};
|
|
14443
|
+
|
|
14444
|
+
|
|
14445
|
+
/**
|
|
14446
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14447
|
+
* format), writing to the given BinaryWriter.
|
|
14448
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate} message
|
|
14449
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14450
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14451
|
+
*/
|
|
14452
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.serializeBinaryToWriter = function(message, writer) {
|
|
14453
|
+
var f = undefined;
|
|
14454
|
+
f = message.getRubric();
|
|
14455
|
+
if (f !== 0.0) {
|
|
14456
|
+
writer.writeEnum(
|
|
14457
|
+
1,
|
|
14458
|
+
f
|
|
14459
|
+
);
|
|
14460
|
+
}
|
|
14461
|
+
f = message.getName();
|
|
14462
|
+
if (f.length > 0) {
|
|
14463
|
+
writer.writeString(
|
|
14464
|
+
2,
|
|
14465
|
+
f
|
|
14466
|
+
);
|
|
14467
|
+
}
|
|
14468
|
+
f = message.getDescription();
|
|
14469
|
+
if (f.length > 0) {
|
|
14470
|
+
writer.writeString(
|
|
14471
|
+
3,
|
|
14472
|
+
f
|
|
14473
|
+
);
|
|
14474
|
+
}
|
|
14475
|
+
f = message.getVersion();
|
|
14476
|
+
if (f.length > 0) {
|
|
14477
|
+
writer.writeString(
|
|
14478
|
+
4,
|
|
14479
|
+
f
|
|
14480
|
+
);
|
|
14481
|
+
}
|
|
14482
|
+
f = message.getCriteriaList();
|
|
14483
|
+
if (f.length > 0) {
|
|
14484
|
+
writer.writeRepeatedMessage(
|
|
14485
|
+
5,
|
|
14486
|
+
f,
|
|
14487
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.serializeBinaryToWriter
|
|
14488
|
+
);
|
|
14489
|
+
}
|
|
14490
|
+
f = message.getAim();
|
|
14491
|
+
if (f.length > 0) {
|
|
14492
|
+
writer.writeString(
|
|
14493
|
+
6,
|
|
14494
|
+
f
|
|
14495
|
+
);
|
|
14496
|
+
}
|
|
14497
|
+
};
|
|
14498
|
+
|
|
14499
|
+
|
|
14500
|
+
/**
|
|
14501
|
+
* optional AISessionScoreRubric rubric = 1;
|
|
14502
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
14503
|
+
*/
|
|
14504
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getRubric = function() {
|
|
14505
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14506
|
+
};
|
|
14507
|
+
|
|
14508
|
+
|
|
14509
|
+
/**
|
|
14510
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
14511
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14512
|
+
*/
|
|
14513
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setRubric = function(value) {
|
|
14514
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
14515
|
+
};
|
|
14516
|
+
|
|
14517
|
+
|
|
14518
|
+
/**
|
|
14519
|
+
* optional string name = 2;
|
|
14520
|
+
* @return {string}
|
|
14521
|
+
*/
|
|
14522
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getName = function() {
|
|
14523
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14524
|
+
};
|
|
14525
|
+
|
|
14526
|
+
|
|
14527
|
+
/**
|
|
14528
|
+
* @param {string} value
|
|
14529
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14530
|
+
*/
|
|
14531
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setName = function(value) {
|
|
14532
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
14533
|
+
};
|
|
14534
|
+
|
|
14535
|
+
|
|
14536
|
+
/**
|
|
14537
|
+
* optional string description = 3;
|
|
14538
|
+
* @return {string}
|
|
14539
|
+
*/
|
|
14540
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getDescription = function() {
|
|
14541
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
14542
|
+
};
|
|
14543
|
+
|
|
14544
|
+
|
|
14545
|
+
/**
|
|
14546
|
+
* @param {string} value
|
|
14547
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14548
|
+
*/
|
|
14549
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setDescription = function(value) {
|
|
14550
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
14551
|
+
};
|
|
14552
|
+
|
|
14553
|
+
|
|
14554
|
+
/**
|
|
14555
|
+
* optional string version = 4;
|
|
14556
|
+
* @return {string}
|
|
14557
|
+
*/
|
|
14558
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getVersion = function() {
|
|
14559
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
14560
|
+
};
|
|
14561
|
+
|
|
14562
|
+
|
|
14563
|
+
/**
|
|
14564
|
+
* @param {string} value
|
|
14565
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14566
|
+
*/
|
|
14567
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setVersion = function(value) {
|
|
14568
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
14569
|
+
};
|
|
14570
|
+
|
|
14571
|
+
|
|
14572
|
+
/**
|
|
14573
|
+
* repeated AISessionScoreRubricCriterion criteria = 5;
|
|
14574
|
+
* @return {!Array<!proto.gateway.web.v1.AISessionScoreRubricCriterion>}
|
|
14575
|
+
*/
|
|
14576
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getCriteriaList = function() {
|
|
14577
|
+
return /** @type{!Array<!proto.gateway.web.v1.AISessionScoreRubricCriterion>} */ (
|
|
14578
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionScoreRubricCriterion, 5));
|
|
14579
|
+
};
|
|
14580
|
+
|
|
14581
|
+
|
|
14582
|
+
/**
|
|
14583
|
+
* @param {!Array<!proto.gateway.web.v1.AISessionScoreRubricCriterion>} value
|
|
14584
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14585
|
+
*/
|
|
14586
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setCriteriaList = function(value) {
|
|
14587
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
14588
|
+
};
|
|
14589
|
+
|
|
14590
|
+
|
|
14591
|
+
/**
|
|
14592
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion=} opt_value
|
|
14593
|
+
* @param {number=} opt_index
|
|
14594
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion}
|
|
14595
|
+
*/
|
|
14596
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.addCriteria = function(opt_value, opt_index) {
|
|
14597
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.AISessionScoreRubricCriterion, opt_index);
|
|
14598
|
+
};
|
|
14599
|
+
|
|
14600
|
+
|
|
14601
|
+
/**
|
|
14602
|
+
* Clears the list making it empty but non-null.
|
|
14603
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14604
|
+
*/
|
|
14605
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.clearCriteriaList = function() {
|
|
14606
|
+
return this.setCriteriaList([]);
|
|
14607
|
+
};
|
|
14608
|
+
|
|
14609
|
+
|
|
14610
|
+
/**
|
|
14611
|
+
* optional string aim = 6;
|
|
14612
|
+
* @return {string}
|
|
14613
|
+
*/
|
|
14614
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getAim = function() {
|
|
14615
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
14616
|
+
};
|
|
14617
|
+
|
|
14618
|
+
|
|
14619
|
+
/**
|
|
14620
|
+
* @param {string} value
|
|
14621
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14622
|
+
*/
|
|
14623
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setAim = function(value) {
|
|
14624
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
14625
|
+
};
|
|
14626
|
+
|
|
14627
|
+
|
|
14628
|
+
|
|
14629
|
+
|
|
14630
|
+
|
|
14631
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14632
|
+
/**
|
|
14633
|
+
* Creates an object representation of this proto.
|
|
14634
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14635
|
+
* Optional fields that are not set will be set to undefined.
|
|
14636
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14637
|
+
* For the list of reserved names please see:
|
|
14638
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14639
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14640
|
+
* JSPB instance for transitional soy proto support:
|
|
14641
|
+
* http://goto/soy-param-migration
|
|
14642
|
+
* @return {!Object}
|
|
14643
|
+
*/
|
|
14644
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.toObject = function(opt_includeInstance) {
|
|
14645
|
+
return proto.gateway.web.v1.AISessionScoreRubricCriterion.toObject(opt_includeInstance, this);
|
|
14646
|
+
};
|
|
14647
|
+
|
|
14648
|
+
|
|
14649
|
+
/**
|
|
14650
|
+
* Static version of the {@see toObject} method.
|
|
14651
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14652
|
+
* the JSPB instance for transitional soy proto support:
|
|
14653
|
+
* http://goto/soy-param-migration
|
|
14654
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion} msg The msg instance to transform.
|
|
14655
|
+
* @return {!Object}
|
|
14656
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14657
|
+
*/
|
|
14658
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.toObject = function(includeInstance, msg) {
|
|
14659
|
+
var f, obj = {
|
|
14660
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14661
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14662
|
+
weight: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
14663
|
+
tooltip: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
14664
|
+
};
|
|
14665
|
+
|
|
14666
|
+
if (includeInstance) {
|
|
14667
|
+
obj.$jspbMessageInstance = msg;
|
|
14668
|
+
}
|
|
14669
|
+
return obj;
|
|
14670
|
+
};
|
|
14671
|
+
}
|
|
14672
|
+
|
|
14673
|
+
|
|
14674
|
+
/**
|
|
14675
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14676
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14677
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion}
|
|
14678
|
+
*/
|
|
14679
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinary = function(bytes) {
|
|
14680
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14681
|
+
var msg = new proto.gateway.web.v1.AISessionScoreRubricCriterion;
|
|
14682
|
+
return proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinaryFromReader(msg, reader);
|
|
14683
|
+
};
|
|
14684
|
+
|
|
14685
|
+
|
|
14686
|
+
/**
|
|
14687
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14688
|
+
* given reader into the given message object.
|
|
14689
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion} msg The message object to deserialize into.
|
|
14690
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14691
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion}
|
|
14692
|
+
*/
|
|
14693
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinaryFromReader = function(msg, reader) {
|
|
14694
|
+
while (reader.nextField()) {
|
|
14695
|
+
if (reader.isEndGroup()) {
|
|
14696
|
+
break;
|
|
14697
|
+
}
|
|
14698
|
+
var field = reader.getFieldNumber();
|
|
14699
|
+
switch (field) {
|
|
14700
|
+
case 1:
|
|
14701
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14702
|
+
msg.setKey(value);
|
|
14703
|
+
break;
|
|
14704
|
+
case 2:
|
|
14705
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14706
|
+
msg.setName(value);
|
|
14707
|
+
break;
|
|
14708
|
+
case 3:
|
|
14709
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
14710
|
+
msg.setWeight(value);
|
|
14711
|
+
break;
|
|
14712
|
+
case 4:
|
|
14713
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14714
|
+
msg.setTooltip(value);
|
|
14715
|
+
break;
|
|
14716
|
+
default:
|
|
14717
|
+
reader.skipField();
|
|
14718
|
+
break;
|
|
14719
|
+
}
|
|
14720
|
+
}
|
|
14721
|
+
return msg;
|
|
14722
|
+
};
|
|
14723
|
+
|
|
14724
|
+
|
|
14725
|
+
/**
|
|
14726
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14727
|
+
* @return {!Uint8Array}
|
|
14728
|
+
*/
|
|
14729
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.serializeBinary = function() {
|
|
14730
|
+
var writer = new jspb.BinaryWriter();
|
|
14731
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.serializeBinaryToWriter(this, writer);
|
|
14732
|
+
return writer.getResultBuffer();
|
|
14733
|
+
};
|
|
14734
|
+
|
|
14735
|
+
|
|
14736
|
+
/**
|
|
14737
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14738
|
+
* format), writing to the given BinaryWriter.
|
|
14739
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion} message
|
|
14740
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14741
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14742
|
+
*/
|
|
14743
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.serializeBinaryToWriter = function(message, writer) {
|
|
14744
|
+
var f = undefined;
|
|
14745
|
+
f = message.getKey();
|
|
14746
|
+
if (f.length > 0) {
|
|
14747
|
+
writer.writeString(
|
|
14748
|
+
1,
|
|
14749
|
+
f
|
|
14750
|
+
);
|
|
14751
|
+
}
|
|
14752
|
+
f = message.getName();
|
|
14753
|
+
if (f.length > 0) {
|
|
14754
|
+
writer.writeString(
|
|
14755
|
+
2,
|
|
14756
|
+
f
|
|
14757
|
+
);
|
|
14758
|
+
}
|
|
14759
|
+
f = message.getWeight();
|
|
14760
|
+
if (f !== 0) {
|
|
14761
|
+
writer.writeUint32(
|
|
14762
|
+
3,
|
|
14763
|
+
f
|
|
14764
|
+
);
|
|
14765
|
+
}
|
|
14766
|
+
f = message.getTooltip();
|
|
14767
|
+
if (f.length > 0) {
|
|
14768
|
+
writer.writeString(
|
|
14769
|
+
4,
|
|
14770
|
+
f
|
|
14771
|
+
);
|
|
14772
|
+
}
|
|
14773
|
+
};
|
|
14774
|
+
|
|
14775
|
+
|
|
14776
|
+
/**
|
|
14777
|
+
* optional string key = 1;
|
|
14778
|
+
* @return {string}
|
|
14779
|
+
*/
|
|
14780
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getKey = function() {
|
|
14781
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14782
|
+
};
|
|
14783
|
+
|
|
14784
|
+
|
|
14785
|
+
/**
|
|
14786
|
+
* @param {string} value
|
|
14787
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14788
|
+
*/
|
|
14789
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setKey = function(value) {
|
|
14790
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14791
|
+
};
|
|
14792
|
+
|
|
14793
|
+
|
|
14794
|
+
/**
|
|
14795
|
+
* optional string name = 2;
|
|
14796
|
+
* @return {string}
|
|
14797
|
+
*/
|
|
14798
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getName = function() {
|
|
14799
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14800
|
+
};
|
|
14801
|
+
|
|
14802
|
+
|
|
14803
|
+
/**
|
|
14804
|
+
* @param {string} value
|
|
14805
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14806
|
+
*/
|
|
14807
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setName = function(value) {
|
|
14808
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
14809
|
+
};
|
|
14810
|
+
|
|
14811
|
+
|
|
14812
|
+
/**
|
|
14813
|
+
* optional uint32 weight = 3;
|
|
14814
|
+
* @return {number}
|
|
14815
|
+
*/
|
|
14816
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getWeight = function() {
|
|
14817
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
14818
|
+
};
|
|
14819
|
+
|
|
14820
|
+
|
|
14821
|
+
/**
|
|
14822
|
+
* @param {number} value
|
|
14823
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14824
|
+
*/
|
|
14825
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setWeight = function(value) {
|
|
14826
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
14827
|
+
};
|
|
14828
|
+
|
|
14829
|
+
|
|
14830
|
+
/**
|
|
14831
|
+
* optional string tooltip = 4;
|
|
14832
|
+
* @return {string}
|
|
14833
|
+
*/
|
|
14834
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getTooltip = function() {
|
|
14835
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
14836
|
+
};
|
|
14837
|
+
|
|
14838
|
+
|
|
14839
|
+
/**
|
|
14840
|
+
* @param {string} value
|
|
14841
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14842
|
+
*/
|
|
14843
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setTooltip = function(value) {
|
|
14844
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
14845
|
+
};
|
|
14846
|
+
|
|
14847
|
+
|
|
14848
|
+
|
|
14849
|
+
|
|
14850
|
+
|
|
14851
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14852
|
+
/**
|
|
14853
|
+
* Creates an object representation of this proto.
|
|
14854
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14855
|
+
* Optional fields that are not set will be set to undefined.
|
|
14856
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14857
|
+
* For the list of reserved names please see:
|
|
14858
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14859
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14860
|
+
* JSPB instance for transitional soy proto support:
|
|
14861
|
+
* http://goto/soy-param-migration
|
|
14862
|
+
* @return {!Object}
|
|
14863
|
+
*/
|
|
14864
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14865
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.toObject(opt_includeInstance, this);
|
|
14866
|
+
};
|
|
14867
|
+
|
|
14868
|
+
|
|
14869
|
+
/**
|
|
14870
|
+
* Static version of the {@see toObject} method.
|
|
14871
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14872
|
+
* the JSPB instance for transitional soy proto support:
|
|
14873
|
+
* http://goto/soy-param-migration
|
|
14874
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} msg The msg instance to transform.
|
|
14875
|
+
* @return {!Object}
|
|
14876
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14877
|
+
*/
|
|
14878
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.toObject = function(includeInstance, msg) {
|
|
14879
|
+
var f, obj = {
|
|
14880
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14881
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
14882
|
+
};
|
|
14883
|
+
|
|
14884
|
+
if (includeInstance) {
|
|
14885
|
+
obj.$jspbMessageInstance = msg;
|
|
14886
|
+
}
|
|
14887
|
+
return obj;
|
|
14888
|
+
};
|
|
14889
|
+
}
|
|
14890
|
+
|
|
14891
|
+
|
|
14892
|
+
/**
|
|
14893
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14894
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14895
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest}
|
|
14896
|
+
*/
|
|
14897
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.deserializeBinary = function(bytes) {
|
|
14898
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14899
|
+
var msg = new proto.gateway.web.v1.GetProjectSessionScoreRubricRequest;
|
|
14900
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.deserializeBinaryFromReader(msg, reader);
|
|
14901
|
+
};
|
|
14902
|
+
|
|
14903
|
+
|
|
14904
|
+
/**
|
|
14905
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14906
|
+
* given reader into the given message object.
|
|
14907
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} msg The message object to deserialize into.
|
|
14908
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14909
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest}
|
|
14910
|
+
*/
|
|
14911
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14912
|
+
while (reader.nextField()) {
|
|
14913
|
+
if (reader.isEndGroup()) {
|
|
14914
|
+
break;
|
|
14915
|
+
}
|
|
14916
|
+
var field = reader.getFieldNumber();
|
|
14917
|
+
switch (field) {
|
|
14918
|
+
case 1:
|
|
14919
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14920
|
+
msg.setOrganizationId(value);
|
|
14921
|
+
break;
|
|
14922
|
+
case 2:
|
|
14923
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14924
|
+
msg.setProjectId(value);
|
|
14925
|
+
break;
|
|
14926
|
+
default:
|
|
14927
|
+
reader.skipField();
|
|
14928
|
+
break;
|
|
14929
|
+
}
|
|
14930
|
+
}
|
|
14931
|
+
return msg;
|
|
14932
|
+
};
|
|
14933
|
+
|
|
14934
|
+
|
|
14935
|
+
/**
|
|
14936
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14937
|
+
* @return {!Uint8Array}
|
|
14938
|
+
*/
|
|
14939
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.serializeBinary = function() {
|
|
14940
|
+
var writer = new jspb.BinaryWriter();
|
|
14941
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.serializeBinaryToWriter(this, writer);
|
|
14942
|
+
return writer.getResultBuffer();
|
|
14943
|
+
};
|
|
14944
|
+
|
|
14945
|
+
|
|
14946
|
+
/**
|
|
14947
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14948
|
+
* format), writing to the given BinaryWriter.
|
|
14949
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} message
|
|
14950
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14951
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14952
|
+
*/
|
|
14953
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14954
|
+
var f = undefined;
|
|
14955
|
+
f = message.getOrganizationId();
|
|
14956
|
+
if (f.length > 0) {
|
|
14957
|
+
writer.writeString(
|
|
14958
|
+
1,
|
|
14959
|
+
f
|
|
14960
|
+
);
|
|
14961
|
+
}
|
|
14962
|
+
f = message.getProjectId();
|
|
14963
|
+
if (f.length > 0) {
|
|
14964
|
+
writer.writeString(
|
|
14965
|
+
2,
|
|
14966
|
+
f
|
|
14967
|
+
);
|
|
14968
|
+
}
|
|
14969
|
+
};
|
|
14970
|
+
|
|
14971
|
+
|
|
14972
|
+
/**
|
|
14973
|
+
* optional string organization_id = 1;
|
|
14974
|
+
* @return {string}
|
|
14975
|
+
*/
|
|
14976
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.getOrganizationId = function() {
|
|
12804
14977
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12805
14978
|
};
|
|
12806
14979
|
|
|
12807
14980
|
|
|
12808
14981
|
/**
|
|
12809
14982
|
* @param {string} value
|
|
12810
|
-
* @return {!proto.gateway.web.v1.
|
|
14983
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} returns this
|
|
12811
14984
|
*/
|
|
12812
|
-
proto.gateway.web.v1.
|
|
14985
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.setOrganizationId = function(value) {
|
|
12813
14986
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12814
14987
|
};
|
|
12815
14988
|
|
|
@@ -12818,16 +14991,16 @@ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setOrganizationId = functi
|
|
|
12818
14991
|
* optional string project_id = 2;
|
|
12819
14992
|
* @return {string}
|
|
12820
14993
|
*/
|
|
12821
|
-
proto.gateway.web.v1.
|
|
14994
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.getProjectId = function() {
|
|
12822
14995
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12823
14996
|
};
|
|
12824
14997
|
|
|
12825
14998
|
|
|
12826
14999
|
/**
|
|
12827
15000
|
* @param {string} value
|
|
12828
|
-
* @return {!proto.gateway.web.v1.
|
|
15001
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} returns this
|
|
12829
15002
|
*/
|
|
12830
|
-
proto.gateway.web.v1.
|
|
15003
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.setProjectId = function(value) {
|
|
12831
15004
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12832
15005
|
};
|
|
12833
15006
|
|
|
@@ -12848,8 +15021,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
12848
15021
|
* http://goto/soy-param-migration
|
|
12849
15022
|
* @return {!Object}
|
|
12850
15023
|
*/
|
|
12851
|
-
proto.gateway.web.v1.
|
|
12852
|
-
return proto.gateway.web.v1.
|
|
15024
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15025
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.toObject(opt_includeInstance, this);
|
|
12853
15026
|
};
|
|
12854
15027
|
|
|
12855
15028
|
|
|
@@ -12858,15 +15031,14 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.toObject = function(opt_i
|
|
|
12858
15031
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12859
15032
|
* the JSPB instance for transitional soy proto support:
|
|
12860
15033
|
* http://goto/soy-param-migration
|
|
12861
|
-
* @param {!proto.gateway.web.v1.
|
|
15034
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} msg The msg instance to transform.
|
|
12862
15035
|
* @return {!Object}
|
|
12863
15036
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12864
15037
|
*/
|
|
12865
|
-
proto.gateway.web.v1.
|
|
15038
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.toObject = function(includeInstance, msg) {
|
|
12866
15039
|
var f, obj = {
|
|
12867
15040
|
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
12868
|
-
|
|
12869
|
-
promptLabels: (f = msg.getPromptLabels()) && proto.gateway.web.v1.AILabelSet.toObject(includeInstance, f)
|
|
15041
|
+
projectRubric: (f = msg.getProjectRubric()) && proto.gateway.web.v1.ProjectSessionScoreRubric.toObject(includeInstance, f)
|
|
12870
15042
|
};
|
|
12871
15043
|
|
|
12872
15044
|
if (includeInstance) {
|
|
@@ -12880,23 +15052,23 @@ promptLabels: (f = msg.getPromptLabels()) && proto.gateway.web.v1.AILabelSet.toO
|
|
|
12880
15052
|
/**
|
|
12881
15053
|
* Deserializes binary data (in protobuf wire format).
|
|
12882
15054
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12883
|
-
* @return {!proto.gateway.web.v1.
|
|
15055
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse}
|
|
12884
15056
|
*/
|
|
12885
|
-
proto.gateway.web.v1.
|
|
15057
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.deserializeBinary = function(bytes) {
|
|
12886
15058
|
var reader = new jspb.BinaryReader(bytes);
|
|
12887
|
-
var msg = new proto.gateway.web.v1.
|
|
12888
|
-
return proto.gateway.web.v1.
|
|
15059
|
+
var msg = new proto.gateway.web.v1.GetProjectSessionScoreRubricResponse;
|
|
15060
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.deserializeBinaryFromReader(msg, reader);
|
|
12889
15061
|
};
|
|
12890
15062
|
|
|
12891
15063
|
|
|
12892
15064
|
/**
|
|
12893
15065
|
* Deserializes binary data (in protobuf wire format) from the
|
|
12894
15066
|
* given reader into the given message object.
|
|
12895
|
-
* @param {!proto.gateway.web.v1.
|
|
15067
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} msg The message object to deserialize into.
|
|
12896
15068
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12897
|
-
* @return {!proto.gateway.web.v1.
|
|
15069
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse}
|
|
12898
15070
|
*/
|
|
12899
|
-
proto.gateway.web.v1.
|
|
15071
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12900
15072
|
while (reader.nextField()) {
|
|
12901
15073
|
if (reader.isEndGroup()) {
|
|
12902
15074
|
break;
|
|
@@ -12909,14 +15081,9 @@ proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader = funct
|
|
|
12909
15081
|
msg.setStatus(value);
|
|
12910
15082
|
break;
|
|
12911
15083
|
case 2:
|
|
12912
|
-
var value = new proto.gateway.web.v1.
|
|
12913
|
-
reader.readMessage(value,proto.gateway.web.v1.
|
|
12914
|
-
msg.
|
|
12915
|
-
break;
|
|
12916
|
-
case 3:
|
|
12917
|
-
var value = new proto.gateway.web.v1.AILabelSet;
|
|
12918
|
-
reader.readMessage(value,proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader);
|
|
12919
|
-
msg.setPromptLabels(value);
|
|
15084
|
+
var value = new proto.gateway.web.v1.ProjectSessionScoreRubric;
|
|
15085
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader);
|
|
15086
|
+
msg.setProjectRubric(value);
|
|
12920
15087
|
break;
|
|
12921
15088
|
default:
|
|
12922
15089
|
reader.skipField();
|
|
@@ -12931,9 +15098,9 @@ proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader = funct
|
|
|
12931
15098
|
* Serializes the message to binary data (in protobuf wire format).
|
|
12932
15099
|
* @return {!Uint8Array}
|
|
12933
15100
|
*/
|
|
12934
|
-
proto.gateway.web.v1.
|
|
15101
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.serializeBinary = function() {
|
|
12935
15102
|
var writer = new jspb.BinaryWriter();
|
|
12936
|
-
proto.gateway.web.v1.
|
|
15103
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.serializeBinaryToWriter(this, writer);
|
|
12937
15104
|
return writer.getResultBuffer();
|
|
12938
15105
|
};
|
|
12939
15106
|
|
|
@@ -12941,11 +15108,11 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.serializeBinary = functio
|
|
|
12941
15108
|
/**
|
|
12942
15109
|
* Serializes the given message to binary data (in protobuf wire
|
|
12943
15110
|
* format), writing to the given BinaryWriter.
|
|
12944
|
-
* @param {!proto.gateway.web.v1.
|
|
15111
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} message
|
|
12945
15112
|
* @param {!jspb.BinaryWriter} writer
|
|
12946
15113
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12947
15114
|
*/
|
|
12948
|
-
proto.gateway.web.v1.
|
|
15115
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12949
15116
|
var f = undefined;
|
|
12950
15117
|
f = message.getStatus();
|
|
12951
15118
|
if (f != null) {
|
|
@@ -12955,20 +15122,12 @@ proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter = function(
|
|
|
12955
15122
|
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
12956
15123
|
);
|
|
12957
15124
|
}
|
|
12958
|
-
f = message.
|
|
15125
|
+
f = message.getProjectRubric();
|
|
12959
15126
|
if (f != null) {
|
|
12960
15127
|
writer.writeMessage(
|
|
12961
15128
|
2,
|
|
12962
15129
|
f,
|
|
12963
|
-
proto.gateway.web.v1.
|
|
12964
|
-
);
|
|
12965
|
-
}
|
|
12966
|
-
f = message.getPromptLabels();
|
|
12967
|
-
if (f != null) {
|
|
12968
|
-
writer.writeMessage(
|
|
12969
|
-
3,
|
|
12970
|
-
f,
|
|
12971
|
-
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter
|
|
15130
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter
|
|
12972
15131
|
);
|
|
12973
15132
|
}
|
|
12974
15133
|
};
|
|
@@ -12978,7 +15137,7 @@ proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter = function(
|
|
|
12978
15137
|
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
12979
15138
|
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
12980
15139
|
*/
|
|
12981
|
-
proto.gateway.web.v1.
|
|
15140
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.getStatus = function() {
|
|
12982
15141
|
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
12983
15142
|
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
12984
15143
|
};
|
|
@@ -12986,18 +15145,18 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getStatus = function() {
|
|
|
12986
15145
|
|
|
12987
15146
|
/**
|
|
12988
15147
|
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
12989
|
-
* @return {!proto.gateway.web.v1.
|
|
15148
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
12990
15149
|
*/
|
|
12991
|
-
proto.gateway.web.v1.
|
|
15150
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.setStatus = function(value) {
|
|
12992
15151
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
12993
15152
|
};
|
|
12994
15153
|
|
|
12995
15154
|
|
|
12996
15155
|
/**
|
|
12997
15156
|
* Clears the message field making it undefined.
|
|
12998
|
-
* @return {!proto.gateway.web.v1.
|
|
15157
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
12999
15158
|
*/
|
|
13000
|
-
proto.gateway.web.v1.
|
|
15159
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.clearStatus = function() {
|
|
13001
15160
|
return this.setStatus(undefined);
|
|
13002
15161
|
};
|
|
13003
15162
|
|
|
@@ -13006,36 +15165,36 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearStatus = function()
|
|
|
13006
15165
|
* Returns whether this field is set.
|
|
13007
15166
|
* @return {boolean}
|
|
13008
15167
|
*/
|
|
13009
|
-
proto.gateway.web.v1.
|
|
15168
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.hasStatus = function() {
|
|
13010
15169
|
return jspb.Message.getField(this, 1) != null;
|
|
13011
15170
|
};
|
|
13012
15171
|
|
|
13013
15172
|
|
|
13014
15173
|
/**
|
|
13015
|
-
* optional
|
|
13016
|
-
* @return {?proto.gateway.web.v1.
|
|
15174
|
+
* optional ProjectSessionScoreRubric project_rubric = 2;
|
|
15175
|
+
* @return {?proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13017
15176
|
*/
|
|
13018
|
-
proto.gateway.web.v1.
|
|
13019
|
-
return /** @type{?proto.gateway.web.v1.
|
|
13020
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.
|
|
15177
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.getProjectRubric = function() {
|
|
15178
|
+
return /** @type{?proto.gateway.web.v1.ProjectSessionScoreRubric} */ (
|
|
15179
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.ProjectSessionScoreRubric, 2));
|
|
13021
15180
|
};
|
|
13022
15181
|
|
|
13023
15182
|
|
|
13024
15183
|
/**
|
|
13025
|
-
* @param {?proto.gateway.web.v1.
|
|
13026
|
-
* @return {!proto.gateway.web.v1.
|
|
15184
|
+
* @param {?proto.gateway.web.v1.ProjectSessionScoreRubric|undefined} value
|
|
15185
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
13027
15186
|
*/
|
|
13028
|
-
proto.gateway.web.v1.
|
|
15187
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.setProjectRubric = function(value) {
|
|
13029
15188
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
13030
15189
|
};
|
|
13031
15190
|
|
|
13032
15191
|
|
|
13033
15192
|
/**
|
|
13034
15193
|
* Clears the message field making it undefined.
|
|
13035
|
-
* @return {!proto.gateway.web.v1.
|
|
15194
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
13036
15195
|
*/
|
|
13037
|
-
proto.gateway.web.v1.
|
|
13038
|
-
return this.
|
|
15196
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.clearProjectRubric = function() {
|
|
15197
|
+
return this.setProjectRubric(undefined);
|
|
13039
15198
|
};
|
|
13040
15199
|
|
|
13041
15200
|
|
|
@@ -13043,55 +15202,11 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearSessionLabels = func
|
|
|
13043
15202
|
* Returns whether this field is set.
|
|
13044
15203
|
* @return {boolean}
|
|
13045
15204
|
*/
|
|
13046
|
-
proto.gateway.web.v1.
|
|
15205
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.hasProjectRubric = function() {
|
|
13047
15206
|
return jspb.Message.getField(this, 2) != null;
|
|
13048
15207
|
};
|
|
13049
15208
|
|
|
13050
15209
|
|
|
13051
|
-
/**
|
|
13052
|
-
* optional AILabelSet prompt_labels = 3;
|
|
13053
|
-
* @return {?proto.gateway.web.v1.AILabelSet}
|
|
13054
|
-
*/
|
|
13055
|
-
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getPromptLabels = function() {
|
|
13056
|
-
return /** @type{?proto.gateway.web.v1.AILabelSet} */ (
|
|
13057
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AILabelSet, 3));
|
|
13058
|
-
};
|
|
13059
|
-
|
|
13060
|
-
|
|
13061
|
-
/**
|
|
13062
|
-
* @param {?proto.gateway.web.v1.AILabelSet|undefined} value
|
|
13063
|
-
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13064
|
-
*/
|
|
13065
|
-
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setPromptLabels = function(value) {
|
|
13066
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
13067
|
-
};
|
|
13068
|
-
|
|
13069
|
-
|
|
13070
|
-
/**
|
|
13071
|
-
* Clears the message field making it undefined.
|
|
13072
|
-
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13073
|
-
*/
|
|
13074
|
-
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearPromptLabels = function() {
|
|
13075
|
-
return this.setPromptLabels(undefined);
|
|
13076
|
-
};
|
|
13077
|
-
|
|
13078
|
-
|
|
13079
|
-
/**
|
|
13080
|
-
* Returns whether this field is set.
|
|
13081
|
-
* @return {boolean}
|
|
13082
|
-
*/
|
|
13083
|
-
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasPromptLabels = function() {
|
|
13084
|
-
return jspb.Message.getField(this, 3) != null;
|
|
13085
|
-
};
|
|
13086
|
-
|
|
13087
|
-
|
|
13088
|
-
|
|
13089
|
-
/**
|
|
13090
|
-
* List of repeated fields within this message type.
|
|
13091
|
-
* @private {!Array<number>}
|
|
13092
|
-
* @const
|
|
13093
|
-
*/
|
|
13094
|
-
proto.gateway.web.v1.AILabelSet.repeatedFields_ = [2];
|
|
13095
15210
|
|
|
13096
15211
|
|
|
13097
15212
|
|
|
@@ -13108,8 +15223,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13108
15223
|
* http://goto/soy-param-migration
|
|
13109
15224
|
* @return {!Object}
|
|
13110
15225
|
*/
|
|
13111
|
-
proto.gateway.web.v1.
|
|
13112
|
-
return proto.gateway.web.v1.
|
|
15226
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15227
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.toObject(opt_includeInstance, this);
|
|
13113
15228
|
};
|
|
13114
15229
|
|
|
13115
15230
|
|
|
@@ -13118,15 +15233,15 @@ proto.gateway.web.v1.AILabelSet.prototype.toObject = function(opt_includeInstanc
|
|
|
13118
15233
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13119
15234
|
* the JSPB instance for transitional soy proto support:
|
|
13120
15235
|
* http://goto/soy-param-migration
|
|
13121
|
-
* @param {!proto.gateway.web.v1.
|
|
15236
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} msg The msg instance to transform.
|
|
13122
15237
|
* @return {!Object}
|
|
13123
15238
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13124
15239
|
*/
|
|
13125
|
-
proto.gateway.web.v1.
|
|
15240
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.toObject = function(includeInstance, msg) {
|
|
13126
15241
|
var f, obj = {
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
15242
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15243
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15244
|
+
rubric: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
13130
15245
|
};
|
|
13131
15246
|
|
|
13132
15247
|
if (includeInstance) {
|
|
@@ -13140,23 +15255,23 @@ dimensionsList: jspb.Message.toObjectList(msg.getDimensionsList(),
|
|
|
13140
15255
|
/**
|
|
13141
15256
|
* Deserializes binary data (in protobuf wire format).
|
|
13142
15257
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13143
|
-
* @return {!proto.gateway.web.v1.
|
|
15258
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest}
|
|
13144
15259
|
*/
|
|
13145
|
-
proto.gateway.web.v1.
|
|
15260
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.deserializeBinary = function(bytes) {
|
|
13146
15261
|
var reader = new jspb.BinaryReader(bytes);
|
|
13147
|
-
var msg = new proto.gateway.web.v1.
|
|
13148
|
-
return proto.gateway.web.v1.
|
|
15262
|
+
var msg = new proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest;
|
|
15263
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.deserializeBinaryFromReader(msg, reader);
|
|
13149
15264
|
};
|
|
13150
15265
|
|
|
13151
15266
|
|
|
13152
15267
|
/**
|
|
13153
15268
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13154
15269
|
* given reader into the given message object.
|
|
13155
|
-
* @param {!proto.gateway.web.v1.
|
|
15270
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} msg The message object to deserialize into.
|
|
13156
15271
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13157
|
-
* @return {!proto.gateway.web.v1.
|
|
15272
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest}
|
|
13158
15273
|
*/
|
|
13159
|
-
proto.gateway.web.v1.
|
|
15274
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13160
15275
|
while (reader.nextField()) {
|
|
13161
15276
|
if (reader.isEndGroup()) {
|
|
13162
15277
|
break;
|
|
@@ -13165,12 +15280,15 @@ proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader = function(msg, read
|
|
|
13165
15280
|
switch (field) {
|
|
13166
15281
|
case 1:
|
|
13167
15282
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13168
|
-
msg.
|
|
15283
|
+
msg.setOrganizationId(value);
|
|
13169
15284
|
break;
|
|
13170
15285
|
case 2:
|
|
13171
|
-
var value =
|
|
13172
|
-
|
|
13173
|
-
|
|
15286
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
15287
|
+
msg.setProjectId(value);
|
|
15288
|
+
break;
|
|
15289
|
+
case 3:
|
|
15290
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
15291
|
+
msg.setRubric(value);
|
|
13174
15292
|
break;
|
|
13175
15293
|
default:
|
|
13176
15294
|
reader.skipField();
|
|
@@ -13185,9 +15303,9 @@ proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader = function(msg, read
|
|
|
13185
15303
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13186
15304
|
* @return {!Uint8Array}
|
|
13187
15305
|
*/
|
|
13188
|
-
proto.gateway.web.v1.
|
|
15306
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.serializeBinary = function() {
|
|
13189
15307
|
var writer = new jspb.BinaryWriter();
|
|
13190
|
-
proto.gateway.web.v1.
|
|
15308
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.serializeBinaryToWriter(this, writer);
|
|
13191
15309
|
return writer.getResultBuffer();
|
|
13192
15310
|
};
|
|
13193
15311
|
|
|
@@ -13195,94 +15313,91 @@ proto.gateway.web.v1.AILabelSet.prototype.serializeBinary = function() {
|
|
|
13195
15313
|
/**
|
|
13196
15314
|
* Serializes the given message to binary data (in protobuf wire
|
|
13197
15315
|
* format), writing to the given BinaryWriter.
|
|
13198
|
-
* @param {!proto.gateway.web.v1.
|
|
15316
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} message
|
|
13199
15317
|
* @param {!jspb.BinaryWriter} writer
|
|
13200
15318
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13201
15319
|
*/
|
|
13202
|
-
proto.gateway.web.v1.
|
|
15320
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13203
15321
|
var f = undefined;
|
|
13204
|
-
f = message.
|
|
15322
|
+
f = message.getOrganizationId();
|
|
13205
15323
|
if (f.length > 0) {
|
|
13206
15324
|
writer.writeString(
|
|
13207
15325
|
1,
|
|
13208
15326
|
f
|
|
13209
15327
|
);
|
|
13210
15328
|
}
|
|
13211
|
-
f = message.
|
|
15329
|
+
f = message.getProjectId();
|
|
13212
15330
|
if (f.length > 0) {
|
|
13213
|
-
writer.
|
|
15331
|
+
writer.writeString(
|
|
13214
15332
|
2,
|
|
13215
|
-
f
|
|
13216
|
-
|
|
15333
|
+
f
|
|
15334
|
+
);
|
|
15335
|
+
}
|
|
15336
|
+
f = message.getRubric();
|
|
15337
|
+
if (f !== 0.0) {
|
|
15338
|
+
writer.writeEnum(
|
|
15339
|
+
3,
|
|
15340
|
+
f
|
|
13217
15341
|
);
|
|
13218
15342
|
}
|
|
13219
15343
|
};
|
|
13220
15344
|
|
|
13221
15345
|
|
|
13222
15346
|
/**
|
|
13223
|
-
* optional string
|
|
15347
|
+
* optional string organization_id = 1;
|
|
13224
15348
|
* @return {string}
|
|
13225
15349
|
*/
|
|
13226
|
-
proto.gateway.web.v1.
|
|
15350
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.getOrganizationId = function() {
|
|
13227
15351
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13228
15352
|
};
|
|
13229
15353
|
|
|
13230
15354
|
|
|
13231
15355
|
/**
|
|
13232
15356
|
* @param {string} value
|
|
13233
|
-
* @return {!proto.gateway.web.v1.
|
|
15357
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} returns this
|
|
13234
15358
|
*/
|
|
13235
|
-
proto.gateway.web.v1.
|
|
15359
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.setOrganizationId = function(value) {
|
|
13236
15360
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13237
15361
|
};
|
|
13238
15362
|
|
|
13239
15363
|
|
|
13240
15364
|
/**
|
|
13241
|
-
*
|
|
13242
|
-
* @return {
|
|
15365
|
+
* optional string project_id = 2;
|
|
15366
|
+
* @return {string}
|
|
13243
15367
|
*/
|
|
13244
|
-
proto.gateway.web.v1.
|
|
13245
|
-
return /** @type{
|
|
13246
|
-
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelDimension, 2));
|
|
15368
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.getProjectId = function() {
|
|
15369
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13247
15370
|
};
|
|
13248
15371
|
|
|
13249
15372
|
|
|
13250
15373
|
/**
|
|
13251
|
-
* @param {
|
|
13252
|
-
* @return {!proto.gateway.web.v1.
|
|
13253
|
-
*/
|
|
13254
|
-
proto.gateway.web.v1.
|
|
13255
|
-
return jspb.Message.
|
|
15374
|
+
* @param {string} value
|
|
15375
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} returns this
|
|
15376
|
+
*/
|
|
15377
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.setProjectId = function(value) {
|
|
15378
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13256
15379
|
};
|
|
13257
15380
|
|
|
13258
15381
|
|
|
13259
15382
|
/**
|
|
13260
|
-
*
|
|
13261
|
-
* @
|
|
13262
|
-
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
15383
|
+
* optional AISessionScoreRubric rubric = 3;
|
|
15384
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
13263
15385
|
*/
|
|
13264
|
-
proto.gateway.web.v1.
|
|
13265
|
-
return
|
|
15386
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.getRubric = function() {
|
|
15387
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
13266
15388
|
};
|
|
13267
15389
|
|
|
13268
15390
|
|
|
13269
15391
|
/**
|
|
13270
|
-
*
|
|
13271
|
-
* @return {!proto.gateway.web.v1.
|
|
15392
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
15393
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} returns this
|
|
13272
15394
|
*/
|
|
13273
|
-
proto.gateway.web.v1.
|
|
13274
|
-
return
|
|
15395
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.setRubric = function(value) {
|
|
15396
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
13275
15397
|
};
|
|
13276
15398
|
|
|
13277
15399
|
|
|
13278
15400
|
|
|
13279
|
-
/**
|
|
13280
|
-
* List of repeated fields within this message type.
|
|
13281
|
-
* @private {!Array<number>}
|
|
13282
|
-
* @const
|
|
13283
|
-
*/
|
|
13284
|
-
proto.gateway.web.v1.AILabelDimension.repeatedFields_ = [3];
|
|
13285
|
-
|
|
13286
15401
|
|
|
13287
15402
|
|
|
13288
15403
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -13298,8 +15413,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13298
15413
|
* http://goto/soy-param-migration
|
|
13299
15414
|
* @return {!Object}
|
|
13300
15415
|
*/
|
|
13301
|
-
proto.gateway.web.v1.
|
|
13302
|
-
return proto.gateway.web.v1.
|
|
15416
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15417
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.toObject(opt_includeInstance, this);
|
|
13303
15418
|
};
|
|
13304
15419
|
|
|
13305
15420
|
|
|
@@ -13308,16 +15423,14 @@ proto.gateway.web.v1.AILabelDimension.prototype.toObject = function(opt_includeI
|
|
|
13308
15423
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13309
15424
|
* the JSPB instance for transitional soy proto support:
|
|
13310
15425
|
* http://goto/soy-param-migration
|
|
13311
|
-
* @param {!proto.gateway.web.v1.
|
|
15426
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} msg The msg instance to transform.
|
|
13312
15427
|
* @return {!Object}
|
|
13313
15428
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13314
15429
|
*/
|
|
13315
|
-
proto.gateway.web.v1.
|
|
15430
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.toObject = function(includeInstance, msg) {
|
|
13316
15431
|
var f, obj = {
|
|
13317
|
-
|
|
13318
|
-
|
|
13319
|
-
valuesList: jspb.Message.toObjectList(msg.getValuesList(),
|
|
13320
|
-
proto.gateway.web.v1.AILabelValue.toObject, includeInstance)
|
|
15432
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
15433
|
+
projectRubric: (f = msg.getProjectRubric()) && proto.gateway.web.v1.ProjectSessionScoreRubric.toObject(includeInstance, f)
|
|
13321
15434
|
};
|
|
13322
15435
|
|
|
13323
15436
|
if (includeInstance) {
|
|
@@ -13331,23 +15444,23 @@ valuesList: jspb.Message.toObjectList(msg.getValuesList(),
|
|
|
13331
15444
|
/**
|
|
13332
15445
|
* Deserializes binary data (in protobuf wire format).
|
|
13333
15446
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13334
|
-
* @return {!proto.gateway.web.v1.
|
|
15447
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse}
|
|
13335
15448
|
*/
|
|
13336
|
-
proto.gateway.web.v1.
|
|
15449
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.deserializeBinary = function(bytes) {
|
|
13337
15450
|
var reader = new jspb.BinaryReader(bytes);
|
|
13338
|
-
var msg = new proto.gateway.web.v1.
|
|
13339
|
-
return proto.gateway.web.v1.
|
|
15451
|
+
var msg = new proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse;
|
|
15452
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.deserializeBinaryFromReader(msg, reader);
|
|
13340
15453
|
};
|
|
13341
15454
|
|
|
13342
15455
|
|
|
13343
15456
|
/**
|
|
13344
15457
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13345
15458
|
* given reader into the given message object.
|
|
13346
|
-
* @param {!proto.gateway.web.v1.
|
|
15459
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} msg The message object to deserialize into.
|
|
13347
15460
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13348
|
-
* @return {!proto.gateway.web.v1.
|
|
15461
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse}
|
|
13349
15462
|
*/
|
|
13350
|
-
proto.gateway.web.v1.
|
|
15463
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
13351
15464
|
while (reader.nextField()) {
|
|
13352
15465
|
if (reader.isEndGroup()) {
|
|
13353
15466
|
break;
|
|
@@ -13355,17 +15468,14 @@ proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader = function(msg
|
|
|
13355
15468
|
var field = reader.getFieldNumber();
|
|
13356
15469
|
switch (field) {
|
|
13357
15470
|
case 1:
|
|
13358
|
-
var value =
|
|
13359
|
-
|
|
15471
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
15472
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
15473
|
+
msg.setStatus(value);
|
|
13360
15474
|
break;
|
|
13361
15475
|
case 2:
|
|
13362
|
-
var value =
|
|
13363
|
-
|
|
13364
|
-
|
|
13365
|
-
case 3:
|
|
13366
|
-
var value = new proto.gateway.web.v1.AILabelValue;
|
|
13367
|
-
reader.readMessage(value,proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader);
|
|
13368
|
-
msg.addValues(value);
|
|
15476
|
+
var value = new proto.gateway.web.v1.ProjectSessionScoreRubric;
|
|
15477
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader);
|
|
15478
|
+
msg.setProjectRubric(value);
|
|
13369
15479
|
break;
|
|
13370
15480
|
default:
|
|
13371
15481
|
reader.skipField();
|
|
@@ -13380,9 +15490,9 @@ proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader = function(msg
|
|
|
13380
15490
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13381
15491
|
* @return {!Uint8Array}
|
|
13382
15492
|
*/
|
|
13383
|
-
proto.gateway.web.v1.
|
|
15493
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.serializeBinary = function() {
|
|
13384
15494
|
var writer = new jspb.BinaryWriter();
|
|
13385
|
-
proto.gateway.web.v1.
|
|
15495
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.serializeBinaryToWriter(this, writer);
|
|
13386
15496
|
return writer.getResultBuffer();
|
|
13387
15497
|
};
|
|
13388
15498
|
|
|
@@ -13390,108 +15500,102 @@ proto.gateway.web.v1.AILabelDimension.prototype.serializeBinary = function() {
|
|
|
13390
15500
|
/**
|
|
13391
15501
|
* Serializes the given message to binary data (in protobuf wire
|
|
13392
15502
|
* format), writing to the given BinaryWriter.
|
|
13393
|
-
* @param {!proto.gateway.web.v1.
|
|
15503
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} message
|
|
13394
15504
|
* @param {!jspb.BinaryWriter} writer
|
|
13395
15505
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13396
15506
|
*/
|
|
13397
|
-
proto.gateway.web.v1.
|
|
15507
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13398
15508
|
var f = undefined;
|
|
13399
|
-
f = message.
|
|
13400
|
-
if (f
|
|
13401
|
-
writer.
|
|
15509
|
+
f = message.getStatus();
|
|
15510
|
+
if (f != null) {
|
|
15511
|
+
writer.writeMessage(
|
|
13402
15512
|
1,
|
|
13403
|
-
f
|
|
15513
|
+
f,
|
|
15514
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
13404
15515
|
);
|
|
13405
15516
|
}
|
|
13406
|
-
f = message.
|
|
13407
|
-
if (f
|
|
13408
|
-
writer.
|
|
15517
|
+
f = message.getProjectRubric();
|
|
15518
|
+
if (f != null) {
|
|
15519
|
+
writer.writeMessage(
|
|
13409
15520
|
2,
|
|
13410
|
-
f
|
|
13411
|
-
);
|
|
13412
|
-
}
|
|
13413
|
-
f = message.getValuesList();
|
|
13414
|
-
if (f.length > 0) {
|
|
13415
|
-
writer.writeRepeatedMessage(
|
|
13416
|
-
3,
|
|
13417
15521
|
f,
|
|
13418
|
-
proto.gateway.web.v1.
|
|
15522
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter
|
|
13419
15523
|
);
|
|
13420
15524
|
}
|
|
13421
15525
|
};
|
|
13422
15526
|
|
|
13423
15527
|
|
|
13424
15528
|
/**
|
|
13425
|
-
* optional
|
|
13426
|
-
* @return {
|
|
15529
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
15530
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
13427
15531
|
*/
|
|
13428
|
-
proto.gateway.web.v1.
|
|
13429
|
-
return /** @type
|
|
15532
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.getStatus = function() {
|
|
15533
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
15534
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
13430
15535
|
};
|
|
13431
15536
|
|
|
13432
15537
|
|
|
13433
15538
|
/**
|
|
13434
|
-
* @param {
|
|
13435
|
-
* @return {!proto.gateway.web.v1.
|
|
13436
|
-
|
|
13437
|
-
proto.gateway.web.v1.
|
|
13438
|
-
return jspb.Message.
|
|
15539
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
15540
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
15541
|
+
*/
|
|
15542
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.setStatus = function(value) {
|
|
15543
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
13439
15544
|
};
|
|
13440
15545
|
|
|
13441
15546
|
|
|
13442
15547
|
/**
|
|
13443
|
-
*
|
|
13444
|
-
* @return {
|
|
15548
|
+
* Clears the message field making it undefined.
|
|
15549
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
13445
15550
|
*/
|
|
13446
|
-
proto.gateway.web.v1.
|
|
13447
|
-
return
|
|
15551
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.clearStatus = function() {
|
|
15552
|
+
return this.setStatus(undefined);
|
|
13448
15553
|
};
|
|
13449
15554
|
|
|
13450
15555
|
|
|
13451
15556
|
/**
|
|
13452
|
-
*
|
|
13453
|
-
* @return {
|
|
15557
|
+
* Returns whether this field is set.
|
|
15558
|
+
* @return {boolean}
|
|
13454
15559
|
*/
|
|
13455
|
-
proto.gateway.web.v1.
|
|
13456
|
-
return jspb.Message.
|
|
15560
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.hasStatus = function() {
|
|
15561
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13457
15562
|
};
|
|
13458
15563
|
|
|
13459
15564
|
|
|
13460
15565
|
/**
|
|
13461
|
-
*
|
|
13462
|
-
* @return {
|
|
15566
|
+
* optional ProjectSessionScoreRubric project_rubric = 2;
|
|
15567
|
+
* @return {?proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13463
15568
|
*/
|
|
13464
|
-
proto.gateway.web.v1.
|
|
13465
|
-
return /** @type{
|
|
13466
|
-
jspb.Message.
|
|
15569
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.getProjectRubric = function() {
|
|
15570
|
+
return /** @type{?proto.gateway.web.v1.ProjectSessionScoreRubric} */ (
|
|
15571
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.ProjectSessionScoreRubric, 2));
|
|
13467
15572
|
};
|
|
13468
15573
|
|
|
13469
15574
|
|
|
13470
15575
|
/**
|
|
13471
|
-
* @param {
|
|
13472
|
-
* @return {!proto.gateway.web.v1.
|
|
15576
|
+
* @param {?proto.gateway.web.v1.ProjectSessionScoreRubric|undefined} value
|
|
15577
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
13473
15578
|
*/
|
|
13474
|
-
proto.gateway.web.v1.
|
|
13475
|
-
return jspb.Message.
|
|
15579
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.setProjectRubric = function(value) {
|
|
15580
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
13476
15581
|
};
|
|
13477
15582
|
|
|
13478
15583
|
|
|
13479
15584
|
/**
|
|
13480
|
-
*
|
|
13481
|
-
* @
|
|
13482
|
-
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
15585
|
+
* Clears the message field making it undefined.
|
|
15586
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
13483
15587
|
*/
|
|
13484
|
-
proto.gateway.web.v1.
|
|
13485
|
-
return
|
|
15588
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.clearProjectRubric = function() {
|
|
15589
|
+
return this.setProjectRubric(undefined);
|
|
13486
15590
|
};
|
|
13487
15591
|
|
|
13488
15592
|
|
|
13489
15593
|
/**
|
|
13490
|
-
*
|
|
13491
|
-
* @return {
|
|
15594
|
+
* Returns whether this field is set.
|
|
15595
|
+
* @return {boolean}
|
|
13492
15596
|
*/
|
|
13493
|
-
proto.gateway.web.v1.
|
|
13494
|
-
return
|
|
15597
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.hasProjectRubric = function() {
|
|
15598
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13495
15599
|
};
|
|
13496
15600
|
|
|
13497
15601
|
|
|
@@ -13511,8 +15615,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13511
15615
|
* http://goto/soy-param-migration
|
|
13512
15616
|
* @return {!Object}
|
|
13513
15617
|
*/
|
|
13514
|
-
proto.gateway.web.v1.
|
|
13515
|
-
return proto.gateway.web.v1.
|
|
15618
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.toObject = function(opt_includeInstance) {
|
|
15619
|
+
return proto.gateway.web.v1.ProjectSessionScoreRubric.toObject(opt_includeInstance, this);
|
|
13516
15620
|
};
|
|
13517
15621
|
|
|
13518
15622
|
|
|
@@ -13521,16 +15625,15 @@ proto.gateway.web.v1.AILabelValue.prototype.toObject = function(opt_includeInsta
|
|
|
13521
15625
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13522
15626
|
* the JSPB instance for transitional soy proto support:
|
|
13523
15627
|
* http://goto/soy-param-migration
|
|
13524
|
-
* @param {!proto.gateway.web.v1.
|
|
15628
|
+
* @param {!proto.gateway.web.v1.ProjectSessionScoreRubric} msg The msg instance to transform.
|
|
13525
15629
|
* @return {!Object}
|
|
13526
15630
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13527
15631
|
*/
|
|
13528
|
-
proto.gateway.web.v1.
|
|
15632
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.toObject = function(includeInstance, msg) {
|
|
13529
15633
|
var f, obj = {
|
|
13530
|
-
|
|
13531
|
-
|
|
13532
|
-
|
|
13533
|
-
rating: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
15634
|
+
rubric: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15635
|
+
updateUserId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15636
|
+
updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
13534
15637
|
};
|
|
13535
15638
|
|
|
13536
15639
|
if (includeInstance) {
|
|
@@ -13544,23 +15647,23 @@ rating: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
|
13544
15647
|
/**
|
|
13545
15648
|
* Deserializes binary data (in protobuf wire format).
|
|
13546
15649
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13547
|
-
* @return {!proto.gateway.web.v1.
|
|
15650
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13548
15651
|
*/
|
|
13549
|
-
proto.gateway.web.v1.
|
|
15652
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinary = function(bytes) {
|
|
13550
15653
|
var reader = new jspb.BinaryReader(bytes);
|
|
13551
|
-
var msg = new proto.gateway.web.v1.
|
|
13552
|
-
return proto.gateway.web.v1.
|
|
15654
|
+
var msg = new proto.gateway.web.v1.ProjectSessionScoreRubric;
|
|
15655
|
+
return proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader(msg, reader);
|
|
13553
15656
|
};
|
|
13554
15657
|
|
|
13555
15658
|
|
|
13556
15659
|
/**
|
|
13557
15660
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13558
15661
|
* given reader into the given message object.
|
|
13559
|
-
* @param {!proto.gateway.web.v1.
|
|
15662
|
+
* @param {!proto.gateway.web.v1.ProjectSessionScoreRubric} msg The message object to deserialize into.
|
|
13560
15663
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13561
|
-
* @return {!proto.gateway.web.v1.
|
|
15664
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13562
15665
|
*/
|
|
13563
|
-
proto.gateway.web.v1.
|
|
15666
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader = function(msg, reader) {
|
|
13564
15667
|
while (reader.nextField()) {
|
|
13565
15668
|
if (reader.isEndGroup()) {
|
|
13566
15669
|
break;
|
|
@@ -13568,20 +15671,17 @@ proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader = function(msg, re
|
|
|
13568
15671
|
var field = reader.getFieldNumber();
|
|
13569
15672
|
switch (field) {
|
|
13570
15673
|
case 1:
|
|
13571
|
-
var value = /** @type {
|
|
13572
|
-
msg.
|
|
15674
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
15675
|
+
msg.setRubric(value);
|
|
13573
15676
|
break;
|
|
13574
15677
|
case 2:
|
|
13575
15678
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13576
|
-
msg.
|
|
15679
|
+
msg.setUpdateUserId(value);
|
|
13577
15680
|
break;
|
|
13578
15681
|
case 3:
|
|
13579
|
-
var value =
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
case 4:
|
|
13583
|
-
var value = /** @type {!proto.gateway.web.v1.AILabelRating} */ (reader.readEnum());
|
|
13584
|
-
msg.setRating(value);
|
|
15682
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
15683
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
15684
|
+
msg.setUpdateTime(value);
|
|
13585
15685
|
break;
|
|
13586
15686
|
default:
|
|
13587
15687
|
reader.skipField();
|
|
@@ -13596,9 +15696,9 @@ proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader = function(msg, re
|
|
|
13596
15696
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13597
15697
|
* @return {!Uint8Array}
|
|
13598
15698
|
*/
|
|
13599
|
-
proto.gateway.web.v1.
|
|
15699
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.serializeBinary = function() {
|
|
13600
15700
|
var writer = new jspb.BinaryWriter();
|
|
13601
|
-
proto.gateway.web.v1.
|
|
15701
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter(this, writer);
|
|
13602
15702
|
return writer.getResultBuffer();
|
|
13603
15703
|
};
|
|
13604
15704
|
|
|
@@ -13606,112 +15706,107 @@ proto.gateway.web.v1.AILabelValue.prototype.serializeBinary = function() {
|
|
|
13606
15706
|
/**
|
|
13607
15707
|
* Serializes the given message to binary data (in protobuf wire
|
|
13608
15708
|
* format), writing to the given BinaryWriter.
|
|
13609
|
-
* @param {!proto.gateway.web.v1.
|
|
15709
|
+
* @param {!proto.gateway.web.v1.ProjectSessionScoreRubric} message
|
|
13610
15710
|
* @param {!jspb.BinaryWriter} writer
|
|
13611
15711
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13612
15712
|
*/
|
|
13613
|
-
proto.gateway.web.v1.
|
|
15713
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter = function(message, writer) {
|
|
13614
15714
|
var f = undefined;
|
|
13615
|
-
f = message.
|
|
13616
|
-
if (f
|
|
13617
|
-
writer.
|
|
15715
|
+
f = message.getRubric();
|
|
15716
|
+
if (f !== 0.0) {
|
|
15717
|
+
writer.writeEnum(
|
|
13618
15718
|
1,
|
|
13619
15719
|
f
|
|
13620
15720
|
);
|
|
13621
15721
|
}
|
|
13622
|
-
f = message.
|
|
15722
|
+
f = message.getUpdateUserId();
|
|
13623
15723
|
if (f.length > 0) {
|
|
13624
15724
|
writer.writeString(
|
|
13625
15725
|
2,
|
|
13626
15726
|
f
|
|
13627
15727
|
);
|
|
13628
15728
|
}
|
|
13629
|
-
f = message.
|
|
13630
|
-
if (f
|
|
13631
|
-
writer.
|
|
15729
|
+
f = message.getUpdateTime();
|
|
15730
|
+
if (f != null) {
|
|
15731
|
+
writer.writeMessage(
|
|
13632
15732
|
3,
|
|
13633
|
-
f
|
|
13634
|
-
|
|
13635
|
-
}
|
|
13636
|
-
f = message.getRating();
|
|
13637
|
-
if (f !== 0.0) {
|
|
13638
|
-
writer.writeEnum(
|
|
13639
|
-
4,
|
|
13640
|
-
f
|
|
15733
|
+
f,
|
|
15734
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
13641
15735
|
);
|
|
13642
15736
|
}
|
|
13643
15737
|
};
|
|
13644
15738
|
|
|
13645
15739
|
|
|
13646
15740
|
/**
|
|
13647
|
-
* optional
|
|
13648
|
-
* @return {
|
|
15741
|
+
* optional AISessionScoreRubric rubric = 1;
|
|
15742
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
13649
15743
|
*/
|
|
13650
|
-
proto.gateway.web.v1.
|
|
13651
|
-
return /** @type {
|
|
15744
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.getRubric = function() {
|
|
15745
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
13652
15746
|
};
|
|
13653
15747
|
|
|
13654
15748
|
|
|
13655
15749
|
/**
|
|
13656
|
-
* @param {
|
|
13657
|
-
* @return {!proto.gateway.web.v1.
|
|
15750
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
15751
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
13658
15752
|
*/
|
|
13659
|
-
proto.gateway.web.v1.
|
|
13660
|
-
return jspb.Message.
|
|
15753
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.setRubric = function(value) {
|
|
15754
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
13661
15755
|
};
|
|
13662
15756
|
|
|
13663
15757
|
|
|
13664
15758
|
/**
|
|
13665
|
-
* optional string
|
|
15759
|
+
* optional string update_user_id = 2;
|
|
13666
15760
|
* @return {string}
|
|
13667
15761
|
*/
|
|
13668
|
-
proto.gateway.web.v1.
|
|
15762
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.getUpdateUserId = function() {
|
|
13669
15763
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13670
15764
|
};
|
|
13671
15765
|
|
|
13672
15766
|
|
|
13673
15767
|
/**
|
|
13674
15768
|
* @param {string} value
|
|
13675
|
-
* @return {!proto.gateway.web.v1.
|
|
15769
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
13676
15770
|
*/
|
|
13677
|
-
proto.gateway.web.v1.
|
|
15771
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.setUpdateUserId = function(value) {
|
|
13678
15772
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13679
15773
|
};
|
|
13680
15774
|
|
|
13681
15775
|
|
|
13682
15776
|
/**
|
|
13683
|
-
* optional
|
|
13684
|
-
* @return {
|
|
15777
|
+
* optional google.protobuf.Timestamp update_time = 3;
|
|
15778
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
13685
15779
|
*/
|
|
13686
|
-
proto.gateway.web.v1.
|
|
13687
|
-
return /** @type
|
|
15780
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.getUpdateTime = function() {
|
|
15781
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
15782
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
13688
15783
|
};
|
|
13689
15784
|
|
|
13690
15785
|
|
|
13691
15786
|
/**
|
|
13692
|
-
* @param {
|
|
13693
|
-
* @return {!proto.gateway.web.v1.
|
|
13694
|
-
|
|
13695
|
-
proto.gateway.web.v1.
|
|
13696
|
-
return jspb.Message.
|
|
15787
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
15788
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
15789
|
+
*/
|
|
15790
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.setUpdateTime = function(value) {
|
|
15791
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
13697
15792
|
};
|
|
13698
15793
|
|
|
13699
15794
|
|
|
13700
15795
|
/**
|
|
13701
|
-
*
|
|
13702
|
-
* @return {!proto.gateway.web.v1.
|
|
15796
|
+
* Clears the message field making it undefined.
|
|
15797
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
13703
15798
|
*/
|
|
13704
|
-
proto.gateway.web.v1.
|
|
13705
|
-
return
|
|
15799
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.clearUpdateTime = function() {
|
|
15800
|
+
return this.setUpdateTime(undefined);
|
|
13706
15801
|
};
|
|
13707
15802
|
|
|
13708
15803
|
|
|
13709
15804
|
/**
|
|
13710
|
-
*
|
|
13711
|
-
* @return {
|
|
15805
|
+
* Returns whether this field is set.
|
|
15806
|
+
* @return {boolean}
|
|
13712
15807
|
*/
|
|
13713
|
-
proto.gateway.web.v1.
|
|
13714
|
-
return jspb.Message.
|
|
15808
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.hasUpdateTime = function() {
|
|
15809
|
+
return jspb.Message.getField(this, 3) != null;
|
|
13715
15810
|
};
|
|
13716
15811
|
|
|
13717
15812
|
|
|
@@ -42543,7 +44638,8 @@ summary: (f = msg.getSummary()) && proto.gateway.web.v1.AISessionScoreSummary.to
|
|
|
42543
44638
|
model: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
42544
44639
|
scoreVersion: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
42545
44640
|
inputSessionVersion: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
42546
|
-
scoredAt: (f = msg.getScoredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
44641
|
+
scoredAt: (f = msg.getScoredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
44642
|
+
rubric: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
42547
44643
|
};
|
|
42548
44644
|
|
|
42549
44645
|
if (includeInstance) {
|
|
@@ -42615,6 +44711,10 @@ proto.gateway.web.v1.AISessionScore.deserializeBinaryFromReader = function(msg,
|
|
|
42615
44711
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
42616
44712
|
msg.setScoredAt(value);
|
|
42617
44713
|
break;
|
|
44714
|
+
case 9:
|
|
44715
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
44716
|
+
msg.setRubric(value);
|
|
44717
|
+
break;
|
|
42618
44718
|
default:
|
|
42619
44719
|
reader.skipField();
|
|
42620
44720
|
break;
|
|
@@ -42703,6 +44803,13 @@ proto.gateway.web.v1.AISessionScore.serializeBinaryToWriter = function(message,
|
|
|
42703
44803
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
42704
44804
|
);
|
|
42705
44805
|
}
|
|
44806
|
+
f = message.getRubric();
|
|
44807
|
+
if (f !== 0.0) {
|
|
44808
|
+
writer.writeEnum(
|
|
44809
|
+
9,
|
|
44810
|
+
f
|
|
44811
|
+
);
|
|
44812
|
+
}
|
|
42706
44813
|
};
|
|
42707
44814
|
|
|
42708
44815
|
|
|
@@ -42908,6 +45015,24 @@ proto.gateway.web.v1.AISessionScore.prototype.hasScoredAt = function() {
|
|
|
42908
45015
|
};
|
|
42909
45016
|
|
|
42910
45017
|
|
|
45018
|
+
/**
|
|
45019
|
+
* optional AISessionScoreRubric rubric = 9;
|
|
45020
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
45021
|
+
*/
|
|
45022
|
+
proto.gateway.web.v1.AISessionScore.prototype.getRubric = function() {
|
|
45023
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
45024
|
+
};
|
|
45025
|
+
|
|
45026
|
+
|
|
45027
|
+
/**
|
|
45028
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
45029
|
+
* @return {!proto.gateway.web.v1.AISessionScore} returns this
|
|
45030
|
+
*/
|
|
45031
|
+
proto.gateway.web.v1.AISessionScore.prototype.setRubric = function(value) {
|
|
45032
|
+
return jspb.Message.setProto3EnumField(this, 9, value);
|
|
45033
|
+
};
|
|
45034
|
+
|
|
45035
|
+
|
|
42911
45036
|
|
|
42912
45037
|
/**
|
|
42913
45038
|
* List of repeated fields within this message type.
|
|
@@ -61926,6 +64051,19 @@ proto.gateway.web.v1.AILabelRating = {
|
|
|
61926
64051
|
AI_LABEL_RATING_BAD: 3
|
|
61927
64052
|
};
|
|
61928
64053
|
|
|
64054
|
+
/**
|
|
64055
|
+
* @enum {number}
|
|
64056
|
+
*/
|
|
64057
|
+
proto.gateway.web.v1.AISessionScoreRubric = {
|
|
64058
|
+
AI_SESSION_SCORE_RUBRIC_UNSPECIFIED: 0,
|
|
64059
|
+
AI_SESSION_SCORE_RUBRIC_CUSTOM: 1,
|
|
64060
|
+
AI_SESSION_SCORE_RUBRIC_STANDARD: 2,
|
|
64061
|
+
AI_SESSION_SCORE_RUBRIC_TOKEN_EFFICIENCY: 3,
|
|
64062
|
+
AI_SESSION_SCORE_RUBRIC_SKILLED_USE: 4,
|
|
64063
|
+
AI_SESSION_SCORE_RUBRIC_QUALITY: 5,
|
|
64064
|
+
AI_SESSION_SCORE_RUBRIC_OWNERSHIP: 6
|
|
64065
|
+
};
|
|
64066
|
+
|
|
61929
64067
|
/**
|
|
61930
64068
|
* @enum {number}
|
|
61931
64069
|
*/
|