@@ -614,7 +614,7 @@ if (goog.DEBUG && !COMPILED) {
614614 * @constructor
615615 */
616616proto.clarifai.api.StreamLivestreamAnnotationsRequest = function(opt_data) {
617- jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ , null);
617+ jspb.Message.initialize(this, opt_data, 0, -1, null , null);
618618};
619619goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
620620if (goog.DEBUG && !COMPILED) {
@@ -11608,13 +11608,6 @@ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function() {
1160811608
1160911609
1161011610
11611- /**
11612- * List of repeated fields within this message type.
11613- * @private {!Array<number>}
11614- * @const
11615- */
11616- proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ = [4];
11617-
1161811611
1161911612
1162011613if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -11647,10 +11640,7 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.toObject = funct
1164711640proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function(includeInstance, msg) {
1164811641 var f, obj = {
1164911642 userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11650- inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11651- taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11652- trackIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
11653- annotationType: jspb.Message.getFieldWithDefault(msg, 5, 0)
11643+ inputId: jspb.Message.getFieldWithDefault(msg, 2, "")
1165411644 };
1165511645
1165611646 if (includeInstance) {
@@ -11696,18 +11686,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReade
1169611686 var value = /** @type {string} */ (reader.readString());
1169711687 msg.setInputId(value);
1169811688 break;
11699- case 3:
11700- var value = /** @type {string} */ (reader.readString());
11701- msg.setTaskId(value);
11702- break;
11703- case 4:
11704- var value = /** @type {string} */ (reader.readString());
11705- msg.addTrackIds(value);
11706- break;
11707- case 5:
11708- var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
11709- msg.setAnnotationType(value);
11710- break;
1171111689 default:
1171211690 reader.skipField();
1171311691 break;
@@ -11752,27 +11730,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter =
1175211730 f
1175311731 );
1175411732 }
11755- f = message.getTaskId();
11756- if (f.length > 0) {
11757- writer.writeString(
11758- 3,
11759- f
11760- );
11761- }
11762- f = message.getTrackIdsList();
11763- if (f.length > 0) {
11764- writer.writeRepeatedString(
11765- 4,
11766- f
11767- );
11768- }
11769- f = message.getAnnotationType();
11770- if (f !== 0.0) {
11771- writer.writeEnum(
11772- 5,
11773- f
11774- );
11775- }
1177611733};
1177711734
1177811735
@@ -11831,79 +11788,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = fun
1183111788};
1183211789
1183311790
11834- /**
11835- * optional string task_id = 3;
11836- * @return {string}
11837- */
11838- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTaskId = function() {
11839- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11840- };
11841-
11842-
11843- /**
11844- * @param {string} value
11845- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11846- */
11847- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTaskId = function(value) {
11848- return jspb.Message.setProto3StringField(this, 3, value);
11849- };
11850-
11851-
11852- /**
11853- * repeated string track_ids = 4;
11854- * @return {!Array<string>}
11855- */
11856- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTrackIdsList = function() {
11857- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
11858- };
11859-
11860-
11861- /**
11862- * @param {!Array<string>} value
11863- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11864- */
11865- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTrackIdsList = function(value) {
11866- return jspb.Message.setField(this, 4, value || []);
11867- };
11868-
11869-
11870- /**
11871- * @param {string} value
11872- * @param {number=} opt_index
11873- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11874- */
11875- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.addTrackIds = function(value, opt_index) {
11876- return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
11877- };
11878-
11879-
11880- /**
11881- * Clears the list making it empty but non-null.
11882- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11883- */
11884- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearTrackIdsList = function() {
11885- return this.setTrackIdsList([]);
11886- };
11887-
11888-
11889- /**
11890- * optional AnnotationDataType annotation_type = 5;
11891- * @return {!proto.clarifai.api.AnnotationDataType}
11892- */
11893- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getAnnotationType = function() {
11894- return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11895- };
11896-
11897-
11898- /**
11899- * @param {!proto.clarifai.api.AnnotationDataType} value
11900- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11901- */
11902- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setAnnotationType = function(value) {
11903- return jspb.Message.setProto3EnumField(this, 5, value);
11904- };
11905-
11906-
1190711791
1190811792/**
1190911793 * List of repeated fields within this message type.
0 commit comments