@@ -29,6 +29,8 @@ var proto_clarifai_api_utils_extensions_pb = require('../../../proto/clarifai/ap
2929goog.object.extend(proto, proto_clarifai_api_utils_extensions_pb);
3030var proto_clarifai_api_utils_matrix_pb = require('../../../proto/clarifai/api/utils/matrix_pb.js');
3131goog.object.extend(proto, proto_clarifai_api_utils_matrix_pb);
32+ var proto_clarifai_api_utils_time_pb = require('../../../proto/clarifai/api/utils/time_pb.js');
33+ goog.object.extend(proto, proto_clarifai_api_utils_time_pb);
3234var proto_clarifai_auth_util_extension_pb = require('../../../proto/clarifai/auth/util/extension_pb.js');
3335goog.object.extend(proto, proto_clarifai_auth_util_extension_pb);
3436var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
@@ -56778,7 +56780,9 @@ proto.clarifai.api.TaskConceptAutoAnnotationConfig.toObject = function(includeIn
5677856780 var f, obj = {
5677956781 annotationDataTypes: jspb.Message.getFieldWithDefault(msg, 1, 0),
5678056782 thresholdRange: (f = msg.getThresholdRange()) && proto.clarifai.api.ThresholdRange.toObject(includeInstance, f),
56781- statusCode: jspb.Message.getFieldWithDefault(msg, 3, 0)
56783+ statusCode: jspb.Message.getFieldWithDefault(msg, 3, 0),
56784+ timeOfDayRange: (f = msg.getTimeOfDayRange()) && proto_clarifai_api_utils_time_pb.TimeOfDayRange.toObject(includeInstance, f),
56785+ polygon: (f = msg.getPolygon()) && proto.clarifai.api.Polygon.toObject(includeInstance, f)
5678256786 };
5678356787
5678456788 if (includeInstance) {
@@ -56828,6 +56832,16 @@ proto.clarifai.api.TaskConceptAutoAnnotationConfig.deserializeBinaryFromReader =
5682856832 var value = /** @type {!proto.clarifai.api.status.StatusCode} */ (reader.readEnum());
5682956833 msg.setStatusCode(value);
5683056834 break;
56835+ case 4:
56836+ var value = new proto_clarifai_api_utils_time_pb.TimeOfDayRange;
56837+ reader.readMessage(value,proto_clarifai_api_utils_time_pb.TimeOfDayRange.deserializeBinaryFromReader);
56838+ msg.setTimeOfDayRange(value);
56839+ break;
56840+ case 5:
56841+ var value = new proto.clarifai.api.Polygon;
56842+ reader.readMessage(value,proto.clarifai.api.Polygon.deserializeBinaryFromReader);
56843+ msg.setPolygon(value);
56844+ break;
5683156845 default:
5683256846 reader.skipField();
5683356847 break;
@@ -56879,6 +56893,22 @@ proto.clarifai.api.TaskConceptAutoAnnotationConfig.serializeBinaryToWriter = fun
5687956893 f
5688056894 );
5688156895 }
56896+ f = message.getTimeOfDayRange();
56897+ if (f != null) {
56898+ writer.writeMessage(
56899+ 4,
56900+ f,
56901+ proto_clarifai_api_utils_time_pb.TimeOfDayRange.serializeBinaryToWriter
56902+ );
56903+ }
56904+ f = message.getPolygon();
56905+ if (f != null) {
56906+ writer.writeMessage(
56907+ 5,
56908+ f,
56909+ proto.clarifai.api.Polygon.serializeBinaryToWriter
56910+ );
56911+ }
5688256912};
5688356913
5688456914
@@ -56955,6 +56985,80 @@ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.setStatusCode = fun
5695556985};
5695656986
5695756987
56988+ /**
56989+ * optional utils.TimeOfDayRange time_of_day_range = 4;
56990+ * @return {?proto.clarifai.api.utils.TimeOfDayRange}
56991+ */
56992+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.getTimeOfDayRange = function() {
56993+ return /** @type{?proto.clarifai.api.utils.TimeOfDayRange} */ (
56994+ jspb.Message.getWrapperField(this, proto_clarifai_api_utils_time_pb.TimeOfDayRange, 4));
56995+ };
56996+
56997+
56998+ /**
56999+ * @param {?proto.clarifai.api.utils.TimeOfDayRange|undefined} value
57000+ * @return {!proto.clarifai.api.TaskConceptAutoAnnotationConfig} returns this
57001+ */
57002+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.setTimeOfDayRange = function(value) {
57003+ return jspb.Message.setWrapperField(this, 4, value);
57004+ };
57005+
57006+
57007+ /**
57008+ * Clears the message field making it undefined.
57009+ * @return {!proto.clarifai.api.TaskConceptAutoAnnotationConfig} returns this
57010+ */
57011+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.clearTimeOfDayRange = function() {
57012+ return this.setTimeOfDayRange(undefined);
57013+ };
57014+
57015+
57016+ /**
57017+ * Returns whether this field is set.
57018+ * @return {boolean}
57019+ */
57020+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.hasTimeOfDayRange = function() {
57021+ return jspb.Message.getField(this, 4) != null;
57022+ };
57023+
57024+
57025+ /**
57026+ * optional Polygon polygon = 5;
57027+ * @return {?proto.clarifai.api.Polygon}
57028+ */
57029+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.getPolygon = function() {
57030+ return /** @type{?proto.clarifai.api.Polygon} */ (
57031+ jspb.Message.getWrapperField(this, proto.clarifai.api.Polygon, 5));
57032+ };
57033+
57034+
57035+ /**
57036+ * @param {?proto.clarifai.api.Polygon|undefined} value
57037+ * @return {!proto.clarifai.api.TaskConceptAutoAnnotationConfig} returns this
57038+ */
57039+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.setPolygon = function(value) {
57040+ return jspb.Message.setWrapperField(this, 5, value);
57041+ };
57042+
57043+
57044+ /**
57045+ * Clears the message field making it undefined.
57046+ * @return {!proto.clarifai.api.TaskConceptAutoAnnotationConfig} returns this
57047+ */
57048+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.clearPolygon = function() {
57049+ return this.setPolygon(undefined);
57050+ };
57051+
57052+
57053+ /**
57054+ * Returns whether this field is set.
57055+ * @return {boolean}
57056+ */
57057+ proto.clarifai.api.TaskConceptAutoAnnotationConfig.prototype.hasPolygon = function() {
57058+ return jspb.Message.getField(this, 5) != null;
57059+ };
57060+
57061+
5695857062
5695957063
5696057064
@@ -72645,7 +72749,8 @@ proto.clarifai.api.AutoscaleConfig.toObject = function(includeInstance, msg) {
7264572749 scaleDownDelaySeconds: jspb.Message.getFieldWithDefault(msg, 4, 0),
7264672750 scaleUpDelaySeconds: jspb.Message.getFieldWithDefault(msg, 5, 0),
7264772751 disablePacking: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
72648- scaleToZeroDelaySeconds: jspb.Message.getFieldWithDefault(msg, 8, 0)
72752+ scaleToZeroDelaySeconds: jspb.Message.getFieldWithDefault(msg, 8, 0),
72753+ softMinReplicas: jspb.Message.getFieldWithDefault(msg, 9, 0)
7264972754 };
7265072755
7265172756 if (includeInstance) {
@@ -72710,6 +72815,10 @@ proto.clarifai.api.AutoscaleConfig.deserializeBinaryFromReader = function(msg, r
7271072815 var value = /** @type {number} */ (reader.readUint32());
7271172816 msg.setScaleToZeroDelaySeconds(value);
7271272817 break;
72818+ case 9:
72819+ var value = /** @type {number} */ (reader.readUint32());
72820+ msg.setSoftMinReplicas(value);
72821+ break;
7271372822 default:
7271472823 reader.skipField();
7271572824 break;
@@ -72788,6 +72897,13 @@ proto.clarifai.api.AutoscaleConfig.serializeBinaryToWriter = function(message, w
7278872897 f
7278972898 );
7279072899 }
72900+ f = message.getSoftMinReplicas();
72901+ if (f !== 0) {
72902+ writer.writeUint32(
72903+ 9,
72904+ f
72905+ );
72906+ }
7279172907};
7279272908
7279372909
@@ -72917,6 +73033,24 @@ proto.clarifai.api.AutoscaleConfig.prototype.setScaleToZeroDelaySeconds = functi
7291773033};
7291873034
7291973035
73036+ /**
73037+ * optional uint32 soft_min_replicas = 9;
73038+ * @return {number}
73039+ */
73040+ proto.clarifai.api.AutoscaleConfig.prototype.getSoftMinReplicas = function() {
73041+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
73042+ };
73043+
73044+
73045+ /**
73046+ * @param {number} value
73047+ * @return {!proto.clarifai.api.AutoscaleConfig} returns this
73048+ */
73049+ proto.clarifai.api.AutoscaleConfig.prototype.setSoftMinReplicas = function(value) {
73050+ return jspb.Message.setProto3IntField(this, 9, value);
73051+ };
73052+
73053+
7292073054
7292173055
7292273056
0 commit comments