@miradorlabs/web-grpc 4.29.0 → 4.30.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
|
|
@@ -12800,16 +12999,1960 @@ proto.gateway.web.v1.GetLabelCatalogRequest.serializeBinaryToWriter = function(m
|
|
|
12800
12999
|
* optional string organization_id = 1;
|
|
12801
13000
|
* @return {string}
|
|
12802
13001
|
*/
|
|
12803
|
-
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getOrganizationId = function() {
|
|
13002
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getOrganizationId = function() {
|
|
13003
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13004
|
+
};
|
|
13005
|
+
|
|
13006
|
+
|
|
13007
|
+
/**
|
|
13008
|
+
* @param {string} value
|
|
13009
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogRequest} returns this
|
|
13010
|
+
*/
|
|
13011
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setOrganizationId = function(value) {
|
|
13012
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13013
|
+
};
|
|
13014
|
+
|
|
13015
|
+
|
|
13016
|
+
/**
|
|
13017
|
+
* optional string project_id = 2;
|
|
13018
|
+
* @return {string}
|
|
13019
|
+
*/
|
|
13020
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getProjectId = function() {
|
|
13021
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13022
|
+
};
|
|
13023
|
+
|
|
13024
|
+
|
|
13025
|
+
/**
|
|
13026
|
+
* @param {string} value
|
|
13027
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogRequest} returns this
|
|
13028
|
+
*/
|
|
13029
|
+
proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setProjectId = function(value) {
|
|
13030
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13031
|
+
};
|
|
13032
|
+
|
|
13033
|
+
|
|
13034
|
+
|
|
13035
|
+
|
|
13036
|
+
|
|
13037
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13038
|
+
/**
|
|
13039
|
+
* Creates an object representation of this proto.
|
|
13040
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13041
|
+
* Optional fields that are not set will be set to undefined.
|
|
13042
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13043
|
+
* For the list of reserved names please see:
|
|
13044
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13045
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13046
|
+
* JSPB instance for transitional soy proto support:
|
|
13047
|
+
* http://goto/soy-param-migration
|
|
13048
|
+
* @return {!Object}
|
|
13049
|
+
*/
|
|
13050
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.toObject = function(opt_includeInstance) {
|
|
13051
|
+
return proto.gateway.web.v1.GetLabelCatalogResponse.toObject(opt_includeInstance, this);
|
|
13052
|
+
};
|
|
13053
|
+
|
|
13054
|
+
|
|
13055
|
+
/**
|
|
13056
|
+
* Static version of the {@see toObject} method.
|
|
13057
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13058
|
+
* the JSPB instance for transitional soy proto support:
|
|
13059
|
+
* http://goto/soy-param-migration
|
|
13060
|
+
* @param {!proto.gateway.web.v1.GetLabelCatalogResponse} msg The msg instance to transform.
|
|
13061
|
+
* @return {!Object}
|
|
13062
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13063
|
+
*/
|
|
13064
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.toObject = function(includeInstance, msg) {
|
|
13065
|
+
var f, obj = {
|
|
13066
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
13067
|
+
sessionLabels: (f = msg.getSessionLabels()) && proto.gateway.web.v1.AILabelSet.toObject(includeInstance, f),
|
|
13068
|
+
promptLabels: (f = msg.getPromptLabels()) && proto.gateway.web.v1.AILabelSet.toObject(includeInstance, f)
|
|
13069
|
+
};
|
|
13070
|
+
|
|
13071
|
+
if (includeInstance) {
|
|
13072
|
+
obj.$jspbMessageInstance = msg;
|
|
13073
|
+
}
|
|
13074
|
+
return obj;
|
|
13075
|
+
};
|
|
13076
|
+
}
|
|
13077
|
+
|
|
13078
|
+
|
|
13079
|
+
/**
|
|
13080
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13081
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13082
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse}
|
|
13083
|
+
*/
|
|
13084
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinary = function(bytes) {
|
|
13085
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13086
|
+
var msg = new proto.gateway.web.v1.GetLabelCatalogResponse;
|
|
13087
|
+
return proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader(msg, reader);
|
|
13088
|
+
};
|
|
13089
|
+
|
|
13090
|
+
|
|
13091
|
+
/**
|
|
13092
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13093
|
+
* given reader into the given message object.
|
|
13094
|
+
* @param {!proto.gateway.web.v1.GetLabelCatalogResponse} msg The message object to deserialize into.
|
|
13095
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13096
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse}
|
|
13097
|
+
*/
|
|
13098
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
13099
|
+
while (reader.nextField()) {
|
|
13100
|
+
if (reader.isEndGroup()) {
|
|
13101
|
+
break;
|
|
13102
|
+
}
|
|
13103
|
+
var field = reader.getFieldNumber();
|
|
13104
|
+
switch (field) {
|
|
13105
|
+
case 1:
|
|
13106
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
13107
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
13108
|
+
msg.setStatus(value);
|
|
13109
|
+
break;
|
|
13110
|
+
case 2:
|
|
13111
|
+
var value = new proto.gateway.web.v1.AILabelSet;
|
|
13112
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader);
|
|
13113
|
+
msg.setSessionLabels(value);
|
|
13114
|
+
break;
|
|
13115
|
+
case 3:
|
|
13116
|
+
var value = new proto.gateway.web.v1.AILabelSet;
|
|
13117
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader);
|
|
13118
|
+
msg.setPromptLabels(value);
|
|
13119
|
+
break;
|
|
13120
|
+
default:
|
|
13121
|
+
reader.skipField();
|
|
13122
|
+
break;
|
|
13123
|
+
}
|
|
13124
|
+
}
|
|
13125
|
+
return msg;
|
|
13126
|
+
};
|
|
13127
|
+
|
|
13128
|
+
|
|
13129
|
+
/**
|
|
13130
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13131
|
+
* @return {!Uint8Array}
|
|
13132
|
+
*/
|
|
13133
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.serializeBinary = function() {
|
|
13134
|
+
var writer = new jspb.BinaryWriter();
|
|
13135
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter(this, writer);
|
|
13136
|
+
return writer.getResultBuffer();
|
|
13137
|
+
};
|
|
13138
|
+
|
|
13139
|
+
|
|
13140
|
+
/**
|
|
13141
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13142
|
+
* format), writing to the given BinaryWriter.
|
|
13143
|
+
* @param {!proto.gateway.web.v1.GetLabelCatalogResponse} message
|
|
13144
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13145
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13146
|
+
*/
|
|
13147
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13148
|
+
var f = undefined;
|
|
13149
|
+
f = message.getStatus();
|
|
13150
|
+
if (f != null) {
|
|
13151
|
+
writer.writeMessage(
|
|
13152
|
+
1,
|
|
13153
|
+
f,
|
|
13154
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
13155
|
+
);
|
|
13156
|
+
}
|
|
13157
|
+
f = message.getSessionLabels();
|
|
13158
|
+
if (f != null) {
|
|
13159
|
+
writer.writeMessage(
|
|
13160
|
+
2,
|
|
13161
|
+
f,
|
|
13162
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter
|
|
13163
|
+
);
|
|
13164
|
+
}
|
|
13165
|
+
f = message.getPromptLabels();
|
|
13166
|
+
if (f != null) {
|
|
13167
|
+
writer.writeMessage(
|
|
13168
|
+
3,
|
|
13169
|
+
f,
|
|
13170
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter
|
|
13171
|
+
);
|
|
13172
|
+
}
|
|
13173
|
+
};
|
|
13174
|
+
|
|
13175
|
+
|
|
13176
|
+
/**
|
|
13177
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
13178
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
13179
|
+
*/
|
|
13180
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getStatus = function() {
|
|
13181
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
13182
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
13183
|
+
};
|
|
13184
|
+
|
|
13185
|
+
|
|
13186
|
+
/**
|
|
13187
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
13188
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13189
|
+
*/
|
|
13190
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setStatus = function(value) {
|
|
13191
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
13192
|
+
};
|
|
13193
|
+
|
|
13194
|
+
|
|
13195
|
+
/**
|
|
13196
|
+
* Clears the message field making it undefined.
|
|
13197
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13198
|
+
*/
|
|
13199
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearStatus = function() {
|
|
13200
|
+
return this.setStatus(undefined);
|
|
13201
|
+
};
|
|
13202
|
+
|
|
13203
|
+
|
|
13204
|
+
/**
|
|
13205
|
+
* Returns whether this field is set.
|
|
13206
|
+
* @return {boolean}
|
|
13207
|
+
*/
|
|
13208
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasStatus = function() {
|
|
13209
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13210
|
+
};
|
|
13211
|
+
|
|
13212
|
+
|
|
13213
|
+
/**
|
|
13214
|
+
* optional AILabelSet session_labels = 2;
|
|
13215
|
+
* @return {?proto.gateway.web.v1.AILabelSet}
|
|
13216
|
+
*/
|
|
13217
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getSessionLabels = function() {
|
|
13218
|
+
return /** @type{?proto.gateway.web.v1.AILabelSet} */ (
|
|
13219
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AILabelSet, 2));
|
|
13220
|
+
};
|
|
13221
|
+
|
|
13222
|
+
|
|
13223
|
+
/**
|
|
13224
|
+
* @param {?proto.gateway.web.v1.AILabelSet|undefined} value
|
|
13225
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13226
|
+
*/
|
|
13227
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setSessionLabels = function(value) {
|
|
13228
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
13229
|
+
};
|
|
13230
|
+
|
|
13231
|
+
|
|
13232
|
+
/**
|
|
13233
|
+
* Clears the message field making it undefined.
|
|
13234
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13235
|
+
*/
|
|
13236
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearSessionLabels = function() {
|
|
13237
|
+
return this.setSessionLabels(undefined);
|
|
13238
|
+
};
|
|
13239
|
+
|
|
13240
|
+
|
|
13241
|
+
/**
|
|
13242
|
+
* Returns whether this field is set.
|
|
13243
|
+
* @return {boolean}
|
|
13244
|
+
*/
|
|
13245
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasSessionLabels = function() {
|
|
13246
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13247
|
+
};
|
|
13248
|
+
|
|
13249
|
+
|
|
13250
|
+
/**
|
|
13251
|
+
* optional AILabelSet prompt_labels = 3;
|
|
13252
|
+
* @return {?proto.gateway.web.v1.AILabelSet}
|
|
13253
|
+
*/
|
|
13254
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getPromptLabels = function() {
|
|
13255
|
+
return /** @type{?proto.gateway.web.v1.AILabelSet} */ (
|
|
13256
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AILabelSet, 3));
|
|
13257
|
+
};
|
|
13258
|
+
|
|
13259
|
+
|
|
13260
|
+
/**
|
|
13261
|
+
* @param {?proto.gateway.web.v1.AILabelSet|undefined} value
|
|
13262
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13263
|
+
*/
|
|
13264
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setPromptLabels = function(value) {
|
|
13265
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
13266
|
+
};
|
|
13267
|
+
|
|
13268
|
+
|
|
13269
|
+
/**
|
|
13270
|
+
* Clears the message field making it undefined.
|
|
13271
|
+
* @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
|
|
13272
|
+
*/
|
|
13273
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearPromptLabels = function() {
|
|
13274
|
+
return this.setPromptLabels(undefined);
|
|
13275
|
+
};
|
|
13276
|
+
|
|
13277
|
+
|
|
13278
|
+
/**
|
|
13279
|
+
* Returns whether this field is set.
|
|
13280
|
+
* @return {boolean}
|
|
13281
|
+
*/
|
|
13282
|
+
proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasPromptLabels = function() {
|
|
13283
|
+
return jspb.Message.getField(this, 3) != null;
|
|
13284
|
+
};
|
|
13285
|
+
|
|
13286
|
+
|
|
13287
|
+
|
|
13288
|
+
/**
|
|
13289
|
+
* List of repeated fields within this message type.
|
|
13290
|
+
* @private {!Array<number>}
|
|
13291
|
+
* @const
|
|
13292
|
+
*/
|
|
13293
|
+
proto.gateway.web.v1.AILabelSet.repeatedFields_ = [2];
|
|
13294
|
+
|
|
13295
|
+
|
|
13296
|
+
|
|
13297
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13298
|
+
/**
|
|
13299
|
+
* Creates an object representation of this proto.
|
|
13300
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13301
|
+
* Optional fields that are not set will be set to undefined.
|
|
13302
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13303
|
+
* For the list of reserved names please see:
|
|
13304
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13305
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13306
|
+
* JSPB instance for transitional soy proto support:
|
|
13307
|
+
* http://goto/soy-param-migration
|
|
13308
|
+
* @return {!Object}
|
|
13309
|
+
*/
|
|
13310
|
+
proto.gateway.web.v1.AILabelSet.prototype.toObject = function(opt_includeInstance) {
|
|
13311
|
+
return proto.gateway.web.v1.AILabelSet.toObject(opt_includeInstance, this);
|
|
13312
|
+
};
|
|
13313
|
+
|
|
13314
|
+
|
|
13315
|
+
/**
|
|
13316
|
+
* Static version of the {@see toObject} method.
|
|
13317
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13318
|
+
* the JSPB instance for transitional soy proto support:
|
|
13319
|
+
* http://goto/soy-param-migration
|
|
13320
|
+
* @param {!proto.gateway.web.v1.AILabelSet} msg The msg instance to transform.
|
|
13321
|
+
* @return {!Object}
|
|
13322
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13323
|
+
*/
|
|
13324
|
+
proto.gateway.web.v1.AILabelSet.toObject = function(includeInstance, msg) {
|
|
13325
|
+
var f, obj = {
|
|
13326
|
+
version: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13327
|
+
dimensionsList: jspb.Message.toObjectList(msg.getDimensionsList(),
|
|
13328
|
+
proto.gateway.web.v1.AILabelDimension.toObject, includeInstance)
|
|
13329
|
+
};
|
|
13330
|
+
|
|
13331
|
+
if (includeInstance) {
|
|
13332
|
+
obj.$jspbMessageInstance = msg;
|
|
13333
|
+
}
|
|
13334
|
+
return obj;
|
|
13335
|
+
};
|
|
13336
|
+
}
|
|
13337
|
+
|
|
13338
|
+
|
|
13339
|
+
/**
|
|
13340
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13341
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13342
|
+
* @return {!proto.gateway.web.v1.AILabelSet}
|
|
13343
|
+
*/
|
|
13344
|
+
proto.gateway.web.v1.AILabelSet.deserializeBinary = function(bytes) {
|
|
13345
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13346
|
+
var msg = new proto.gateway.web.v1.AILabelSet;
|
|
13347
|
+
return proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader(msg, reader);
|
|
13348
|
+
};
|
|
13349
|
+
|
|
13350
|
+
|
|
13351
|
+
/**
|
|
13352
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13353
|
+
* given reader into the given message object.
|
|
13354
|
+
* @param {!proto.gateway.web.v1.AILabelSet} msg The message object to deserialize into.
|
|
13355
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13356
|
+
* @return {!proto.gateway.web.v1.AILabelSet}
|
|
13357
|
+
*/
|
|
13358
|
+
proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader = function(msg, reader) {
|
|
13359
|
+
while (reader.nextField()) {
|
|
13360
|
+
if (reader.isEndGroup()) {
|
|
13361
|
+
break;
|
|
13362
|
+
}
|
|
13363
|
+
var field = reader.getFieldNumber();
|
|
13364
|
+
switch (field) {
|
|
13365
|
+
case 1:
|
|
13366
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13367
|
+
msg.setVersion(value);
|
|
13368
|
+
break;
|
|
13369
|
+
case 2:
|
|
13370
|
+
var value = new proto.gateway.web.v1.AILabelDimension;
|
|
13371
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader);
|
|
13372
|
+
msg.addDimensions(value);
|
|
13373
|
+
break;
|
|
13374
|
+
default:
|
|
13375
|
+
reader.skipField();
|
|
13376
|
+
break;
|
|
13377
|
+
}
|
|
13378
|
+
}
|
|
13379
|
+
return msg;
|
|
13380
|
+
};
|
|
13381
|
+
|
|
13382
|
+
|
|
13383
|
+
/**
|
|
13384
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13385
|
+
* @return {!Uint8Array}
|
|
13386
|
+
*/
|
|
13387
|
+
proto.gateway.web.v1.AILabelSet.prototype.serializeBinary = function() {
|
|
13388
|
+
var writer = new jspb.BinaryWriter();
|
|
13389
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter(this, writer);
|
|
13390
|
+
return writer.getResultBuffer();
|
|
13391
|
+
};
|
|
13392
|
+
|
|
13393
|
+
|
|
13394
|
+
/**
|
|
13395
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13396
|
+
* format), writing to the given BinaryWriter.
|
|
13397
|
+
* @param {!proto.gateway.web.v1.AILabelSet} message
|
|
13398
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13399
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13400
|
+
*/
|
|
13401
|
+
proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter = function(message, writer) {
|
|
13402
|
+
var f = undefined;
|
|
13403
|
+
f = message.getVersion();
|
|
13404
|
+
if (f.length > 0) {
|
|
13405
|
+
writer.writeString(
|
|
13406
|
+
1,
|
|
13407
|
+
f
|
|
13408
|
+
);
|
|
13409
|
+
}
|
|
13410
|
+
f = message.getDimensionsList();
|
|
13411
|
+
if (f.length > 0) {
|
|
13412
|
+
writer.writeRepeatedMessage(
|
|
13413
|
+
2,
|
|
13414
|
+
f,
|
|
13415
|
+
proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter
|
|
13416
|
+
);
|
|
13417
|
+
}
|
|
13418
|
+
};
|
|
13419
|
+
|
|
13420
|
+
|
|
13421
|
+
/**
|
|
13422
|
+
* optional string version = 1;
|
|
13423
|
+
* @return {string}
|
|
13424
|
+
*/
|
|
13425
|
+
proto.gateway.web.v1.AILabelSet.prototype.getVersion = function() {
|
|
13426
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13427
|
+
};
|
|
13428
|
+
|
|
13429
|
+
|
|
13430
|
+
/**
|
|
13431
|
+
* @param {string} value
|
|
13432
|
+
* @return {!proto.gateway.web.v1.AILabelSet} returns this
|
|
13433
|
+
*/
|
|
13434
|
+
proto.gateway.web.v1.AILabelSet.prototype.setVersion = function(value) {
|
|
13435
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13436
|
+
};
|
|
13437
|
+
|
|
13438
|
+
|
|
13439
|
+
/**
|
|
13440
|
+
* repeated AILabelDimension dimensions = 2;
|
|
13441
|
+
* @return {!Array<!proto.gateway.web.v1.AILabelDimension>}
|
|
13442
|
+
*/
|
|
13443
|
+
proto.gateway.web.v1.AILabelSet.prototype.getDimensionsList = function() {
|
|
13444
|
+
return /** @type{!Array<!proto.gateway.web.v1.AILabelDimension>} */ (
|
|
13445
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelDimension, 2));
|
|
13446
|
+
};
|
|
13447
|
+
|
|
13448
|
+
|
|
13449
|
+
/**
|
|
13450
|
+
* @param {!Array<!proto.gateway.web.v1.AILabelDimension>} value
|
|
13451
|
+
* @return {!proto.gateway.web.v1.AILabelSet} returns this
|
|
13452
|
+
*/
|
|
13453
|
+
proto.gateway.web.v1.AILabelSet.prototype.setDimensionsList = function(value) {
|
|
13454
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
13455
|
+
};
|
|
13456
|
+
|
|
13457
|
+
|
|
13458
|
+
/**
|
|
13459
|
+
* @param {!proto.gateway.web.v1.AILabelDimension=} opt_value
|
|
13460
|
+
* @param {number=} opt_index
|
|
13461
|
+
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
13462
|
+
*/
|
|
13463
|
+
proto.gateway.web.v1.AILabelSet.prototype.addDimensions = function(opt_value, opt_index) {
|
|
13464
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AILabelDimension, opt_index);
|
|
13465
|
+
};
|
|
13466
|
+
|
|
13467
|
+
|
|
13468
|
+
/**
|
|
13469
|
+
* Clears the list making it empty but non-null.
|
|
13470
|
+
* @return {!proto.gateway.web.v1.AILabelSet} returns this
|
|
13471
|
+
*/
|
|
13472
|
+
proto.gateway.web.v1.AILabelSet.prototype.clearDimensionsList = function() {
|
|
13473
|
+
return this.setDimensionsList([]);
|
|
13474
|
+
};
|
|
13475
|
+
|
|
13476
|
+
|
|
13477
|
+
|
|
13478
|
+
/**
|
|
13479
|
+
* List of repeated fields within this message type.
|
|
13480
|
+
* @private {!Array<number>}
|
|
13481
|
+
* @const
|
|
13482
|
+
*/
|
|
13483
|
+
proto.gateway.web.v1.AILabelDimension.repeatedFields_ = [3];
|
|
13484
|
+
|
|
13485
|
+
|
|
13486
|
+
|
|
13487
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13488
|
+
/**
|
|
13489
|
+
* Creates an object representation of this proto.
|
|
13490
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13491
|
+
* Optional fields that are not set will be set to undefined.
|
|
13492
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13493
|
+
* For the list of reserved names please see:
|
|
13494
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13495
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13496
|
+
* JSPB instance for transitional soy proto support:
|
|
13497
|
+
* http://goto/soy-param-migration
|
|
13498
|
+
* @return {!Object}
|
|
13499
|
+
*/
|
|
13500
|
+
proto.gateway.web.v1.AILabelDimension.prototype.toObject = function(opt_includeInstance) {
|
|
13501
|
+
return proto.gateway.web.v1.AILabelDimension.toObject(opt_includeInstance, this);
|
|
13502
|
+
};
|
|
13503
|
+
|
|
13504
|
+
|
|
13505
|
+
/**
|
|
13506
|
+
* Static version of the {@see toObject} method.
|
|
13507
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13508
|
+
* the JSPB instance for transitional soy proto support:
|
|
13509
|
+
* http://goto/soy-param-migration
|
|
13510
|
+
* @param {!proto.gateway.web.v1.AILabelDimension} msg The msg instance to transform.
|
|
13511
|
+
* @return {!Object}
|
|
13512
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13513
|
+
*/
|
|
13514
|
+
proto.gateway.web.v1.AILabelDimension.toObject = function(includeInstance, msg) {
|
|
13515
|
+
var f, obj = {
|
|
13516
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13517
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13518
|
+
valuesList: jspb.Message.toObjectList(msg.getValuesList(),
|
|
13519
|
+
proto.gateway.web.v1.AILabelValue.toObject, includeInstance)
|
|
13520
|
+
};
|
|
13521
|
+
|
|
13522
|
+
if (includeInstance) {
|
|
13523
|
+
obj.$jspbMessageInstance = msg;
|
|
13524
|
+
}
|
|
13525
|
+
return obj;
|
|
13526
|
+
};
|
|
13527
|
+
}
|
|
13528
|
+
|
|
13529
|
+
|
|
13530
|
+
/**
|
|
13531
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13532
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13533
|
+
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
13534
|
+
*/
|
|
13535
|
+
proto.gateway.web.v1.AILabelDimension.deserializeBinary = function(bytes) {
|
|
13536
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13537
|
+
var msg = new proto.gateway.web.v1.AILabelDimension;
|
|
13538
|
+
return proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader(msg, reader);
|
|
13539
|
+
};
|
|
13540
|
+
|
|
13541
|
+
|
|
13542
|
+
/**
|
|
13543
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13544
|
+
* given reader into the given message object.
|
|
13545
|
+
* @param {!proto.gateway.web.v1.AILabelDimension} msg The message object to deserialize into.
|
|
13546
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13547
|
+
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
13548
|
+
*/
|
|
13549
|
+
proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader = function(msg, reader) {
|
|
13550
|
+
while (reader.nextField()) {
|
|
13551
|
+
if (reader.isEndGroup()) {
|
|
13552
|
+
break;
|
|
13553
|
+
}
|
|
13554
|
+
var field = reader.getFieldNumber();
|
|
13555
|
+
switch (field) {
|
|
13556
|
+
case 1:
|
|
13557
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13558
|
+
msg.setKey(value);
|
|
13559
|
+
break;
|
|
13560
|
+
case 2:
|
|
13561
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13562
|
+
msg.setName(value);
|
|
13563
|
+
break;
|
|
13564
|
+
case 3:
|
|
13565
|
+
var value = new proto.gateway.web.v1.AILabelValue;
|
|
13566
|
+
reader.readMessage(value,proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader);
|
|
13567
|
+
msg.addValues(value);
|
|
13568
|
+
break;
|
|
13569
|
+
default:
|
|
13570
|
+
reader.skipField();
|
|
13571
|
+
break;
|
|
13572
|
+
}
|
|
13573
|
+
}
|
|
13574
|
+
return msg;
|
|
13575
|
+
};
|
|
13576
|
+
|
|
13577
|
+
|
|
13578
|
+
/**
|
|
13579
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13580
|
+
* @return {!Uint8Array}
|
|
13581
|
+
*/
|
|
13582
|
+
proto.gateway.web.v1.AILabelDimension.prototype.serializeBinary = function() {
|
|
13583
|
+
var writer = new jspb.BinaryWriter();
|
|
13584
|
+
proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter(this, writer);
|
|
13585
|
+
return writer.getResultBuffer();
|
|
13586
|
+
};
|
|
13587
|
+
|
|
13588
|
+
|
|
13589
|
+
/**
|
|
13590
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13591
|
+
* format), writing to the given BinaryWriter.
|
|
13592
|
+
* @param {!proto.gateway.web.v1.AILabelDimension} message
|
|
13593
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13594
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13595
|
+
*/
|
|
13596
|
+
proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter = function(message, writer) {
|
|
13597
|
+
var f = undefined;
|
|
13598
|
+
f = message.getKey();
|
|
13599
|
+
if (f.length > 0) {
|
|
13600
|
+
writer.writeString(
|
|
13601
|
+
1,
|
|
13602
|
+
f
|
|
13603
|
+
);
|
|
13604
|
+
}
|
|
13605
|
+
f = message.getName();
|
|
13606
|
+
if (f.length > 0) {
|
|
13607
|
+
writer.writeString(
|
|
13608
|
+
2,
|
|
13609
|
+
f
|
|
13610
|
+
);
|
|
13611
|
+
}
|
|
13612
|
+
f = message.getValuesList();
|
|
13613
|
+
if (f.length > 0) {
|
|
13614
|
+
writer.writeRepeatedMessage(
|
|
13615
|
+
3,
|
|
13616
|
+
f,
|
|
13617
|
+
proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter
|
|
13618
|
+
);
|
|
13619
|
+
}
|
|
13620
|
+
};
|
|
13621
|
+
|
|
13622
|
+
|
|
13623
|
+
/**
|
|
13624
|
+
* optional string key = 1;
|
|
13625
|
+
* @return {string}
|
|
13626
|
+
*/
|
|
13627
|
+
proto.gateway.web.v1.AILabelDimension.prototype.getKey = function() {
|
|
13628
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13629
|
+
};
|
|
13630
|
+
|
|
13631
|
+
|
|
13632
|
+
/**
|
|
13633
|
+
* @param {string} value
|
|
13634
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13635
|
+
*/
|
|
13636
|
+
proto.gateway.web.v1.AILabelDimension.prototype.setKey = function(value) {
|
|
13637
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13638
|
+
};
|
|
13639
|
+
|
|
13640
|
+
|
|
13641
|
+
/**
|
|
13642
|
+
* optional string name = 2;
|
|
13643
|
+
* @return {string}
|
|
13644
|
+
*/
|
|
13645
|
+
proto.gateway.web.v1.AILabelDimension.prototype.getName = function() {
|
|
13646
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13647
|
+
};
|
|
13648
|
+
|
|
13649
|
+
|
|
13650
|
+
/**
|
|
13651
|
+
* @param {string} value
|
|
13652
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13653
|
+
*/
|
|
13654
|
+
proto.gateway.web.v1.AILabelDimension.prototype.setName = function(value) {
|
|
13655
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13656
|
+
};
|
|
13657
|
+
|
|
13658
|
+
|
|
13659
|
+
/**
|
|
13660
|
+
* repeated AILabelValue values = 3;
|
|
13661
|
+
* @return {!Array<!proto.gateway.web.v1.AILabelValue>}
|
|
13662
|
+
*/
|
|
13663
|
+
proto.gateway.web.v1.AILabelDimension.prototype.getValuesList = function() {
|
|
13664
|
+
return /** @type{!Array<!proto.gateway.web.v1.AILabelValue>} */ (
|
|
13665
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelValue, 3));
|
|
13666
|
+
};
|
|
13667
|
+
|
|
13668
|
+
|
|
13669
|
+
/**
|
|
13670
|
+
* @param {!Array<!proto.gateway.web.v1.AILabelValue>} value
|
|
13671
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13672
|
+
*/
|
|
13673
|
+
proto.gateway.web.v1.AILabelDimension.prototype.setValuesList = function(value) {
|
|
13674
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
13675
|
+
};
|
|
13676
|
+
|
|
13677
|
+
|
|
13678
|
+
/**
|
|
13679
|
+
* @param {!proto.gateway.web.v1.AILabelValue=} opt_value
|
|
13680
|
+
* @param {number=} opt_index
|
|
13681
|
+
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
13682
|
+
*/
|
|
13683
|
+
proto.gateway.web.v1.AILabelDimension.prototype.addValues = function(opt_value, opt_index) {
|
|
13684
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AILabelValue, opt_index);
|
|
13685
|
+
};
|
|
13686
|
+
|
|
13687
|
+
|
|
13688
|
+
/**
|
|
13689
|
+
* Clears the list making it empty but non-null.
|
|
13690
|
+
* @return {!proto.gateway.web.v1.AILabelDimension} returns this
|
|
13691
|
+
*/
|
|
13692
|
+
proto.gateway.web.v1.AILabelDimension.prototype.clearValuesList = function() {
|
|
13693
|
+
return this.setValuesList([]);
|
|
13694
|
+
};
|
|
13695
|
+
|
|
13696
|
+
|
|
13697
|
+
|
|
13698
|
+
|
|
13699
|
+
|
|
13700
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13701
|
+
/**
|
|
13702
|
+
* Creates an object representation of this proto.
|
|
13703
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13704
|
+
* Optional fields that are not set will be set to undefined.
|
|
13705
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13706
|
+
* For the list of reserved names please see:
|
|
13707
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13708
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13709
|
+
* JSPB instance for transitional soy proto support:
|
|
13710
|
+
* http://goto/soy-param-migration
|
|
13711
|
+
* @return {!Object}
|
|
13712
|
+
*/
|
|
13713
|
+
proto.gateway.web.v1.AILabelValue.prototype.toObject = function(opt_includeInstance) {
|
|
13714
|
+
return proto.gateway.web.v1.AILabelValue.toObject(opt_includeInstance, this);
|
|
13715
|
+
};
|
|
13716
|
+
|
|
13717
|
+
|
|
13718
|
+
/**
|
|
13719
|
+
* Static version of the {@see toObject} method.
|
|
13720
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13721
|
+
* the JSPB instance for transitional soy proto support:
|
|
13722
|
+
* http://goto/soy-param-migration
|
|
13723
|
+
* @param {!proto.gateway.web.v1.AILabelValue} msg The msg instance to transform.
|
|
13724
|
+
* @return {!Object}
|
|
13725
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13726
|
+
*/
|
|
13727
|
+
proto.gateway.web.v1.AILabelValue.toObject = function(includeInstance, msg) {
|
|
13728
|
+
var f, obj = {
|
|
13729
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13730
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
13731
|
+
tooltip: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
13732
|
+
rating: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
13733
|
+
};
|
|
13734
|
+
|
|
13735
|
+
if (includeInstance) {
|
|
13736
|
+
obj.$jspbMessageInstance = msg;
|
|
13737
|
+
}
|
|
13738
|
+
return obj;
|
|
13739
|
+
};
|
|
13740
|
+
}
|
|
13741
|
+
|
|
13742
|
+
|
|
13743
|
+
/**
|
|
13744
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13745
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13746
|
+
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
13747
|
+
*/
|
|
13748
|
+
proto.gateway.web.v1.AILabelValue.deserializeBinary = function(bytes) {
|
|
13749
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13750
|
+
var msg = new proto.gateway.web.v1.AILabelValue;
|
|
13751
|
+
return proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader(msg, reader);
|
|
13752
|
+
};
|
|
13753
|
+
|
|
13754
|
+
|
|
13755
|
+
/**
|
|
13756
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13757
|
+
* given reader into the given message object.
|
|
13758
|
+
* @param {!proto.gateway.web.v1.AILabelValue} msg The message object to deserialize into.
|
|
13759
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13760
|
+
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
13761
|
+
*/
|
|
13762
|
+
proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader = function(msg, reader) {
|
|
13763
|
+
while (reader.nextField()) {
|
|
13764
|
+
if (reader.isEndGroup()) {
|
|
13765
|
+
break;
|
|
13766
|
+
}
|
|
13767
|
+
var field = reader.getFieldNumber();
|
|
13768
|
+
switch (field) {
|
|
13769
|
+
case 1:
|
|
13770
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13771
|
+
msg.setKey(value);
|
|
13772
|
+
break;
|
|
13773
|
+
case 2:
|
|
13774
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13775
|
+
msg.setName(value);
|
|
13776
|
+
break;
|
|
13777
|
+
case 3:
|
|
13778
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13779
|
+
msg.setTooltip(value);
|
|
13780
|
+
break;
|
|
13781
|
+
case 4:
|
|
13782
|
+
var value = /** @type {!proto.gateway.web.v1.AILabelRating} */ (reader.readEnum());
|
|
13783
|
+
msg.setRating(value);
|
|
13784
|
+
break;
|
|
13785
|
+
default:
|
|
13786
|
+
reader.skipField();
|
|
13787
|
+
break;
|
|
13788
|
+
}
|
|
13789
|
+
}
|
|
13790
|
+
return msg;
|
|
13791
|
+
};
|
|
13792
|
+
|
|
13793
|
+
|
|
13794
|
+
/**
|
|
13795
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13796
|
+
* @return {!Uint8Array}
|
|
13797
|
+
*/
|
|
13798
|
+
proto.gateway.web.v1.AILabelValue.prototype.serializeBinary = function() {
|
|
13799
|
+
var writer = new jspb.BinaryWriter();
|
|
13800
|
+
proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter(this, writer);
|
|
13801
|
+
return writer.getResultBuffer();
|
|
13802
|
+
};
|
|
13803
|
+
|
|
13804
|
+
|
|
13805
|
+
/**
|
|
13806
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13807
|
+
* format), writing to the given BinaryWriter.
|
|
13808
|
+
* @param {!proto.gateway.web.v1.AILabelValue} message
|
|
13809
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13810
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13811
|
+
*/
|
|
13812
|
+
proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter = function(message, writer) {
|
|
13813
|
+
var f = undefined;
|
|
13814
|
+
f = message.getKey();
|
|
13815
|
+
if (f.length > 0) {
|
|
13816
|
+
writer.writeString(
|
|
13817
|
+
1,
|
|
13818
|
+
f
|
|
13819
|
+
);
|
|
13820
|
+
}
|
|
13821
|
+
f = message.getName();
|
|
13822
|
+
if (f.length > 0) {
|
|
13823
|
+
writer.writeString(
|
|
13824
|
+
2,
|
|
13825
|
+
f
|
|
13826
|
+
);
|
|
13827
|
+
}
|
|
13828
|
+
f = message.getTooltip();
|
|
13829
|
+
if (f.length > 0) {
|
|
13830
|
+
writer.writeString(
|
|
13831
|
+
3,
|
|
13832
|
+
f
|
|
13833
|
+
);
|
|
13834
|
+
}
|
|
13835
|
+
f = message.getRating();
|
|
13836
|
+
if (f !== 0.0) {
|
|
13837
|
+
writer.writeEnum(
|
|
13838
|
+
4,
|
|
13839
|
+
f
|
|
13840
|
+
);
|
|
13841
|
+
}
|
|
13842
|
+
};
|
|
13843
|
+
|
|
13844
|
+
|
|
13845
|
+
/**
|
|
13846
|
+
* optional string key = 1;
|
|
13847
|
+
* @return {string}
|
|
13848
|
+
*/
|
|
13849
|
+
proto.gateway.web.v1.AILabelValue.prototype.getKey = function() {
|
|
13850
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13851
|
+
};
|
|
13852
|
+
|
|
13853
|
+
|
|
13854
|
+
/**
|
|
13855
|
+
* @param {string} value
|
|
13856
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13857
|
+
*/
|
|
13858
|
+
proto.gateway.web.v1.AILabelValue.prototype.setKey = function(value) {
|
|
13859
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13860
|
+
};
|
|
13861
|
+
|
|
13862
|
+
|
|
13863
|
+
/**
|
|
13864
|
+
* optional string name = 2;
|
|
13865
|
+
* @return {string}
|
|
13866
|
+
*/
|
|
13867
|
+
proto.gateway.web.v1.AILabelValue.prototype.getName = function() {
|
|
13868
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13869
|
+
};
|
|
13870
|
+
|
|
13871
|
+
|
|
13872
|
+
/**
|
|
13873
|
+
* @param {string} value
|
|
13874
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13875
|
+
*/
|
|
13876
|
+
proto.gateway.web.v1.AILabelValue.prototype.setName = function(value) {
|
|
13877
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13878
|
+
};
|
|
13879
|
+
|
|
13880
|
+
|
|
13881
|
+
/**
|
|
13882
|
+
* optional string tooltip = 3;
|
|
13883
|
+
* @return {string}
|
|
13884
|
+
*/
|
|
13885
|
+
proto.gateway.web.v1.AILabelValue.prototype.getTooltip = function() {
|
|
13886
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
13887
|
+
};
|
|
13888
|
+
|
|
13889
|
+
|
|
13890
|
+
/**
|
|
13891
|
+
* @param {string} value
|
|
13892
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13893
|
+
*/
|
|
13894
|
+
proto.gateway.web.v1.AILabelValue.prototype.setTooltip = function(value) {
|
|
13895
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
13896
|
+
};
|
|
13897
|
+
|
|
13898
|
+
|
|
13899
|
+
/**
|
|
13900
|
+
* optional AILabelRating rating = 4;
|
|
13901
|
+
* @return {!proto.gateway.web.v1.AILabelRating}
|
|
13902
|
+
*/
|
|
13903
|
+
proto.gateway.web.v1.AILabelValue.prototype.getRating = function() {
|
|
13904
|
+
return /** @type {!proto.gateway.web.v1.AILabelRating} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
13905
|
+
};
|
|
13906
|
+
|
|
13907
|
+
|
|
13908
|
+
/**
|
|
13909
|
+
* @param {!proto.gateway.web.v1.AILabelRating} value
|
|
13910
|
+
* @return {!proto.gateway.web.v1.AILabelValue} returns this
|
|
13911
|
+
*/
|
|
13912
|
+
proto.gateway.web.v1.AILabelValue.prototype.setRating = function(value) {
|
|
13913
|
+
return jspb.Message.setProto3EnumField(this, 4, value);
|
|
13914
|
+
};
|
|
13915
|
+
|
|
13916
|
+
|
|
13917
|
+
|
|
13918
|
+
|
|
13919
|
+
|
|
13920
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13921
|
+
/**
|
|
13922
|
+
* Creates an object representation of this proto.
|
|
13923
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13924
|
+
* Optional fields that are not set will be set to undefined.
|
|
13925
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13926
|
+
* For the list of reserved names please see:
|
|
13927
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13928
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13929
|
+
* JSPB instance for transitional soy proto support:
|
|
13930
|
+
* http://goto/soy-param-migration
|
|
13931
|
+
* @return {!Object}
|
|
13932
|
+
*/
|
|
13933
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.toObject = function(opt_includeInstance) {
|
|
13934
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.toObject(opt_includeInstance, this);
|
|
13935
|
+
};
|
|
13936
|
+
|
|
13937
|
+
|
|
13938
|
+
/**
|
|
13939
|
+
* Static version of the {@see toObject} method.
|
|
13940
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13941
|
+
* the JSPB instance for transitional soy proto support:
|
|
13942
|
+
* http://goto/soy-param-migration
|
|
13943
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} msg The msg instance to transform.
|
|
13944
|
+
* @return {!Object}
|
|
13945
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13946
|
+
*/
|
|
13947
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.toObject = function(includeInstance, msg) {
|
|
13948
|
+
var f, obj = {
|
|
13949
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
13950
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
13951
|
+
};
|
|
13952
|
+
|
|
13953
|
+
if (includeInstance) {
|
|
13954
|
+
obj.$jspbMessageInstance = msg;
|
|
13955
|
+
}
|
|
13956
|
+
return obj;
|
|
13957
|
+
};
|
|
13958
|
+
}
|
|
13959
|
+
|
|
13960
|
+
|
|
13961
|
+
/**
|
|
13962
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13963
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13964
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest}
|
|
13965
|
+
*/
|
|
13966
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.deserializeBinary = function(bytes) {
|
|
13967
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13968
|
+
var msg = new proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest;
|
|
13969
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.deserializeBinaryFromReader(msg, reader);
|
|
13970
|
+
};
|
|
13971
|
+
|
|
13972
|
+
|
|
13973
|
+
/**
|
|
13974
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13975
|
+
* given reader into the given message object.
|
|
13976
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} msg The message object to deserialize into.
|
|
13977
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13978
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest}
|
|
13979
|
+
*/
|
|
13980
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13981
|
+
while (reader.nextField()) {
|
|
13982
|
+
if (reader.isEndGroup()) {
|
|
13983
|
+
break;
|
|
13984
|
+
}
|
|
13985
|
+
var field = reader.getFieldNumber();
|
|
13986
|
+
switch (field) {
|
|
13987
|
+
case 1:
|
|
13988
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13989
|
+
msg.setOrganizationId(value);
|
|
13990
|
+
break;
|
|
13991
|
+
case 2:
|
|
13992
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13993
|
+
msg.setProjectId(value);
|
|
13994
|
+
break;
|
|
13995
|
+
default:
|
|
13996
|
+
reader.skipField();
|
|
13997
|
+
break;
|
|
13998
|
+
}
|
|
13999
|
+
}
|
|
14000
|
+
return msg;
|
|
14001
|
+
};
|
|
14002
|
+
|
|
14003
|
+
|
|
14004
|
+
/**
|
|
14005
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14006
|
+
* @return {!Uint8Array}
|
|
14007
|
+
*/
|
|
14008
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.serializeBinary = function() {
|
|
14009
|
+
var writer = new jspb.BinaryWriter();
|
|
14010
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.serializeBinaryToWriter(this, writer);
|
|
14011
|
+
return writer.getResultBuffer();
|
|
14012
|
+
};
|
|
14013
|
+
|
|
14014
|
+
|
|
14015
|
+
/**
|
|
14016
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14017
|
+
* format), writing to the given BinaryWriter.
|
|
14018
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} message
|
|
14019
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14020
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14021
|
+
*/
|
|
14022
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14023
|
+
var f = undefined;
|
|
14024
|
+
f = message.getOrganizationId();
|
|
14025
|
+
if (f.length > 0) {
|
|
14026
|
+
writer.writeString(
|
|
14027
|
+
1,
|
|
14028
|
+
f
|
|
14029
|
+
);
|
|
14030
|
+
}
|
|
14031
|
+
f = message.getProjectId();
|
|
14032
|
+
if (f.length > 0) {
|
|
14033
|
+
writer.writeString(
|
|
14034
|
+
2,
|
|
14035
|
+
f
|
|
14036
|
+
);
|
|
14037
|
+
}
|
|
14038
|
+
};
|
|
14039
|
+
|
|
14040
|
+
|
|
14041
|
+
/**
|
|
14042
|
+
* optional string organization_id = 1;
|
|
14043
|
+
* @return {string}
|
|
14044
|
+
*/
|
|
14045
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.getOrganizationId = function() {
|
|
14046
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14047
|
+
};
|
|
14048
|
+
|
|
14049
|
+
|
|
14050
|
+
/**
|
|
14051
|
+
* @param {string} value
|
|
14052
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} returns this
|
|
14053
|
+
*/
|
|
14054
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.setOrganizationId = function(value) {
|
|
14055
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14056
|
+
};
|
|
14057
|
+
|
|
14058
|
+
|
|
14059
|
+
/**
|
|
14060
|
+
* optional string project_id = 2;
|
|
14061
|
+
* @return {string}
|
|
14062
|
+
*/
|
|
14063
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.getProjectId = function() {
|
|
14064
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14065
|
+
};
|
|
14066
|
+
|
|
14067
|
+
|
|
14068
|
+
/**
|
|
14069
|
+
* @param {string} value
|
|
14070
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest} returns this
|
|
14071
|
+
*/
|
|
14072
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogRequest.prototype.setProjectId = function(value) {
|
|
14073
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
14074
|
+
};
|
|
14075
|
+
|
|
14076
|
+
|
|
14077
|
+
|
|
14078
|
+
/**
|
|
14079
|
+
* List of repeated fields within this message type.
|
|
14080
|
+
* @private {!Array<number>}
|
|
14081
|
+
* @const
|
|
14082
|
+
*/
|
|
14083
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.repeatedFields_ = [2];
|
|
14084
|
+
|
|
14085
|
+
|
|
14086
|
+
|
|
14087
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14088
|
+
/**
|
|
14089
|
+
* Creates an object representation of this proto.
|
|
14090
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14091
|
+
* Optional fields that are not set will be set to undefined.
|
|
14092
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14093
|
+
* For the list of reserved names please see:
|
|
14094
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14095
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14096
|
+
* JSPB instance for transitional soy proto support:
|
|
14097
|
+
* http://goto/soy-param-migration
|
|
14098
|
+
* @return {!Object}
|
|
14099
|
+
*/
|
|
14100
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14101
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.toObject(opt_includeInstance, this);
|
|
14102
|
+
};
|
|
14103
|
+
|
|
14104
|
+
|
|
14105
|
+
/**
|
|
14106
|
+
* Static version of the {@see toObject} method.
|
|
14107
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14108
|
+
* the JSPB instance for transitional soy proto support:
|
|
14109
|
+
* http://goto/soy-param-migration
|
|
14110
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} msg The msg instance to transform.
|
|
14111
|
+
* @return {!Object}
|
|
14112
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14113
|
+
*/
|
|
14114
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.toObject = function(includeInstance, msg) {
|
|
14115
|
+
var f, obj = {
|
|
14116
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
14117
|
+
rubricsList: jspb.Message.toObjectList(msg.getRubricsList(),
|
|
14118
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.toObject, includeInstance)
|
|
14119
|
+
};
|
|
14120
|
+
|
|
14121
|
+
if (includeInstance) {
|
|
14122
|
+
obj.$jspbMessageInstance = msg;
|
|
14123
|
+
}
|
|
14124
|
+
return obj;
|
|
14125
|
+
};
|
|
14126
|
+
}
|
|
14127
|
+
|
|
14128
|
+
|
|
14129
|
+
/**
|
|
14130
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14131
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14132
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse}
|
|
14133
|
+
*/
|
|
14134
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.deserializeBinary = function(bytes) {
|
|
14135
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14136
|
+
var msg = new proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse;
|
|
14137
|
+
return proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.deserializeBinaryFromReader(msg, reader);
|
|
14138
|
+
};
|
|
14139
|
+
|
|
14140
|
+
|
|
14141
|
+
/**
|
|
14142
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14143
|
+
* given reader into the given message object.
|
|
14144
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} msg The message object to deserialize into.
|
|
14145
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14146
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse}
|
|
14147
|
+
*/
|
|
14148
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
14149
|
+
while (reader.nextField()) {
|
|
14150
|
+
if (reader.isEndGroup()) {
|
|
14151
|
+
break;
|
|
14152
|
+
}
|
|
14153
|
+
var field = reader.getFieldNumber();
|
|
14154
|
+
switch (field) {
|
|
14155
|
+
case 1:
|
|
14156
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
14157
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
14158
|
+
msg.setStatus(value);
|
|
14159
|
+
break;
|
|
14160
|
+
case 2:
|
|
14161
|
+
var value = new proto.gateway.web.v1.AISessionScoreRubricTemplate;
|
|
14162
|
+
reader.readMessage(value,proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinaryFromReader);
|
|
14163
|
+
msg.addRubrics(value);
|
|
14164
|
+
break;
|
|
14165
|
+
default:
|
|
14166
|
+
reader.skipField();
|
|
14167
|
+
break;
|
|
14168
|
+
}
|
|
14169
|
+
}
|
|
14170
|
+
return msg;
|
|
14171
|
+
};
|
|
14172
|
+
|
|
14173
|
+
|
|
14174
|
+
/**
|
|
14175
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14176
|
+
* @return {!Uint8Array}
|
|
14177
|
+
*/
|
|
14178
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.serializeBinary = function() {
|
|
14179
|
+
var writer = new jspb.BinaryWriter();
|
|
14180
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.serializeBinaryToWriter(this, writer);
|
|
14181
|
+
return writer.getResultBuffer();
|
|
14182
|
+
};
|
|
14183
|
+
|
|
14184
|
+
|
|
14185
|
+
/**
|
|
14186
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14187
|
+
* format), writing to the given BinaryWriter.
|
|
14188
|
+
* @param {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} message
|
|
14189
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14190
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14191
|
+
*/
|
|
14192
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.serializeBinaryToWriter = function(message, writer) {
|
|
14193
|
+
var f = undefined;
|
|
14194
|
+
f = message.getStatus();
|
|
14195
|
+
if (f != null) {
|
|
14196
|
+
writer.writeMessage(
|
|
14197
|
+
1,
|
|
14198
|
+
f,
|
|
14199
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
14200
|
+
);
|
|
14201
|
+
}
|
|
14202
|
+
f = message.getRubricsList();
|
|
14203
|
+
if (f.length > 0) {
|
|
14204
|
+
writer.writeRepeatedMessage(
|
|
14205
|
+
2,
|
|
14206
|
+
f,
|
|
14207
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.serializeBinaryToWriter
|
|
14208
|
+
);
|
|
14209
|
+
}
|
|
14210
|
+
};
|
|
14211
|
+
|
|
14212
|
+
|
|
14213
|
+
/**
|
|
14214
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
14215
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
14216
|
+
*/
|
|
14217
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.getStatus = function() {
|
|
14218
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
14219
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
14220
|
+
};
|
|
14221
|
+
|
|
14222
|
+
|
|
14223
|
+
/**
|
|
14224
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
14225
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14226
|
+
*/
|
|
14227
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.setStatus = function(value) {
|
|
14228
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
14229
|
+
};
|
|
14230
|
+
|
|
14231
|
+
|
|
14232
|
+
/**
|
|
14233
|
+
* Clears the message field making it undefined.
|
|
14234
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14235
|
+
*/
|
|
14236
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.clearStatus = function() {
|
|
14237
|
+
return this.setStatus(undefined);
|
|
14238
|
+
};
|
|
14239
|
+
|
|
14240
|
+
|
|
14241
|
+
/**
|
|
14242
|
+
* Returns whether this field is set.
|
|
14243
|
+
* @return {boolean}
|
|
14244
|
+
*/
|
|
14245
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.hasStatus = function() {
|
|
14246
|
+
return jspb.Message.getField(this, 1) != null;
|
|
14247
|
+
};
|
|
14248
|
+
|
|
14249
|
+
|
|
14250
|
+
/**
|
|
14251
|
+
* repeated AISessionScoreRubricTemplate rubrics = 2;
|
|
14252
|
+
* @return {!Array<!proto.gateway.web.v1.AISessionScoreRubricTemplate>}
|
|
14253
|
+
*/
|
|
14254
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.getRubricsList = function() {
|
|
14255
|
+
return /** @type{!Array<!proto.gateway.web.v1.AISessionScoreRubricTemplate>} */ (
|
|
14256
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionScoreRubricTemplate, 2));
|
|
14257
|
+
};
|
|
14258
|
+
|
|
14259
|
+
|
|
14260
|
+
/**
|
|
14261
|
+
* @param {!Array<!proto.gateway.web.v1.AISessionScoreRubricTemplate>} value
|
|
14262
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14263
|
+
*/
|
|
14264
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.setRubricsList = function(value) {
|
|
14265
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
14266
|
+
};
|
|
14267
|
+
|
|
14268
|
+
|
|
14269
|
+
/**
|
|
14270
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate=} opt_value
|
|
14271
|
+
* @param {number=} opt_index
|
|
14272
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate}
|
|
14273
|
+
*/
|
|
14274
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.addRubrics = function(opt_value, opt_index) {
|
|
14275
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AISessionScoreRubricTemplate, opt_index);
|
|
14276
|
+
};
|
|
14277
|
+
|
|
14278
|
+
|
|
14279
|
+
/**
|
|
14280
|
+
* Clears the list making it empty but non-null.
|
|
14281
|
+
* @return {!proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse} returns this
|
|
14282
|
+
*/
|
|
14283
|
+
proto.gateway.web.v1.GetSessionScoreRubricCatalogResponse.prototype.clearRubricsList = function() {
|
|
14284
|
+
return this.setRubricsList([]);
|
|
14285
|
+
};
|
|
14286
|
+
|
|
14287
|
+
|
|
14288
|
+
|
|
14289
|
+
/**
|
|
14290
|
+
* List of repeated fields within this message type.
|
|
14291
|
+
* @private {!Array<number>}
|
|
14292
|
+
* @const
|
|
14293
|
+
*/
|
|
14294
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.repeatedFields_ = [5];
|
|
14295
|
+
|
|
14296
|
+
|
|
14297
|
+
|
|
14298
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14299
|
+
/**
|
|
14300
|
+
* Creates an object representation of this proto.
|
|
14301
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14302
|
+
* Optional fields that are not set will be set to undefined.
|
|
14303
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14304
|
+
* For the list of reserved names please see:
|
|
14305
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14306
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14307
|
+
* JSPB instance for transitional soy proto support:
|
|
14308
|
+
* http://goto/soy-param-migration
|
|
14309
|
+
* @return {!Object}
|
|
14310
|
+
*/
|
|
14311
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.toObject = function(opt_includeInstance) {
|
|
14312
|
+
return proto.gateway.web.v1.AISessionScoreRubricTemplate.toObject(opt_includeInstance, this);
|
|
14313
|
+
};
|
|
14314
|
+
|
|
14315
|
+
|
|
14316
|
+
/**
|
|
14317
|
+
* Static version of the {@see toObject} method.
|
|
14318
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14319
|
+
* the JSPB instance for transitional soy proto support:
|
|
14320
|
+
* http://goto/soy-param-migration
|
|
14321
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate} msg The msg instance to transform.
|
|
14322
|
+
* @return {!Object}
|
|
14323
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14324
|
+
*/
|
|
14325
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.toObject = function(includeInstance, msg) {
|
|
14326
|
+
var f, obj = {
|
|
14327
|
+
rubric: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
14328
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14329
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14330
|
+
version: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
14331
|
+
criteriaList: jspb.Message.toObjectList(msg.getCriteriaList(),
|
|
14332
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.toObject, includeInstance),
|
|
14333
|
+
aim: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
14334
|
+
};
|
|
14335
|
+
|
|
14336
|
+
if (includeInstance) {
|
|
14337
|
+
obj.$jspbMessageInstance = msg;
|
|
14338
|
+
}
|
|
14339
|
+
return obj;
|
|
14340
|
+
};
|
|
14341
|
+
}
|
|
14342
|
+
|
|
14343
|
+
|
|
14344
|
+
/**
|
|
14345
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14346
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14347
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate}
|
|
14348
|
+
*/
|
|
14349
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinary = function(bytes) {
|
|
14350
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14351
|
+
var msg = new proto.gateway.web.v1.AISessionScoreRubricTemplate;
|
|
14352
|
+
return proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinaryFromReader(msg, reader);
|
|
14353
|
+
};
|
|
14354
|
+
|
|
14355
|
+
|
|
14356
|
+
/**
|
|
14357
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14358
|
+
* given reader into the given message object.
|
|
14359
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate} msg The message object to deserialize into.
|
|
14360
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14361
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate}
|
|
14362
|
+
*/
|
|
14363
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.deserializeBinaryFromReader = function(msg, reader) {
|
|
14364
|
+
while (reader.nextField()) {
|
|
14365
|
+
if (reader.isEndGroup()) {
|
|
14366
|
+
break;
|
|
14367
|
+
}
|
|
14368
|
+
var field = reader.getFieldNumber();
|
|
14369
|
+
switch (field) {
|
|
14370
|
+
case 1:
|
|
14371
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
14372
|
+
msg.setRubric(value);
|
|
14373
|
+
break;
|
|
14374
|
+
case 2:
|
|
14375
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14376
|
+
msg.setName(value);
|
|
14377
|
+
break;
|
|
14378
|
+
case 3:
|
|
14379
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14380
|
+
msg.setDescription(value);
|
|
14381
|
+
break;
|
|
14382
|
+
case 4:
|
|
14383
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14384
|
+
msg.setVersion(value);
|
|
14385
|
+
break;
|
|
14386
|
+
case 5:
|
|
14387
|
+
var value = new proto.gateway.web.v1.AISessionScoreRubricCriterion;
|
|
14388
|
+
reader.readMessage(value,proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinaryFromReader);
|
|
14389
|
+
msg.addCriteria(value);
|
|
14390
|
+
break;
|
|
14391
|
+
case 6:
|
|
14392
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14393
|
+
msg.setAim(value);
|
|
14394
|
+
break;
|
|
14395
|
+
default:
|
|
14396
|
+
reader.skipField();
|
|
14397
|
+
break;
|
|
14398
|
+
}
|
|
14399
|
+
}
|
|
14400
|
+
return msg;
|
|
14401
|
+
};
|
|
14402
|
+
|
|
14403
|
+
|
|
14404
|
+
/**
|
|
14405
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14406
|
+
* @return {!Uint8Array}
|
|
14407
|
+
*/
|
|
14408
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.serializeBinary = function() {
|
|
14409
|
+
var writer = new jspb.BinaryWriter();
|
|
14410
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.serializeBinaryToWriter(this, writer);
|
|
14411
|
+
return writer.getResultBuffer();
|
|
14412
|
+
};
|
|
14413
|
+
|
|
14414
|
+
|
|
14415
|
+
/**
|
|
14416
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14417
|
+
* format), writing to the given BinaryWriter.
|
|
14418
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricTemplate} message
|
|
14419
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14420
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14421
|
+
*/
|
|
14422
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.serializeBinaryToWriter = function(message, writer) {
|
|
14423
|
+
var f = undefined;
|
|
14424
|
+
f = message.getRubric();
|
|
14425
|
+
if (f !== 0.0) {
|
|
14426
|
+
writer.writeEnum(
|
|
14427
|
+
1,
|
|
14428
|
+
f
|
|
14429
|
+
);
|
|
14430
|
+
}
|
|
14431
|
+
f = message.getName();
|
|
14432
|
+
if (f.length > 0) {
|
|
14433
|
+
writer.writeString(
|
|
14434
|
+
2,
|
|
14435
|
+
f
|
|
14436
|
+
);
|
|
14437
|
+
}
|
|
14438
|
+
f = message.getDescription();
|
|
14439
|
+
if (f.length > 0) {
|
|
14440
|
+
writer.writeString(
|
|
14441
|
+
3,
|
|
14442
|
+
f
|
|
14443
|
+
);
|
|
14444
|
+
}
|
|
14445
|
+
f = message.getVersion();
|
|
14446
|
+
if (f.length > 0) {
|
|
14447
|
+
writer.writeString(
|
|
14448
|
+
4,
|
|
14449
|
+
f
|
|
14450
|
+
);
|
|
14451
|
+
}
|
|
14452
|
+
f = message.getCriteriaList();
|
|
14453
|
+
if (f.length > 0) {
|
|
14454
|
+
writer.writeRepeatedMessage(
|
|
14455
|
+
5,
|
|
14456
|
+
f,
|
|
14457
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.serializeBinaryToWriter
|
|
14458
|
+
);
|
|
14459
|
+
}
|
|
14460
|
+
f = message.getAim();
|
|
14461
|
+
if (f.length > 0) {
|
|
14462
|
+
writer.writeString(
|
|
14463
|
+
6,
|
|
14464
|
+
f
|
|
14465
|
+
);
|
|
14466
|
+
}
|
|
14467
|
+
};
|
|
14468
|
+
|
|
14469
|
+
|
|
14470
|
+
/**
|
|
14471
|
+
* optional AISessionScoreRubric rubric = 1;
|
|
14472
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
14473
|
+
*/
|
|
14474
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getRubric = function() {
|
|
14475
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
14476
|
+
};
|
|
14477
|
+
|
|
14478
|
+
|
|
14479
|
+
/**
|
|
14480
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
14481
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14482
|
+
*/
|
|
14483
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setRubric = function(value) {
|
|
14484
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
14485
|
+
};
|
|
14486
|
+
|
|
14487
|
+
|
|
14488
|
+
/**
|
|
14489
|
+
* optional string name = 2;
|
|
14490
|
+
* @return {string}
|
|
14491
|
+
*/
|
|
14492
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getName = function() {
|
|
14493
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14494
|
+
};
|
|
14495
|
+
|
|
14496
|
+
|
|
14497
|
+
/**
|
|
14498
|
+
* @param {string} value
|
|
14499
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14500
|
+
*/
|
|
14501
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setName = function(value) {
|
|
14502
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
14503
|
+
};
|
|
14504
|
+
|
|
14505
|
+
|
|
14506
|
+
/**
|
|
14507
|
+
* optional string description = 3;
|
|
14508
|
+
* @return {string}
|
|
14509
|
+
*/
|
|
14510
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getDescription = function() {
|
|
14511
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
14512
|
+
};
|
|
14513
|
+
|
|
14514
|
+
|
|
14515
|
+
/**
|
|
14516
|
+
* @param {string} value
|
|
14517
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14518
|
+
*/
|
|
14519
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setDescription = function(value) {
|
|
14520
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
14521
|
+
};
|
|
14522
|
+
|
|
14523
|
+
|
|
14524
|
+
/**
|
|
14525
|
+
* optional string version = 4;
|
|
14526
|
+
* @return {string}
|
|
14527
|
+
*/
|
|
14528
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getVersion = function() {
|
|
14529
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
14530
|
+
};
|
|
14531
|
+
|
|
14532
|
+
|
|
14533
|
+
/**
|
|
14534
|
+
* @param {string} value
|
|
14535
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14536
|
+
*/
|
|
14537
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setVersion = function(value) {
|
|
14538
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
14539
|
+
};
|
|
14540
|
+
|
|
14541
|
+
|
|
14542
|
+
/**
|
|
14543
|
+
* repeated AISessionScoreRubricCriterion criteria = 5;
|
|
14544
|
+
* @return {!Array<!proto.gateway.web.v1.AISessionScoreRubricCriterion>}
|
|
14545
|
+
*/
|
|
14546
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getCriteriaList = function() {
|
|
14547
|
+
return /** @type{!Array<!proto.gateway.web.v1.AISessionScoreRubricCriterion>} */ (
|
|
14548
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionScoreRubricCriterion, 5));
|
|
14549
|
+
};
|
|
14550
|
+
|
|
14551
|
+
|
|
14552
|
+
/**
|
|
14553
|
+
* @param {!Array<!proto.gateway.web.v1.AISessionScoreRubricCriterion>} value
|
|
14554
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14555
|
+
*/
|
|
14556
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setCriteriaList = function(value) {
|
|
14557
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
14558
|
+
};
|
|
14559
|
+
|
|
14560
|
+
|
|
14561
|
+
/**
|
|
14562
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion=} opt_value
|
|
14563
|
+
* @param {number=} opt_index
|
|
14564
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion}
|
|
14565
|
+
*/
|
|
14566
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.addCriteria = function(opt_value, opt_index) {
|
|
14567
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.AISessionScoreRubricCriterion, opt_index);
|
|
14568
|
+
};
|
|
14569
|
+
|
|
14570
|
+
|
|
14571
|
+
/**
|
|
14572
|
+
* Clears the list making it empty but non-null.
|
|
14573
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14574
|
+
*/
|
|
14575
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.clearCriteriaList = function() {
|
|
14576
|
+
return this.setCriteriaList([]);
|
|
14577
|
+
};
|
|
14578
|
+
|
|
14579
|
+
|
|
14580
|
+
/**
|
|
14581
|
+
* optional string aim = 6;
|
|
14582
|
+
* @return {string}
|
|
14583
|
+
*/
|
|
14584
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.getAim = function() {
|
|
14585
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
14586
|
+
};
|
|
14587
|
+
|
|
14588
|
+
|
|
14589
|
+
/**
|
|
14590
|
+
* @param {string} value
|
|
14591
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricTemplate} returns this
|
|
14592
|
+
*/
|
|
14593
|
+
proto.gateway.web.v1.AISessionScoreRubricTemplate.prototype.setAim = function(value) {
|
|
14594
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
14595
|
+
};
|
|
14596
|
+
|
|
14597
|
+
|
|
14598
|
+
|
|
14599
|
+
|
|
14600
|
+
|
|
14601
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14602
|
+
/**
|
|
14603
|
+
* Creates an object representation of this proto.
|
|
14604
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14605
|
+
* Optional fields that are not set will be set to undefined.
|
|
14606
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14607
|
+
* For the list of reserved names please see:
|
|
14608
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14609
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14610
|
+
* JSPB instance for transitional soy proto support:
|
|
14611
|
+
* http://goto/soy-param-migration
|
|
14612
|
+
* @return {!Object}
|
|
14613
|
+
*/
|
|
14614
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.toObject = function(opt_includeInstance) {
|
|
14615
|
+
return proto.gateway.web.v1.AISessionScoreRubricCriterion.toObject(opt_includeInstance, this);
|
|
14616
|
+
};
|
|
14617
|
+
|
|
14618
|
+
|
|
14619
|
+
/**
|
|
14620
|
+
* Static version of the {@see toObject} method.
|
|
14621
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14622
|
+
* the JSPB instance for transitional soy proto support:
|
|
14623
|
+
* http://goto/soy-param-migration
|
|
14624
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion} msg The msg instance to transform.
|
|
14625
|
+
* @return {!Object}
|
|
14626
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14627
|
+
*/
|
|
14628
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.toObject = function(includeInstance, msg) {
|
|
14629
|
+
var f, obj = {
|
|
14630
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14631
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14632
|
+
weight: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
14633
|
+
tooltip: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
14634
|
+
};
|
|
14635
|
+
|
|
14636
|
+
if (includeInstance) {
|
|
14637
|
+
obj.$jspbMessageInstance = msg;
|
|
14638
|
+
}
|
|
14639
|
+
return obj;
|
|
14640
|
+
};
|
|
14641
|
+
}
|
|
14642
|
+
|
|
14643
|
+
|
|
14644
|
+
/**
|
|
14645
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14646
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14647
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion}
|
|
14648
|
+
*/
|
|
14649
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinary = function(bytes) {
|
|
14650
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14651
|
+
var msg = new proto.gateway.web.v1.AISessionScoreRubricCriterion;
|
|
14652
|
+
return proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinaryFromReader(msg, reader);
|
|
14653
|
+
};
|
|
14654
|
+
|
|
14655
|
+
|
|
14656
|
+
/**
|
|
14657
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14658
|
+
* given reader into the given message object.
|
|
14659
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion} msg The message object to deserialize into.
|
|
14660
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14661
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion}
|
|
14662
|
+
*/
|
|
14663
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.deserializeBinaryFromReader = function(msg, reader) {
|
|
14664
|
+
while (reader.nextField()) {
|
|
14665
|
+
if (reader.isEndGroup()) {
|
|
14666
|
+
break;
|
|
14667
|
+
}
|
|
14668
|
+
var field = reader.getFieldNumber();
|
|
14669
|
+
switch (field) {
|
|
14670
|
+
case 1:
|
|
14671
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14672
|
+
msg.setKey(value);
|
|
14673
|
+
break;
|
|
14674
|
+
case 2:
|
|
14675
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14676
|
+
msg.setName(value);
|
|
14677
|
+
break;
|
|
14678
|
+
case 3:
|
|
14679
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
14680
|
+
msg.setWeight(value);
|
|
14681
|
+
break;
|
|
14682
|
+
case 4:
|
|
14683
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14684
|
+
msg.setTooltip(value);
|
|
14685
|
+
break;
|
|
14686
|
+
default:
|
|
14687
|
+
reader.skipField();
|
|
14688
|
+
break;
|
|
14689
|
+
}
|
|
14690
|
+
}
|
|
14691
|
+
return msg;
|
|
14692
|
+
};
|
|
14693
|
+
|
|
14694
|
+
|
|
14695
|
+
/**
|
|
14696
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14697
|
+
* @return {!Uint8Array}
|
|
14698
|
+
*/
|
|
14699
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.serializeBinary = function() {
|
|
14700
|
+
var writer = new jspb.BinaryWriter();
|
|
14701
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.serializeBinaryToWriter(this, writer);
|
|
14702
|
+
return writer.getResultBuffer();
|
|
14703
|
+
};
|
|
14704
|
+
|
|
14705
|
+
|
|
14706
|
+
/**
|
|
14707
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14708
|
+
* format), writing to the given BinaryWriter.
|
|
14709
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubricCriterion} message
|
|
14710
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14711
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14712
|
+
*/
|
|
14713
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.serializeBinaryToWriter = function(message, writer) {
|
|
14714
|
+
var f = undefined;
|
|
14715
|
+
f = message.getKey();
|
|
14716
|
+
if (f.length > 0) {
|
|
14717
|
+
writer.writeString(
|
|
14718
|
+
1,
|
|
14719
|
+
f
|
|
14720
|
+
);
|
|
14721
|
+
}
|
|
14722
|
+
f = message.getName();
|
|
14723
|
+
if (f.length > 0) {
|
|
14724
|
+
writer.writeString(
|
|
14725
|
+
2,
|
|
14726
|
+
f
|
|
14727
|
+
);
|
|
14728
|
+
}
|
|
14729
|
+
f = message.getWeight();
|
|
14730
|
+
if (f !== 0) {
|
|
14731
|
+
writer.writeUint32(
|
|
14732
|
+
3,
|
|
14733
|
+
f
|
|
14734
|
+
);
|
|
14735
|
+
}
|
|
14736
|
+
f = message.getTooltip();
|
|
14737
|
+
if (f.length > 0) {
|
|
14738
|
+
writer.writeString(
|
|
14739
|
+
4,
|
|
14740
|
+
f
|
|
14741
|
+
);
|
|
14742
|
+
}
|
|
14743
|
+
};
|
|
14744
|
+
|
|
14745
|
+
|
|
14746
|
+
/**
|
|
14747
|
+
* optional string key = 1;
|
|
14748
|
+
* @return {string}
|
|
14749
|
+
*/
|
|
14750
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getKey = function() {
|
|
14751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14752
|
+
};
|
|
14753
|
+
|
|
14754
|
+
|
|
14755
|
+
/**
|
|
14756
|
+
* @param {string} value
|
|
14757
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14758
|
+
*/
|
|
14759
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setKey = function(value) {
|
|
14760
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14761
|
+
};
|
|
14762
|
+
|
|
14763
|
+
|
|
14764
|
+
/**
|
|
14765
|
+
* optional string name = 2;
|
|
14766
|
+
* @return {string}
|
|
14767
|
+
*/
|
|
14768
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getName = function() {
|
|
14769
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14770
|
+
};
|
|
14771
|
+
|
|
14772
|
+
|
|
14773
|
+
/**
|
|
14774
|
+
* @param {string} value
|
|
14775
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14776
|
+
*/
|
|
14777
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setName = function(value) {
|
|
14778
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
14779
|
+
};
|
|
14780
|
+
|
|
14781
|
+
|
|
14782
|
+
/**
|
|
14783
|
+
* optional uint32 weight = 3;
|
|
14784
|
+
* @return {number}
|
|
14785
|
+
*/
|
|
14786
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getWeight = function() {
|
|
14787
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
14788
|
+
};
|
|
14789
|
+
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* @param {number} value
|
|
14793
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14794
|
+
*/
|
|
14795
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setWeight = function(value) {
|
|
14796
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
14797
|
+
};
|
|
14798
|
+
|
|
14799
|
+
|
|
14800
|
+
/**
|
|
14801
|
+
* optional string tooltip = 4;
|
|
14802
|
+
* @return {string}
|
|
14803
|
+
*/
|
|
14804
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.getTooltip = function() {
|
|
14805
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
14806
|
+
};
|
|
14807
|
+
|
|
14808
|
+
|
|
14809
|
+
/**
|
|
14810
|
+
* @param {string} value
|
|
14811
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubricCriterion} returns this
|
|
14812
|
+
*/
|
|
14813
|
+
proto.gateway.web.v1.AISessionScoreRubricCriterion.prototype.setTooltip = function(value) {
|
|
14814
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
14815
|
+
};
|
|
14816
|
+
|
|
14817
|
+
|
|
14818
|
+
|
|
14819
|
+
|
|
14820
|
+
|
|
14821
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14822
|
+
/**
|
|
14823
|
+
* Creates an object representation of this proto.
|
|
14824
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14825
|
+
* Optional fields that are not set will be set to undefined.
|
|
14826
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14827
|
+
* For the list of reserved names please see:
|
|
14828
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14829
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14830
|
+
* JSPB instance for transitional soy proto support:
|
|
14831
|
+
* http://goto/soy-param-migration
|
|
14832
|
+
* @return {!Object}
|
|
14833
|
+
*/
|
|
14834
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.toObject = function(opt_includeInstance) {
|
|
14835
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.toObject(opt_includeInstance, this);
|
|
14836
|
+
};
|
|
14837
|
+
|
|
14838
|
+
|
|
14839
|
+
/**
|
|
14840
|
+
* Static version of the {@see toObject} method.
|
|
14841
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14842
|
+
* the JSPB instance for transitional soy proto support:
|
|
14843
|
+
* http://goto/soy-param-migration
|
|
14844
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} msg The msg instance to transform.
|
|
14845
|
+
* @return {!Object}
|
|
14846
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14847
|
+
*/
|
|
14848
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.toObject = function(includeInstance, msg) {
|
|
14849
|
+
var f, obj = {
|
|
14850
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14851
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
14852
|
+
};
|
|
14853
|
+
|
|
14854
|
+
if (includeInstance) {
|
|
14855
|
+
obj.$jspbMessageInstance = msg;
|
|
14856
|
+
}
|
|
14857
|
+
return obj;
|
|
14858
|
+
};
|
|
14859
|
+
}
|
|
14860
|
+
|
|
14861
|
+
|
|
14862
|
+
/**
|
|
14863
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14864
|
+
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
14865
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest}
|
|
14866
|
+
*/
|
|
14867
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.deserializeBinary = function(bytes) {
|
|
14868
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14869
|
+
var msg = new proto.gateway.web.v1.GetProjectSessionScoreRubricRequest;
|
|
14870
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.deserializeBinaryFromReader(msg, reader);
|
|
14871
|
+
};
|
|
14872
|
+
|
|
14873
|
+
|
|
14874
|
+
/**
|
|
14875
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14876
|
+
* given reader into the given message object.
|
|
14877
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} msg The message object to deserialize into.
|
|
14878
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14879
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest}
|
|
14880
|
+
*/
|
|
14881
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
14882
|
+
while (reader.nextField()) {
|
|
14883
|
+
if (reader.isEndGroup()) {
|
|
14884
|
+
break;
|
|
14885
|
+
}
|
|
14886
|
+
var field = reader.getFieldNumber();
|
|
14887
|
+
switch (field) {
|
|
14888
|
+
case 1:
|
|
14889
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14890
|
+
msg.setOrganizationId(value);
|
|
14891
|
+
break;
|
|
14892
|
+
case 2:
|
|
14893
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
14894
|
+
msg.setProjectId(value);
|
|
14895
|
+
break;
|
|
14896
|
+
default:
|
|
14897
|
+
reader.skipField();
|
|
14898
|
+
break;
|
|
14899
|
+
}
|
|
14900
|
+
}
|
|
14901
|
+
return msg;
|
|
14902
|
+
};
|
|
14903
|
+
|
|
14904
|
+
|
|
14905
|
+
/**
|
|
14906
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14907
|
+
* @return {!Uint8Array}
|
|
14908
|
+
*/
|
|
14909
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.serializeBinary = function() {
|
|
14910
|
+
var writer = new jspb.BinaryWriter();
|
|
14911
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.serializeBinaryToWriter(this, writer);
|
|
14912
|
+
return writer.getResultBuffer();
|
|
14913
|
+
};
|
|
14914
|
+
|
|
14915
|
+
|
|
14916
|
+
/**
|
|
14917
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14918
|
+
* format), writing to the given BinaryWriter.
|
|
14919
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} message
|
|
14920
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14921
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14922
|
+
*/
|
|
14923
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.serializeBinaryToWriter = function(message, writer) {
|
|
14924
|
+
var f = undefined;
|
|
14925
|
+
f = message.getOrganizationId();
|
|
14926
|
+
if (f.length > 0) {
|
|
14927
|
+
writer.writeString(
|
|
14928
|
+
1,
|
|
14929
|
+
f
|
|
14930
|
+
);
|
|
14931
|
+
}
|
|
14932
|
+
f = message.getProjectId();
|
|
14933
|
+
if (f.length > 0) {
|
|
14934
|
+
writer.writeString(
|
|
14935
|
+
2,
|
|
14936
|
+
f
|
|
14937
|
+
);
|
|
14938
|
+
}
|
|
14939
|
+
};
|
|
14940
|
+
|
|
14941
|
+
|
|
14942
|
+
/**
|
|
14943
|
+
* optional string organization_id = 1;
|
|
14944
|
+
* @return {string}
|
|
14945
|
+
*/
|
|
14946
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.getOrganizationId = function() {
|
|
12804
14947
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
12805
14948
|
};
|
|
12806
14949
|
|
|
12807
14950
|
|
|
12808
14951
|
/**
|
|
12809
14952
|
* @param {string} value
|
|
12810
|
-
* @return {!proto.gateway.web.v1.
|
|
14953
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} returns this
|
|
12811
14954
|
*/
|
|
12812
|
-
proto.gateway.web.v1.
|
|
14955
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.setOrganizationId = function(value) {
|
|
12813
14956
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
12814
14957
|
};
|
|
12815
14958
|
|
|
@@ -12818,16 +14961,16 @@ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setOrganizationId = functi
|
|
|
12818
14961
|
* optional string project_id = 2;
|
|
12819
14962
|
* @return {string}
|
|
12820
14963
|
*/
|
|
12821
|
-
proto.gateway.web.v1.
|
|
14964
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.getProjectId = function() {
|
|
12822
14965
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12823
14966
|
};
|
|
12824
14967
|
|
|
12825
14968
|
|
|
12826
14969
|
/**
|
|
12827
14970
|
* @param {string} value
|
|
12828
|
-
* @return {!proto.gateway.web.v1.
|
|
14971
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricRequest} returns this
|
|
12829
14972
|
*/
|
|
12830
|
-
proto.gateway.web.v1.
|
|
14973
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricRequest.prototype.setProjectId = function(value) {
|
|
12831
14974
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12832
14975
|
};
|
|
12833
14976
|
|
|
@@ -12848,8 +14991,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
12848
14991
|
* http://goto/soy-param-migration
|
|
12849
14992
|
* @return {!Object}
|
|
12850
14993
|
*/
|
|
12851
|
-
proto.gateway.web.v1.
|
|
12852
|
-
return proto.gateway.web.v1.
|
|
14994
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.toObject = function(opt_includeInstance) {
|
|
14995
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.toObject(opt_includeInstance, this);
|
|
12853
14996
|
};
|
|
12854
14997
|
|
|
12855
14998
|
|
|
@@ -12858,15 +15001,14 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.toObject = function(opt_i
|
|
|
12858
15001
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12859
15002
|
* the JSPB instance for transitional soy proto support:
|
|
12860
15003
|
* http://goto/soy-param-migration
|
|
12861
|
-
* @param {!proto.gateway.web.v1.
|
|
15004
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} msg The msg instance to transform.
|
|
12862
15005
|
* @return {!Object}
|
|
12863
15006
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12864
15007
|
*/
|
|
12865
|
-
proto.gateway.web.v1.
|
|
15008
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.toObject = function(includeInstance, msg) {
|
|
12866
15009
|
var f, obj = {
|
|
12867
15010
|
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)
|
|
15011
|
+
projectRubric: (f = msg.getProjectRubric()) && proto.gateway.web.v1.ProjectSessionScoreRubric.toObject(includeInstance, f)
|
|
12870
15012
|
};
|
|
12871
15013
|
|
|
12872
15014
|
if (includeInstance) {
|
|
@@ -12880,23 +15022,23 @@ promptLabels: (f = msg.getPromptLabels()) && proto.gateway.web.v1.AILabelSet.toO
|
|
|
12880
15022
|
/**
|
|
12881
15023
|
* Deserializes binary data (in protobuf wire format).
|
|
12882
15024
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12883
|
-
* @return {!proto.gateway.web.v1.
|
|
15025
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse}
|
|
12884
15026
|
*/
|
|
12885
|
-
proto.gateway.web.v1.
|
|
15027
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.deserializeBinary = function(bytes) {
|
|
12886
15028
|
var reader = new jspb.BinaryReader(bytes);
|
|
12887
|
-
var msg = new proto.gateway.web.v1.
|
|
12888
|
-
return proto.gateway.web.v1.
|
|
15029
|
+
var msg = new proto.gateway.web.v1.GetProjectSessionScoreRubricResponse;
|
|
15030
|
+
return proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.deserializeBinaryFromReader(msg, reader);
|
|
12889
15031
|
};
|
|
12890
15032
|
|
|
12891
15033
|
|
|
12892
15034
|
/**
|
|
12893
15035
|
* Deserializes binary data (in protobuf wire format) from the
|
|
12894
15036
|
* given reader into the given message object.
|
|
12895
|
-
* @param {!proto.gateway.web.v1.
|
|
15037
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} msg The message object to deserialize into.
|
|
12896
15038
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12897
|
-
* @return {!proto.gateway.web.v1.
|
|
15039
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse}
|
|
12898
15040
|
*/
|
|
12899
|
-
proto.gateway.web.v1.
|
|
15041
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12900
15042
|
while (reader.nextField()) {
|
|
12901
15043
|
if (reader.isEndGroup()) {
|
|
12902
15044
|
break;
|
|
@@ -12909,14 +15051,9 @@ proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader = funct
|
|
|
12909
15051
|
msg.setStatus(value);
|
|
12910
15052
|
break;
|
|
12911
15053
|
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);
|
|
15054
|
+
var value = new proto.gateway.web.v1.ProjectSessionScoreRubric;
|
|
15055
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader);
|
|
15056
|
+
msg.setProjectRubric(value);
|
|
12920
15057
|
break;
|
|
12921
15058
|
default:
|
|
12922
15059
|
reader.skipField();
|
|
@@ -12931,9 +15068,9 @@ proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader = funct
|
|
|
12931
15068
|
* Serializes the message to binary data (in protobuf wire format).
|
|
12932
15069
|
* @return {!Uint8Array}
|
|
12933
15070
|
*/
|
|
12934
|
-
proto.gateway.web.v1.
|
|
15071
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.serializeBinary = function() {
|
|
12935
15072
|
var writer = new jspb.BinaryWriter();
|
|
12936
|
-
proto.gateway.web.v1.
|
|
15073
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.serializeBinaryToWriter(this, writer);
|
|
12937
15074
|
return writer.getResultBuffer();
|
|
12938
15075
|
};
|
|
12939
15076
|
|
|
@@ -12941,11 +15078,11 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.serializeBinary = functio
|
|
|
12941
15078
|
/**
|
|
12942
15079
|
* Serializes the given message to binary data (in protobuf wire
|
|
12943
15080
|
* format), writing to the given BinaryWriter.
|
|
12944
|
-
* @param {!proto.gateway.web.v1.
|
|
15081
|
+
* @param {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} message
|
|
12945
15082
|
* @param {!jspb.BinaryWriter} writer
|
|
12946
15083
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12947
15084
|
*/
|
|
12948
|
-
proto.gateway.web.v1.
|
|
15085
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12949
15086
|
var f = undefined;
|
|
12950
15087
|
f = message.getStatus();
|
|
12951
15088
|
if (f != null) {
|
|
@@ -12955,20 +15092,12 @@ proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter = function(
|
|
|
12955
15092
|
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
12956
15093
|
);
|
|
12957
15094
|
}
|
|
12958
|
-
f = message.
|
|
15095
|
+
f = message.getProjectRubric();
|
|
12959
15096
|
if (f != null) {
|
|
12960
15097
|
writer.writeMessage(
|
|
12961
15098
|
2,
|
|
12962
15099
|
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
|
|
15100
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter
|
|
12972
15101
|
);
|
|
12973
15102
|
}
|
|
12974
15103
|
};
|
|
@@ -12978,7 +15107,7 @@ proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter = function(
|
|
|
12978
15107
|
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
12979
15108
|
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
12980
15109
|
*/
|
|
12981
|
-
proto.gateway.web.v1.
|
|
15110
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.getStatus = function() {
|
|
12982
15111
|
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
12983
15112
|
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
12984
15113
|
};
|
|
@@ -12986,18 +15115,18 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getStatus = function() {
|
|
|
12986
15115
|
|
|
12987
15116
|
/**
|
|
12988
15117
|
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
12989
|
-
* @return {!proto.gateway.web.v1.
|
|
15118
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
12990
15119
|
*/
|
|
12991
|
-
proto.gateway.web.v1.
|
|
15120
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.setStatus = function(value) {
|
|
12992
15121
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
12993
15122
|
};
|
|
12994
15123
|
|
|
12995
15124
|
|
|
12996
15125
|
/**
|
|
12997
15126
|
* Clears the message field making it undefined.
|
|
12998
|
-
* @return {!proto.gateway.web.v1.
|
|
15127
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
12999
15128
|
*/
|
|
13000
|
-
proto.gateway.web.v1.
|
|
15129
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.clearStatus = function() {
|
|
13001
15130
|
return this.setStatus(undefined);
|
|
13002
15131
|
};
|
|
13003
15132
|
|
|
@@ -13006,36 +15135,36 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearStatus = function()
|
|
|
13006
15135
|
* Returns whether this field is set.
|
|
13007
15136
|
* @return {boolean}
|
|
13008
15137
|
*/
|
|
13009
|
-
proto.gateway.web.v1.
|
|
15138
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.hasStatus = function() {
|
|
13010
15139
|
return jspb.Message.getField(this, 1) != null;
|
|
13011
15140
|
};
|
|
13012
15141
|
|
|
13013
15142
|
|
|
13014
15143
|
/**
|
|
13015
|
-
* optional
|
|
13016
|
-
* @return {?proto.gateway.web.v1.
|
|
15144
|
+
* optional ProjectSessionScoreRubric project_rubric = 2;
|
|
15145
|
+
* @return {?proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13017
15146
|
*/
|
|
13018
|
-
proto.gateway.web.v1.
|
|
13019
|
-
return /** @type{?proto.gateway.web.v1.
|
|
13020
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.
|
|
15147
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.getProjectRubric = function() {
|
|
15148
|
+
return /** @type{?proto.gateway.web.v1.ProjectSessionScoreRubric} */ (
|
|
15149
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.ProjectSessionScoreRubric, 2));
|
|
13021
15150
|
};
|
|
13022
15151
|
|
|
13023
15152
|
|
|
13024
15153
|
/**
|
|
13025
|
-
* @param {?proto.gateway.web.v1.
|
|
13026
|
-
* @return {!proto.gateway.web.v1.
|
|
15154
|
+
* @param {?proto.gateway.web.v1.ProjectSessionScoreRubric|undefined} value
|
|
15155
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
13027
15156
|
*/
|
|
13028
|
-
proto.gateway.web.v1.
|
|
15157
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.setProjectRubric = function(value) {
|
|
13029
15158
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
13030
15159
|
};
|
|
13031
15160
|
|
|
13032
15161
|
|
|
13033
15162
|
/**
|
|
13034
15163
|
* Clears the message field making it undefined.
|
|
13035
|
-
* @return {!proto.gateway.web.v1.
|
|
15164
|
+
* @return {!proto.gateway.web.v1.GetProjectSessionScoreRubricResponse} returns this
|
|
13036
15165
|
*/
|
|
13037
|
-
proto.gateway.web.v1.
|
|
13038
|
-
return this.
|
|
15166
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.clearProjectRubric = function() {
|
|
15167
|
+
return this.setProjectRubric(undefined);
|
|
13039
15168
|
};
|
|
13040
15169
|
|
|
13041
15170
|
|
|
@@ -13043,55 +15172,11 @@ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearSessionLabels = func
|
|
|
13043
15172
|
* Returns whether this field is set.
|
|
13044
15173
|
* @return {boolean}
|
|
13045
15174
|
*/
|
|
13046
|
-
proto.gateway.web.v1.
|
|
15175
|
+
proto.gateway.web.v1.GetProjectSessionScoreRubricResponse.prototype.hasProjectRubric = function() {
|
|
13047
15176
|
return jspb.Message.getField(this, 2) != null;
|
|
13048
15177
|
};
|
|
13049
15178
|
|
|
13050
15179
|
|
|
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
15180
|
|
|
13096
15181
|
|
|
13097
15182
|
|
|
@@ -13108,8 +15193,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13108
15193
|
* http://goto/soy-param-migration
|
|
13109
15194
|
* @return {!Object}
|
|
13110
15195
|
*/
|
|
13111
|
-
proto.gateway.web.v1.
|
|
13112
|
-
return proto.gateway.web.v1.
|
|
15196
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.toObject = function(opt_includeInstance) {
|
|
15197
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.toObject(opt_includeInstance, this);
|
|
13113
15198
|
};
|
|
13114
15199
|
|
|
13115
15200
|
|
|
@@ -13118,15 +15203,15 @@ proto.gateway.web.v1.AILabelSet.prototype.toObject = function(opt_includeInstanc
|
|
|
13118
15203
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13119
15204
|
* the JSPB instance for transitional soy proto support:
|
|
13120
15205
|
* http://goto/soy-param-migration
|
|
13121
|
-
* @param {!proto.gateway.web.v1.
|
|
15206
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} msg The msg instance to transform.
|
|
13122
15207
|
* @return {!Object}
|
|
13123
15208
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13124
15209
|
*/
|
|
13125
|
-
proto.gateway.web.v1.
|
|
15210
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.toObject = function(includeInstance, msg) {
|
|
13126
15211
|
var f, obj = {
|
|
13127
|
-
|
|
13128
|
-
|
|
13129
|
-
|
|
15212
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15213
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15214
|
+
rubric: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
13130
15215
|
};
|
|
13131
15216
|
|
|
13132
15217
|
if (includeInstance) {
|
|
@@ -13140,23 +15225,23 @@ dimensionsList: jspb.Message.toObjectList(msg.getDimensionsList(),
|
|
|
13140
15225
|
/**
|
|
13141
15226
|
* Deserializes binary data (in protobuf wire format).
|
|
13142
15227
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13143
|
-
* @return {!proto.gateway.web.v1.
|
|
15228
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest}
|
|
13144
15229
|
*/
|
|
13145
|
-
proto.gateway.web.v1.
|
|
15230
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.deserializeBinary = function(bytes) {
|
|
13146
15231
|
var reader = new jspb.BinaryReader(bytes);
|
|
13147
|
-
var msg = new proto.gateway.web.v1.
|
|
13148
|
-
return proto.gateway.web.v1.
|
|
15232
|
+
var msg = new proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest;
|
|
15233
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.deserializeBinaryFromReader(msg, reader);
|
|
13149
15234
|
};
|
|
13150
15235
|
|
|
13151
15236
|
|
|
13152
15237
|
/**
|
|
13153
15238
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13154
15239
|
* given reader into the given message object.
|
|
13155
|
-
* @param {!proto.gateway.web.v1.
|
|
15240
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} msg The message object to deserialize into.
|
|
13156
15241
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13157
|
-
* @return {!proto.gateway.web.v1.
|
|
15242
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest}
|
|
13158
15243
|
*/
|
|
13159
|
-
proto.gateway.web.v1.
|
|
15244
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
13160
15245
|
while (reader.nextField()) {
|
|
13161
15246
|
if (reader.isEndGroup()) {
|
|
13162
15247
|
break;
|
|
@@ -13165,12 +15250,15 @@ proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader = function(msg, read
|
|
|
13165
15250
|
switch (field) {
|
|
13166
15251
|
case 1:
|
|
13167
15252
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13168
|
-
msg.
|
|
15253
|
+
msg.setOrganizationId(value);
|
|
13169
15254
|
break;
|
|
13170
15255
|
case 2:
|
|
13171
|
-
var value =
|
|
13172
|
-
|
|
13173
|
-
|
|
15256
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
15257
|
+
msg.setProjectId(value);
|
|
15258
|
+
break;
|
|
15259
|
+
case 3:
|
|
15260
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
15261
|
+
msg.setRubric(value);
|
|
13174
15262
|
break;
|
|
13175
15263
|
default:
|
|
13176
15264
|
reader.skipField();
|
|
@@ -13185,9 +15273,9 @@ proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader = function(msg, read
|
|
|
13185
15273
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13186
15274
|
* @return {!Uint8Array}
|
|
13187
15275
|
*/
|
|
13188
|
-
proto.gateway.web.v1.
|
|
15276
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.serializeBinary = function() {
|
|
13189
15277
|
var writer = new jspb.BinaryWriter();
|
|
13190
|
-
proto.gateway.web.v1.
|
|
15278
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.serializeBinaryToWriter(this, writer);
|
|
13191
15279
|
return writer.getResultBuffer();
|
|
13192
15280
|
};
|
|
13193
15281
|
|
|
@@ -13195,94 +15283,91 @@ proto.gateway.web.v1.AILabelSet.prototype.serializeBinary = function() {
|
|
|
13195
15283
|
/**
|
|
13196
15284
|
* Serializes the given message to binary data (in protobuf wire
|
|
13197
15285
|
* format), writing to the given BinaryWriter.
|
|
13198
|
-
* @param {!proto.gateway.web.v1.
|
|
15286
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} message
|
|
13199
15287
|
* @param {!jspb.BinaryWriter} writer
|
|
13200
15288
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13201
15289
|
*/
|
|
13202
|
-
proto.gateway.web.v1.
|
|
15290
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13203
15291
|
var f = undefined;
|
|
13204
|
-
f = message.
|
|
15292
|
+
f = message.getOrganizationId();
|
|
13205
15293
|
if (f.length > 0) {
|
|
13206
15294
|
writer.writeString(
|
|
13207
15295
|
1,
|
|
13208
15296
|
f
|
|
13209
15297
|
);
|
|
13210
15298
|
}
|
|
13211
|
-
f = message.
|
|
15299
|
+
f = message.getProjectId();
|
|
13212
15300
|
if (f.length > 0) {
|
|
13213
|
-
writer.
|
|
15301
|
+
writer.writeString(
|
|
13214
15302
|
2,
|
|
13215
|
-
f
|
|
13216
|
-
|
|
15303
|
+
f
|
|
15304
|
+
);
|
|
15305
|
+
}
|
|
15306
|
+
f = message.getRubric();
|
|
15307
|
+
if (f !== 0.0) {
|
|
15308
|
+
writer.writeEnum(
|
|
15309
|
+
3,
|
|
15310
|
+
f
|
|
13217
15311
|
);
|
|
13218
15312
|
}
|
|
13219
15313
|
};
|
|
13220
15314
|
|
|
13221
15315
|
|
|
13222
15316
|
/**
|
|
13223
|
-
* optional string
|
|
15317
|
+
* optional string organization_id = 1;
|
|
13224
15318
|
* @return {string}
|
|
13225
15319
|
*/
|
|
13226
|
-
proto.gateway.web.v1.
|
|
15320
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.getOrganizationId = function() {
|
|
13227
15321
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
13228
15322
|
};
|
|
13229
15323
|
|
|
13230
15324
|
|
|
13231
15325
|
/**
|
|
13232
15326
|
* @param {string} value
|
|
13233
|
-
* @return {!proto.gateway.web.v1.
|
|
15327
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} returns this
|
|
13234
15328
|
*/
|
|
13235
|
-
proto.gateway.web.v1.
|
|
15329
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.setOrganizationId = function(value) {
|
|
13236
15330
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
13237
15331
|
};
|
|
13238
15332
|
|
|
13239
15333
|
|
|
13240
15334
|
/**
|
|
13241
|
-
*
|
|
13242
|
-
* @return {
|
|
15335
|
+
* optional string project_id = 2;
|
|
15336
|
+
* @return {string}
|
|
13243
15337
|
*/
|
|
13244
|
-
proto.gateway.web.v1.
|
|
13245
|
-
return /** @type{
|
|
13246
|
-
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelDimension, 2));
|
|
15338
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.getProjectId = function() {
|
|
15339
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13247
15340
|
};
|
|
13248
15341
|
|
|
13249
15342
|
|
|
13250
15343
|
/**
|
|
13251
|
-
* @param {
|
|
13252
|
-
* @return {!proto.gateway.web.v1.
|
|
13253
|
-
*/
|
|
13254
|
-
proto.gateway.web.v1.
|
|
13255
|
-
return jspb.Message.
|
|
15344
|
+
* @param {string} value
|
|
15345
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} returns this
|
|
15346
|
+
*/
|
|
15347
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.setProjectId = function(value) {
|
|
15348
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13256
15349
|
};
|
|
13257
15350
|
|
|
13258
15351
|
|
|
13259
15352
|
/**
|
|
13260
|
-
*
|
|
13261
|
-
* @
|
|
13262
|
-
* @return {!proto.gateway.web.v1.AILabelDimension}
|
|
15353
|
+
* optional AISessionScoreRubric rubric = 3;
|
|
15354
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
13263
15355
|
*/
|
|
13264
|
-
proto.gateway.web.v1.
|
|
13265
|
-
return
|
|
15356
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.getRubric = function() {
|
|
15357
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
13266
15358
|
};
|
|
13267
15359
|
|
|
13268
15360
|
|
|
13269
15361
|
/**
|
|
13270
|
-
*
|
|
13271
|
-
* @return {!proto.gateway.web.v1.
|
|
15362
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
15363
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest} returns this
|
|
13272
15364
|
*/
|
|
13273
|
-
proto.gateway.web.v1.
|
|
13274
|
-
return
|
|
15365
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricRequest.prototype.setRubric = function(value) {
|
|
15366
|
+
return jspb.Message.setProto3EnumField(this, 3, value);
|
|
13275
15367
|
};
|
|
13276
15368
|
|
|
13277
15369
|
|
|
13278
15370
|
|
|
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
15371
|
|
|
13287
15372
|
|
|
13288
15373
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -13298,8 +15383,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13298
15383
|
* http://goto/soy-param-migration
|
|
13299
15384
|
* @return {!Object}
|
|
13300
15385
|
*/
|
|
13301
|
-
proto.gateway.web.v1.
|
|
13302
|
-
return proto.gateway.web.v1.
|
|
15386
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15387
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.toObject(opt_includeInstance, this);
|
|
13303
15388
|
};
|
|
13304
15389
|
|
|
13305
15390
|
|
|
@@ -13308,16 +15393,14 @@ proto.gateway.web.v1.AILabelDimension.prototype.toObject = function(opt_includeI
|
|
|
13308
15393
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13309
15394
|
* the JSPB instance for transitional soy proto support:
|
|
13310
15395
|
* http://goto/soy-param-migration
|
|
13311
|
-
* @param {!proto.gateway.web.v1.
|
|
15396
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} msg The msg instance to transform.
|
|
13312
15397
|
* @return {!Object}
|
|
13313
15398
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13314
15399
|
*/
|
|
13315
|
-
proto.gateway.web.v1.
|
|
15400
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.toObject = function(includeInstance, msg) {
|
|
13316
15401
|
var f, obj = {
|
|
13317
|
-
|
|
13318
|
-
|
|
13319
|
-
valuesList: jspb.Message.toObjectList(msg.getValuesList(),
|
|
13320
|
-
proto.gateway.web.v1.AILabelValue.toObject, includeInstance)
|
|
15402
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
15403
|
+
projectRubric: (f = msg.getProjectRubric()) && proto.gateway.web.v1.ProjectSessionScoreRubric.toObject(includeInstance, f)
|
|
13321
15404
|
};
|
|
13322
15405
|
|
|
13323
15406
|
if (includeInstance) {
|
|
@@ -13331,23 +15414,23 @@ valuesList: jspb.Message.toObjectList(msg.getValuesList(),
|
|
|
13331
15414
|
/**
|
|
13332
15415
|
* Deserializes binary data (in protobuf wire format).
|
|
13333
15416
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13334
|
-
* @return {!proto.gateway.web.v1.
|
|
15417
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse}
|
|
13335
15418
|
*/
|
|
13336
|
-
proto.gateway.web.v1.
|
|
15419
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.deserializeBinary = function(bytes) {
|
|
13337
15420
|
var reader = new jspb.BinaryReader(bytes);
|
|
13338
|
-
var msg = new proto.gateway.web.v1.
|
|
13339
|
-
return proto.gateway.web.v1.
|
|
15421
|
+
var msg = new proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse;
|
|
15422
|
+
return proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.deserializeBinaryFromReader(msg, reader);
|
|
13340
15423
|
};
|
|
13341
15424
|
|
|
13342
15425
|
|
|
13343
15426
|
/**
|
|
13344
15427
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13345
15428
|
* given reader into the given message object.
|
|
13346
|
-
* @param {!proto.gateway.web.v1.
|
|
15429
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} msg The message object to deserialize into.
|
|
13347
15430
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13348
|
-
* @return {!proto.gateway.web.v1.
|
|
15431
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse}
|
|
13349
15432
|
*/
|
|
13350
|
-
proto.gateway.web.v1.
|
|
15433
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
13351
15434
|
while (reader.nextField()) {
|
|
13352
15435
|
if (reader.isEndGroup()) {
|
|
13353
15436
|
break;
|
|
@@ -13355,17 +15438,14 @@ proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader = function(msg
|
|
|
13355
15438
|
var field = reader.getFieldNumber();
|
|
13356
15439
|
switch (field) {
|
|
13357
15440
|
case 1:
|
|
13358
|
-
var value =
|
|
13359
|
-
|
|
15441
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
15442
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
15443
|
+
msg.setStatus(value);
|
|
13360
15444
|
break;
|
|
13361
15445
|
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);
|
|
15446
|
+
var value = new proto.gateway.web.v1.ProjectSessionScoreRubric;
|
|
15447
|
+
reader.readMessage(value,proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader);
|
|
15448
|
+
msg.setProjectRubric(value);
|
|
13369
15449
|
break;
|
|
13370
15450
|
default:
|
|
13371
15451
|
reader.skipField();
|
|
@@ -13380,9 +15460,9 @@ proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader = function(msg
|
|
|
13380
15460
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13381
15461
|
* @return {!Uint8Array}
|
|
13382
15462
|
*/
|
|
13383
|
-
proto.gateway.web.v1.
|
|
15463
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.serializeBinary = function() {
|
|
13384
15464
|
var writer = new jspb.BinaryWriter();
|
|
13385
|
-
proto.gateway.web.v1.
|
|
15465
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.serializeBinaryToWriter(this, writer);
|
|
13386
15466
|
return writer.getResultBuffer();
|
|
13387
15467
|
};
|
|
13388
15468
|
|
|
@@ -13390,108 +15470,102 @@ proto.gateway.web.v1.AILabelDimension.prototype.serializeBinary = function() {
|
|
|
13390
15470
|
/**
|
|
13391
15471
|
* Serializes the given message to binary data (in protobuf wire
|
|
13392
15472
|
* format), writing to the given BinaryWriter.
|
|
13393
|
-
* @param {!proto.gateway.web.v1.
|
|
15473
|
+
* @param {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} message
|
|
13394
15474
|
* @param {!jspb.BinaryWriter} writer
|
|
13395
15475
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13396
15476
|
*/
|
|
13397
|
-
proto.gateway.web.v1.
|
|
15477
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13398
15478
|
var f = undefined;
|
|
13399
|
-
f = message.
|
|
13400
|
-
if (f
|
|
13401
|
-
writer.
|
|
15479
|
+
f = message.getStatus();
|
|
15480
|
+
if (f != null) {
|
|
15481
|
+
writer.writeMessage(
|
|
13402
15482
|
1,
|
|
13403
|
-
f
|
|
15483
|
+
f,
|
|
15484
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
13404
15485
|
);
|
|
13405
15486
|
}
|
|
13406
|
-
f = message.
|
|
13407
|
-
if (f
|
|
13408
|
-
writer.
|
|
15487
|
+
f = message.getProjectRubric();
|
|
15488
|
+
if (f != null) {
|
|
15489
|
+
writer.writeMessage(
|
|
13409
15490
|
2,
|
|
13410
|
-
f
|
|
13411
|
-
);
|
|
13412
|
-
}
|
|
13413
|
-
f = message.getValuesList();
|
|
13414
|
-
if (f.length > 0) {
|
|
13415
|
-
writer.writeRepeatedMessage(
|
|
13416
|
-
3,
|
|
13417
15491
|
f,
|
|
13418
|
-
proto.gateway.web.v1.
|
|
15492
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter
|
|
13419
15493
|
);
|
|
13420
15494
|
}
|
|
13421
15495
|
};
|
|
13422
15496
|
|
|
13423
15497
|
|
|
13424
15498
|
/**
|
|
13425
|
-
* optional
|
|
13426
|
-
* @return {
|
|
15499
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
15500
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
13427
15501
|
*/
|
|
13428
|
-
proto.gateway.web.v1.
|
|
13429
|
-
return /** @type
|
|
15502
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.getStatus = function() {
|
|
15503
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
15504
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
13430
15505
|
};
|
|
13431
15506
|
|
|
13432
15507
|
|
|
13433
15508
|
/**
|
|
13434
|
-
* @param {
|
|
13435
|
-
* @return {!proto.gateway.web.v1.
|
|
13436
|
-
|
|
13437
|
-
proto.gateway.web.v1.
|
|
13438
|
-
return jspb.Message.
|
|
15509
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
15510
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
15511
|
+
*/
|
|
15512
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.setStatus = function(value) {
|
|
15513
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
13439
15514
|
};
|
|
13440
15515
|
|
|
13441
15516
|
|
|
13442
15517
|
/**
|
|
13443
|
-
*
|
|
13444
|
-
* @return {
|
|
15518
|
+
* Clears the message field making it undefined.
|
|
15519
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
13445
15520
|
*/
|
|
13446
|
-
proto.gateway.web.v1.
|
|
13447
|
-
return
|
|
15521
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.clearStatus = function() {
|
|
15522
|
+
return this.setStatus(undefined);
|
|
13448
15523
|
};
|
|
13449
15524
|
|
|
13450
15525
|
|
|
13451
15526
|
/**
|
|
13452
|
-
*
|
|
13453
|
-
* @return {
|
|
15527
|
+
* Returns whether this field is set.
|
|
15528
|
+
* @return {boolean}
|
|
13454
15529
|
*/
|
|
13455
|
-
proto.gateway.web.v1.
|
|
13456
|
-
return jspb.Message.
|
|
15530
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.hasStatus = function() {
|
|
15531
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13457
15532
|
};
|
|
13458
15533
|
|
|
13459
15534
|
|
|
13460
15535
|
/**
|
|
13461
|
-
*
|
|
13462
|
-
* @return {
|
|
15536
|
+
* optional ProjectSessionScoreRubric project_rubric = 2;
|
|
15537
|
+
* @return {?proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13463
15538
|
*/
|
|
13464
|
-
proto.gateway.web.v1.
|
|
13465
|
-
return /** @type{
|
|
13466
|
-
jspb.Message.
|
|
15539
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.getProjectRubric = function() {
|
|
15540
|
+
return /** @type{?proto.gateway.web.v1.ProjectSessionScoreRubric} */ (
|
|
15541
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.ProjectSessionScoreRubric, 2));
|
|
13467
15542
|
};
|
|
13468
15543
|
|
|
13469
15544
|
|
|
13470
15545
|
/**
|
|
13471
|
-
* @param {
|
|
13472
|
-
* @return {!proto.gateway.web.v1.
|
|
15546
|
+
* @param {?proto.gateway.web.v1.ProjectSessionScoreRubric|undefined} value
|
|
15547
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
13473
15548
|
*/
|
|
13474
|
-
proto.gateway.web.v1.
|
|
13475
|
-
return jspb.Message.
|
|
15549
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.setProjectRubric = function(value) {
|
|
15550
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
13476
15551
|
};
|
|
13477
15552
|
|
|
13478
15553
|
|
|
13479
15554
|
/**
|
|
13480
|
-
*
|
|
13481
|
-
* @
|
|
13482
|
-
* @return {!proto.gateway.web.v1.AILabelValue}
|
|
15555
|
+
* Clears the message field making it undefined.
|
|
15556
|
+
* @return {!proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse} returns this
|
|
13483
15557
|
*/
|
|
13484
|
-
proto.gateway.web.v1.
|
|
13485
|
-
return
|
|
15558
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.clearProjectRubric = function() {
|
|
15559
|
+
return this.setProjectRubric(undefined);
|
|
13486
15560
|
};
|
|
13487
15561
|
|
|
13488
15562
|
|
|
13489
15563
|
/**
|
|
13490
|
-
*
|
|
13491
|
-
* @return {
|
|
15564
|
+
* Returns whether this field is set.
|
|
15565
|
+
* @return {boolean}
|
|
13492
15566
|
*/
|
|
13493
|
-
proto.gateway.web.v1.
|
|
13494
|
-
return
|
|
15567
|
+
proto.gateway.web.v1.UpdateProjectSessionScoreRubricResponse.prototype.hasProjectRubric = function() {
|
|
15568
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13495
15569
|
};
|
|
13496
15570
|
|
|
13497
15571
|
|
|
@@ -13511,8 +15585,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13511
15585
|
* http://goto/soy-param-migration
|
|
13512
15586
|
* @return {!Object}
|
|
13513
15587
|
*/
|
|
13514
|
-
proto.gateway.web.v1.
|
|
13515
|
-
return proto.gateway.web.v1.
|
|
15588
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.toObject = function(opt_includeInstance) {
|
|
15589
|
+
return proto.gateway.web.v1.ProjectSessionScoreRubric.toObject(opt_includeInstance, this);
|
|
13516
15590
|
};
|
|
13517
15591
|
|
|
13518
15592
|
|
|
@@ -13521,16 +15595,15 @@ proto.gateway.web.v1.AILabelValue.prototype.toObject = function(opt_includeInsta
|
|
|
13521
15595
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13522
15596
|
* the JSPB instance for transitional soy proto support:
|
|
13523
15597
|
* http://goto/soy-param-migration
|
|
13524
|
-
* @param {!proto.gateway.web.v1.
|
|
15598
|
+
* @param {!proto.gateway.web.v1.ProjectSessionScoreRubric} msg The msg instance to transform.
|
|
13525
15599
|
* @return {!Object}
|
|
13526
15600
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13527
15601
|
*/
|
|
13528
|
-
proto.gateway.web.v1.
|
|
15602
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.toObject = function(includeInstance, msg) {
|
|
13529
15603
|
var f, obj = {
|
|
13530
|
-
|
|
13531
|
-
|
|
13532
|
-
|
|
13533
|
-
rating: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
15604
|
+
rubric: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
15605
|
+
updateUserId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15606
|
+
updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
13534
15607
|
};
|
|
13535
15608
|
|
|
13536
15609
|
if (includeInstance) {
|
|
@@ -13544,23 +15617,23 @@ rating: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
|
13544
15617
|
/**
|
|
13545
15618
|
* Deserializes binary data (in protobuf wire format).
|
|
13546
15619
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
13547
|
-
* @return {!proto.gateway.web.v1.
|
|
15620
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13548
15621
|
*/
|
|
13549
|
-
proto.gateway.web.v1.
|
|
15622
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinary = function(bytes) {
|
|
13550
15623
|
var reader = new jspb.BinaryReader(bytes);
|
|
13551
|
-
var msg = new proto.gateway.web.v1.
|
|
13552
|
-
return proto.gateway.web.v1.
|
|
15624
|
+
var msg = new proto.gateway.web.v1.ProjectSessionScoreRubric;
|
|
15625
|
+
return proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader(msg, reader);
|
|
13553
15626
|
};
|
|
13554
15627
|
|
|
13555
15628
|
|
|
13556
15629
|
/**
|
|
13557
15630
|
* Deserializes binary data (in protobuf wire format) from the
|
|
13558
15631
|
* given reader into the given message object.
|
|
13559
|
-
* @param {!proto.gateway.web.v1.
|
|
15632
|
+
* @param {!proto.gateway.web.v1.ProjectSessionScoreRubric} msg The message object to deserialize into.
|
|
13560
15633
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13561
|
-
* @return {!proto.gateway.web.v1.
|
|
15634
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric}
|
|
13562
15635
|
*/
|
|
13563
|
-
proto.gateway.web.v1.
|
|
15636
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.deserializeBinaryFromReader = function(msg, reader) {
|
|
13564
15637
|
while (reader.nextField()) {
|
|
13565
15638
|
if (reader.isEndGroup()) {
|
|
13566
15639
|
break;
|
|
@@ -13568,20 +15641,17 @@ proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader = function(msg, re
|
|
|
13568
15641
|
var field = reader.getFieldNumber();
|
|
13569
15642
|
switch (field) {
|
|
13570
15643
|
case 1:
|
|
13571
|
-
var value = /** @type {
|
|
13572
|
-
msg.
|
|
15644
|
+
var value = /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (reader.readEnum());
|
|
15645
|
+
msg.setRubric(value);
|
|
13573
15646
|
break;
|
|
13574
15647
|
case 2:
|
|
13575
15648
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
13576
|
-
msg.
|
|
15649
|
+
msg.setUpdateUserId(value);
|
|
13577
15650
|
break;
|
|
13578
15651
|
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);
|
|
15652
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
15653
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
15654
|
+
msg.setUpdateTime(value);
|
|
13585
15655
|
break;
|
|
13586
15656
|
default:
|
|
13587
15657
|
reader.skipField();
|
|
@@ -13596,9 +15666,9 @@ proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader = function(msg, re
|
|
|
13596
15666
|
* Serializes the message to binary data (in protobuf wire format).
|
|
13597
15667
|
* @return {!Uint8Array}
|
|
13598
15668
|
*/
|
|
13599
|
-
proto.gateway.web.v1.
|
|
15669
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.serializeBinary = function() {
|
|
13600
15670
|
var writer = new jspb.BinaryWriter();
|
|
13601
|
-
proto.gateway.web.v1.
|
|
15671
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter(this, writer);
|
|
13602
15672
|
return writer.getResultBuffer();
|
|
13603
15673
|
};
|
|
13604
15674
|
|
|
@@ -13606,112 +15676,107 @@ proto.gateway.web.v1.AILabelValue.prototype.serializeBinary = function() {
|
|
|
13606
15676
|
/**
|
|
13607
15677
|
* Serializes the given message to binary data (in protobuf wire
|
|
13608
15678
|
* format), writing to the given BinaryWriter.
|
|
13609
|
-
* @param {!proto.gateway.web.v1.
|
|
15679
|
+
* @param {!proto.gateway.web.v1.ProjectSessionScoreRubric} message
|
|
13610
15680
|
* @param {!jspb.BinaryWriter} writer
|
|
13611
15681
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13612
15682
|
*/
|
|
13613
|
-
proto.gateway.web.v1.
|
|
15683
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.serializeBinaryToWriter = function(message, writer) {
|
|
13614
15684
|
var f = undefined;
|
|
13615
|
-
f = message.
|
|
13616
|
-
if (f
|
|
13617
|
-
writer.
|
|
15685
|
+
f = message.getRubric();
|
|
15686
|
+
if (f !== 0.0) {
|
|
15687
|
+
writer.writeEnum(
|
|
13618
15688
|
1,
|
|
13619
15689
|
f
|
|
13620
15690
|
);
|
|
13621
15691
|
}
|
|
13622
|
-
f = message.
|
|
15692
|
+
f = message.getUpdateUserId();
|
|
13623
15693
|
if (f.length > 0) {
|
|
13624
15694
|
writer.writeString(
|
|
13625
15695
|
2,
|
|
13626
15696
|
f
|
|
13627
15697
|
);
|
|
13628
15698
|
}
|
|
13629
|
-
f = message.
|
|
13630
|
-
if (f
|
|
13631
|
-
writer.
|
|
15699
|
+
f = message.getUpdateTime();
|
|
15700
|
+
if (f != null) {
|
|
15701
|
+
writer.writeMessage(
|
|
13632
15702
|
3,
|
|
13633
|
-
f
|
|
13634
|
-
|
|
13635
|
-
}
|
|
13636
|
-
f = message.getRating();
|
|
13637
|
-
if (f !== 0.0) {
|
|
13638
|
-
writer.writeEnum(
|
|
13639
|
-
4,
|
|
13640
|
-
f
|
|
15703
|
+
f,
|
|
15704
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
13641
15705
|
);
|
|
13642
15706
|
}
|
|
13643
15707
|
};
|
|
13644
15708
|
|
|
13645
15709
|
|
|
13646
15710
|
/**
|
|
13647
|
-
* optional
|
|
13648
|
-
* @return {
|
|
15711
|
+
* optional AISessionScoreRubric rubric = 1;
|
|
15712
|
+
* @return {!proto.gateway.web.v1.AISessionScoreRubric}
|
|
13649
15713
|
*/
|
|
13650
|
-
proto.gateway.web.v1.
|
|
13651
|
-
return /** @type {
|
|
15714
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.getRubric = function() {
|
|
15715
|
+
return /** @type {!proto.gateway.web.v1.AISessionScoreRubric} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
13652
15716
|
};
|
|
13653
15717
|
|
|
13654
15718
|
|
|
13655
15719
|
/**
|
|
13656
|
-
* @param {
|
|
13657
|
-
* @return {!proto.gateway.web.v1.
|
|
15720
|
+
* @param {!proto.gateway.web.v1.AISessionScoreRubric} value
|
|
15721
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
13658
15722
|
*/
|
|
13659
|
-
proto.gateway.web.v1.
|
|
13660
|
-
return jspb.Message.
|
|
15723
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.setRubric = function(value) {
|
|
15724
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
13661
15725
|
};
|
|
13662
15726
|
|
|
13663
15727
|
|
|
13664
15728
|
/**
|
|
13665
|
-
* optional string
|
|
15729
|
+
* optional string update_user_id = 2;
|
|
13666
15730
|
* @return {string}
|
|
13667
15731
|
*/
|
|
13668
|
-
proto.gateway.web.v1.
|
|
15732
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.getUpdateUserId = function() {
|
|
13669
15733
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
13670
15734
|
};
|
|
13671
15735
|
|
|
13672
15736
|
|
|
13673
15737
|
/**
|
|
13674
15738
|
* @param {string} value
|
|
13675
|
-
* @return {!proto.gateway.web.v1.
|
|
15739
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
13676
15740
|
*/
|
|
13677
|
-
proto.gateway.web.v1.
|
|
15741
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.setUpdateUserId = function(value) {
|
|
13678
15742
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
13679
15743
|
};
|
|
13680
15744
|
|
|
13681
15745
|
|
|
13682
15746
|
/**
|
|
13683
|
-
* optional
|
|
13684
|
-
* @return {
|
|
15747
|
+
* optional google.protobuf.Timestamp update_time = 3;
|
|
15748
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
13685
15749
|
*/
|
|
13686
|
-
proto.gateway.web.v1.
|
|
13687
|
-
return /** @type
|
|
15750
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.getUpdateTime = function() {
|
|
15751
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
15752
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
13688
15753
|
};
|
|
13689
15754
|
|
|
13690
15755
|
|
|
13691
15756
|
/**
|
|
13692
|
-
* @param {
|
|
13693
|
-
* @return {!proto.gateway.web.v1.
|
|
13694
|
-
|
|
13695
|
-
proto.gateway.web.v1.
|
|
13696
|
-
return jspb.Message.
|
|
15757
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
15758
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
15759
|
+
*/
|
|
15760
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.setUpdateTime = function(value) {
|
|
15761
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
13697
15762
|
};
|
|
13698
15763
|
|
|
13699
15764
|
|
|
13700
15765
|
/**
|
|
13701
|
-
*
|
|
13702
|
-
* @return {!proto.gateway.web.v1.
|
|
15766
|
+
* Clears the message field making it undefined.
|
|
15767
|
+
* @return {!proto.gateway.web.v1.ProjectSessionScoreRubric} returns this
|
|
13703
15768
|
*/
|
|
13704
|
-
proto.gateway.web.v1.
|
|
13705
|
-
return
|
|
15769
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.clearUpdateTime = function() {
|
|
15770
|
+
return this.setUpdateTime(undefined);
|
|
13706
15771
|
};
|
|
13707
15772
|
|
|
13708
15773
|
|
|
13709
15774
|
/**
|
|
13710
|
-
*
|
|
13711
|
-
* @return {
|
|
15775
|
+
* Returns whether this field is set.
|
|
15776
|
+
* @return {boolean}
|
|
13712
15777
|
*/
|
|
13713
|
-
proto.gateway.web.v1.
|
|
13714
|
-
return jspb.Message.
|
|
15778
|
+
proto.gateway.web.v1.ProjectSessionScoreRubric.prototype.hasUpdateTime = function() {
|
|
15779
|
+
return jspb.Message.getField(this, 3) != null;
|
|
13715
15780
|
};
|
|
13716
15781
|
|
|
13717
15782
|
|
|
@@ -61926,6 +63991,19 @@ proto.gateway.web.v1.AILabelRating = {
|
|
|
61926
63991
|
AI_LABEL_RATING_BAD: 3
|
|
61927
63992
|
};
|
|
61928
63993
|
|
|
63994
|
+
/**
|
|
63995
|
+
* @enum {number}
|
|
63996
|
+
*/
|
|
63997
|
+
proto.gateway.web.v1.AISessionScoreRubric = {
|
|
63998
|
+
AI_SESSION_SCORE_RUBRIC_UNSPECIFIED: 0,
|
|
63999
|
+
AI_SESSION_SCORE_RUBRIC_CUSTOM: 1,
|
|
64000
|
+
AI_SESSION_SCORE_RUBRIC_STANDARD: 2,
|
|
64001
|
+
AI_SESSION_SCORE_RUBRIC_TOKEN_EFFICIENCY: 3,
|
|
64002
|
+
AI_SESSION_SCORE_RUBRIC_SKILLED_USE: 4,
|
|
64003
|
+
AI_SESSION_SCORE_RUBRIC_QUALITY: 5,
|
|
64004
|
+
AI_SESSION_SCORE_RUBRIC_OWNERSHIP: 6
|
|
64005
|
+
};
|
|
64006
|
+
|
|
61929
64007
|
/**
|
|
61930
64008
|
* @enum {number}
|
|
61931
64009
|
*/
|