@miradorlabs/web-grpc 4.24.0 → 4.25.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.
- package/google/api/field_behavior.ts +1 -1
- package/google/protobuf/descriptor.ts +1 -1
- package/google/protobuf/duration.ts +1 -1
- package/google/protobuf/timestamp.ts +1 -1
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +1 -1
- package/proto/gateway/common/v1/status.ts +1 -1
- package/proto/gateway/common/v1/types.ts +1 -1
- package/proto/gateway/web/v1/account_gateway.ts +1 -1
- package/proto/gateway/web/v1/admin_gateway.ts +158 -1210
- package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +52 -158
- package/proto/gateway/web/v1/admin_gateway_pb.js +224 -2187
- package/proto/gateway/web/v1/ai_gateway.ts +1 -1
- package/proto/gateway/web/v1/attribute_value.ts +1 -1
- package/proto/gateway/web/v1/beta_gateway.ts +1 -1
- package/proto/gateway/web/v1/chain_gateway.ts +1 -1
- package/proto/gateway/web/v1/claude_enterprise_gateway.ts +1 -1
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
- package/proto/gateway/web/v1/desktop_auth_gateway.ts +1 -1
- package/proto/gateway/web/v1/github_connector.ts +1 -1
- package/proto/gateway/web/v1/integration_gateway.ts +1 -1
- package/proto/gateway/web/v1/log_gateway.ts +1 -1
- package/proto/gateway/web/v1/market_gateway.ts +1 -1
- package/proto/gateway/web/v1/metric_gateway.ts +1 -1
- package/proto/gateway/web/v1/notification_gateway.ts +1 -1
- package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
- package/proto/gateway/web/v1/plan_gateway.ts +1 -1
- package/proto/gateway/web/v1/policy_gateway.ts +1 -1
- package/proto/gateway/web/v1/reference_gateway.ts +1 -1
- package/proto/gateway/web/v1/rule_gateway.ts +1 -1
- package/proto/gateway/web/v1/slo_gateway.ts +1 -1
- package/proto/gateway/web/v1/trace_gateway.ts +1 -1
- package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
|
@@ -30,11 +30,7 @@ goog.object.extend(proto, proto_gateway_web_v1_reference_gateway_pb);
|
|
|
30
30
|
var proto_gateway_web_v1_trace_gateway_pb = require('../../../../proto/gateway/web/v1/trace_gateway_pb.js');
|
|
31
31
|
goog.object.extend(proto, proto_gateway_web_v1_trace_gateway_pb);
|
|
32
32
|
goog.exportSymbol('proto.gateway.web.v1.AITask', null, global);
|
|
33
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
34
|
-
goog.exportSymbol('proto.gateway.web.v1.AITaskDefinition', null, global);
|
|
35
|
-
goog.exportSymbol('proto.gateway.web.v1.AITaskRevision', null, global);
|
|
36
|
-
goog.exportSymbol('proto.gateway.web.v1.ActivateAITaskRevisionRequest', null, global);
|
|
37
|
-
goog.exportSymbol('proto.gateway.web.v1.ActivateAITaskRevisionResponse', null, global);
|
|
33
|
+
goog.exportSymbol('proto.gateway.web.v1.AITaskModel', null, global);
|
|
38
34
|
goog.exportSymbol('proto.gateway.web.v1.AdminRelayHeartbeat', null, global);
|
|
39
35
|
goog.exportSymbol('proto.gateway.web.v1.AdminUsageDimension', null, global);
|
|
40
36
|
goog.exportSymbol('proto.gateway.web.v1.AdminUsageGroup', null, global);
|
|
@@ -48,19 +44,13 @@ goog.exportSymbol('proto.gateway.web.v1.ConfirmAIModelsRequest', null, global);
|
|
|
48
44
|
goog.exportSymbol('proto.gateway.web.v1.ConfirmAIModelsResponse', null, global);
|
|
49
45
|
goog.exportSymbol('proto.gateway.web.v1.ConfirmAIProvidersRequest', null, global);
|
|
50
46
|
goog.exportSymbol('proto.gateway.web.v1.ConfirmAIProvidersResponse', null, global);
|
|
51
|
-
goog.exportSymbol('proto.gateway.web.v1.CreateAITaskRevisionRequest', null, global);
|
|
52
|
-
goog.exportSymbol('proto.gateway.web.v1.CreateAITaskRevisionResponse', null, global);
|
|
53
|
-
goog.exportSymbol('proto.gateway.web.v1.DeactivateAITaskRevisionRequest', null, global);
|
|
54
|
-
goog.exportSymbol('proto.gateway.web.v1.DeactivateAITaskRevisionResponse', null, global);
|
|
55
47
|
goog.exportSymbol('proto.gateway.web.v1.GenerateInviteCodesRequest', null, global);
|
|
56
48
|
goog.exportSymbol('proto.gateway.web.v1.GenerateInviteCodesResponse', null, global);
|
|
57
49
|
goog.exportSymbol('proto.gateway.web.v1.GetAdminStatusRequest', null, global);
|
|
58
50
|
goog.exportSymbol('proto.gateway.web.v1.GetAdminStatusResponse', null, global);
|
|
59
51
|
goog.exportSymbol('proto.gateway.web.v1.InviteCode', null, global);
|
|
60
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
61
|
-
goog.exportSymbol('proto.gateway.web.v1.
|
|
62
|
-
goog.exportSymbol('proto.gateway.web.v1.ListAITasksRequest', null, global);
|
|
63
|
-
goog.exportSymbol('proto.gateway.web.v1.ListAITasksResponse', null, global);
|
|
52
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAITaskModelsRequest', null, global);
|
|
53
|
+
goog.exportSymbol('proto.gateway.web.v1.ListAITaskModelsResponse', null, global);
|
|
64
54
|
goog.exportSymbol('proto.gateway.web.v1.ListAdminRelayHeartbeatsRequest', null, global);
|
|
65
55
|
goog.exportSymbol('proto.gateway.web.v1.ListAdminRelayHeartbeatsResponse', null, global);
|
|
66
56
|
goog.exportSymbol('proto.gateway.web.v1.ListAdminUsageGroupsRequest', null, global);
|
|
@@ -85,6 +75,8 @@ goog.exportSymbol('proto.gateway.web.v1.UpdateAIModelRequest', null, global);
|
|
|
85
75
|
goog.exportSymbol('proto.gateway.web.v1.UpdateAIModelResponse', null, global);
|
|
86
76
|
goog.exportSymbol('proto.gateway.web.v1.UpdateAIProviderRequest', null, global);
|
|
87
77
|
goog.exportSymbol('proto.gateway.web.v1.UpdateAIProviderResponse', null, global);
|
|
78
|
+
goog.exportSymbol('proto.gateway.web.v1.UpdateAITaskModelRequest', null, global);
|
|
79
|
+
goog.exportSymbol('proto.gateway.web.v1.UpdateAITaskModelResponse', null, global);
|
|
88
80
|
goog.exportSymbol('proto.gateway.web.v1.UserDetails', null, global);
|
|
89
81
|
/**
|
|
90
82
|
* Generated by JsPbCodeGenerator.
|
|
@@ -957,16 +949,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
957
949
|
* @extends {jspb.Message}
|
|
958
950
|
* @constructor
|
|
959
951
|
*/
|
|
960
|
-
proto.gateway.web.v1.
|
|
952
|
+
proto.gateway.web.v1.ListAITaskModelsRequest = function(opt_data) {
|
|
961
953
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
962
954
|
};
|
|
963
|
-
goog.inherits(proto.gateway.web.v1.
|
|
955
|
+
goog.inherits(proto.gateway.web.v1.ListAITaskModelsRequest, jspb.Message);
|
|
964
956
|
if (goog.DEBUG && !COMPILED) {
|
|
965
957
|
/**
|
|
966
958
|
* @public
|
|
967
959
|
* @override
|
|
968
960
|
*/
|
|
969
|
-
proto.gateway.web.v1.
|
|
961
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.displayName = 'proto.gateway.web.v1.ListAITaskModelsRequest';
|
|
970
962
|
}
|
|
971
963
|
/**
|
|
972
964
|
* Generated by JsPbCodeGenerator.
|
|
@@ -978,16 +970,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
978
970
|
* @extends {jspb.Message}
|
|
979
971
|
* @constructor
|
|
980
972
|
*/
|
|
981
|
-
proto.gateway.web.v1.
|
|
982
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.
|
|
973
|
+
proto.gateway.web.v1.ListAITaskModelsResponse = function(opt_data) {
|
|
974
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAITaskModelsResponse.repeatedFields_, null);
|
|
983
975
|
};
|
|
984
|
-
goog.inherits(proto.gateway.web.v1.
|
|
976
|
+
goog.inherits(proto.gateway.web.v1.ListAITaskModelsResponse, jspb.Message);
|
|
985
977
|
if (goog.DEBUG && !COMPILED) {
|
|
986
978
|
/**
|
|
987
979
|
* @public
|
|
988
980
|
* @override
|
|
989
981
|
*/
|
|
990
|
-
proto.gateway.web.v1.
|
|
982
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.displayName = 'proto.gateway.web.v1.ListAITaskModelsResponse';
|
|
991
983
|
}
|
|
992
984
|
/**
|
|
993
985
|
* Generated by JsPbCodeGenerator.
|
|
@@ -999,16 +991,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
999
991
|
* @extends {jspb.Message}
|
|
1000
992
|
* @constructor
|
|
1001
993
|
*/
|
|
1002
|
-
proto.gateway.web.v1.
|
|
994
|
+
proto.gateway.web.v1.AITaskModel = function(opt_data) {
|
|
1003
995
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1004
996
|
};
|
|
1005
|
-
goog.inherits(proto.gateway.web.v1.
|
|
997
|
+
goog.inherits(proto.gateway.web.v1.AITaskModel, jspb.Message);
|
|
1006
998
|
if (goog.DEBUG && !COMPILED) {
|
|
1007
999
|
/**
|
|
1008
1000
|
* @public
|
|
1009
1001
|
* @override
|
|
1010
1002
|
*/
|
|
1011
|
-
proto.gateway.web.v1.
|
|
1003
|
+
proto.gateway.web.v1.AITaskModel.displayName = 'proto.gateway.web.v1.AITaskModel';
|
|
1012
1004
|
}
|
|
1013
1005
|
/**
|
|
1014
1006
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1020,16 +1012,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1020
1012
|
* @extends {jspb.Message}
|
|
1021
1013
|
* @constructor
|
|
1022
1014
|
*/
|
|
1023
|
-
proto.gateway.web.v1.
|
|
1015
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest = function(opt_data) {
|
|
1024
1016
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1025
1017
|
};
|
|
1026
|
-
goog.inherits(proto.gateway.web.v1.
|
|
1018
|
+
goog.inherits(proto.gateway.web.v1.UpdateAITaskModelRequest, jspb.Message);
|
|
1027
1019
|
if (goog.DEBUG && !COMPILED) {
|
|
1028
1020
|
/**
|
|
1029
1021
|
* @public
|
|
1030
1022
|
* @override
|
|
1031
1023
|
*/
|
|
1032
|
-
proto.gateway.web.v1.
|
|
1024
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.displayName = 'proto.gateway.web.v1.UpdateAITaskModelRequest';
|
|
1033
1025
|
}
|
|
1034
1026
|
/**
|
|
1035
1027
|
* Generated by JsPbCodeGenerator.
|
|
@@ -1041,184 +1033,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1041
1033
|
* @extends {jspb.Message}
|
|
1042
1034
|
* @constructor
|
|
1043
1035
|
*/
|
|
1044
|
-
proto.gateway.web.v1.
|
|
1036
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse = function(opt_data) {
|
|
1045
1037
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1046
1038
|
};
|
|
1047
|
-
goog.inherits(proto.gateway.web.v1.
|
|
1039
|
+
goog.inherits(proto.gateway.web.v1.UpdateAITaskModelResponse, jspb.Message);
|
|
1048
1040
|
if (goog.DEBUG && !COMPILED) {
|
|
1049
1041
|
/**
|
|
1050
1042
|
* @public
|
|
1051
1043
|
* @override
|
|
1052
1044
|
*/
|
|
1053
|
-
proto.gateway.web.v1.
|
|
1054
|
-
}
|
|
1055
|
-
/**
|
|
1056
|
-
* Generated by JsPbCodeGenerator.
|
|
1057
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1058
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1059
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1060
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1061
|
-
* valid.
|
|
1062
|
-
* @extends {jspb.Message}
|
|
1063
|
-
* @constructor
|
|
1064
|
-
*/
|
|
1065
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest = function(opt_data) {
|
|
1066
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1067
|
-
};
|
|
1068
|
-
goog.inherits(proto.gateway.web.v1.ListAITaskRevisionsRequest, jspb.Message);
|
|
1069
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1070
|
-
/**
|
|
1071
|
-
* @public
|
|
1072
|
-
* @override
|
|
1073
|
-
*/
|
|
1074
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.displayName = 'proto.gateway.web.v1.ListAITaskRevisionsRequest';
|
|
1075
|
-
}
|
|
1076
|
-
/**
|
|
1077
|
-
* Generated by JsPbCodeGenerator.
|
|
1078
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1079
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1080
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1081
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1082
|
-
* valid.
|
|
1083
|
-
* @extends {jspb.Message}
|
|
1084
|
-
* @constructor
|
|
1085
|
-
*/
|
|
1086
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse = function(opt_data) {
|
|
1087
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAITaskRevisionsResponse.repeatedFields_, null);
|
|
1088
|
-
};
|
|
1089
|
-
goog.inherits(proto.gateway.web.v1.ListAITaskRevisionsResponse, jspb.Message);
|
|
1090
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1091
|
-
/**
|
|
1092
|
-
* @public
|
|
1093
|
-
* @override
|
|
1094
|
-
*/
|
|
1095
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.displayName = 'proto.gateway.web.v1.ListAITaskRevisionsResponse';
|
|
1096
|
-
}
|
|
1097
|
-
/**
|
|
1098
|
-
* Generated by JsPbCodeGenerator.
|
|
1099
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1100
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1101
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1102
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1103
|
-
* valid.
|
|
1104
|
-
* @extends {jspb.Message}
|
|
1105
|
-
* @constructor
|
|
1106
|
-
*/
|
|
1107
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest = function(opt_data) {
|
|
1108
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1109
|
-
};
|
|
1110
|
-
goog.inherits(proto.gateway.web.v1.CreateAITaskRevisionRequest, jspb.Message);
|
|
1111
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1112
|
-
/**
|
|
1113
|
-
* @public
|
|
1114
|
-
* @override
|
|
1115
|
-
*/
|
|
1116
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.displayName = 'proto.gateway.web.v1.CreateAITaskRevisionRequest';
|
|
1117
|
-
}
|
|
1118
|
-
/**
|
|
1119
|
-
* Generated by JsPbCodeGenerator.
|
|
1120
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1121
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1122
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1123
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1124
|
-
* valid.
|
|
1125
|
-
* @extends {jspb.Message}
|
|
1126
|
-
* @constructor
|
|
1127
|
-
*/
|
|
1128
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse = function(opt_data) {
|
|
1129
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1130
|
-
};
|
|
1131
|
-
goog.inherits(proto.gateway.web.v1.CreateAITaskRevisionResponse, jspb.Message);
|
|
1132
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1133
|
-
/**
|
|
1134
|
-
* @public
|
|
1135
|
-
* @override
|
|
1136
|
-
*/
|
|
1137
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.displayName = 'proto.gateway.web.v1.CreateAITaskRevisionResponse';
|
|
1138
|
-
}
|
|
1139
|
-
/**
|
|
1140
|
-
* Generated by JsPbCodeGenerator.
|
|
1141
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1142
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1143
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1144
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1145
|
-
* valid.
|
|
1146
|
-
* @extends {jspb.Message}
|
|
1147
|
-
* @constructor
|
|
1148
|
-
*/
|
|
1149
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest = function(opt_data) {
|
|
1150
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1151
|
-
};
|
|
1152
|
-
goog.inherits(proto.gateway.web.v1.ActivateAITaskRevisionRequest, jspb.Message);
|
|
1153
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1154
|
-
/**
|
|
1155
|
-
* @public
|
|
1156
|
-
* @override
|
|
1157
|
-
*/
|
|
1158
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.displayName = 'proto.gateway.web.v1.ActivateAITaskRevisionRequest';
|
|
1159
|
-
}
|
|
1160
|
-
/**
|
|
1161
|
-
* Generated by JsPbCodeGenerator.
|
|
1162
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1163
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1164
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1165
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1166
|
-
* valid.
|
|
1167
|
-
* @extends {jspb.Message}
|
|
1168
|
-
* @constructor
|
|
1169
|
-
*/
|
|
1170
|
-
proto.gateway.web.v1.ActivateAITaskRevisionResponse = function(opt_data) {
|
|
1171
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1172
|
-
};
|
|
1173
|
-
goog.inherits(proto.gateway.web.v1.ActivateAITaskRevisionResponse, jspb.Message);
|
|
1174
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1175
|
-
/**
|
|
1176
|
-
* @public
|
|
1177
|
-
* @override
|
|
1178
|
-
*/
|
|
1179
|
-
proto.gateway.web.v1.ActivateAITaskRevisionResponse.displayName = 'proto.gateway.web.v1.ActivateAITaskRevisionResponse';
|
|
1180
|
-
}
|
|
1181
|
-
/**
|
|
1182
|
-
* Generated by JsPbCodeGenerator.
|
|
1183
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1184
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1185
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1186
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1187
|
-
* valid.
|
|
1188
|
-
* @extends {jspb.Message}
|
|
1189
|
-
* @constructor
|
|
1190
|
-
*/
|
|
1191
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest = function(opt_data) {
|
|
1192
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1193
|
-
};
|
|
1194
|
-
goog.inherits(proto.gateway.web.v1.DeactivateAITaskRevisionRequest, jspb.Message);
|
|
1195
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1196
|
-
/**
|
|
1197
|
-
* @public
|
|
1198
|
-
* @override
|
|
1199
|
-
*/
|
|
1200
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.displayName = 'proto.gateway.web.v1.DeactivateAITaskRevisionRequest';
|
|
1201
|
-
}
|
|
1202
|
-
/**
|
|
1203
|
-
* Generated by JsPbCodeGenerator.
|
|
1204
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1205
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
1206
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
1207
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
1208
|
-
* valid.
|
|
1209
|
-
* @extends {jspb.Message}
|
|
1210
|
-
* @constructor
|
|
1211
|
-
*/
|
|
1212
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse = function(opt_data) {
|
|
1213
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1214
|
-
};
|
|
1215
|
-
goog.inherits(proto.gateway.web.v1.DeactivateAITaskRevisionResponse, jspb.Message);
|
|
1216
|
-
if (goog.DEBUG && !COMPILED) {
|
|
1217
|
-
/**
|
|
1218
|
-
* @public
|
|
1219
|
-
* @override
|
|
1220
|
-
*/
|
|
1221
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.displayName = 'proto.gateway.web.v1.DeactivateAITaskRevisionResponse';
|
|
1045
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.displayName = 'proto.gateway.web.v1.UpdateAITaskModelResponse';
|
|
1222
1046
|
}
|
|
1223
1047
|
|
|
1224
1048
|
|
|
@@ -10355,8 +10179,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10355
10179
|
* http://goto/soy-param-migration
|
|
10356
10180
|
* @return {!Object}
|
|
10357
10181
|
*/
|
|
10358
|
-
proto.gateway.web.v1.
|
|
10359
|
-
return proto.gateway.web.v1.
|
|
10182
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10183
|
+
return proto.gateway.web.v1.ListAITaskModelsRequest.toObject(opt_includeInstance, this);
|
|
10360
10184
|
};
|
|
10361
10185
|
|
|
10362
10186
|
|
|
@@ -10365,11 +10189,11 @@ proto.gateway.web.v1.ListAITasksRequest.prototype.toObject = function(opt_includ
|
|
|
10365
10189
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10366
10190
|
* the JSPB instance for transitional soy proto support:
|
|
10367
10191
|
* http://goto/soy-param-migration
|
|
10368
|
-
* @param {!proto.gateway.web.v1.
|
|
10192
|
+
* @param {!proto.gateway.web.v1.ListAITaskModelsRequest} msg The msg instance to transform.
|
|
10369
10193
|
* @return {!Object}
|
|
10370
10194
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10371
10195
|
*/
|
|
10372
|
-
proto.gateway.web.v1.
|
|
10196
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.toObject = function(includeInstance, msg) {
|
|
10373
10197
|
var f, obj = {
|
|
10374
10198
|
|
|
10375
10199
|
};
|
|
@@ -10385,23 +10209,23 @@ proto.gateway.web.v1.ListAITasksRequest.toObject = function(includeInstance, msg
|
|
|
10385
10209
|
/**
|
|
10386
10210
|
* Deserializes binary data (in protobuf wire format).
|
|
10387
10211
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
10388
|
-
* @return {!proto.gateway.web.v1.
|
|
10212
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsRequest}
|
|
10389
10213
|
*/
|
|
10390
|
-
proto.gateway.web.v1.
|
|
10214
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.deserializeBinary = function(bytes) {
|
|
10391
10215
|
var reader = new jspb.BinaryReader(bytes);
|
|
10392
|
-
var msg = new proto.gateway.web.v1.
|
|
10393
|
-
return proto.gateway.web.v1.
|
|
10216
|
+
var msg = new proto.gateway.web.v1.ListAITaskModelsRequest;
|
|
10217
|
+
return proto.gateway.web.v1.ListAITaskModelsRequest.deserializeBinaryFromReader(msg, reader);
|
|
10394
10218
|
};
|
|
10395
10219
|
|
|
10396
10220
|
|
|
10397
10221
|
/**
|
|
10398
10222
|
* Deserializes binary data (in protobuf wire format) from the
|
|
10399
10223
|
* given reader into the given message object.
|
|
10400
|
-
* @param {!proto.gateway.web.v1.
|
|
10224
|
+
* @param {!proto.gateway.web.v1.ListAITaskModelsRequest} msg The message object to deserialize into.
|
|
10401
10225
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10402
|
-
* @return {!proto.gateway.web.v1.
|
|
10226
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsRequest}
|
|
10403
10227
|
*/
|
|
10404
|
-
proto.gateway.web.v1.
|
|
10228
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10405
10229
|
while (reader.nextField()) {
|
|
10406
10230
|
if (reader.isEndGroup()) {
|
|
10407
10231
|
break;
|
|
@@ -10421,9 +10245,9 @@ proto.gateway.web.v1.ListAITasksRequest.deserializeBinaryFromReader = function(m
|
|
|
10421
10245
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10422
10246
|
* @return {!Uint8Array}
|
|
10423
10247
|
*/
|
|
10424
|
-
proto.gateway.web.v1.
|
|
10248
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.prototype.serializeBinary = function() {
|
|
10425
10249
|
var writer = new jspb.BinaryWriter();
|
|
10426
|
-
proto.gateway.web.v1.
|
|
10250
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.serializeBinaryToWriter(this, writer);
|
|
10427
10251
|
return writer.getResultBuffer();
|
|
10428
10252
|
};
|
|
10429
10253
|
|
|
@@ -10431,11 +10255,11 @@ proto.gateway.web.v1.ListAITasksRequest.prototype.serializeBinary = function() {
|
|
|
10431
10255
|
/**
|
|
10432
10256
|
* Serializes the given message to binary data (in protobuf wire
|
|
10433
10257
|
* format), writing to the given BinaryWriter.
|
|
10434
|
-
* @param {!proto.gateway.web.v1.
|
|
10258
|
+
* @param {!proto.gateway.web.v1.ListAITaskModelsRequest} message
|
|
10435
10259
|
* @param {!jspb.BinaryWriter} writer
|
|
10436
10260
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10437
10261
|
*/
|
|
10438
|
-
proto.gateway.web.v1.
|
|
10262
|
+
proto.gateway.web.v1.ListAITaskModelsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10439
10263
|
var f = undefined;
|
|
10440
10264
|
};
|
|
10441
10265
|
|
|
@@ -10446,7 +10270,7 @@ proto.gateway.web.v1.ListAITasksRequest.serializeBinaryToWriter = function(messa
|
|
|
10446
10270
|
* @private {!Array<number>}
|
|
10447
10271
|
* @const
|
|
10448
10272
|
*/
|
|
10449
|
-
proto.gateway.web.v1.
|
|
10273
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.repeatedFields_ = [2];
|
|
10450
10274
|
|
|
10451
10275
|
|
|
10452
10276
|
|
|
@@ -10463,8 +10287,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10463
10287
|
* http://goto/soy-param-migration
|
|
10464
10288
|
* @return {!Object}
|
|
10465
10289
|
*/
|
|
10466
|
-
proto.gateway.web.v1.
|
|
10467
|
-
return proto.gateway.web.v1.
|
|
10290
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10291
|
+
return proto.gateway.web.v1.ListAITaskModelsResponse.toObject(opt_includeInstance, this);
|
|
10468
10292
|
};
|
|
10469
10293
|
|
|
10470
10294
|
|
|
@@ -10473,15 +10297,15 @@ proto.gateway.web.v1.ListAITasksResponse.prototype.toObject = function(opt_inclu
|
|
|
10473
10297
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10474
10298
|
* the JSPB instance for transitional soy proto support:
|
|
10475
10299
|
* http://goto/soy-param-migration
|
|
10476
|
-
* @param {!proto.gateway.web.v1.
|
|
10300
|
+
* @param {!proto.gateway.web.v1.ListAITaskModelsResponse} msg The msg instance to transform.
|
|
10477
10301
|
* @return {!Object}
|
|
10478
10302
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10479
10303
|
*/
|
|
10480
|
-
proto.gateway.web.v1.
|
|
10304
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.toObject = function(includeInstance, msg) {
|
|
10481
10305
|
var f, obj = {
|
|
10482
10306
|
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
10483
|
-
|
|
10484
|
-
proto.gateway.web.v1.
|
|
10307
|
+
taskModelsList: jspb.Message.toObjectList(msg.getTaskModelsList(),
|
|
10308
|
+
proto.gateway.web.v1.AITaskModel.toObject, includeInstance)
|
|
10485
10309
|
};
|
|
10486
10310
|
|
|
10487
10311
|
if (includeInstance) {
|
|
@@ -10495,23 +10319,23 @@ tasksList: jspb.Message.toObjectList(msg.getTasksList(),
|
|
|
10495
10319
|
/**
|
|
10496
10320
|
* Deserializes binary data (in protobuf wire format).
|
|
10497
10321
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
10498
|
-
* @return {!proto.gateway.web.v1.
|
|
10322
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsResponse}
|
|
10499
10323
|
*/
|
|
10500
|
-
proto.gateway.web.v1.
|
|
10324
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.deserializeBinary = function(bytes) {
|
|
10501
10325
|
var reader = new jspb.BinaryReader(bytes);
|
|
10502
|
-
var msg = new proto.gateway.web.v1.
|
|
10503
|
-
return proto.gateway.web.v1.
|
|
10326
|
+
var msg = new proto.gateway.web.v1.ListAITaskModelsResponse;
|
|
10327
|
+
return proto.gateway.web.v1.ListAITaskModelsResponse.deserializeBinaryFromReader(msg, reader);
|
|
10504
10328
|
};
|
|
10505
10329
|
|
|
10506
10330
|
|
|
10507
10331
|
/**
|
|
10508
10332
|
* Deserializes binary data (in protobuf wire format) from the
|
|
10509
10333
|
* given reader into the given message object.
|
|
10510
|
-
* @param {!proto.gateway.web.v1.
|
|
10334
|
+
* @param {!proto.gateway.web.v1.ListAITaskModelsResponse} msg The message object to deserialize into.
|
|
10511
10335
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10512
|
-
* @return {!proto.gateway.web.v1.
|
|
10336
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsResponse}
|
|
10513
10337
|
*/
|
|
10514
|
-
proto.gateway.web.v1.
|
|
10338
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10515
10339
|
while (reader.nextField()) {
|
|
10516
10340
|
if (reader.isEndGroup()) {
|
|
10517
10341
|
break;
|
|
@@ -10524,9 +10348,9 @@ proto.gateway.web.v1.ListAITasksResponse.deserializeBinaryFromReader = function(
|
|
|
10524
10348
|
msg.setStatus(value);
|
|
10525
10349
|
break;
|
|
10526
10350
|
case 2:
|
|
10527
|
-
var value = new proto.gateway.web.v1.
|
|
10528
|
-
reader.readMessage(value,proto.gateway.web.v1.
|
|
10529
|
-
msg.
|
|
10351
|
+
var value = new proto.gateway.web.v1.AITaskModel;
|
|
10352
|
+
reader.readMessage(value,proto.gateway.web.v1.AITaskModel.deserializeBinaryFromReader);
|
|
10353
|
+
msg.addTaskModels(value);
|
|
10530
10354
|
break;
|
|
10531
10355
|
default:
|
|
10532
10356
|
reader.skipField();
|
|
@@ -10541,9 +10365,9 @@ proto.gateway.web.v1.ListAITasksResponse.deserializeBinaryFromReader = function(
|
|
|
10541
10365
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10542
10366
|
* @return {!Uint8Array}
|
|
10543
10367
|
*/
|
|
10544
|
-
proto.gateway.web.v1.
|
|
10368
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.serializeBinary = function() {
|
|
10545
10369
|
var writer = new jspb.BinaryWriter();
|
|
10546
|
-
proto.gateway.web.v1.
|
|
10370
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.serializeBinaryToWriter(this, writer);
|
|
10547
10371
|
return writer.getResultBuffer();
|
|
10548
10372
|
};
|
|
10549
10373
|
|
|
@@ -10551,11 +10375,11 @@ proto.gateway.web.v1.ListAITasksResponse.prototype.serializeBinary = function()
|
|
|
10551
10375
|
/**
|
|
10552
10376
|
* Serializes the given message to binary data (in protobuf wire
|
|
10553
10377
|
* format), writing to the given BinaryWriter.
|
|
10554
|
-
* @param {!proto.gateway.web.v1.
|
|
10378
|
+
* @param {!proto.gateway.web.v1.ListAITaskModelsResponse} message
|
|
10555
10379
|
* @param {!jspb.BinaryWriter} writer
|
|
10556
10380
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10557
10381
|
*/
|
|
10558
|
-
proto.gateway.web.v1.
|
|
10382
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10559
10383
|
var f = undefined;
|
|
10560
10384
|
f = message.getStatus();
|
|
10561
10385
|
if (f != null) {
|
|
@@ -10565,12 +10389,12 @@ proto.gateway.web.v1.ListAITasksResponse.serializeBinaryToWriter = function(mess
|
|
|
10565
10389
|
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
10566
10390
|
);
|
|
10567
10391
|
}
|
|
10568
|
-
f = message.
|
|
10392
|
+
f = message.getTaskModelsList();
|
|
10569
10393
|
if (f.length > 0) {
|
|
10570
10394
|
writer.writeRepeatedMessage(
|
|
10571
10395
|
2,
|
|
10572
10396
|
f,
|
|
10573
|
-
proto.gateway.web.v1.
|
|
10397
|
+
proto.gateway.web.v1.AITaskModel.serializeBinaryToWriter
|
|
10574
10398
|
);
|
|
10575
10399
|
}
|
|
10576
10400
|
};
|
|
@@ -10580,7 +10404,7 @@ proto.gateway.web.v1.ListAITasksResponse.serializeBinaryToWriter = function(mess
|
|
|
10580
10404
|
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
10581
10405
|
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
10582
10406
|
*/
|
|
10583
|
-
proto.gateway.web.v1.
|
|
10407
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.getStatus = function() {
|
|
10584
10408
|
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
10585
10409
|
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
10586
10410
|
};
|
|
@@ -10588,18 +10412,18 @@ proto.gateway.web.v1.ListAITasksResponse.prototype.getStatus = function() {
|
|
|
10588
10412
|
|
|
10589
10413
|
/**
|
|
10590
10414
|
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
10591
|
-
* @return {!proto.gateway.web.v1.
|
|
10415
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsResponse} returns this
|
|
10592
10416
|
*/
|
|
10593
|
-
proto.gateway.web.v1.
|
|
10417
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.setStatus = function(value) {
|
|
10594
10418
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
10595
10419
|
};
|
|
10596
10420
|
|
|
10597
10421
|
|
|
10598
10422
|
/**
|
|
10599
10423
|
* Clears the message field making it undefined.
|
|
10600
|
-
* @return {!proto.gateway.web.v1.
|
|
10424
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsResponse} returns this
|
|
10601
10425
|
*/
|
|
10602
|
-
proto.gateway.web.v1.
|
|
10426
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.clearStatus = function() {
|
|
10603
10427
|
return this.setStatus(undefined);
|
|
10604
10428
|
};
|
|
10605
10429
|
|
|
@@ -10608,46 +10432,46 @@ proto.gateway.web.v1.ListAITasksResponse.prototype.clearStatus = function() {
|
|
|
10608
10432
|
* Returns whether this field is set.
|
|
10609
10433
|
* @return {boolean}
|
|
10610
10434
|
*/
|
|
10611
|
-
proto.gateway.web.v1.
|
|
10435
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.hasStatus = function() {
|
|
10612
10436
|
return jspb.Message.getField(this, 1) != null;
|
|
10613
10437
|
};
|
|
10614
10438
|
|
|
10615
10439
|
|
|
10616
10440
|
/**
|
|
10617
|
-
* repeated
|
|
10618
|
-
* @return {!Array<!proto.gateway.web.v1.
|
|
10441
|
+
* repeated AITaskModel task_models = 2;
|
|
10442
|
+
* @return {!Array<!proto.gateway.web.v1.AITaskModel>}
|
|
10619
10443
|
*/
|
|
10620
|
-
proto.gateway.web.v1.
|
|
10621
|
-
return /** @type{!Array<!proto.gateway.web.v1.
|
|
10622
|
-
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.
|
|
10444
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.getTaskModelsList = function() {
|
|
10445
|
+
return /** @type{!Array<!proto.gateway.web.v1.AITaskModel>} */ (
|
|
10446
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AITaskModel, 2));
|
|
10623
10447
|
};
|
|
10624
10448
|
|
|
10625
10449
|
|
|
10626
10450
|
/**
|
|
10627
|
-
* @param {!Array<!proto.gateway.web.v1.
|
|
10628
|
-
* @return {!proto.gateway.web.v1.
|
|
10451
|
+
* @param {!Array<!proto.gateway.web.v1.AITaskModel>} value
|
|
10452
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsResponse} returns this
|
|
10629
10453
|
*/
|
|
10630
|
-
proto.gateway.web.v1.
|
|
10454
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.setTaskModelsList = function(value) {
|
|
10631
10455
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
10632
10456
|
};
|
|
10633
10457
|
|
|
10634
10458
|
|
|
10635
10459
|
/**
|
|
10636
|
-
* @param {!proto.gateway.web.v1.
|
|
10460
|
+
* @param {!proto.gateway.web.v1.AITaskModel=} opt_value
|
|
10637
10461
|
* @param {number=} opt_index
|
|
10638
|
-
* @return {!proto.gateway.web.v1.
|
|
10462
|
+
* @return {!proto.gateway.web.v1.AITaskModel}
|
|
10639
10463
|
*/
|
|
10640
|
-
proto.gateway.web.v1.
|
|
10641
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.
|
|
10464
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.addTaskModels = function(opt_value, opt_index) {
|
|
10465
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AITaskModel, opt_index);
|
|
10642
10466
|
};
|
|
10643
10467
|
|
|
10644
10468
|
|
|
10645
10469
|
/**
|
|
10646
10470
|
* Clears the list making it empty but non-null.
|
|
10647
|
-
* @return {!proto.gateway.web.v1.
|
|
10471
|
+
* @return {!proto.gateway.web.v1.ListAITaskModelsResponse} returns this
|
|
10648
10472
|
*/
|
|
10649
|
-
proto.gateway.web.v1.
|
|
10650
|
-
return this.
|
|
10473
|
+
proto.gateway.web.v1.ListAITaskModelsResponse.prototype.clearTaskModelsList = function() {
|
|
10474
|
+
return this.setTaskModelsList([]);
|
|
10651
10475
|
};
|
|
10652
10476
|
|
|
10653
10477
|
|
|
@@ -10667,8 +10491,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10667
10491
|
* http://goto/soy-param-migration
|
|
10668
10492
|
* @return {!Object}
|
|
10669
10493
|
*/
|
|
10670
|
-
proto.gateway.web.v1.
|
|
10671
|
-
return proto.gateway.web.v1.
|
|
10494
|
+
proto.gateway.web.v1.AITaskModel.prototype.toObject = function(opt_includeInstance) {
|
|
10495
|
+
return proto.gateway.web.v1.AITaskModel.toObject(opt_includeInstance, this);
|
|
10672
10496
|
};
|
|
10673
10497
|
|
|
10674
10498
|
|
|
@@ -10677,19 +10501,17 @@ proto.gateway.web.v1.AITaskDefinition.prototype.toObject = function(opt_includeI
|
|
|
10677
10501
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10678
10502
|
* the JSPB instance for transitional soy proto support:
|
|
10679
10503
|
* http://goto/soy-param-migration
|
|
10680
|
-
* @param {!proto.gateway.web.v1.
|
|
10504
|
+
* @param {!proto.gateway.web.v1.AITaskModel} msg The msg instance to transform.
|
|
10681
10505
|
* @return {!Object}
|
|
10682
10506
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10683
10507
|
*/
|
|
10684
|
-
proto.gateway.web.v1.
|
|
10508
|
+
proto.gateway.web.v1.AITaskModel.toObject = function(includeInstance, msg) {
|
|
10685
10509
|
var f, obj = {
|
|
10686
10510
|
task: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10687
10511
|
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10688
|
-
|
|
10689
|
-
|
|
10690
|
-
|
|
10691
|
-
appendedInstruction: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10692
|
-
builtInInstruction: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
10512
|
+
model: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10513
|
+
updateUserId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10514
|
+
updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
10693
10515
|
};
|
|
10694
10516
|
|
|
10695
10517
|
if (includeInstance) {
|
|
@@ -10703,23 +10525,23 @@ builtInInstruction: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
|
10703
10525
|
/**
|
|
10704
10526
|
* Deserializes binary data (in protobuf wire format).
|
|
10705
10527
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
10706
|
-
* @return {!proto.gateway.web.v1.
|
|
10528
|
+
* @return {!proto.gateway.web.v1.AITaskModel}
|
|
10707
10529
|
*/
|
|
10708
|
-
proto.gateway.web.v1.
|
|
10530
|
+
proto.gateway.web.v1.AITaskModel.deserializeBinary = function(bytes) {
|
|
10709
10531
|
var reader = new jspb.BinaryReader(bytes);
|
|
10710
|
-
var msg = new proto.gateway.web.v1.
|
|
10711
|
-
return proto.gateway.web.v1.
|
|
10532
|
+
var msg = new proto.gateway.web.v1.AITaskModel;
|
|
10533
|
+
return proto.gateway.web.v1.AITaskModel.deserializeBinaryFromReader(msg, reader);
|
|
10712
10534
|
};
|
|
10713
10535
|
|
|
10714
10536
|
|
|
10715
10537
|
/**
|
|
10716
10538
|
* Deserializes binary data (in protobuf wire format) from the
|
|
10717
10539
|
* given reader into the given message object.
|
|
10718
|
-
* @param {!proto.gateway.web.v1.
|
|
10540
|
+
* @param {!proto.gateway.web.v1.AITaskModel} msg The message object to deserialize into.
|
|
10719
10541
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10720
|
-
* @return {!proto.gateway.web.v1.
|
|
10542
|
+
* @return {!proto.gateway.web.v1.AITaskModel}
|
|
10721
10543
|
*/
|
|
10722
|
-
proto.gateway.web.v1.
|
|
10544
|
+
proto.gateway.web.v1.AITaskModel.deserializeBinaryFromReader = function(msg, reader) {
|
|
10723
10545
|
while (reader.nextField()) {
|
|
10724
10546
|
if (reader.isEndGroup()) {
|
|
10725
10547
|
break;
|
|
@@ -10736,24 +10558,16 @@ proto.gateway.web.v1.AITaskDefinition.deserializeBinaryFromReader = function(msg
|
|
|
10736
10558
|
break;
|
|
10737
10559
|
case 3:
|
|
10738
10560
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10739
|
-
msg.
|
|
10561
|
+
msg.setModel(value);
|
|
10740
10562
|
break;
|
|
10741
10563
|
case 4:
|
|
10742
|
-
var value = new proto.gateway.web.v1.AITaskActivation;
|
|
10743
|
-
reader.readMessage(value,proto.gateway.web.v1.AITaskActivation.deserializeBinaryFromReader);
|
|
10744
|
-
msg.setActivation(value);
|
|
10745
|
-
break;
|
|
10746
|
-
case 5:
|
|
10747
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10748
|
-
msg.setSchemaJson(value);
|
|
10749
|
-
break;
|
|
10750
|
-
case 6:
|
|
10751
10564
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
10752
|
-
msg.
|
|
10565
|
+
msg.setUpdateUserId(value);
|
|
10753
10566
|
break;
|
|
10754
|
-
case
|
|
10755
|
-
var value =
|
|
10756
|
-
|
|
10567
|
+
case 5:
|
|
10568
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
10569
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
10570
|
+
msg.setUpdateTime(value);
|
|
10757
10571
|
break;
|
|
10758
10572
|
default:
|
|
10759
10573
|
reader.skipField();
|
|
@@ -10768,9 +10582,9 @@ proto.gateway.web.v1.AITaskDefinition.deserializeBinaryFromReader = function(msg
|
|
|
10768
10582
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10769
10583
|
* @return {!Uint8Array}
|
|
10770
10584
|
*/
|
|
10771
|
-
proto.gateway.web.v1.
|
|
10585
|
+
proto.gateway.web.v1.AITaskModel.prototype.serializeBinary = function() {
|
|
10772
10586
|
var writer = new jspb.BinaryWriter();
|
|
10773
|
-
proto.gateway.web.v1.
|
|
10587
|
+
proto.gateway.web.v1.AITaskModel.serializeBinaryToWriter(this, writer);
|
|
10774
10588
|
return writer.getResultBuffer();
|
|
10775
10589
|
};
|
|
10776
10590
|
|
|
@@ -10778,11 +10592,11 @@ proto.gateway.web.v1.AITaskDefinition.prototype.serializeBinary = function() {
|
|
|
10778
10592
|
/**
|
|
10779
10593
|
* Serializes the given message to binary data (in protobuf wire
|
|
10780
10594
|
* format), writing to the given BinaryWriter.
|
|
10781
|
-
* @param {!proto.gateway.web.v1.
|
|
10595
|
+
* @param {!proto.gateway.web.v1.AITaskModel} message
|
|
10782
10596
|
* @param {!jspb.BinaryWriter} writer
|
|
10783
10597
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10784
10598
|
*/
|
|
10785
|
-
proto.gateway.web.v1.
|
|
10599
|
+
proto.gateway.web.v1.AITaskModel.serializeBinaryToWriter = function(message, writer) {
|
|
10786
10600
|
var f = undefined;
|
|
10787
10601
|
f = message.getTask();
|
|
10788
10602
|
if (f !== 0.0) {
|
|
@@ -10798,40 +10612,26 @@ proto.gateway.web.v1.AITaskDefinition.serializeBinaryToWriter = function(message
|
|
|
10798
10612
|
f
|
|
10799
10613
|
);
|
|
10800
10614
|
}
|
|
10801
|
-
f = message.
|
|
10615
|
+
f = message.getModel();
|
|
10802
10616
|
if (f.length > 0) {
|
|
10803
10617
|
writer.writeString(
|
|
10804
10618
|
3,
|
|
10805
10619
|
f
|
|
10806
10620
|
);
|
|
10807
10621
|
}
|
|
10808
|
-
f = message.
|
|
10809
|
-
if (f != null) {
|
|
10810
|
-
writer.writeMessage(
|
|
10811
|
-
4,
|
|
10812
|
-
f,
|
|
10813
|
-
proto.gateway.web.v1.AITaskActivation.serializeBinaryToWriter
|
|
10814
|
-
);
|
|
10815
|
-
}
|
|
10816
|
-
f = message.getSchemaJson();
|
|
10817
|
-
if (f.length > 0) {
|
|
10818
|
-
writer.writeString(
|
|
10819
|
-
5,
|
|
10820
|
-
f
|
|
10821
|
-
);
|
|
10822
|
-
}
|
|
10823
|
-
f = message.getAppendedInstruction();
|
|
10622
|
+
f = message.getUpdateUserId();
|
|
10824
10623
|
if (f.length > 0) {
|
|
10825
10624
|
writer.writeString(
|
|
10826
|
-
|
|
10625
|
+
4,
|
|
10827
10626
|
f
|
|
10828
10627
|
);
|
|
10829
10628
|
}
|
|
10830
|
-
f = message.
|
|
10831
|
-
if (f
|
|
10832
|
-
writer.
|
|
10833
|
-
|
|
10834
|
-
f
|
|
10629
|
+
f = message.getUpdateTime();
|
|
10630
|
+
if (f != null) {
|
|
10631
|
+
writer.writeMessage(
|
|
10632
|
+
5,
|
|
10633
|
+
f,
|
|
10634
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
10835
10635
|
);
|
|
10836
10636
|
}
|
|
10837
10637
|
};
|
|
@@ -10841,16 +10641,16 @@ proto.gateway.web.v1.AITaskDefinition.serializeBinaryToWriter = function(message
|
|
|
10841
10641
|
* optional AITask task = 1;
|
|
10842
10642
|
* @return {!proto.gateway.web.v1.AITask}
|
|
10843
10643
|
*/
|
|
10844
|
-
proto.gateway.web.v1.
|
|
10644
|
+
proto.gateway.web.v1.AITaskModel.prototype.getTask = function() {
|
|
10845
10645
|
return /** @type {!proto.gateway.web.v1.AITask} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10846
10646
|
};
|
|
10847
10647
|
|
|
10848
10648
|
|
|
10849
10649
|
/**
|
|
10850
10650
|
* @param {!proto.gateway.web.v1.AITask} value
|
|
10851
|
-
* @return {!proto.gateway.web.v1.
|
|
10651
|
+
* @return {!proto.gateway.web.v1.AITaskModel} returns this
|
|
10852
10652
|
*/
|
|
10853
|
-
proto.gateway.web.v1.
|
|
10653
|
+
proto.gateway.web.v1.AITaskModel.prototype.setTask = function(value) {
|
|
10854
10654
|
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
10855
10655
|
};
|
|
10856
10656
|
|
|
@@ -10859,126 +10659,90 @@ proto.gateway.web.v1.AITaskDefinition.prototype.setTask = function(value) {
|
|
|
10859
10659
|
* optional string display_name = 2;
|
|
10860
10660
|
* @return {string}
|
|
10861
10661
|
*/
|
|
10862
|
-
proto.gateway.web.v1.
|
|
10662
|
+
proto.gateway.web.v1.AITaskModel.prototype.getDisplayName = function() {
|
|
10863
10663
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10864
10664
|
};
|
|
10865
10665
|
|
|
10866
10666
|
|
|
10867
10667
|
/**
|
|
10868
10668
|
* @param {string} value
|
|
10869
|
-
* @return {!proto.gateway.web.v1.
|
|
10669
|
+
* @return {!proto.gateway.web.v1.AITaskModel} returns this
|
|
10870
10670
|
*/
|
|
10871
|
-
proto.gateway.web.v1.
|
|
10671
|
+
proto.gateway.web.v1.AITaskModel.prototype.setDisplayName = function(value) {
|
|
10872
10672
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10873
10673
|
};
|
|
10874
10674
|
|
|
10875
10675
|
|
|
10876
10676
|
/**
|
|
10877
|
-
* optional string
|
|
10677
|
+
* optional string model = 3;
|
|
10878
10678
|
* @return {string}
|
|
10879
10679
|
*/
|
|
10880
|
-
proto.gateway.web.v1.
|
|
10680
|
+
proto.gateway.web.v1.AITaskModel.prototype.getModel = function() {
|
|
10881
10681
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10882
10682
|
};
|
|
10883
10683
|
|
|
10884
10684
|
|
|
10885
10685
|
/**
|
|
10886
10686
|
* @param {string} value
|
|
10887
|
-
* @return {!proto.gateway.web.v1.
|
|
10687
|
+
* @return {!proto.gateway.web.v1.AITaskModel} returns this
|
|
10888
10688
|
*/
|
|
10889
|
-
proto.gateway.web.v1.
|
|
10689
|
+
proto.gateway.web.v1.AITaskModel.prototype.setModel = function(value) {
|
|
10890
10690
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10891
10691
|
};
|
|
10892
10692
|
|
|
10893
10693
|
|
|
10894
10694
|
/**
|
|
10895
|
-
* optional
|
|
10896
|
-
* @return {?proto.gateway.web.v1.AITaskActivation}
|
|
10897
|
-
*/
|
|
10898
|
-
proto.gateway.web.v1.AITaskDefinition.prototype.getActivation = function() {
|
|
10899
|
-
return /** @type{?proto.gateway.web.v1.AITaskActivation} */ (
|
|
10900
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITaskActivation, 4));
|
|
10901
|
-
};
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
/**
|
|
10905
|
-
* @param {?proto.gateway.web.v1.AITaskActivation|undefined} value
|
|
10906
|
-
* @return {!proto.gateway.web.v1.AITaskDefinition} returns this
|
|
10907
|
-
*/
|
|
10908
|
-
proto.gateway.web.v1.AITaskDefinition.prototype.setActivation = function(value) {
|
|
10909
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
10910
|
-
};
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
|
-
/**
|
|
10914
|
-
* Clears the message field making it undefined.
|
|
10915
|
-
* @return {!proto.gateway.web.v1.AITaskDefinition} returns this
|
|
10916
|
-
*/
|
|
10917
|
-
proto.gateway.web.v1.AITaskDefinition.prototype.clearActivation = function() {
|
|
10918
|
-
return this.setActivation(undefined);
|
|
10919
|
-
};
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
/**
|
|
10923
|
-
* Returns whether this field is set.
|
|
10924
|
-
* @return {boolean}
|
|
10925
|
-
*/
|
|
10926
|
-
proto.gateway.web.v1.AITaskDefinition.prototype.hasActivation = function() {
|
|
10927
|
-
return jspb.Message.getField(this, 4) != null;
|
|
10928
|
-
};
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
/**
|
|
10932
|
-
* optional string schema_json = 5;
|
|
10695
|
+
* optional string update_user_id = 4;
|
|
10933
10696
|
* @return {string}
|
|
10934
10697
|
*/
|
|
10935
|
-
proto.gateway.web.v1.
|
|
10936
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
10698
|
+
proto.gateway.web.v1.AITaskModel.prototype.getUpdateUserId = function() {
|
|
10699
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
10937
10700
|
};
|
|
10938
10701
|
|
|
10939
10702
|
|
|
10940
10703
|
/**
|
|
10941
10704
|
* @param {string} value
|
|
10942
|
-
* @return {!proto.gateway.web.v1.
|
|
10705
|
+
* @return {!proto.gateway.web.v1.AITaskModel} returns this
|
|
10943
10706
|
*/
|
|
10944
|
-
proto.gateway.web.v1.
|
|
10945
|
-
return jspb.Message.setProto3StringField(this,
|
|
10707
|
+
proto.gateway.web.v1.AITaskModel.prototype.setUpdateUserId = function(value) {
|
|
10708
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
10946
10709
|
};
|
|
10947
10710
|
|
|
10948
10711
|
|
|
10949
10712
|
/**
|
|
10950
|
-
* optional
|
|
10951
|
-
* @return {
|
|
10713
|
+
* optional google.protobuf.Timestamp update_time = 5;
|
|
10714
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
10952
10715
|
*/
|
|
10953
|
-
proto.gateway.web.v1.
|
|
10954
|
-
return /** @type
|
|
10716
|
+
proto.gateway.web.v1.AITaskModel.prototype.getUpdateTime = function() {
|
|
10717
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
10718
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
10955
10719
|
};
|
|
10956
10720
|
|
|
10957
10721
|
|
|
10958
10722
|
/**
|
|
10959
|
-
* @param {
|
|
10960
|
-
* @return {!proto.gateway.web.v1.
|
|
10961
|
-
|
|
10962
|
-
proto.gateway.web.v1.
|
|
10963
|
-
return jspb.Message.
|
|
10723
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
10724
|
+
* @return {!proto.gateway.web.v1.AITaskModel} returns this
|
|
10725
|
+
*/
|
|
10726
|
+
proto.gateway.web.v1.AITaskModel.prototype.setUpdateTime = function(value) {
|
|
10727
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
10964
10728
|
};
|
|
10965
10729
|
|
|
10966
10730
|
|
|
10967
10731
|
/**
|
|
10968
|
-
*
|
|
10969
|
-
* @return {
|
|
10732
|
+
* Clears the message field making it undefined.
|
|
10733
|
+
* @return {!proto.gateway.web.v1.AITaskModel} returns this
|
|
10970
10734
|
*/
|
|
10971
|
-
proto.gateway.web.v1.
|
|
10972
|
-
return
|
|
10735
|
+
proto.gateway.web.v1.AITaskModel.prototype.clearUpdateTime = function() {
|
|
10736
|
+
return this.setUpdateTime(undefined);
|
|
10973
10737
|
};
|
|
10974
10738
|
|
|
10975
10739
|
|
|
10976
10740
|
/**
|
|
10977
|
-
*
|
|
10978
|
-
* @return {
|
|
10741
|
+
* Returns whether this field is set.
|
|
10742
|
+
* @return {boolean}
|
|
10979
10743
|
*/
|
|
10980
|
-
proto.gateway.web.v1.
|
|
10981
|
-
return jspb.Message.
|
|
10744
|
+
proto.gateway.web.v1.AITaskModel.prototype.hasUpdateTime = function() {
|
|
10745
|
+
return jspb.Message.getField(this, 5) != null;
|
|
10982
10746
|
};
|
|
10983
10747
|
|
|
10984
10748
|
|
|
@@ -10998,8 +10762,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10998
10762
|
* http://goto/soy-param-migration
|
|
10999
10763
|
* @return {!Object}
|
|
11000
10764
|
*/
|
|
11001
|
-
proto.gateway.web.v1.
|
|
11002
|
-
return proto.gateway.web.v1.
|
|
10765
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10766
|
+
return proto.gateway.web.v1.UpdateAITaskModelRequest.toObject(opt_includeInstance, this);
|
|
11003
10767
|
};
|
|
11004
10768
|
|
|
11005
10769
|
|
|
@@ -11008,15 +10772,14 @@ proto.gateway.web.v1.AITaskActivation.prototype.toObject = function(opt_includeI
|
|
|
11008
10772
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11009
10773
|
* the JSPB instance for transitional soy proto support:
|
|
11010
10774
|
* http://goto/soy-param-migration
|
|
11011
|
-
* @param {!proto.gateway.web.v1.
|
|
10775
|
+
* @param {!proto.gateway.web.v1.UpdateAITaskModelRequest} msg The msg instance to transform.
|
|
11012
10776
|
* @return {!Object}
|
|
11013
10777
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11014
10778
|
*/
|
|
11015
|
-
proto.gateway.web.v1.
|
|
10779
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.toObject = function(includeInstance, msg) {
|
|
11016
10780
|
var f, obj = {
|
|
11017
|
-
|
|
11018
|
-
|
|
11019
|
-
activateTime: (f = msg.getActivateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
10781
|
+
task: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10782
|
+
model: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
11020
10783
|
};
|
|
11021
10784
|
|
|
11022
10785
|
if (includeInstance) {
|
|
@@ -11030,23 +10793,23 @@ activateTime: (f = msg.getActivateTime()) && google_protobuf_timestamp_pb.Timest
|
|
|
11030
10793
|
/**
|
|
11031
10794
|
* Deserializes binary data (in protobuf wire format).
|
|
11032
10795
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
11033
|
-
* @return {!proto.gateway.web.v1.
|
|
10796
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelRequest}
|
|
11034
10797
|
*/
|
|
11035
|
-
proto.gateway.web.v1.
|
|
10798
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.deserializeBinary = function(bytes) {
|
|
11036
10799
|
var reader = new jspb.BinaryReader(bytes);
|
|
11037
|
-
var msg = new proto.gateway.web.v1.
|
|
11038
|
-
return proto.gateway.web.v1.
|
|
10800
|
+
var msg = new proto.gateway.web.v1.UpdateAITaskModelRequest;
|
|
10801
|
+
return proto.gateway.web.v1.UpdateAITaskModelRequest.deserializeBinaryFromReader(msg, reader);
|
|
11039
10802
|
};
|
|
11040
10803
|
|
|
11041
10804
|
|
|
11042
10805
|
/**
|
|
11043
10806
|
* Deserializes binary data (in protobuf wire format) from the
|
|
11044
10807
|
* given reader into the given message object.
|
|
11045
|
-
* @param {!proto.gateway.web.v1.
|
|
10808
|
+
* @param {!proto.gateway.web.v1.UpdateAITaskModelRequest} msg The message object to deserialize into.
|
|
11046
10809
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11047
|
-
* @return {!proto.gateway.web.v1.
|
|
10810
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelRequest}
|
|
11048
10811
|
*/
|
|
11049
|
-
proto.gateway.web.v1.
|
|
10812
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11050
10813
|
while (reader.nextField()) {
|
|
11051
10814
|
if (reader.isEndGroup()) {
|
|
11052
10815
|
break;
|
|
@@ -11054,18 +10817,12 @@ proto.gateway.web.v1.AITaskActivation.deserializeBinaryFromReader = function(msg
|
|
|
11054
10817
|
var field = reader.getFieldNumber();
|
|
11055
10818
|
switch (field) {
|
|
11056
10819
|
case 1:
|
|
11057
|
-
var value =
|
|
11058
|
-
|
|
11059
|
-
msg.setRevision(value);
|
|
10820
|
+
var value = /** @type {!proto.gateway.web.v1.AITask} */ (reader.readEnum());
|
|
10821
|
+
msg.setTask(value);
|
|
11060
10822
|
break;
|
|
11061
10823
|
case 2:
|
|
11062
10824
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11063
|
-
msg.
|
|
11064
|
-
break;
|
|
11065
|
-
case 3:
|
|
11066
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
11067
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11068
|
-
msg.setActivateTime(value);
|
|
10825
|
+
msg.setModel(value);
|
|
11069
10826
|
break;
|
|
11070
10827
|
default:
|
|
11071
10828
|
reader.skipField();
|
|
@@ -11080,9 +10837,9 @@ proto.gateway.web.v1.AITaskActivation.deserializeBinaryFromReader = function(msg
|
|
|
11080
10837
|
* Serializes the message to binary data (in protobuf wire format).
|
|
11081
10838
|
* @return {!Uint8Array}
|
|
11082
10839
|
*/
|
|
11083
|
-
proto.gateway.web.v1.
|
|
10840
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.prototype.serializeBinary = function() {
|
|
11084
10841
|
var writer = new jspb.BinaryWriter();
|
|
11085
|
-
proto.gateway.web.v1.
|
|
10842
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.serializeBinaryToWriter(this, writer);
|
|
11086
10843
|
return writer.getResultBuffer();
|
|
11087
10844
|
};
|
|
11088
10845
|
|
|
@@ -11090,1500 +10847,61 @@ proto.gateway.web.v1.AITaskActivation.prototype.serializeBinary = function() {
|
|
|
11090
10847
|
/**
|
|
11091
10848
|
* Serializes the given message to binary data (in protobuf wire
|
|
11092
10849
|
* format), writing to the given BinaryWriter.
|
|
11093
|
-
* @param {!proto.gateway.web.v1.
|
|
10850
|
+
* @param {!proto.gateway.web.v1.UpdateAITaskModelRequest} message
|
|
11094
10851
|
* @param {!jspb.BinaryWriter} writer
|
|
11095
10852
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11096
10853
|
*/
|
|
11097
|
-
proto.gateway.web.v1.
|
|
10854
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11098
10855
|
var f = undefined;
|
|
11099
|
-
f = message.
|
|
11100
|
-
if (f
|
|
11101
|
-
writer.
|
|
10856
|
+
f = message.getTask();
|
|
10857
|
+
if (f !== 0.0) {
|
|
10858
|
+
writer.writeEnum(
|
|
11102
10859
|
1,
|
|
11103
|
-
f
|
|
11104
|
-
proto.gateway.web.v1.AITaskRevision.serializeBinaryToWriter
|
|
10860
|
+
f
|
|
11105
10861
|
);
|
|
11106
10862
|
}
|
|
11107
|
-
f = message.
|
|
10863
|
+
f = message.getModel();
|
|
11108
10864
|
if (f.length > 0) {
|
|
11109
10865
|
writer.writeString(
|
|
11110
10866
|
2,
|
|
11111
10867
|
f
|
|
11112
10868
|
);
|
|
11113
10869
|
}
|
|
11114
|
-
f = message.getActivateTime();
|
|
11115
|
-
if (f != null) {
|
|
11116
|
-
writer.writeMessage(
|
|
11117
|
-
3,
|
|
11118
|
-
f,
|
|
11119
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11120
|
-
);
|
|
11121
|
-
}
|
|
11122
10870
|
};
|
|
11123
10871
|
|
|
11124
10872
|
|
|
11125
10873
|
/**
|
|
11126
|
-
* optional
|
|
11127
|
-
* @return {
|
|
10874
|
+
* optional AITask task = 1;
|
|
10875
|
+
* @return {!proto.gateway.web.v1.AITask}
|
|
11128
10876
|
*/
|
|
11129
|
-
proto.gateway.web.v1.
|
|
11130
|
-
return /** @type{
|
|
11131
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITaskRevision, 1));
|
|
10877
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.prototype.getTask = function() {
|
|
10878
|
+
return /** @type {!proto.gateway.web.v1.AITask} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11132
10879
|
};
|
|
11133
10880
|
|
|
11134
10881
|
|
|
11135
10882
|
/**
|
|
11136
|
-
* @param {
|
|
11137
|
-
* @return {!proto.gateway.web.v1.
|
|
11138
|
-
*/
|
|
11139
|
-
proto.gateway.web.v1.
|
|
11140
|
-
return jspb.Message.
|
|
10883
|
+
* @param {!proto.gateway.web.v1.AITask} value
|
|
10884
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelRequest} returns this
|
|
10885
|
+
*/
|
|
10886
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.prototype.setTask = function(value) {
|
|
10887
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
11141
10888
|
};
|
|
11142
10889
|
|
|
11143
10890
|
|
|
11144
10891
|
/**
|
|
11145
|
-
*
|
|
11146
|
-
* @return {!proto.gateway.web.v1.AITaskActivation} returns this
|
|
11147
|
-
*/
|
|
11148
|
-
proto.gateway.web.v1.AITaskActivation.prototype.clearRevision = function() {
|
|
11149
|
-
return this.setRevision(undefined);
|
|
11150
|
-
};
|
|
11151
|
-
|
|
11152
|
-
|
|
11153
|
-
/**
|
|
11154
|
-
* Returns whether this field is set.
|
|
11155
|
-
* @return {boolean}
|
|
11156
|
-
*/
|
|
11157
|
-
proto.gateway.web.v1.AITaskActivation.prototype.hasRevision = function() {
|
|
11158
|
-
return jspb.Message.getField(this, 1) != null;
|
|
11159
|
-
};
|
|
11160
|
-
|
|
11161
|
-
|
|
11162
|
-
/**
|
|
11163
|
-
* optional string activated_by_user_id = 2;
|
|
11164
|
-
* @return {string}
|
|
11165
|
-
*/
|
|
11166
|
-
proto.gateway.web.v1.AITaskActivation.prototype.getActivatedByUserId = function() {
|
|
11167
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11168
|
-
};
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
/**
|
|
11172
|
-
* @param {string} value
|
|
11173
|
-
* @return {!proto.gateway.web.v1.AITaskActivation} returns this
|
|
11174
|
-
*/
|
|
11175
|
-
proto.gateway.web.v1.AITaskActivation.prototype.setActivatedByUserId = function(value) {
|
|
11176
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11177
|
-
};
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
/**
|
|
11181
|
-
* optional google.protobuf.Timestamp activate_time = 3;
|
|
11182
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
11183
|
-
*/
|
|
11184
|
-
proto.gateway.web.v1.AITaskActivation.prototype.getActivateTime = function() {
|
|
11185
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11186
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
11187
|
-
};
|
|
11188
|
-
|
|
11189
|
-
|
|
11190
|
-
/**
|
|
11191
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11192
|
-
* @return {!proto.gateway.web.v1.AITaskActivation} returns this
|
|
11193
|
-
*/
|
|
11194
|
-
proto.gateway.web.v1.AITaskActivation.prototype.setActivateTime = function(value) {
|
|
11195
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
11196
|
-
};
|
|
11197
|
-
|
|
11198
|
-
|
|
11199
|
-
/**
|
|
11200
|
-
* Clears the message field making it undefined.
|
|
11201
|
-
* @return {!proto.gateway.web.v1.AITaskActivation} returns this
|
|
11202
|
-
*/
|
|
11203
|
-
proto.gateway.web.v1.AITaskActivation.prototype.clearActivateTime = function() {
|
|
11204
|
-
return this.setActivateTime(undefined);
|
|
11205
|
-
};
|
|
11206
|
-
|
|
11207
|
-
|
|
11208
|
-
/**
|
|
11209
|
-
* Returns whether this field is set.
|
|
11210
|
-
* @return {boolean}
|
|
11211
|
-
*/
|
|
11212
|
-
proto.gateway.web.v1.AITaskActivation.prototype.hasActivateTime = function() {
|
|
11213
|
-
return jspb.Message.getField(this, 3) != null;
|
|
11214
|
-
};
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
|
|
11218
|
-
|
|
11219
|
-
|
|
11220
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11221
|
-
/**
|
|
11222
|
-
* Creates an object representation of this proto.
|
|
11223
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11224
|
-
* Optional fields that are not set will be set to undefined.
|
|
11225
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11226
|
-
* For the list of reserved names please see:
|
|
11227
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11228
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11229
|
-
* JSPB instance for transitional soy proto support:
|
|
11230
|
-
* http://goto/soy-param-migration
|
|
11231
|
-
* @return {!Object}
|
|
11232
|
-
*/
|
|
11233
|
-
proto.gateway.web.v1.AITaskRevision.prototype.toObject = function(opt_includeInstance) {
|
|
11234
|
-
return proto.gateway.web.v1.AITaskRevision.toObject(opt_includeInstance, this);
|
|
11235
|
-
};
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
/**
|
|
11239
|
-
* Static version of the {@see toObject} method.
|
|
11240
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11241
|
-
* the JSPB instance for transitional soy proto support:
|
|
11242
|
-
* http://goto/soy-param-migration
|
|
11243
|
-
* @param {!proto.gateway.web.v1.AITaskRevision} msg The msg instance to transform.
|
|
11244
|
-
* @return {!Object}
|
|
11245
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11246
|
-
*/
|
|
11247
|
-
proto.gateway.web.v1.AITaskRevision.toObject = function(includeInstance, msg) {
|
|
11248
|
-
var f, obj = {
|
|
11249
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11250
|
-
task: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
11251
|
-
number: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
11252
|
-
model: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
11253
|
-
instruction: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
11254
|
-
note: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11255
|
-
createdByUserId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11256
|
-
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
11257
|
-
};
|
|
11258
|
-
|
|
11259
|
-
if (includeInstance) {
|
|
11260
|
-
obj.$jspbMessageInstance = msg;
|
|
11261
|
-
}
|
|
11262
|
-
return obj;
|
|
11263
|
-
};
|
|
11264
|
-
}
|
|
11265
|
-
|
|
11266
|
-
|
|
11267
|
-
/**
|
|
11268
|
-
* Deserializes binary data (in protobuf wire format).
|
|
11269
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
11270
|
-
* @return {!proto.gateway.web.v1.AITaskRevision}
|
|
11271
|
-
*/
|
|
11272
|
-
proto.gateway.web.v1.AITaskRevision.deserializeBinary = function(bytes) {
|
|
11273
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
11274
|
-
var msg = new proto.gateway.web.v1.AITaskRevision;
|
|
11275
|
-
return proto.gateway.web.v1.AITaskRevision.deserializeBinaryFromReader(msg, reader);
|
|
11276
|
-
};
|
|
11277
|
-
|
|
11278
|
-
|
|
11279
|
-
/**
|
|
11280
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
11281
|
-
* given reader into the given message object.
|
|
11282
|
-
* @param {!proto.gateway.web.v1.AITaskRevision} msg The message object to deserialize into.
|
|
11283
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11284
|
-
* @return {!proto.gateway.web.v1.AITaskRevision}
|
|
11285
|
-
*/
|
|
11286
|
-
proto.gateway.web.v1.AITaskRevision.deserializeBinaryFromReader = function(msg, reader) {
|
|
11287
|
-
while (reader.nextField()) {
|
|
11288
|
-
if (reader.isEndGroup()) {
|
|
11289
|
-
break;
|
|
11290
|
-
}
|
|
11291
|
-
var field = reader.getFieldNumber();
|
|
11292
|
-
switch (field) {
|
|
11293
|
-
case 1:
|
|
11294
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11295
|
-
msg.setId(value);
|
|
11296
|
-
break;
|
|
11297
|
-
case 2:
|
|
11298
|
-
var value = /** @type {!proto.gateway.web.v1.AITask} */ (reader.readEnum());
|
|
11299
|
-
msg.setTask(value);
|
|
11300
|
-
break;
|
|
11301
|
-
case 3:
|
|
11302
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
11303
|
-
msg.setNumber(value);
|
|
11304
|
-
break;
|
|
11305
|
-
case 4:
|
|
11306
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11307
|
-
msg.setModel(value);
|
|
11308
|
-
break;
|
|
11309
|
-
case 5:
|
|
11310
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11311
|
-
msg.setInstruction(value);
|
|
11312
|
-
break;
|
|
11313
|
-
case 6:
|
|
11314
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11315
|
-
msg.setNote(value);
|
|
11316
|
-
break;
|
|
11317
|
-
case 7:
|
|
11318
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11319
|
-
msg.setCreatedByUserId(value);
|
|
11320
|
-
break;
|
|
11321
|
-
case 8:
|
|
11322
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
11323
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11324
|
-
msg.setCreateTime(value);
|
|
11325
|
-
break;
|
|
11326
|
-
default:
|
|
11327
|
-
reader.skipField();
|
|
11328
|
-
break;
|
|
11329
|
-
}
|
|
11330
|
-
}
|
|
11331
|
-
return msg;
|
|
11332
|
-
};
|
|
11333
|
-
|
|
11334
|
-
|
|
11335
|
-
/**
|
|
11336
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
11337
|
-
* @return {!Uint8Array}
|
|
11338
|
-
*/
|
|
11339
|
-
proto.gateway.web.v1.AITaskRevision.prototype.serializeBinary = function() {
|
|
11340
|
-
var writer = new jspb.BinaryWriter();
|
|
11341
|
-
proto.gateway.web.v1.AITaskRevision.serializeBinaryToWriter(this, writer);
|
|
11342
|
-
return writer.getResultBuffer();
|
|
11343
|
-
};
|
|
11344
|
-
|
|
11345
|
-
|
|
11346
|
-
/**
|
|
11347
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
11348
|
-
* format), writing to the given BinaryWriter.
|
|
11349
|
-
* @param {!proto.gateway.web.v1.AITaskRevision} message
|
|
11350
|
-
* @param {!jspb.BinaryWriter} writer
|
|
11351
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11352
|
-
*/
|
|
11353
|
-
proto.gateway.web.v1.AITaskRevision.serializeBinaryToWriter = function(message, writer) {
|
|
11354
|
-
var f = undefined;
|
|
11355
|
-
f = message.getId();
|
|
11356
|
-
if (f.length > 0) {
|
|
11357
|
-
writer.writeString(
|
|
11358
|
-
1,
|
|
11359
|
-
f
|
|
11360
|
-
);
|
|
11361
|
-
}
|
|
11362
|
-
f = message.getTask();
|
|
11363
|
-
if (f !== 0.0) {
|
|
11364
|
-
writer.writeEnum(
|
|
11365
|
-
2,
|
|
11366
|
-
f
|
|
11367
|
-
);
|
|
11368
|
-
}
|
|
11369
|
-
f = message.getNumber();
|
|
11370
|
-
if (f !== 0) {
|
|
11371
|
-
writer.writeInt32(
|
|
11372
|
-
3,
|
|
11373
|
-
f
|
|
11374
|
-
);
|
|
11375
|
-
}
|
|
11376
|
-
f = message.getModel();
|
|
11377
|
-
if (f.length > 0) {
|
|
11378
|
-
writer.writeString(
|
|
11379
|
-
4,
|
|
11380
|
-
f
|
|
11381
|
-
);
|
|
11382
|
-
}
|
|
11383
|
-
f = message.getInstruction();
|
|
11384
|
-
if (f.length > 0) {
|
|
11385
|
-
writer.writeString(
|
|
11386
|
-
5,
|
|
11387
|
-
f
|
|
11388
|
-
);
|
|
11389
|
-
}
|
|
11390
|
-
f = message.getNote();
|
|
11391
|
-
if (f.length > 0) {
|
|
11392
|
-
writer.writeString(
|
|
11393
|
-
6,
|
|
11394
|
-
f
|
|
11395
|
-
);
|
|
11396
|
-
}
|
|
11397
|
-
f = message.getCreatedByUserId();
|
|
11398
|
-
if (f.length > 0) {
|
|
11399
|
-
writer.writeString(
|
|
11400
|
-
7,
|
|
11401
|
-
f
|
|
11402
|
-
);
|
|
11403
|
-
}
|
|
11404
|
-
f = message.getCreateTime();
|
|
11405
|
-
if (f != null) {
|
|
11406
|
-
writer.writeMessage(
|
|
11407
|
-
8,
|
|
11408
|
-
f,
|
|
11409
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11410
|
-
);
|
|
11411
|
-
}
|
|
11412
|
-
};
|
|
11413
|
-
|
|
11414
|
-
|
|
11415
|
-
/**
|
|
11416
|
-
* optional string id = 1;
|
|
11417
|
-
* @return {string}
|
|
11418
|
-
*/
|
|
11419
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getId = function() {
|
|
11420
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11421
|
-
};
|
|
11422
|
-
|
|
11423
|
-
|
|
11424
|
-
/**
|
|
11425
|
-
* @param {string} value
|
|
11426
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11427
|
-
*/
|
|
11428
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setId = function(value) {
|
|
11429
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11430
|
-
};
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
/**
|
|
11434
|
-
* optional AITask task = 2;
|
|
11435
|
-
* @return {!proto.gateway.web.v1.AITask}
|
|
11436
|
-
*/
|
|
11437
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getTask = function() {
|
|
11438
|
-
return /** @type {!proto.gateway.web.v1.AITask} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
11439
|
-
};
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
/**
|
|
11443
|
-
* @param {!proto.gateway.web.v1.AITask} value
|
|
11444
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11445
|
-
*/
|
|
11446
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setTask = function(value) {
|
|
11447
|
-
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
11448
|
-
};
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
/**
|
|
11452
|
-
* optional int32 number = 3;
|
|
11453
|
-
* @return {number}
|
|
11454
|
-
*/
|
|
11455
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getNumber = function() {
|
|
11456
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
11457
|
-
};
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
/**
|
|
11461
|
-
* @param {number} value
|
|
11462
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11463
|
-
*/
|
|
11464
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setNumber = function(value) {
|
|
11465
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
11466
|
-
};
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
/**
|
|
11470
|
-
* optional string model = 4;
|
|
11471
|
-
* @return {string}
|
|
11472
|
-
*/
|
|
11473
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getModel = function() {
|
|
11474
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11475
|
-
};
|
|
11476
|
-
|
|
11477
|
-
|
|
11478
|
-
/**
|
|
11479
|
-
* @param {string} value
|
|
11480
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11481
|
-
*/
|
|
11482
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setModel = function(value) {
|
|
11483
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
11484
|
-
};
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
/**
|
|
11488
|
-
* optional string instruction = 5;
|
|
11489
|
-
* @return {string}
|
|
11490
|
-
*/
|
|
11491
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getInstruction = function() {
|
|
11492
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
11493
|
-
};
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
/**
|
|
11497
|
-
* @param {string} value
|
|
11498
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11499
|
-
*/
|
|
11500
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setInstruction = function(value) {
|
|
11501
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
11502
|
-
};
|
|
11503
|
-
|
|
11504
|
-
|
|
11505
|
-
/**
|
|
11506
|
-
* optional string note = 6;
|
|
11507
|
-
* @return {string}
|
|
11508
|
-
*/
|
|
11509
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getNote = function() {
|
|
11510
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11511
|
-
};
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
/**
|
|
11515
|
-
* @param {string} value
|
|
11516
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11517
|
-
*/
|
|
11518
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setNote = function(value) {
|
|
11519
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
11520
|
-
};
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
/**
|
|
11524
|
-
* optional string created_by_user_id = 7;
|
|
11525
|
-
* @return {string}
|
|
11526
|
-
*/
|
|
11527
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getCreatedByUserId = function() {
|
|
11528
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
11529
|
-
};
|
|
11530
|
-
|
|
11531
|
-
|
|
11532
|
-
/**
|
|
11533
|
-
* @param {string} value
|
|
11534
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11535
|
-
*/
|
|
11536
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setCreatedByUserId = function(value) {
|
|
11537
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
11538
|
-
};
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
/**
|
|
11542
|
-
* optional google.protobuf.Timestamp create_time = 8;
|
|
11543
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
11544
|
-
*/
|
|
11545
|
-
proto.gateway.web.v1.AITaskRevision.prototype.getCreateTime = function() {
|
|
11546
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
11547
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
11548
|
-
};
|
|
11549
|
-
|
|
11550
|
-
|
|
11551
|
-
/**
|
|
11552
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
11553
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11554
|
-
*/
|
|
11555
|
-
proto.gateway.web.v1.AITaskRevision.prototype.setCreateTime = function(value) {
|
|
11556
|
-
return jspb.Message.setWrapperField(this, 8, value);
|
|
11557
|
-
};
|
|
11558
|
-
|
|
11559
|
-
|
|
11560
|
-
/**
|
|
11561
|
-
* Clears the message field making it undefined.
|
|
11562
|
-
* @return {!proto.gateway.web.v1.AITaskRevision} returns this
|
|
11563
|
-
*/
|
|
11564
|
-
proto.gateway.web.v1.AITaskRevision.prototype.clearCreateTime = function() {
|
|
11565
|
-
return this.setCreateTime(undefined);
|
|
11566
|
-
};
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
/**
|
|
11570
|
-
* Returns whether this field is set.
|
|
11571
|
-
* @return {boolean}
|
|
11572
|
-
*/
|
|
11573
|
-
proto.gateway.web.v1.AITaskRevision.prototype.hasCreateTime = function() {
|
|
11574
|
-
return jspb.Message.getField(this, 8) != null;
|
|
11575
|
-
};
|
|
11576
|
-
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11582
|
-
/**
|
|
11583
|
-
* Creates an object representation of this proto.
|
|
11584
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11585
|
-
* Optional fields that are not set will be set to undefined.
|
|
11586
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11587
|
-
* For the list of reserved names please see:
|
|
11588
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11589
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11590
|
-
* JSPB instance for transitional soy proto support:
|
|
11591
|
-
* http://goto/soy-param-migration
|
|
11592
|
-
* @return {!Object}
|
|
11593
|
-
*/
|
|
11594
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11595
|
-
return proto.gateway.web.v1.ListAITaskRevisionsRequest.toObject(opt_includeInstance, this);
|
|
11596
|
-
};
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
/**
|
|
11600
|
-
* Static version of the {@see toObject} method.
|
|
11601
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11602
|
-
* the JSPB instance for transitional soy proto support:
|
|
11603
|
-
* http://goto/soy-param-migration
|
|
11604
|
-
* @param {!proto.gateway.web.v1.ListAITaskRevisionsRequest} msg The msg instance to transform.
|
|
11605
|
-
* @return {!Object}
|
|
11606
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11607
|
-
*/
|
|
11608
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.toObject = function(includeInstance, msg) {
|
|
11609
|
-
var f, obj = {
|
|
11610
|
-
task: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
11611
|
-
pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
11612
|
-
pageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
11613
|
-
};
|
|
11614
|
-
|
|
11615
|
-
if (includeInstance) {
|
|
11616
|
-
obj.$jspbMessageInstance = msg;
|
|
11617
|
-
}
|
|
11618
|
-
return obj;
|
|
11619
|
-
};
|
|
11620
|
-
}
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
/**
|
|
11624
|
-
* Deserializes binary data (in protobuf wire format).
|
|
11625
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
11626
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsRequest}
|
|
11627
|
-
*/
|
|
11628
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.deserializeBinary = function(bytes) {
|
|
11629
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
11630
|
-
var msg = new proto.gateway.web.v1.ListAITaskRevisionsRequest;
|
|
11631
|
-
return proto.gateway.web.v1.ListAITaskRevisionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
11632
|
-
};
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
/**
|
|
11636
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
11637
|
-
* given reader into the given message object.
|
|
11638
|
-
* @param {!proto.gateway.web.v1.ListAITaskRevisionsRequest} msg The message object to deserialize into.
|
|
11639
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11640
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsRequest}
|
|
11641
|
-
*/
|
|
11642
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11643
|
-
while (reader.nextField()) {
|
|
11644
|
-
if (reader.isEndGroup()) {
|
|
11645
|
-
break;
|
|
11646
|
-
}
|
|
11647
|
-
var field = reader.getFieldNumber();
|
|
11648
|
-
switch (field) {
|
|
11649
|
-
case 1:
|
|
11650
|
-
var value = /** @type {!proto.gateway.web.v1.AITask} */ (reader.readEnum());
|
|
11651
|
-
msg.setTask(value);
|
|
11652
|
-
break;
|
|
11653
|
-
case 2:
|
|
11654
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
11655
|
-
msg.setPageSize(value);
|
|
11656
|
-
break;
|
|
11657
|
-
case 3:
|
|
11658
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11659
|
-
msg.setPageToken(value);
|
|
11660
|
-
break;
|
|
11661
|
-
default:
|
|
11662
|
-
reader.skipField();
|
|
11663
|
-
break;
|
|
11664
|
-
}
|
|
11665
|
-
}
|
|
11666
|
-
return msg;
|
|
11667
|
-
};
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
/**
|
|
11671
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
11672
|
-
* @return {!Uint8Array}
|
|
11673
|
-
*/
|
|
11674
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.serializeBinary = function() {
|
|
11675
|
-
var writer = new jspb.BinaryWriter();
|
|
11676
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.serializeBinaryToWriter(this, writer);
|
|
11677
|
-
return writer.getResultBuffer();
|
|
11678
|
-
};
|
|
11679
|
-
|
|
11680
|
-
|
|
11681
|
-
/**
|
|
11682
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
11683
|
-
* format), writing to the given BinaryWriter.
|
|
11684
|
-
* @param {!proto.gateway.web.v1.ListAITaskRevisionsRequest} message
|
|
11685
|
-
* @param {!jspb.BinaryWriter} writer
|
|
11686
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11687
|
-
*/
|
|
11688
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11689
|
-
var f = undefined;
|
|
11690
|
-
f = message.getTask();
|
|
11691
|
-
if (f !== 0.0) {
|
|
11692
|
-
writer.writeEnum(
|
|
11693
|
-
1,
|
|
11694
|
-
f
|
|
11695
|
-
);
|
|
11696
|
-
}
|
|
11697
|
-
f = message.getPageSize();
|
|
11698
|
-
if (f !== 0) {
|
|
11699
|
-
writer.writeInt32(
|
|
11700
|
-
2,
|
|
11701
|
-
f
|
|
11702
|
-
);
|
|
11703
|
-
}
|
|
11704
|
-
f = message.getPageToken();
|
|
11705
|
-
if (f.length > 0) {
|
|
11706
|
-
writer.writeString(
|
|
11707
|
-
3,
|
|
11708
|
-
f
|
|
11709
|
-
);
|
|
11710
|
-
}
|
|
11711
|
-
};
|
|
11712
|
-
|
|
11713
|
-
|
|
11714
|
-
/**
|
|
11715
|
-
* optional AITask task = 1;
|
|
11716
|
-
* @return {!proto.gateway.web.v1.AITask}
|
|
11717
|
-
*/
|
|
11718
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.getTask = function() {
|
|
11719
|
-
return /** @type {!proto.gateway.web.v1.AITask} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11720
|
-
};
|
|
11721
|
-
|
|
11722
|
-
|
|
11723
|
-
/**
|
|
11724
|
-
* @param {!proto.gateway.web.v1.AITask} value
|
|
11725
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsRequest} returns this
|
|
11726
|
-
*/
|
|
11727
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.setTask = function(value) {
|
|
11728
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
11729
|
-
};
|
|
11730
|
-
|
|
11731
|
-
|
|
11732
|
-
/**
|
|
11733
|
-
* optional int32 page_size = 2;
|
|
11734
|
-
* @return {number}
|
|
11735
|
-
*/
|
|
11736
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.getPageSize = function() {
|
|
11737
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
11738
|
-
};
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
/**
|
|
11742
|
-
* @param {number} value
|
|
11743
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsRequest} returns this
|
|
11744
|
-
*/
|
|
11745
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.setPageSize = function(value) {
|
|
11746
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
11747
|
-
};
|
|
11748
|
-
|
|
11749
|
-
|
|
11750
|
-
/**
|
|
11751
|
-
* optional string page_token = 3;
|
|
11752
|
-
* @return {string}
|
|
11753
|
-
*/
|
|
11754
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.getPageToken = function() {
|
|
11755
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11756
|
-
};
|
|
11757
|
-
|
|
11758
|
-
|
|
11759
|
-
/**
|
|
11760
|
-
* @param {string} value
|
|
11761
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsRequest} returns this
|
|
11762
|
-
*/
|
|
11763
|
-
proto.gateway.web.v1.ListAITaskRevisionsRequest.prototype.setPageToken = function(value) {
|
|
11764
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11765
|
-
};
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
/**
|
|
11770
|
-
* List of repeated fields within this message type.
|
|
11771
|
-
* @private {!Array<number>}
|
|
11772
|
-
* @const
|
|
11773
|
-
*/
|
|
11774
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.repeatedFields_ = [2];
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11779
|
-
/**
|
|
11780
|
-
* Creates an object representation of this proto.
|
|
11781
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11782
|
-
* Optional fields that are not set will be set to undefined.
|
|
11783
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11784
|
-
* For the list of reserved names please see:
|
|
11785
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11786
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11787
|
-
* JSPB instance for transitional soy proto support:
|
|
11788
|
-
* http://goto/soy-param-migration
|
|
11789
|
-
* @return {!Object}
|
|
11790
|
-
*/
|
|
11791
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11792
|
-
return proto.gateway.web.v1.ListAITaskRevisionsResponse.toObject(opt_includeInstance, this);
|
|
11793
|
-
};
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
/**
|
|
11797
|
-
* Static version of the {@see toObject} method.
|
|
11798
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11799
|
-
* the JSPB instance for transitional soy proto support:
|
|
11800
|
-
* http://goto/soy-param-migration
|
|
11801
|
-
* @param {!proto.gateway.web.v1.ListAITaskRevisionsResponse} msg The msg instance to transform.
|
|
11802
|
-
* @return {!Object}
|
|
11803
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11804
|
-
*/
|
|
11805
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.toObject = function(includeInstance, msg) {
|
|
11806
|
-
var f, obj = {
|
|
11807
|
-
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
11808
|
-
revisionsList: jspb.Message.toObjectList(msg.getRevisionsList(),
|
|
11809
|
-
proto.gateway.web.v1.AITaskRevision.toObject, includeInstance),
|
|
11810
|
-
nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
11811
|
-
};
|
|
11812
|
-
|
|
11813
|
-
if (includeInstance) {
|
|
11814
|
-
obj.$jspbMessageInstance = msg;
|
|
11815
|
-
}
|
|
11816
|
-
return obj;
|
|
11817
|
-
};
|
|
11818
|
-
}
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
-
/**
|
|
11822
|
-
* Deserializes binary data (in protobuf wire format).
|
|
11823
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
11824
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsResponse}
|
|
11825
|
-
*/
|
|
11826
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.deserializeBinary = function(bytes) {
|
|
11827
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
11828
|
-
var msg = new proto.gateway.web.v1.ListAITaskRevisionsResponse;
|
|
11829
|
-
return proto.gateway.web.v1.ListAITaskRevisionsResponse.deserializeBinaryFromReader(msg, reader);
|
|
11830
|
-
};
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
/**
|
|
11834
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
11835
|
-
* given reader into the given message object.
|
|
11836
|
-
* @param {!proto.gateway.web.v1.ListAITaskRevisionsResponse} msg The message object to deserialize into.
|
|
11837
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11838
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsResponse}
|
|
11839
|
-
*/
|
|
11840
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11841
|
-
while (reader.nextField()) {
|
|
11842
|
-
if (reader.isEndGroup()) {
|
|
11843
|
-
break;
|
|
11844
|
-
}
|
|
11845
|
-
var field = reader.getFieldNumber();
|
|
11846
|
-
switch (field) {
|
|
11847
|
-
case 1:
|
|
11848
|
-
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
11849
|
-
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
11850
|
-
msg.setStatus(value);
|
|
11851
|
-
break;
|
|
11852
|
-
case 2:
|
|
11853
|
-
var value = new proto.gateway.web.v1.AITaskRevision;
|
|
11854
|
-
reader.readMessage(value,proto.gateway.web.v1.AITaskRevision.deserializeBinaryFromReader);
|
|
11855
|
-
msg.addRevisions(value);
|
|
11856
|
-
break;
|
|
11857
|
-
case 3:
|
|
11858
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11859
|
-
msg.setNextPageToken(value);
|
|
11860
|
-
break;
|
|
11861
|
-
default:
|
|
11862
|
-
reader.skipField();
|
|
11863
|
-
break;
|
|
11864
|
-
}
|
|
11865
|
-
}
|
|
11866
|
-
return msg;
|
|
11867
|
-
};
|
|
11868
|
-
|
|
11869
|
-
|
|
11870
|
-
/**
|
|
11871
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
11872
|
-
* @return {!Uint8Array}
|
|
11873
|
-
*/
|
|
11874
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.serializeBinary = function() {
|
|
11875
|
-
var writer = new jspb.BinaryWriter();
|
|
11876
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.serializeBinaryToWriter(this, writer);
|
|
11877
|
-
return writer.getResultBuffer();
|
|
11878
|
-
};
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
/**
|
|
11882
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
11883
|
-
* format), writing to the given BinaryWriter.
|
|
11884
|
-
* @param {!proto.gateway.web.v1.ListAITaskRevisionsResponse} message
|
|
11885
|
-
* @param {!jspb.BinaryWriter} writer
|
|
11886
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11887
|
-
*/
|
|
11888
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11889
|
-
var f = undefined;
|
|
11890
|
-
f = message.getStatus();
|
|
11891
|
-
if (f != null) {
|
|
11892
|
-
writer.writeMessage(
|
|
11893
|
-
1,
|
|
11894
|
-
f,
|
|
11895
|
-
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
11896
|
-
);
|
|
11897
|
-
}
|
|
11898
|
-
f = message.getRevisionsList();
|
|
11899
|
-
if (f.length > 0) {
|
|
11900
|
-
writer.writeRepeatedMessage(
|
|
11901
|
-
2,
|
|
11902
|
-
f,
|
|
11903
|
-
proto.gateway.web.v1.AITaskRevision.serializeBinaryToWriter
|
|
11904
|
-
);
|
|
11905
|
-
}
|
|
11906
|
-
f = message.getNextPageToken();
|
|
11907
|
-
if (f.length > 0) {
|
|
11908
|
-
writer.writeString(
|
|
11909
|
-
3,
|
|
11910
|
-
f
|
|
11911
|
-
);
|
|
11912
|
-
}
|
|
11913
|
-
};
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
/**
|
|
11917
|
-
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
11918
|
-
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
11919
|
-
*/
|
|
11920
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.getStatus = function() {
|
|
11921
|
-
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
11922
|
-
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
11923
|
-
};
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
/**
|
|
11927
|
-
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
11928
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsResponse} returns this
|
|
11929
|
-
*/
|
|
11930
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.setStatus = function(value) {
|
|
11931
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
11932
|
-
};
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
/**
|
|
11936
|
-
* Clears the message field making it undefined.
|
|
11937
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsResponse} returns this
|
|
11938
|
-
*/
|
|
11939
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.clearStatus = function() {
|
|
11940
|
-
return this.setStatus(undefined);
|
|
11941
|
-
};
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
/**
|
|
11945
|
-
* Returns whether this field is set.
|
|
11946
|
-
* @return {boolean}
|
|
11947
|
-
*/
|
|
11948
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.hasStatus = function() {
|
|
11949
|
-
return jspb.Message.getField(this, 1) != null;
|
|
11950
|
-
};
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
/**
|
|
11954
|
-
* repeated AITaskRevision revisions = 2;
|
|
11955
|
-
* @return {!Array<!proto.gateway.web.v1.AITaskRevision>}
|
|
11956
|
-
*/
|
|
11957
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.getRevisionsList = function() {
|
|
11958
|
-
return /** @type{!Array<!proto.gateway.web.v1.AITaskRevision>} */ (
|
|
11959
|
-
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AITaskRevision, 2));
|
|
11960
|
-
};
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
/**
|
|
11964
|
-
* @param {!Array<!proto.gateway.web.v1.AITaskRevision>} value
|
|
11965
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsResponse} returns this
|
|
11966
|
-
*/
|
|
11967
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.setRevisionsList = function(value) {
|
|
11968
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
11969
|
-
};
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
/**
|
|
11973
|
-
* @param {!proto.gateway.web.v1.AITaskRevision=} opt_value
|
|
11974
|
-
* @param {number=} opt_index
|
|
11975
|
-
* @return {!proto.gateway.web.v1.AITaskRevision}
|
|
11976
|
-
*/
|
|
11977
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.addRevisions = function(opt_value, opt_index) {
|
|
11978
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AITaskRevision, opt_index);
|
|
11979
|
-
};
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
/**
|
|
11983
|
-
* Clears the list making it empty but non-null.
|
|
11984
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsResponse} returns this
|
|
11985
|
-
*/
|
|
11986
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.clearRevisionsList = function() {
|
|
11987
|
-
return this.setRevisionsList([]);
|
|
11988
|
-
};
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
/**
|
|
11992
|
-
* optional string next_page_token = 3;
|
|
11993
|
-
* @return {string}
|
|
11994
|
-
*/
|
|
11995
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.getNextPageToken = function() {
|
|
11996
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11997
|
-
};
|
|
11998
|
-
|
|
11999
|
-
|
|
12000
|
-
/**
|
|
12001
|
-
* @param {string} value
|
|
12002
|
-
* @return {!proto.gateway.web.v1.ListAITaskRevisionsResponse} returns this
|
|
12003
|
-
*/
|
|
12004
|
-
proto.gateway.web.v1.ListAITaskRevisionsResponse.prototype.setNextPageToken = function(value) {
|
|
12005
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12006
|
-
};
|
|
12007
|
-
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12013
|
-
/**
|
|
12014
|
-
* Creates an object representation of this proto.
|
|
12015
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12016
|
-
* Optional fields that are not set will be set to undefined.
|
|
12017
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12018
|
-
* For the list of reserved names please see:
|
|
12019
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12020
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12021
|
-
* JSPB instance for transitional soy proto support:
|
|
12022
|
-
* http://goto/soy-param-migration
|
|
12023
|
-
* @return {!Object}
|
|
12024
|
-
*/
|
|
12025
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12026
|
-
return proto.gateway.web.v1.CreateAITaskRevisionRequest.toObject(opt_includeInstance, this);
|
|
12027
|
-
};
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
/**
|
|
12031
|
-
* Static version of the {@see toObject} method.
|
|
12032
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12033
|
-
* the JSPB instance for transitional soy proto support:
|
|
12034
|
-
* http://goto/soy-param-migration
|
|
12035
|
-
* @param {!proto.gateway.web.v1.CreateAITaskRevisionRequest} msg The msg instance to transform.
|
|
12036
|
-
* @return {!Object}
|
|
12037
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12038
|
-
*/
|
|
12039
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.toObject = function(includeInstance, msg) {
|
|
12040
|
-
var f, obj = {
|
|
12041
|
-
task: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12042
|
-
model: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12043
|
-
instruction: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12044
|
-
note: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
12045
|
-
};
|
|
12046
|
-
|
|
12047
|
-
if (includeInstance) {
|
|
12048
|
-
obj.$jspbMessageInstance = msg;
|
|
12049
|
-
}
|
|
12050
|
-
return obj;
|
|
12051
|
-
};
|
|
12052
|
-
}
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
/**
|
|
12056
|
-
* Deserializes binary data (in protobuf wire format).
|
|
12057
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12058
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionRequest}
|
|
12059
|
-
*/
|
|
12060
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.deserializeBinary = function(bytes) {
|
|
12061
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
12062
|
-
var msg = new proto.gateway.web.v1.CreateAITaskRevisionRequest;
|
|
12063
|
-
return proto.gateway.web.v1.CreateAITaskRevisionRequest.deserializeBinaryFromReader(msg, reader);
|
|
12064
|
-
};
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
/**
|
|
12068
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
12069
|
-
* given reader into the given message object.
|
|
12070
|
-
* @param {!proto.gateway.web.v1.CreateAITaskRevisionRequest} msg The message object to deserialize into.
|
|
12071
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12072
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionRequest}
|
|
12073
|
-
*/
|
|
12074
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12075
|
-
while (reader.nextField()) {
|
|
12076
|
-
if (reader.isEndGroup()) {
|
|
12077
|
-
break;
|
|
12078
|
-
}
|
|
12079
|
-
var field = reader.getFieldNumber();
|
|
12080
|
-
switch (field) {
|
|
12081
|
-
case 1:
|
|
12082
|
-
var value = /** @type {!proto.gateway.web.v1.AITask} */ (reader.readEnum());
|
|
12083
|
-
msg.setTask(value);
|
|
12084
|
-
break;
|
|
12085
|
-
case 2:
|
|
12086
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12087
|
-
msg.setModel(value);
|
|
12088
|
-
break;
|
|
12089
|
-
case 3:
|
|
12090
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12091
|
-
msg.setInstruction(value);
|
|
12092
|
-
break;
|
|
12093
|
-
case 4:
|
|
12094
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12095
|
-
msg.setNote(value);
|
|
12096
|
-
break;
|
|
12097
|
-
default:
|
|
12098
|
-
reader.skipField();
|
|
12099
|
-
break;
|
|
12100
|
-
}
|
|
12101
|
-
}
|
|
12102
|
-
return msg;
|
|
12103
|
-
};
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
/**
|
|
12107
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
12108
|
-
* @return {!Uint8Array}
|
|
12109
|
-
*/
|
|
12110
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.serializeBinary = function() {
|
|
12111
|
-
var writer = new jspb.BinaryWriter();
|
|
12112
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.serializeBinaryToWriter(this, writer);
|
|
12113
|
-
return writer.getResultBuffer();
|
|
12114
|
-
};
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
/**
|
|
12118
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
12119
|
-
* format), writing to the given BinaryWriter.
|
|
12120
|
-
* @param {!proto.gateway.web.v1.CreateAITaskRevisionRequest} message
|
|
12121
|
-
* @param {!jspb.BinaryWriter} writer
|
|
12122
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12123
|
-
*/
|
|
12124
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12125
|
-
var f = undefined;
|
|
12126
|
-
f = message.getTask();
|
|
12127
|
-
if (f !== 0.0) {
|
|
12128
|
-
writer.writeEnum(
|
|
12129
|
-
1,
|
|
12130
|
-
f
|
|
12131
|
-
);
|
|
12132
|
-
}
|
|
12133
|
-
f = message.getModel();
|
|
12134
|
-
if (f.length > 0) {
|
|
12135
|
-
writer.writeString(
|
|
12136
|
-
2,
|
|
12137
|
-
f
|
|
12138
|
-
);
|
|
12139
|
-
}
|
|
12140
|
-
f = message.getInstruction();
|
|
12141
|
-
if (f.length > 0) {
|
|
12142
|
-
writer.writeString(
|
|
12143
|
-
3,
|
|
12144
|
-
f
|
|
12145
|
-
);
|
|
12146
|
-
}
|
|
12147
|
-
f = message.getNote();
|
|
12148
|
-
if (f.length > 0) {
|
|
12149
|
-
writer.writeString(
|
|
12150
|
-
4,
|
|
12151
|
-
f
|
|
12152
|
-
);
|
|
12153
|
-
}
|
|
12154
|
-
};
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
/**
|
|
12158
|
-
* optional AITask task = 1;
|
|
12159
|
-
* @return {!proto.gateway.web.v1.AITask}
|
|
12160
|
-
*/
|
|
12161
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.getTask = function() {
|
|
12162
|
-
return /** @type {!proto.gateway.web.v1.AITask} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12163
|
-
};
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
/**
|
|
12167
|
-
* @param {!proto.gateway.web.v1.AITask} value
|
|
12168
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionRequest} returns this
|
|
12169
|
-
*/
|
|
12170
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.setTask = function(value) {
|
|
12171
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
12172
|
-
};
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
/**
|
|
12176
|
-
* optional string model = 2;
|
|
12177
|
-
* @return {string}
|
|
12178
|
-
*/
|
|
12179
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.getModel = function() {
|
|
12180
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12181
|
-
};
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
/**
|
|
12185
|
-
* @param {string} value
|
|
12186
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionRequest} returns this
|
|
12187
|
-
*/
|
|
12188
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.setModel = function(value) {
|
|
12189
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12190
|
-
};
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
/**
|
|
12194
|
-
* optional string instruction = 3;
|
|
12195
|
-
* @return {string}
|
|
12196
|
-
*/
|
|
12197
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.getInstruction = function() {
|
|
12198
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12199
|
-
};
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
/**
|
|
12203
|
-
* @param {string} value
|
|
12204
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionRequest} returns this
|
|
12205
|
-
*/
|
|
12206
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.setInstruction = function(value) {
|
|
12207
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12208
|
-
};
|
|
12209
|
-
|
|
12210
|
-
|
|
12211
|
-
/**
|
|
12212
|
-
* optional string note = 4;
|
|
12213
|
-
* @return {string}
|
|
12214
|
-
*/
|
|
12215
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.getNote = function() {
|
|
12216
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
12217
|
-
};
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
/**
|
|
12221
|
-
* @param {string} value
|
|
12222
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionRequest} returns this
|
|
12223
|
-
*/
|
|
12224
|
-
proto.gateway.web.v1.CreateAITaskRevisionRequest.prototype.setNote = function(value) {
|
|
12225
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
12226
|
-
};
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12233
|
-
/**
|
|
12234
|
-
* Creates an object representation of this proto.
|
|
12235
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12236
|
-
* Optional fields that are not set will be set to undefined.
|
|
12237
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12238
|
-
* For the list of reserved names please see:
|
|
12239
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12240
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12241
|
-
* JSPB instance for transitional soy proto support:
|
|
12242
|
-
* http://goto/soy-param-migration
|
|
12243
|
-
* @return {!Object}
|
|
12244
|
-
*/
|
|
12245
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12246
|
-
return proto.gateway.web.v1.CreateAITaskRevisionResponse.toObject(opt_includeInstance, this);
|
|
12247
|
-
};
|
|
12248
|
-
|
|
12249
|
-
|
|
12250
|
-
/**
|
|
12251
|
-
* Static version of the {@see toObject} method.
|
|
12252
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12253
|
-
* the JSPB instance for transitional soy proto support:
|
|
12254
|
-
* http://goto/soy-param-migration
|
|
12255
|
-
* @param {!proto.gateway.web.v1.CreateAITaskRevisionResponse} msg The msg instance to transform.
|
|
12256
|
-
* @return {!Object}
|
|
12257
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12258
|
-
*/
|
|
12259
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.toObject = function(includeInstance, msg) {
|
|
12260
|
-
var f, obj = {
|
|
12261
|
-
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
12262
|
-
revision: (f = msg.getRevision()) && proto.gateway.web.v1.AITaskRevision.toObject(includeInstance, f)
|
|
12263
|
-
};
|
|
12264
|
-
|
|
12265
|
-
if (includeInstance) {
|
|
12266
|
-
obj.$jspbMessageInstance = msg;
|
|
12267
|
-
}
|
|
12268
|
-
return obj;
|
|
12269
|
-
};
|
|
12270
|
-
}
|
|
12271
|
-
|
|
12272
|
-
|
|
12273
|
-
/**
|
|
12274
|
-
* Deserializes binary data (in protobuf wire format).
|
|
12275
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12276
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionResponse}
|
|
12277
|
-
*/
|
|
12278
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.deserializeBinary = function(bytes) {
|
|
12279
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
12280
|
-
var msg = new proto.gateway.web.v1.CreateAITaskRevisionResponse;
|
|
12281
|
-
return proto.gateway.web.v1.CreateAITaskRevisionResponse.deserializeBinaryFromReader(msg, reader);
|
|
12282
|
-
};
|
|
12283
|
-
|
|
12284
|
-
|
|
12285
|
-
/**
|
|
12286
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
12287
|
-
* given reader into the given message object.
|
|
12288
|
-
* @param {!proto.gateway.web.v1.CreateAITaskRevisionResponse} msg The message object to deserialize into.
|
|
12289
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12290
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionResponse}
|
|
12291
|
-
*/
|
|
12292
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12293
|
-
while (reader.nextField()) {
|
|
12294
|
-
if (reader.isEndGroup()) {
|
|
12295
|
-
break;
|
|
12296
|
-
}
|
|
12297
|
-
var field = reader.getFieldNumber();
|
|
12298
|
-
switch (field) {
|
|
12299
|
-
case 1:
|
|
12300
|
-
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
12301
|
-
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
12302
|
-
msg.setStatus(value);
|
|
12303
|
-
break;
|
|
12304
|
-
case 2:
|
|
12305
|
-
var value = new proto.gateway.web.v1.AITaskRevision;
|
|
12306
|
-
reader.readMessage(value,proto.gateway.web.v1.AITaskRevision.deserializeBinaryFromReader);
|
|
12307
|
-
msg.setRevision(value);
|
|
12308
|
-
break;
|
|
12309
|
-
default:
|
|
12310
|
-
reader.skipField();
|
|
12311
|
-
break;
|
|
12312
|
-
}
|
|
12313
|
-
}
|
|
12314
|
-
return msg;
|
|
12315
|
-
};
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
/**
|
|
12319
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
12320
|
-
* @return {!Uint8Array}
|
|
12321
|
-
*/
|
|
12322
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.serializeBinary = function() {
|
|
12323
|
-
var writer = new jspb.BinaryWriter();
|
|
12324
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.serializeBinaryToWriter(this, writer);
|
|
12325
|
-
return writer.getResultBuffer();
|
|
12326
|
-
};
|
|
12327
|
-
|
|
12328
|
-
|
|
12329
|
-
/**
|
|
12330
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
12331
|
-
* format), writing to the given BinaryWriter.
|
|
12332
|
-
* @param {!proto.gateway.web.v1.CreateAITaskRevisionResponse} message
|
|
12333
|
-
* @param {!jspb.BinaryWriter} writer
|
|
12334
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12335
|
-
*/
|
|
12336
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12337
|
-
var f = undefined;
|
|
12338
|
-
f = message.getStatus();
|
|
12339
|
-
if (f != null) {
|
|
12340
|
-
writer.writeMessage(
|
|
12341
|
-
1,
|
|
12342
|
-
f,
|
|
12343
|
-
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
12344
|
-
);
|
|
12345
|
-
}
|
|
12346
|
-
f = message.getRevision();
|
|
12347
|
-
if (f != null) {
|
|
12348
|
-
writer.writeMessage(
|
|
12349
|
-
2,
|
|
12350
|
-
f,
|
|
12351
|
-
proto.gateway.web.v1.AITaskRevision.serializeBinaryToWriter
|
|
12352
|
-
);
|
|
12353
|
-
}
|
|
12354
|
-
};
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
/**
|
|
12358
|
-
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
12359
|
-
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
12360
|
-
*/
|
|
12361
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.getStatus = function() {
|
|
12362
|
-
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
12363
|
-
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
12364
|
-
};
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
/**
|
|
12368
|
-
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
12369
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionResponse} returns this
|
|
12370
|
-
*/
|
|
12371
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.setStatus = function(value) {
|
|
12372
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
12373
|
-
};
|
|
12374
|
-
|
|
12375
|
-
|
|
12376
|
-
/**
|
|
12377
|
-
* Clears the message field making it undefined.
|
|
12378
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionResponse} returns this
|
|
12379
|
-
*/
|
|
12380
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.clearStatus = function() {
|
|
12381
|
-
return this.setStatus(undefined);
|
|
12382
|
-
};
|
|
12383
|
-
|
|
12384
|
-
|
|
12385
|
-
/**
|
|
12386
|
-
* Returns whether this field is set.
|
|
12387
|
-
* @return {boolean}
|
|
12388
|
-
*/
|
|
12389
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.hasStatus = function() {
|
|
12390
|
-
return jspb.Message.getField(this, 1) != null;
|
|
12391
|
-
};
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
/**
|
|
12395
|
-
* optional AITaskRevision revision = 2;
|
|
12396
|
-
* @return {?proto.gateway.web.v1.AITaskRevision}
|
|
12397
|
-
*/
|
|
12398
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.getRevision = function() {
|
|
12399
|
-
return /** @type{?proto.gateway.web.v1.AITaskRevision} */ (
|
|
12400
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITaskRevision, 2));
|
|
12401
|
-
};
|
|
12402
|
-
|
|
12403
|
-
|
|
12404
|
-
/**
|
|
12405
|
-
* @param {?proto.gateway.web.v1.AITaskRevision|undefined} value
|
|
12406
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionResponse} returns this
|
|
12407
|
-
*/
|
|
12408
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.setRevision = function(value) {
|
|
12409
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
12410
|
-
};
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
/**
|
|
12414
|
-
* Clears the message field making it undefined.
|
|
12415
|
-
* @return {!proto.gateway.web.v1.CreateAITaskRevisionResponse} returns this
|
|
12416
|
-
*/
|
|
12417
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.clearRevision = function() {
|
|
12418
|
-
return this.setRevision(undefined);
|
|
12419
|
-
};
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
/**
|
|
12423
|
-
* Returns whether this field is set.
|
|
12424
|
-
* @return {boolean}
|
|
12425
|
-
*/
|
|
12426
|
-
proto.gateway.web.v1.CreateAITaskRevisionResponse.prototype.hasRevision = function() {
|
|
12427
|
-
return jspb.Message.getField(this, 2) != null;
|
|
12428
|
-
};
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12435
|
-
/**
|
|
12436
|
-
* Creates an object representation of this proto.
|
|
12437
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12438
|
-
* Optional fields that are not set will be set to undefined.
|
|
12439
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12440
|
-
* For the list of reserved names please see:
|
|
12441
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12442
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12443
|
-
* JSPB instance for transitional soy proto support:
|
|
12444
|
-
* http://goto/soy-param-migration
|
|
12445
|
-
* @return {!Object}
|
|
12446
|
-
*/
|
|
12447
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12448
|
-
return proto.gateway.web.v1.ActivateAITaskRevisionRequest.toObject(opt_includeInstance, this);
|
|
12449
|
-
};
|
|
12450
|
-
|
|
12451
|
-
|
|
12452
|
-
/**
|
|
12453
|
-
* Static version of the {@see toObject} method.
|
|
12454
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12455
|
-
* the JSPB instance for transitional soy proto support:
|
|
12456
|
-
* http://goto/soy-param-migration
|
|
12457
|
-
* @param {!proto.gateway.web.v1.ActivateAITaskRevisionRequest} msg The msg instance to transform.
|
|
12458
|
-
* @return {!Object}
|
|
12459
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12460
|
-
*/
|
|
12461
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.toObject = function(includeInstance, msg) {
|
|
12462
|
-
var f, obj = {
|
|
12463
|
-
task: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
12464
|
-
revisionId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
12465
|
-
};
|
|
12466
|
-
|
|
12467
|
-
if (includeInstance) {
|
|
12468
|
-
obj.$jspbMessageInstance = msg;
|
|
12469
|
-
}
|
|
12470
|
-
return obj;
|
|
12471
|
-
};
|
|
12472
|
-
}
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
/**
|
|
12476
|
-
* Deserializes binary data (in protobuf wire format).
|
|
12477
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12478
|
-
* @return {!proto.gateway.web.v1.ActivateAITaskRevisionRequest}
|
|
12479
|
-
*/
|
|
12480
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.deserializeBinary = function(bytes) {
|
|
12481
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
12482
|
-
var msg = new proto.gateway.web.v1.ActivateAITaskRevisionRequest;
|
|
12483
|
-
return proto.gateway.web.v1.ActivateAITaskRevisionRequest.deserializeBinaryFromReader(msg, reader);
|
|
12484
|
-
};
|
|
12485
|
-
|
|
12486
|
-
|
|
12487
|
-
/**
|
|
12488
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
12489
|
-
* given reader into the given message object.
|
|
12490
|
-
* @param {!proto.gateway.web.v1.ActivateAITaskRevisionRequest} msg The message object to deserialize into.
|
|
12491
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12492
|
-
* @return {!proto.gateway.web.v1.ActivateAITaskRevisionRequest}
|
|
12493
|
-
*/
|
|
12494
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12495
|
-
while (reader.nextField()) {
|
|
12496
|
-
if (reader.isEndGroup()) {
|
|
12497
|
-
break;
|
|
12498
|
-
}
|
|
12499
|
-
var field = reader.getFieldNumber();
|
|
12500
|
-
switch (field) {
|
|
12501
|
-
case 1:
|
|
12502
|
-
var value = /** @type {!proto.gateway.web.v1.AITask} */ (reader.readEnum());
|
|
12503
|
-
msg.setTask(value);
|
|
12504
|
-
break;
|
|
12505
|
-
case 2:
|
|
12506
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12507
|
-
msg.setRevisionId(value);
|
|
12508
|
-
break;
|
|
12509
|
-
default:
|
|
12510
|
-
reader.skipField();
|
|
12511
|
-
break;
|
|
12512
|
-
}
|
|
12513
|
-
}
|
|
12514
|
-
return msg;
|
|
12515
|
-
};
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
/**
|
|
12519
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
12520
|
-
* @return {!Uint8Array}
|
|
12521
|
-
*/
|
|
12522
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.prototype.serializeBinary = function() {
|
|
12523
|
-
var writer = new jspb.BinaryWriter();
|
|
12524
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.serializeBinaryToWriter(this, writer);
|
|
12525
|
-
return writer.getResultBuffer();
|
|
12526
|
-
};
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
/**
|
|
12530
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
12531
|
-
* format), writing to the given BinaryWriter.
|
|
12532
|
-
* @param {!proto.gateway.web.v1.ActivateAITaskRevisionRequest} message
|
|
12533
|
-
* @param {!jspb.BinaryWriter} writer
|
|
12534
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12535
|
-
*/
|
|
12536
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12537
|
-
var f = undefined;
|
|
12538
|
-
f = message.getTask();
|
|
12539
|
-
if (f !== 0.0) {
|
|
12540
|
-
writer.writeEnum(
|
|
12541
|
-
1,
|
|
12542
|
-
f
|
|
12543
|
-
);
|
|
12544
|
-
}
|
|
12545
|
-
f = message.getRevisionId();
|
|
12546
|
-
if (f.length > 0) {
|
|
12547
|
-
writer.writeString(
|
|
12548
|
-
2,
|
|
12549
|
-
f
|
|
12550
|
-
);
|
|
12551
|
-
}
|
|
12552
|
-
};
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
/**
|
|
12556
|
-
* optional AITask task = 1;
|
|
12557
|
-
* @return {!proto.gateway.web.v1.AITask}
|
|
12558
|
-
*/
|
|
12559
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.prototype.getTask = function() {
|
|
12560
|
-
return /** @type {!proto.gateway.web.v1.AITask} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12561
|
-
};
|
|
12562
|
-
|
|
12563
|
-
|
|
12564
|
-
/**
|
|
12565
|
-
* @param {!proto.gateway.web.v1.AITask} value
|
|
12566
|
-
* @return {!proto.gateway.web.v1.ActivateAITaskRevisionRequest} returns this
|
|
12567
|
-
*/
|
|
12568
|
-
proto.gateway.web.v1.ActivateAITaskRevisionRequest.prototype.setTask = function(value) {
|
|
12569
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
12570
|
-
};
|
|
12571
|
-
|
|
12572
|
-
|
|
12573
|
-
/**
|
|
12574
|
-
* optional string revision_id = 2;
|
|
10892
|
+
* optional string model = 2;
|
|
12575
10893
|
* @return {string}
|
|
12576
10894
|
*/
|
|
12577
|
-
proto.gateway.web.v1.
|
|
10895
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.prototype.getModel = function() {
|
|
12578
10896
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12579
10897
|
};
|
|
12580
10898
|
|
|
12581
10899
|
|
|
12582
10900
|
/**
|
|
12583
10901
|
* @param {string} value
|
|
12584
|
-
* @return {!proto.gateway.web.v1.
|
|
10902
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelRequest} returns this
|
|
12585
10903
|
*/
|
|
12586
|
-
proto.gateway.web.v1.
|
|
10904
|
+
proto.gateway.web.v1.UpdateAITaskModelRequest.prototype.setModel = function(value) {
|
|
12587
10905
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12588
10906
|
};
|
|
12589
10907
|
|
|
@@ -12604,8 +10922,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
12604
10922
|
* http://goto/soy-param-migration
|
|
12605
10923
|
* @return {!Object}
|
|
12606
10924
|
*/
|
|
12607
|
-
proto.gateway.web.v1.
|
|
12608
|
-
return proto.gateway.web.v1.
|
|
10925
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10926
|
+
return proto.gateway.web.v1.UpdateAITaskModelResponse.toObject(opt_includeInstance, this);
|
|
12609
10927
|
};
|
|
12610
10928
|
|
|
12611
10929
|
|
|
@@ -12614,14 +10932,14 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.prototype.toObject = functio
|
|
|
12614
10932
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12615
10933
|
* the JSPB instance for transitional soy proto support:
|
|
12616
10934
|
* http://goto/soy-param-migration
|
|
12617
|
-
* @param {!proto.gateway.web.v1.
|
|
10935
|
+
* @param {!proto.gateway.web.v1.UpdateAITaskModelResponse} msg The msg instance to transform.
|
|
12618
10936
|
* @return {!Object}
|
|
12619
10937
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12620
10938
|
*/
|
|
12621
|
-
proto.gateway.web.v1.
|
|
10939
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.toObject = function(includeInstance, msg) {
|
|
12622
10940
|
var f, obj = {
|
|
12623
10941
|
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
12624
|
-
|
|
10942
|
+
taskModel: (f = msg.getTaskModel()) && proto.gateway.web.v1.AITaskModel.toObject(includeInstance, f)
|
|
12625
10943
|
};
|
|
12626
10944
|
|
|
12627
10945
|
if (includeInstance) {
|
|
@@ -12635,23 +10953,23 @@ activation: (f = msg.getActivation()) && proto.gateway.web.v1.AITaskActivation.t
|
|
|
12635
10953
|
/**
|
|
12636
10954
|
* Deserializes binary data (in protobuf wire format).
|
|
12637
10955
|
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12638
|
-
* @return {!proto.gateway.web.v1.
|
|
10956
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelResponse}
|
|
12639
10957
|
*/
|
|
12640
|
-
proto.gateway.web.v1.
|
|
10958
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.deserializeBinary = function(bytes) {
|
|
12641
10959
|
var reader = new jspb.BinaryReader(bytes);
|
|
12642
|
-
var msg = new proto.gateway.web.v1.
|
|
12643
|
-
return proto.gateway.web.v1.
|
|
10960
|
+
var msg = new proto.gateway.web.v1.UpdateAITaskModelResponse;
|
|
10961
|
+
return proto.gateway.web.v1.UpdateAITaskModelResponse.deserializeBinaryFromReader(msg, reader);
|
|
12644
10962
|
};
|
|
12645
10963
|
|
|
12646
10964
|
|
|
12647
10965
|
/**
|
|
12648
10966
|
* Deserializes binary data (in protobuf wire format) from the
|
|
12649
10967
|
* given reader into the given message object.
|
|
12650
|
-
* @param {!proto.gateway.web.v1.
|
|
10968
|
+
* @param {!proto.gateway.web.v1.UpdateAITaskModelResponse} msg The message object to deserialize into.
|
|
12651
10969
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12652
|
-
* @return {!proto.gateway.web.v1.
|
|
10970
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelResponse}
|
|
12653
10971
|
*/
|
|
12654
|
-
proto.gateway.web.v1.
|
|
10972
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12655
10973
|
while (reader.nextField()) {
|
|
12656
10974
|
if (reader.isEndGroup()) {
|
|
12657
10975
|
break;
|
|
@@ -12664,9 +10982,9 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.deserializeBinaryFromReader
|
|
|
12664
10982
|
msg.setStatus(value);
|
|
12665
10983
|
break;
|
|
12666
10984
|
case 2:
|
|
12667
|
-
var value = new proto.gateway.web.v1.
|
|
12668
|
-
reader.readMessage(value,proto.gateway.web.v1.
|
|
12669
|
-
msg.
|
|
10985
|
+
var value = new proto.gateway.web.v1.AITaskModel;
|
|
10986
|
+
reader.readMessage(value,proto.gateway.web.v1.AITaskModel.deserializeBinaryFromReader);
|
|
10987
|
+
msg.setTaskModel(value);
|
|
12670
10988
|
break;
|
|
12671
10989
|
default:
|
|
12672
10990
|
reader.skipField();
|
|
@@ -12681,9 +10999,9 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.deserializeBinaryFromReader
|
|
|
12681
10999
|
* Serializes the message to binary data (in protobuf wire format).
|
|
12682
11000
|
* @return {!Uint8Array}
|
|
12683
11001
|
*/
|
|
12684
|
-
proto.gateway.web.v1.
|
|
11002
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.serializeBinary = function() {
|
|
12685
11003
|
var writer = new jspb.BinaryWriter();
|
|
12686
|
-
proto.gateway.web.v1.
|
|
11004
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.serializeBinaryToWriter(this, writer);
|
|
12687
11005
|
return writer.getResultBuffer();
|
|
12688
11006
|
};
|
|
12689
11007
|
|
|
@@ -12691,11 +11009,11 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.prototype.serializeBinary =
|
|
|
12691
11009
|
/**
|
|
12692
11010
|
* Serializes the given message to binary data (in protobuf wire
|
|
12693
11011
|
* format), writing to the given BinaryWriter.
|
|
12694
|
-
* @param {!proto.gateway.web.v1.
|
|
11012
|
+
* @param {!proto.gateway.web.v1.UpdateAITaskModelResponse} message
|
|
12695
11013
|
* @param {!jspb.BinaryWriter} writer
|
|
12696
11014
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12697
11015
|
*/
|
|
12698
|
-
proto.gateway.web.v1.
|
|
11016
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.serializeBinaryToWriter = function(message, writer) {
|
|
12699
11017
|
var f = undefined;
|
|
12700
11018
|
f = message.getStatus();
|
|
12701
11019
|
if (f != null) {
|
|
@@ -12705,12 +11023,12 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.serializeBinaryToWriter = fu
|
|
|
12705
11023
|
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
12706
11024
|
);
|
|
12707
11025
|
}
|
|
12708
|
-
f = message.
|
|
11026
|
+
f = message.getTaskModel();
|
|
12709
11027
|
if (f != null) {
|
|
12710
11028
|
writer.writeMessage(
|
|
12711
11029
|
2,
|
|
12712
11030
|
f,
|
|
12713
|
-
proto.gateway.web.v1.
|
|
11031
|
+
proto.gateway.web.v1.AITaskModel.serializeBinaryToWriter
|
|
12714
11032
|
);
|
|
12715
11033
|
}
|
|
12716
11034
|
};
|
|
@@ -12720,7 +11038,7 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.serializeBinaryToWriter = fu
|
|
|
12720
11038
|
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
12721
11039
|
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
12722
11040
|
*/
|
|
12723
|
-
proto.gateway.web.v1.
|
|
11041
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.getStatus = function() {
|
|
12724
11042
|
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
12725
11043
|
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
12726
11044
|
};
|
|
@@ -12728,18 +11046,18 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.prototype.getStatus = functi
|
|
|
12728
11046
|
|
|
12729
11047
|
/**
|
|
12730
11048
|
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
12731
|
-
* @return {!proto.gateway.web.v1.
|
|
11049
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelResponse} returns this
|
|
12732
11050
|
*/
|
|
12733
|
-
proto.gateway.web.v1.
|
|
11051
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.setStatus = function(value) {
|
|
12734
11052
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
12735
11053
|
};
|
|
12736
11054
|
|
|
12737
11055
|
|
|
12738
11056
|
/**
|
|
12739
11057
|
* Clears the message field making it undefined.
|
|
12740
|
-
* @return {!proto.gateway.web.v1.
|
|
11058
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelResponse} returns this
|
|
12741
11059
|
*/
|
|
12742
|
-
proto.gateway.web.v1.
|
|
11060
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.clearStatus = function() {
|
|
12743
11061
|
return this.setStatus(undefined);
|
|
12744
11062
|
};
|
|
12745
11063
|
|
|
@@ -12748,36 +11066,36 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.prototype.clearStatus = func
|
|
|
12748
11066
|
* Returns whether this field is set.
|
|
12749
11067
|
* @return {boolean}
|
|
12750
11068
|
*/
|
|
12751
|
-
proto.gateway.web.v1.
|
|
11069
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.hasStatus = function() {
|
|
12752
11070
|
return jspb.Message.getField(this, 1) != null;
|
|
12753
11071
|
};
|
|
12754
11072
|
|
|
12755
11073
|
|
|
12756
11074
|
/**
|
|
12757
|
-
* optional
|
|
12758
|
-
* @return {?proto.gateway.web.v1.
|
|
11075
|
+
* optional AITaskModel task_model = 2;
|
|
11076
|
+
* @return {?proto.gateway.web.v1.AITaskModel}
|
|
12759
11077
|
*/
|
|
12760
|
-
proto.gateway.web.v1.
|
|
12761
|
-
return /** @type{?proto.gateway.web.v1.
|
|
12762
|
-
jspb.Message.getWrapperField(this, proto.gateway.web.v1.
|
|
11078
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.getTaskModel = function() {
|
|
11079
|
+
return /** @type{?proto.gateway.web.v1.AITaskModel} */ (
|
|
11080
|
+
jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITaskModel, 2));
|
|
12763
11081
|
};
|
|
12764
11082
|
|
|
12765
11083
|
|
|
12766
11084
|
/**
|
|
12767
|
-
* @param {?proto.gateway.web.v1.
|
|
12768
|
-
* @return {!proto.gateway.web.v1.
|
|
11085
|
+
* @param {?proto.gateway.web.v1.AITaskModel|undefined} value
|
|
11086
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelResponse} returns this
|
|
12769
11087
|
*/
|
|
12770
|
-
proto.gateway.web.v1.
|
|
11088
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.setTaskModel = function(value) {
|
|
12771
11089
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
12772
11090
|
};
|
|
12773
11091
|
|
|
12774
11092
|
|
|
12775
11093
|
/**
|
|
12776
11094
|
* Clears the message field making it undefined.
|
|
12777
|
-
* @return {!proto.gateway.web.v1.
|
|
11095
|
+
* @return {!proto.gateway.web.v1.UpdateAITaskModelResponse} returns this
|
|
12778
11096
|
*/
|
|
12779
|
-
proto.gateway.web.v1.
|
|
12780
|
-
return this.
|
|
11097
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.clearTaskModel = function() {
|
|
11098
|
+
return this.setTaskModel(undefined);
|
|
12781
11099
|
};
|
|
12782
11100
|
|
|
12783
11101
|
|
|
@@ -12785,292 +11103,11 @@ proto.gateway.web.v1.ActivateAITaskRevisionResponse.prototype.clearActivation =
|
|
|
12785
11103
|
* Returns whether this field is set.
|
|
12786
11104
|
* @return {boolean}
|
|
12787
11105
|
*/
|
|
12788
|
-
proto.gateway.web.v1.
|
|
11106
|
+
proto.gateway.web.v1.UpdateAITaskModelResponse.prototype.hasTaskModel = function() {
|
|
12789
11107
|
return jspb.Message.getField(this, 2) != null;
|
|
12790
11108
|
};
|
|
12791
11109
|
|
|
12792
11110
|
|
|
12793
|
-
|
|
12794
|
-
|
|
12795
|
-
|
|
12796
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12797
|
-
/**
|
|
12798
|
-
* Creates an object representation of this proto.
|
|
12799
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12800
|
-
* Optional fields that are not set will be set to undefined.
|
|
12801
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12802
|
-
* For the list of reserved names please see:
|
|
12803
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12804
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12805
|
-
* JSPB instance for transitional soy proto support:
|
|
12806
|
-
* http://goto/soy-param-migration
|
|
12807
|
-
* @return {!Object}
|
|
12808
|
-
*/
|
|
12809
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12810
|
-
return proto.gateway.web.v1.DeactivateAITaskRevisionRequest.toObject(opt_includeInstance, this);
|
|
12811
|
-
};
|
|
12812
|
-
|
|
12813
|
-
|
|
12814
|
-
/**
|
|
12815
|
-
* Static version of the {@see toObject} method.
|
|
12816
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12817
|
-
* the JSPB instance for transitional soy proto support:
|
|
12818
|
-
* http://goto/soy-param-migration
|
|
12819
|
-
* @param {!proto.gateway.web.v1.DeactivateAITaskRevisionRequest} msg The msg instance to transform.
|
|
12820
|
-
* @return {!Object}
|
|
12821
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12822
|
-
*/
|
|
12823
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.toObject = function(includeInstance, msg) {
|
|
12824
|
-
var f, obj = {
|
|
12825
|
-
task: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
12826
|
-
};
|
|
12827
|
-
|
|
12828
|
-
if (includeInstance) {
|
|
12829
|
-
obj.$jspbMessageInstance = msg;
|
|
12830
|
-
}
|
|
12831
|
-
return obj;
|
|
12832
|
-
};
|
|
12833
|
-
}
|
|
12834
|
-
|
|
12835
|
-
|
|
12836
|
-
/**
|
|
12837
|
-
* Deserializes binary data (in protobuf wire format).
|
|
12838
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12839
|
-
* @return {!proto.gateway.web.v1.DeactivateAITaskRevisionRequest}
|
|
12840
|
-
*/
|
|
12841
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.deserializeBinary = function(bytes) {
|
|
12842
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
12843
|
-
var msg = new proto.gateway.web.v1.DeactivateAITaskRevisionRequest;
|
|
12844
|
-
return proto.gateway.web.v1.DeactivateAITaskRevisionRequest.deserializeBinaryFromReader(msg, reader);
|
|
12845
|
-
};
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
/**
|
|
12849
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
12850
|
-
* given reader into the given message object.
|
|
12851
|
-
* @param {!proto.gateway.web.v1.DeactivateAITaskRevisionRequest} msg The message object to deserialize into.
|
|
12852
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12853
|
-
* @return {!proto.gateway.web.v1.DeactivateAITaskRevisionRequest}
|
|
12854
|
-
*/
|
|
12855
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12856
|
-
while (reader.nextField()) {
|
|
12857
|
-
if (reader.isEndGroup()) {
|
|
12858
|
-
break;
|
|
12859
|
-
}
|
|
12860
|
-
var field = reader.getFieldNumber();
|
|
12861
|
-
switch (field) {
|
|
12862
|
-
case 1:
|
|
12863
|
-
var value = /** @type {!proto.gateway.web.v1.AITask} */ (reader.readEnum());
|
|
12864
|
-
msg.setTask(value);
|
|
12865
|
-
break;
|
|
12866
|
-
default:
|
|
12867
|
-
reader.skipField();
|
|
12868
|
-
break;
|
|
12869
|
-
}
|
|
12870
|
-
}
|
|
12871
|
-
return msg;
|
|
12872
|
-
};
|
|
12873
|
-
|
|
12874
|
-
|
|
12875
|
-
/**
|
|
12876
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
12877
|
-
* @return {!Uint8Array}
|
|
12878
|
-
*/
|
|
12879
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.prototype.serializeBinary = function() {
|
|
12880
|
-
var writer = new jspb.BinaryWriter();
|
|
12881
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.serializeBinaryToWriter(this, writer);
|
|
12882
|
-
return writer.getResultBuffer();
|
|
12883
|
-
};
|
|
12884
|
-
|
|
12885
|
-
|
|
12886
|
-
/**
|
|
12887
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
12888
|
-
* format), writing to the given BinaryWriter.
|
|
12889
|
-
* @param {!proto.gateway.web.v1.DeactivateAITaskRevisionRequest} message
|
|
12890
|
-
* @param {!jspb.BinaryWriter} writer
|
|
12891
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12892
|
-
*/
|
|
12893
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
12894
|
-
var f = undefined;
|
|
12895
|
-
f = message.getTask();
|
|
12896
|
-
if (f !== 0.0) {
|
|
12897
|
-
writer.writeEnum(
|
|
12898
|
-
1,
|
|
12899
|
-
f
|
|
12900
|
-
);
|
|
12901
|
-
}
|
|
12902
|
-
};
|
|
12903
|
-
|
|
12904
|
-
|
|
12905
|
-
/**
|
|
12906
|
-
* optional AITask task = 1;
|
|
12907
|
-
* @return {!proto.gateway.web.v1.AITask}
|
|
12908
|
-
*/
|
|
12909
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.prototype.getTask = function() {
|
|
12910
|
-
return /** @type {!proto.gateway.web.v1.AITask} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
12911
|
-
};
|
|
12912
|
-
|
|
12913
|
-
|
|
12914
|
-
/**
|
|
12915
|
-
* @param {!proto.gateway.web.v1.AITask} value
|
|
12916
|
-
* @return {!proto.gateway.web.v1.DeactivateAITaskRevisionRequest} returns this
|
|
12917
|
-
*/
|
|
12918
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionRequest.prototype.setTask = function(value) {
|
|
12919
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
12920
|
-
};
|
|
12921
|
-
|
|
12922
|
-
|
|
12923
|
-
|
|
12924
|
-
|
|
12925
|
-
|
|
12926
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12927
|
-
/**
|
|
12928
|
-
* Creates an object representation of this proto.
|
|
12929
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12930
|
-
* Optional fields that are not set will be set to undefined.
|
|
12931
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12932
|
-
* For the list of reserved names please see:
|
|
12933
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12934
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12935
|
-
* JSPB instance for transitional soy proto support:
|
|
12936
|
-
* http://goto/soy-param-migration
|
|
12937
|
-
* @return {!Object}
|
|
12938
|
-
*/
|
|
12939
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
12940
|
-
return proto.gateway.web.v1.DeactivateAITaskRevisionResponse.toObject(opt_includeInstance, this);
|
|
12941
|
-
};
|
|
12942
|
-
|
|
12943
|
-
|
|
12944
|
-
/**
|
|
12945
|
-
* Static version of the {@see toObject} method.
|
|
12946
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12947
|
-
* the JSPB instance for transitional soy proto support:
|
|
12948
|
-
* http://goto/soy-param-migration
|
|
12949
|
-
* @param {!proto.gateway.web.v1.DeactivateAITaskRevisionResponse} msg The msg instance to transform.
|
|
12950
|
-
* @return {!Object}
|
|
12951
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12952
|
-
*/
|
|
12953
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.toObject = function(includeInstance, msg) {
|
|
12954
|
-
var f, obj = {
|
|
12955
|
-
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f)
|
|
12956
|
-
};
|
|
12957
|
-
|
|
12958
|
-
if (includeInstance) {
|
|
12959
|
-
obj.$jspbMessageInstance = msg;
|
|
12960
|
-
}
|
|
12961
|
-
return obj;
|
|
12962
|
-
};
|
|
12963
|
-
}
|
|
12964
|
-
|
|
12965
|
-
|
|
12966
|
-
/**
|
|
12967
|
-
* Deserializes binary data (in protobuf wire format).
|
|
12968
|
-
* @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
|
|
12969
|
-
* @return {!proto.gateway.web.v1.DeactivateAITaskRevisionResponse}
|
|
12970
|
-
*/
|
|
12971
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.deserializeBinary = function(bytes) {
|
|
12972
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
12973
|
-
var msg = new proto.gateway.web.v1.DeactivateAITaskRevisionResponse;
|
|
12974
|
-
return proto.gateway.web.v1.DeactivateAITaskRevisionResponse.deserializeBinaryFromReader(msg, reader);
|
|
12975
|
-
};
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
/**
|
|
12979
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
12980
|
-
* given reader into the given message object.
|
|
12981
|
-
* @param {!proto.gateway.web.v1.DeactivateAITaskRevisionResponse} msg The message object to deserialize into.
|
|
12982
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12983
|
-
* @return {!proto.gateway.web.v1.DeactivateAITaskRevisionResponse}
|
|
12984
|
-
*/
|
|
12985
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
12986
|
-
while (reader.nextField()) {
|
|
12987
|
-
if (reader.isEndGroup()) {
|
|
12988
|
-
break;
|
|
12989
|
-
}
|
|
12990
|
-
var field = reader.getFieldNumber();
|
|
12991
|
-
switch (field) {
|
|
12992
|
-
case 1:
|
|
12993
|
-
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
12994
|
-
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
12995
|
-
msg.setStatus(value);
|
|
12996
|
-
break;
|
|
12997
|
-
default:
|
|
12998
|
-
reader.skipField();
|
|
12999
|
-
break;
|
|
13000
|
-
}
|
|
13001
|
-
}
|
|
13002
|
-
return msg;
|
|
13003
|
-
};
|
|
13004
|
-
|
|
13005
|
-
|
|
13006
|
-
/**
|
|
13007
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
13008
|
-
* @return {!Uint8Array}
|
|
13009
|
-
*/
|
|
13010
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.prototype.serializeBinary = function() {
|
|
13011
|
-
var writer = new jspb.BinaryWriter();
|
|
13012
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.serializeBinaryToWriter(this, writer);
|
|
13013
|
-
return writer.getResultBuffer();
|
|
13014
|
-
};
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
/**
|
|
13018
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
13019
|
-
* format), writing to the given BinaryWriter.
|
|
13020
|
-
* @param {!proto.gateway.web.v1.DeactivateAITaskRevisionResponse} message
|
|
13021
|
-
* @param {!jspb.BinaryWriter} writer
|
|
13022
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13023
|
-
*/
|
|
13024
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
13025
|
-
var f = undefined;
|
|
13026
|
-
f = message.getStatus();
|
|
13027
|
-
if (f != null) {
|
|
13028
|
-
writer.writeMessage(
|
|
13029
|
-
1,
|
|
13030
|
-
f,
|
|
13031
|
-
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
13032
|
-
);
|
|
13033
|
-
}
|
|
13034
|
-
};
|
|
13035
|
-
|
|
13036
|
-
|
|
13037
|
-
/**
|
|
13038
|
-
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
13039
|
-
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
13040
|
-
*/
|
|
13041
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.prototype.getStatus = function() {
|
|
13042
|
-
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
13043
|
-
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
13044
|
-
};
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
/**
|
|
13048
|
-
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
13049
|
-
* @return {!proto.gateway.web.v1.DeactivateAITaskRevisionResponse} returns this
|
|
13050
|
-
*/
|
|
13051
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.prototype.setStatus = function(value) {
|
|
13052
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
13053
|
-
};
|
|
13054
|
-
|
|
13055
|
-
|
|
13056
|
-
/**
|
|
13057
|
-
* Clears the message field making it undefined.
|
|
13058
|
-
* @return {!proto.gateway.web.v1.DeactivateAITaskRevisionResponse} returns this
|
|
13059
|
-
*/
|
|
13060
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.prototype.clearStatus = function() {
|
|
13061
|
-
return this.setStatus(undefined);
|
|
13062
|
-
};
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
/**
|
|
13066
|
-
* Returns whether this field is set.
|
|
13067
|
-
* @return {boolean}
|
|
13068
|
-
*/
|
|
13069
|
-
proto.gateway.web.v1.DeactivateAITaskRevisionResponse.prototype.hasStatus = function() {
|
|
13070
|
-
return jspb.Message.getField(this, 1) != null;
|
|
13071
|
-
};
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
11111
|
/**
|
|
13075
11112
|
* @enum {number}
|
|
13076
11113
|
*/
|