From 128982225e4f63d5320600d04f7476f71cd2b770 Mon Sep 17 00:00:00 2001 From: Rok Povsic Date: Thu, 8 Oct 2020 19:52:38 +0200 Subject: [PATCH] Version 6.9.0 --- VERSION | 2 +- build.gradle | 2 +- .../grpc/api/ListAnnotationsRequest.java | 127 ++++++++++++++++++ .../api/ListAnnotationsRequestOrBuilder.java | 37 +++++ .../java/com/clarifai/grpc/api/Resources.java | 104 +++++++------- .../api/TaskReviewConsensusStrategyInfo.java | 64 ++++----- ...kReviewConsensusStrategyInfoOrBuilder.java | 6 +- .../clarifai/grpc/api/status/StatusCode.java | 30 ++++- .../grpc/api/status/StatusCodeOuterClass.java | 74 +++++----- 9 files changed, 319 insertions(+), 127 deletions(-) diff --git a/VERSION b/VERSION index 5f6c086..97f5781 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -6.8.1 +6.9.0 diff --git a/build.gradle b/build.gradle index 7ba70b0..dcc19a5 100644 --- a/build.gradle +++ b/build.gradle @@ -25,7 +25,7 @@ plugins { } group = 'com.clarifai' -version = '6.8.1' +version = '6.9.0' repositories { // Use jcenter for resolving dependencies. diff --git a/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequest.java b/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequest.java index 9faf933..ca14ae9 100644 --- a/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequest.java +++ b/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequest.java @@ -321,6 +321,10 @@ public java.lang.String getInputIds(int index) { *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -334,6 +338,10 @@ public java.lang.String getInputIds(int index) { *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -346,6 +354,10 @@ public int getUserIdsCount() { *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -359,6 +371,10 @@ public java.lang.String getUserIds(int index) { *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -376,6 +392,10 @@ public java.lang.String getUserIds(int index) { *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -389,6 +409,10 @@ public java.lang.String getUserIds(int index) { *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -401,6 +425,10 @@ public int getModelVersionIdsCount() { *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -414,6 +442,10 @@ public java.lang.String getModelVersionIds(int index) { *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -430,6 +462,7 @@ public java.lang.String getModelVersionIds(int index) { /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -440,6 +473,7 @@ public java.util.List getStatusesList() { /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -451,6 +485,7 @@ public java.util.List getStatusesList() { /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -461,6 +496,7 @@ public int getStatusesCount() { /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -471,6 +507,7 @@ public com.clarifai.grpc.api.status.Status getStatuses(int index) { /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1533,6 +1570,10 @@ private void ensureUserIdsIsMutable() { *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1546,6 +1587,10 @@ private void ensureUserIdsIsMutable() { *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1558,6 +1603,10 @@ public int getUserIdsCount() { *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1571,6 +1620,10 @@ public java.lang.String getUserIds(int index) { *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1585,6 +1638,10 @@ public java.lang.String getUserIds(int index) { *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1606,6 +1663,10 @@ public Builder setUserIds( *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1626,6 +1687,10 @@ public Builder addUserIds( *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1644,6 +1709,10 @@ public Builder addAllUserIds( *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1659,6 +1728,10 @@ public Builder clearUserIds() { *
      * Only return the annotations that has one of these user IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If model_version_ids are also provided these user_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no user_ids are provided then annotations from all users are returned.
      * 
* * repeated string user_ids = 9; @@ -1688,6 +1761,10 @@ private void ensureModelVersionIdsIsMutable() { *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1701,6 +1778,10 @@ private void ensureModelVersionIdsIsMutable() { *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1713,6 +1794,10 @@ public int getModelVersionIdsCount() { *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1726,6 +1811,10 @@ public java.lang.String getModelVersionIds(int index) { *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1740,6 +1829,10 @@ public java.lang.String getModelVersionIds(int index) { *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1761,6 +1854,10 @@ public Builder setModelVersionIds( *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1781,6 +1878,10 @@ public Builder addModelVersionIds( *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1799,6 +1900,10 @@ public Builder addAllModelVersionIds( *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1814,6 +1919,10 @@ public Builder clearModelVersionIds() { *
      * Only return the annotations that has one of these model version IDs, effectively operating as an
      * OR among them to filter down the results.
+     * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+     * annotations are either provided by users or model versions and we want the union of any
+     * provided user or model version annotations in the results of ListAnnotations request.
+     * If no model_version_ids are provided then annotations from all model versions are returned.
      * 
* * repeated string model_version_ids = 10; @@ -1847,6 +1956,7 @@ private void ensureStatusesIsMutable() { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1861,6 +1971,7 @@ public java.util.List getStatusesList() { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1875,6 +1986,7 @@ public int getStatusesCount() { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1889,6 +2001,7 @@ public com.clarifai.grpc.api.status.Status getStatuses(int index) { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1910,6 +2023,7 @@ public Builder setStatuses( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1928,6 +2042,7 @@ public Builder setStatuses( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1948,6 +2063,7 @@ public Builder addStatuses(com.clarifai.grpc.api.status.Status value) { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1969,6 +2085,7 @@ public Builder addStatuses( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -1987,6 +2104,7 @@ public Builder addStatuses( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2005,6 +2123,7 @@ public Builder addStatuses( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2024,6 +2143,7 @@ public Builder addAllStatuses( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2041,6 +2161,7 @@ public Builder clearStatuses() { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2058,6 +2179,7 @@ public Builder removeStatuses(int index) { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2069,6 +2191,7 @@ public com.clarifai.grpc.api.status.Status.Builder getStatusesBuilder( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2083,6 +2206,7 @@ public com.clarifai.grpc.api.status.StatusOrBuilder getStatusesOrBuilder( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2098,6 +2222,7 @@ public com.clarifai.grpc.api.status.StatusOrBuilder getStatusesOrBuilder( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2109,6 +2234,7 @@ public com.clarifai.grpc.api.status.Status.Builder addStatusesBuilder() { /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -2121,6 +2247,7 @@ public com.clarifai.grpc.api.status.Status.Builder addStatusesBuilder( /** *
      * Set status to filter by a list of statuses
+     * If not statuses are provided then annotations with any status will be returned.
      * 
* * repeated .clarifai.api.status.Status statuses = 5; diff --git a/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequestOrBuilder.java index 3baa0bb..2329d02 100644 --- a/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ListAnnotationsRequestOrBuilder.java @@ -124,6 +124,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -135,6 +139,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -145,6 +153,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -156,6 +168,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these user IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If model_version_ids are also provided these user_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no user_ids are provided then annotations from all users are returned.
    * 
* * repeated string user_ids = 9; @@ -169,6 +185,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -180,6 +200,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -190,6 +214,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -201,6 +229,10 @@ public interface ListAnnotationsRequestOrBuilder extends *
    * Only return the annotations that has one of these model version IDs, effectively operating as an
    * OR among them to filter down the results.
+   * If user_ids are also provided these model_versions_ids are OR'd with them as well since
+   * annotations are either provided by users or model versions and we want the union of any
+   * provided user or model version annotations in the results of ListAnnotations request.
+   * If no model_version_ids are provided then annotations from all model versions are returned.
    * 
* * repeated string model_version_ids = 10; @@ -213,6 +245,7 @@ public interface ListAnnotationsRequestOrBuilder extends /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -222,6 +255,7 @@ public interface ListAnnotationsRequestOrBuilder extends /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -230,6 +264,7 @@ public interface ListAnnotationsRequestOrBuilder extends /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -238,6 +273,7 @@ public interface ListAnnotationsRequestOrBuilder extends /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; @@ -247,6 +283,7 @@ public interface ListAnnotationsRequestOrBuilder extends /** *
    * Set status to filter by a list of statuses
+   * If not statuses are provided then annotations with any status will be returned.
    * 
* * repeated .clarifai.api.status.Status statuses = 5; diff --git a/src/main/java/com/clarifai/grpc/api/Resources.java b/src/main/java/com/clarifai/grpc/api/Resources.java index 4765508..fb62109 100644 --- a/src/main/java/com/clarifai/grpc/api/Resources.java +++ b/src/main/java/com/clarifai/grpc/api/Resources.java @@ -958,57 +958,57 @@ public static void registerAllExtensions( "W_STRATEGY_NOT_SET\020\000\022\010\n\004NONE\020\001\022\n\n\006MANUAL" + "\020\002\022\r\n\tCONSENSUS\020\003B\017\n\rstrategy_info\"9\n\034Ta" + "skReviewManualStrategyInfo\022\031\n\021sample_per" + - "centage\030\001 \001(\002\"H\n\037TaskReviewConsensusStra" + - "tegyInfo\022%\n\035quorum_necessary_for_approva" + - "l\030\001 \001(\r\"&\n\017TaskAIAssistant\022\023\n\013workflow_i" + - "d\030\001 \001(\t\"\201\002\n\tCollector\022\n\n\002id\030\001 \001(\t\022\023\n\013des" + - "cription\030\002 \001(\t\022.\n\ncreated_at\030\003 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022\035\n\025pre_queue_work" + - "flow_id\030\004 \001(\t\022\036\n\026post_queue_workflow_id\030" + - "\005 \001(\t\0227\n\020collector_source\030\006 \001(\0132\035.clarif" + - "ai.api.CollectorSource\022+\n\006status\030\007 \001(\0132\033" + - ".clarifai.api.status.Status\"t\n\017Collector" + - "Source\022a\n\'api_post_model_outputs_collect" + - "or_source\030\002 \001(\01320.clarifai.api.APIPostMo" + - "delOutputsCollectorSource\"\231\001\n\"APIPostMod" + - "elOutputsCollectorSource\022\025\n\rmodel_user_i" + - "d\030\001 \001(\t\022\024\n\014model_app_id\030\002 \001(\t\022\020\n\010model_i" + - "d\030\003 \001(\t\022\030\n\020model_version_id\030\004 \001(\t\022\032\n\022pos" + - "t_inputs_key_id\030\005 \001(\t\"R\n\tStatValue\022(\n\004ti" + - "me\030\001 \001(\0132\032.google.protobuf.Timestamp\022\r\n\005" + - "value\030\002 \001(\002\022\014\n\004tags\030\003 \003(\t\"\246\001\n\030StatValueA" + - "ggregateResult\022?\n\025stat_value_aggregates\030" + - "\001 \003(\0132 .clarifai.api.StatValueAggregate\022" + - "I\n\032stat_value_aggregate_query\030\002 \001(\0132%.cl" + - "arifai.api.StatValueAggregateQuery\"t\n\022St" + - "atValueAggregate\022(\n\004time\030\001 \001(\0132\032.google." + - "protobuf.Timestamp\022\027\n\017aggregate_value\030\002 " + - "\001(\002\022\r\n\005count\030\003 \001(\004\022\014\n\004tags\030\004 \003(\t\"\221\002\n\027Sta" + - "tValueAggregateQuery\022\014\n\004tags\030\001 \003(\t\022\022\n\nta" + - "g_groups\030\002 \003(\t\022;\n\023stat_value_agg_type\030\003 " + - "\001(\0162\036.clarifai.api.StatValueAggType\0229\n\022s" + - "tat_time_agg_type\030\004 \001(\0162\035.clarifai.api.S" + - "tatTimeAggType\022.\n\nstart_time\030\005 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022,\n\010end_time\030\006 \001(\013" + - "2\032.google.protobuf.Timestamp*H\n\020Expirati" + - "onAction\022\035\n\031EXPIRATION_ACTION_NOT_SET\020\000\022" + - "\t\n\005DELAY\020\001\022\n\n\006EXPIRY\020\002*M\n\014LicenseScope\022\031" + - "\n\025LICENSE_SCOPE_NOT_SET\020\000\022\013\n\007PREDICT\020\001\022\t" + - "\n\005TRAIN\020\002\022\n\n\006SEARCH\020\003*\217\001\n\017ValueComparato" + - "r\022\035\n\031CONCEPT_THRESHOLD_NOT_SET\020\000\022\020\n\014GREA" + - "TER_THAN\020\001\022\031\n\025GREATER_THAN_OR_EQUAL\020\002\022\r\n" + - "\tLESS_THAN\020\003\022\026\n\022LESS_THAN_OR_EQUAL\020\004\022\t\n\005" + - "EQUAL\020\005*3\n\016EvaluationType\022\022\n\016Classificat" + - "ion\020\000\022\r\n\tDetection\020\001*f\n\014APIEventType\022\032\n\026" + - "API_EVENT_TYPE_NOT_SET\020\000\022\023\n\017ON_PREM_PRED" + - "ICT\020\001\022\021\n\rON_PREM_TRAIN\020\002\022\022\n\016ON_PREM_SEAR" + - "CH\020\003*<\n\021UsageIntervalType\022\t\n\005undef\020\000\022\007\n\003" + - "day\020\001\022\t\n\005month\020\002\022\010\n\004year\020\003*$\n\020StatValueA" + - "ggType\022\007\n\003SUM\020\000\022\007\n\003AVG\020\001*`\n\017StatTimeAggT" + - "ype\022\017\n\013NO_TIME_AGG\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020" + - "\002\022\010\n\004WEEK\020\003\022\007\n\003DAY\020\004\022\010\n\004HOUR\020\005\022\n\n\006MINUTE" + - "\020\006B%\n\025com.clarifai.grpc.apiP\001Z\003api\242\002\004CAI" + - "Pb\006proto3" + "centage\030\001 \001(\002\"C\n\037TaskReviewConsensusStra" + + "tegyInfo\022\032\n\022approval_threshold\030\002 \001(\rJ\004\010\001" + + "\020\002\"&\n\017TaskAIAssistant\022\023\n\013workflow_id\030\001 \001" + + "(\t\"\201\002\n\tCollector\022\n\n\002id\030\001 \001(\t\022\023\n\013descript" + + "ion\030\002 \001(\t\022.\n\ncreated_at\030\003 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022\035\n\025pre_queue_workflow_" + + "id\030\004 \001(\t\022\036\n\026post_queue_workflow_id\030\005 \001(\t" + + "\0227\n\020collector_source\030\006 \001(\0132\035.clarifai.ap" + + "i.CollectorSource\022+\n\006status\030\007 \001(\0132\033.clar" + + "ifai.api.status.Status\"t\n\017CollectorSourc" + + "e\022a\n\'api_post_model_outputs_collector_so" + + "urce\030\002 \001(\01320.clarifai.api.APIPostModelOu" + + "tputsCollectorSource\"\231\001\n\"APIPostModelOut" + + "putsCollectorSource\022\025\n\rmodel_user_id\030\001 \001" + + "(\t\022\024\n\014model_app_id\030\002 \001(\t\022\020\n\010model_id\030\003 \001" + + "(\t\022\030\n\020model_version_id\030\004 \001(\t\022\032\n\022post_inp" + + "uts_key_id\030\005 \001(\t\"R\n\tStatValue\022(\n\004time\030\001 " + + "\001(\0132\032.google.protobuf.Timestamp\022\r\n\005value" + + "\030\002 \001(\002\022\014\n\004tags\030\003 \003(\t\"\246\001\n\030StatValueAggreg" + + "ateResult\022?\n\025stat_value_aggregates\030\001 \003(\013" + + "2 .clarifai.api.StatValueAggregate\022I\n\032st" + + "at_value_aggregate_query\030\002 \001(\0132%.clarifa" + + "i.api.StatValueAggregateQuery\"t\n\022StatVal" + + "ueAggregate\022(\n\004time\030\001 \001(\0132\032.google.proto" + + "buf.Timestamp\022\027\n\017aggregate_value\030\002 \001(\002\022\r" + + "\n\005count\030\003 \001(\004\022\014\n\004tags\030\004 \003(\t\"\221\002\n\027StatValu" + + "eAggregateQuery\022\014\n\004tags\030\001 \003(\t\022\022\n\ntag_gro" + + "ups\030\002 \003(\t\022;\n\023stat_value_agg_type\030\003 \001(\0162\036" + + ".clarifai.api.StatValueAggType\0229\n\022stat_t" + + "ime_agg_type\030\004 \001(\0162\035.clarifai.api.StatTi" + + "meAggType\022.\n\nstart_time\030\005 \001(\0132\032.google.p" + + "rotobuf.Timestamp\022,\n\010end_time\030\006 \001(\0132\032.go" + + "ogle.protobuf.Timestamp*H\n\020ExpirationAct" + + "ion\022\035\n\031EXPIRATION_ACTION_NOT_SET\020\000\022\t\n\005DE" + + "LAY\020\001\022\n\n\006EXPIRY\020\002*M\n\014LicenseScope\022\031\n\025LIC" + + "ENSE_SCOPE_NOT_SET\020\000\022\013\n\007PREDICT\020\001\022\t\n\005TRA" + + "IN\020\002\022\n\n\006SEARCH\020\003*\217\001\n\017ValueComparator\022\035\n\031" + + "CONCEPT_THRESHOLD_NOT_SET\020\000\022\020\n\014GREATER_T" + + "HAN\020\001\022\031\n\025GREATER_THAN_OR_EQUAL\020\002\022\r\n\tLESS" + + "_THAN\020\003\022\026\n\022LESS_THAN_OR_EQUAL\020\004\022\t\n\005EQUAL" + + "\020\005*3\n\016EvaluationType\022\022\n\016Classification\020\000" + + "\022\r\n\tDetection\020\001*f\n\014APIEventType\022\032\n\026API_E" + + "VENT_TYPE_NOT_SET\020\000\022\023\n\017ON_PREM_PREDICT\020\001" + + "\022\021\n\rON_PREM_TRAIN\020\002\022\022\n\016ON_PREM_SEARCH\020\003*" + + "<\n\021UsageIntervalType\022\t\n\005undef\020\000\022\007\n\003day\020\001" + + "\022\t\n\005month\020\002\022\010\n\004year\020\003*$\n\020StatValueAggTyp" + + "e\022\007\n\003SUM\020\000\022\007\n\003AVG\020\001*`\n\017StatTimeAggType\022\017" + + "\n\013NO_TIME_AGG\020\000\022\010\n\004YEAR\020\001\022\t\n\005MONTH\020\002\022\010\n\004" + + "WEEK\020\003\022\007\n\003DAY\020\004\022\010\n\004HOUR\020\005\022\n\n\006MINUTE\020\006B%\n" + + "\025com.clarifai.grpc.apiP\001Z\003api\242\002\004CAIPb\006pr" + + "oto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -1600,7 +1600,7 @@ public static void registerAllExtensions( internal_static_clarifai_api_TaskReviewConsensusStrategyInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_TaskReviewConsensusStrategyInfo_descriptor, - new java.lang.String[] { "QuorumNecessaryForApproval", }); + new java.lang.String[] { "ApprovalThreshold", }); internal_static_clarifai_api_TaskAIAssistant_descriptor = getDescriptor().getMessageTypes().get(97); internal_static_clarifai_api_TaskAIAssistant_fieldAccessorTable = new diff --git a/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfo.java b/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfo.java index db629ad..84ce21c 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfo.java +++ b/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfo.java @@ -48,9 +48,9 @@ private TaskReviewConsensusStrategyInfo( case 0: done = true; break; - case 8: { + case 16: { - quorumNecessaryForApproval_ = input.readUInt32(); + approvalThreshold_ = input.readUInt32(); break; } default: { @@ -85,18 +85,18 @@ private TaskReviewConsensusStrategyInfo( com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo.class, com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo.Builder.class); } - public static final int QUORUM_NECESSARY_FOR_APPROVAL_FIELD_NUMBER = 1; - private int quorumNecessaryForApproval_; + public static final int APPROVAL_THRESHOLD_FIELD_NUMBER = 2; + private int approvalThreshold_; /** *
    * The number of labelers that need to agree in order to automatically approve an annotation.
    * 
* - * uint32 quorum_necessary_for_approval = 1; - * @return The quorumNecessaryForApproval. + * uint32 approval_threshold = 2; + * @return The approvalThreshold. */ - public int getQuorumNecessaryForApproval() { - return quorumNecessaryForApproval_; + public int getApprovalThreshold() { + return approvalThreshold_; } private byte memoizedIsInitialized = -1; @@ -113,8 +113,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (quorumNecessaryForApproval_ != 0) { - output.writeUInt32(1, quorumNecessaryForApproval_); + if (approvalThreshold_ != 0) { + output.writeUInt32(2, approvalThreshold_); } unknownFields.writeTo(output); } @@ -125,9 +125,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (quorumNecessaryForApproval_ != 0) { + if (approvalThreshold_ != 0) { size += com.google.protobuf.CodedOutputStream - .computeUInt32Size(1, quorumNecessaryForApproval_); + .computeUInt32Size(2, approvalThreshold_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -144,8 +144,8 @@ public boolean equals(final java.lang.Object obj) { } com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo other = (com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo) obj; - if (getQuorumNecessaryForApproval() - != other.getQuorumNecessaryForApproval()) return false; + if (getApprovalThreshold() + != other.getApprovalThreshold()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -157,8 +157,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + QUORUM_NECESSARY_FOR_APPROVAL_FIELD_NUMBER; - hash = (53 * hash) + getQuorumNecessaryForApproval(); + hash = (37 * hash) + APPROVAL_THRESHOLD_FIELD_NUMBER; + hash = (53 * hash) + getApprovalThreshold(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -292,7 +292,7 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - quorumNecessaryForApproval_ = 0; + approvalThreshold_ = 0; return this; } @@ -320,7 +320,7 @@ public com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo build() { @java.lang.Override public com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo buildPartial() { com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo result = new com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo(this); - result.quorumNecessaryForApproval_ = quorumNecessaryForApproval_; + result.approvalThreshold_ = approvalThreshold_; onBuilt(); return result; } @@ -369,8 +369,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo other) { if (other == com.clarifai.grpc.api.TaskReviewConsensusStrategyInfo.getDefaultInstance()) return this; - if (other.getQuorumNecessaryForApproval() != 0) { - setQuorumNecessaryForApproval(other.getQuorumNecessaryForApproval()); + if (other.getApprovalThreshold() != 0) { + setApprovalThreshold(other.getApprovalThreshold()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -401,30 +401,30 @@ public Builder mergeFrom( return this; } - private int quorumNecessaryForApproval_ ; + private int approvalThreshold_ ; /** *
      * The number of labelers that need to agree in order to automatically approve an annotation.
      * 
* - * uint32 quorum_necessary_for_approval = 1; - * @return The quorumNecessaryForApproval. + * uint32 approval_threshold = 2; + * @return The approvalThreshold. */ - public int getQuorumNecessaryForApproval() { - return quorumNecessaryForApproval_; + public int getApprovalThreshold() { + return approvalThreshold_; } /** *
      * The number of labelers that need to agree in order to automatically approve an annotation.
      * 
* - * uint32 quorum_necessary_for_approval = 1; - * @param value The quorumNecessaryForApproval to set. + * uint32 approval_threshold = 2; + * @param value The approvalThreshold to set. * @return This builder for chaining. */ - public Builder setQuorumNecessaryForApproval(int value) { + public Builder setApprovalThreshold(int value) { - quorumNecessaryForApproval_ = value; + approvalThreshold_ = value; onChanged(); return this; } @@ -433,12 +433,12 @@ public Builder setQuorumNecessaryForApproval(int value) { * The number of labelers that need to agree in order to automatically approve an annotation. * * - * uint32 quorum_necessary_for_approval = 1; + * uint32 approval_threshold = 2; * @return This builder for chaining. */ - public Builder clearQuorumNecessaryForApproval() { + public Builder clearApprovalThreshold() { - quorumNecessaryForApproval_ = 0; + approvalThreshold_ = 0; onChanged(); return this; } diff --git a/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfoOrBuilder.java b/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfoOrBuilder.java index eb0802d..93720de 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfoOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/TaskReviewConsensusStrategyInfoOrBuilder.java @@ -12,8 +12,8 @@ public interface TaskReviewConsensusStrategyInfoOrBuilder extends * The number of labelers that need to agree in order to automatically approve an annotation. * * - * uint32 quorum_necessary_for_approval = 1; - * @return The quorumNecessaryForApproval. + * uint32 approval_threshold = 2; + * @return The approvalThreshold. */ - int getQuorumNecessaryForApproval(); + int getApprovalThreshold(); } diff --git a/src/main/java/com/clarifai/grpc/api/status/StatusCode.java b/src/main/java/com/clarifai/grpc/api/status/StatusCode.java index 6c7eac2..2007481 100644 --- a/src/main/java/com/clarifai/grpc/api/status/StatusCode.java +++ b/src/main/java/com/clarifai/grpc/api/status/StatusCode.java @@ -1220,12 +1220,20 @@ public enum StatusCode TASK_IN_PROGRESS(54001), /** *
-   * The task is closed.
+   * The task is completed.
    * 
* * TASK_DONE = 54002; */ TASK_DONE(54002), + /** + *
+   * The task is marked as abandoned.
+   * 
+ * + * TASK_WONT_DO = 54003; + */ + TASK_WONT_DO(54003), /** *
    * An error occurred during add-task-annotations pipeline.
@@ -1334,6 +1342,10 @@ public enum StatusCode
    * FEATUREFLAG_INVALID_ARGUMENT = 62001;
    */
   FEATUREFLAG_INVALID_ARGUMENT(62001),
+  /**
+   * FEATUREFLAG_BLOCKED = 62002;
+   */
+  FEATUREFLAG_BLOCKED(62002),
   /**
    * 
    * Internal issues: 98xxx
@@ -2641,12 +2653,20 @@ public enum StatusCode
   public static final int TASK_IN_PROGRESS_VALUE = 54001;
   /**
    * 
-   * The task is closed.
+   * The task is completed.
    * 
* * TASK_DONE = 54002; */ public static final int TASK_DONE_VALUE = 54002; + /** + *
+   * The task is marked as abandoned.
+   * 
+ * + * TASK_WONT_DO = 54003; + */ + public static final int TASK_WONT_DO_VALUE = 54003; /** *
    * An error occurred during add-task-annotations pipeline.
@@ -2755,6 +2775,10 @@ public enum StatusCode
    * FEATUREFLAG_INVALID_ARGUMENT = 62001;
    */
   public static final int FEATUREFLAG_INVALID_ARGUMENT_VALUE = 62001;
+  /**
+   * FEATUREFLAG_BLOCKED = 62002;
+   */
+  public static final int FEATUREFLAG_BLOCKED_VALUE = 62002;
   /**
    * 
    * Internal issues: 98xxx
@@ -3103,6 +3127,7 @@ public static StatusCode forNumber(int value) {
       case 53001: return SSO_IDENTITY_PROVIDER_DOES_NOT_EXIST;
       case 54001: return TASK_IN_PROGRESS;
       case 54002: return TASK_DONE;
+      case 54003: return TASK_WONT_DO;
       case 54005: return TASK_ADD_ANNOTATIONS_FAILURE;
       case 54100: return TASK_CONFLICT;
       case 54101: return TASK_NOT_IMPLEMENTED;
@@ -3122,6 +3147,7 @@ public static StatusCode forNumber(int value) {
       case 61002: return PASSWORDPOLICY_INVALID_ARGUMENT;
       case 62000: return FEATUREFLAG_CONFIG_NOT_FOUND;
       case 62001: return FEATUREFLAG_INVALID_ARGUMENT;
+      case 62002: return FEATUREFLAG_BLOCKED;
       case 98004: return INTERNAL_SERVER_ISSUE;
       case 98005: return INTERNAL_FETCHING_ISSUE;
       case 98006: return INTERNAL_DATABASE_ISSUE;
diff --git a/src/main/java/com/clarifai/grpc/api/status/StatusCodeOuterClass.java b/src/main/java/com/clarifai/grpc/api/status/StatusCodeOuterClass.java
index 858f9cc..eec5387 100644
--- a/src/main/java/com/clarifai/grpc/api/status/StatusCodeOuterClass.java
+++ b/src/main/java/com/clarifai/grpc/api/status/StatusCodeOuterClass.java
@@ -24,7 +24,7 @@ public static void registerAllExtensions(
   static {
     java.lang.String[] descriptorData = {
       "\n+proto/clarifai/api/status/status_code." +
-      "proto\022\023clarifai.api.status*\361A\n\nStatusCod" +
+      "proto\022\023clarifai.api.status*\240B\n\nStatusCod" +
       "e\022\010\n\004ZERO\020\000\022\014\n\007SUCCESS\020\220N\022\021\n\014MIXED_STATU" +
       "S\020\232N\022\014\n\007FAILURE\020\244N\022\016\n\tTRY_AGAIN\020\256N\022\024\n\017NO" +
       "T_IMPLEMENTED\020\270N\022\030\n\023CONN_ACCOUNT_ISSUES\020" +
@@ -202,41 +202,43 @@ public static void registerAllExtensions(
       "R_MISSING\020\240\226\003\022\026\n\020COLLECTOR_ACTIVE\020\241\226\003\022\030\n" +
       "\022COLLECTOR_INACTIVE\020\242\226\003\022*\n$SSO_IDENTITY_" +
       "PROVIDER_DOES_NOT_EXIST\020\211\236\003\022\026\n\020TASK_IN_P" +
-      "ROGRESS\020\361\245\003\022\017\n\tTASK_DONE\020\362\245\003\022\"\n\034TASK_ADD" +
-      "_ANNOTATIONS_FAILURE\020\365\245\003\022\023\n\rTASK_CONFLIC" +
-      "T\020\324\246\003\022\032\n\024TASK_NOT_IMPLEMENTED\020\325\246\003\022\031\n\023LAB" +
-      "EL_ORDER_PENDING\020\331\255\003\022\035\n\027LABEL_ORDER_IN_P" +
-      "ROGRESS\020\332\255\003\022\031\n\023LABEL_ORDER_SUCCESS\020\333\255\003\022\032" +
-      "\n\024LABEL_ORDER_CANCELED\020\334\255\003\022\024\n\016LICENSE_AC" +
-      "TIVE\020\340\324\003\022\034\n\026LICENSE_DOES_NOT_EXIST\020\341\324\003\022\031" +
-      "\n\023LICENSE_NEED_UPDATE\020\342\324\003\022\025\n\017LICENSE_EXP" +
-      "IRED\020\343\324\003\022\025\n\017LICENSE_REVOKED\020\344\324\003\022\025\n\017LICEN" +
-      "SE_DELETED\020\345\324\003\022\035\n\027LICENSE_VOLUME_EXCEEDE" +
-      "D\020\346\324\003\022!\n\033PASSWORD_VALIDATION_SUCCESS\020\310\334\003" +
-      "\022 \n\032PASSWORD_VALIDATION_FAILED\020\311\334\003\022%\n\037PA" +
-      "SSWORDPOLICY_INVALID_ARGUMENT\020\312\334\003\022\"\n\034FEA" +
-      "TUREFLAG_CONFIG_NOT_FOUND\020\260\344\003\022\"\n\034FEATURE" +
-      "FLAG_INVALID_ARGUMENT\020\261\344\003\022\033\n\025INTERNAL_SE" +
-      "RVER_ISSUE\020\324\375\005\022\035\n\027INTERNAL_FETCHING_ISSU" +
-      "E\020\325\375\005\022\035\n\027INTERNAL_DATABASE_ISSUE\020\326\375\005\022!\n\033" +
-      "INTERNAL_UNEXPECTED_TIMEOUT\020\331\375\005\022\034\n\026INTER" +
-      "NAL_UNEXPECTED_V1\020\332\375\005\022\037\n\031INTERNAL_UNEXPE" +
-      "CTED_PANIC\020\333\375\005\022\037\n\031INTERNAL_UNEXPECTED_SP" +
-      "IRE\020\334\375\005\022 \n\032INTERNAL_REDIS_UNAVAILABLE\020\335\375" +
-      "\005\022!\n\033INTERNAL_RESOURCE_EXHAUSTED\020\336\375\005\022\"\n\034" +
-      "INTERNAL_REDIS_UNCATEGORIZED\020\337\375\005\022 \n\032INTE" +
-      "RNAL_AWS_UNCATEGORIZED\020\340\375\005\022\"\n\034INTERNAL_A" +
-      "ZURE_UNCATEGORIZED\020\341\375\005\022\030\n\022CONN_UNCATEGOR" +
-      "IZED\020\271\205\006\022\031\n\023MODEL_UNCATEGORIZED\020\272\205\006\022\031\n\023I" +
-      "NPUT_UNCATEGORIZED\020\273\205\006\022\036\n\030ANNOTATION_UNC" +
-      "ATEGORIZED\020\274\205\006\022\033\n\025BILLING_UNCATEGORIZED\020" +
-      "\275\205\006\022\034\n\026INTERNAL_UNCATEGORIZED\020\301\205\006\022\021\n\013BAD" +
-      "_REQUEST\020\240\302\005\022\022\n\014SERVER_ERROR\020\204\303\005\"\010\010\350\201\002\020\350" +
-      "\201\002\"\010\010\351\201\002\020\351\201\002\"\010\010\352\201\002\020\352\201\002\"\010\010\314\202\002\020\314\202\002\"\010\010\315\202\002\020\315" +
-      "\202\002\"\010\010\316\202\002\020\316\202\002\"\010\010\317\202\002\020\317\202\002\"\010\010\320\202\002\020\320\202\002\"\010\010\321\202\002\020\321" +
-      "\202\002\"\010\010\322\202\002\020\322\202\002\"\010\010\260\203\002\020\260\203\002\"\010\010\261\203\002\020\261\203\002\"\010\010\263\203\002\020\263" +
-      "\203\002\"\010\010\272\203\002\020\272\203\002\"\010\010\273\270\002\020\273\270\002B/\n\034com.clarifai.g" +
-      "rpc.api.statusP\001Z\006status\242\002\004CAIPb\006proto3"
+      "ROGRESS\020\361\245\003\022\017\n\tTASK_DONE\020\362\245\003\022\022\n\014TASK_WON" +
+      "T_DO\020\363\245\003\022\"\n\034TASK_ADD_ANNOTATIONS_FAILURE" +
+      "\020\365\245\003\022\023\n\rTASK_CONFLICT\020\324\246\003\022\032\n\024TASK_NOT_IM" +
+      "PLEMENTED\020\325\246\003\022\031\n\023LABEL_ORDER_PENDING\020\331\255\003" +
+      "\022\035\n\027LABEL_ORDER_IN_PROGRESS\020\332\255\003\022\031\n\023LABEL" +
+      "_ORDER_SUCCESS\020\333\255\003\022\032\n\024LABEL_ORDER_CANCEL" +
+      "ED\020\334\255\003\022\024\n\016LICENSE_ACTIVE\020\340\324\003\022\034\n\026LICENSE_" +
+      "DOES_NOT_EXIST\020\341\324\003\022\031\n\023LICENSE_NEED_UPDAT" +
+      "E\020\342\324\003\022\025\n\017LICENSE_EXPIRED\020\343\324\003\022\025\n\017LICENSE_" +
+      "REVOKED\020\344\324\003\022\025\n\017LICENSE_DELETED\020\345\324\003\022\035\n\027LI" +
+      "CENSE_VOLUME_EXCEEDED\020\346\324\003\022!\n\033PASSWORD_VA" +
+      "LIDATION_SUCCESS\020\310\334\003\022 \n\032PASSWORD_VALIDAT" +
+      "ION_FAILED\020\311\334\003\022%\n\037PASSWORDPOLICY_INVALID" +
+      "_ARGUMENT\020\312\334\003\022\"\n\034FEATUREFLAG_CONFIG_NOT_" +
+      "FOUND\020\260\344\003\022\"\n\034FEATUREFLAG_INVALID_ARGUMEN" +
+      "T\020\261\344\003\022\031\n\023FEATUREFLAG_BLOCKED\020\262\344\003\022\033\n\025INTE" +
+      "RNAL_SERVER_ISSUE\020\324\375\005\022\035\n\027INTERNAL_FETCHI" +
+      "NG_ISSUE\020\325\375\005\022\035\n\027INTERNAL_DATABASE_ISSUE\020" +
+      "\326\375\005\022!\n\033INTERNAL_UNEXPECTED_TIMEOUT\020\331\375\005\022\034" +
+      "\n\026INTERNAL_UNEXPECTED_V1\020\332\375\005\022\037\n\031INTERNAL" +
+      "_UNEXPECTED_PANIC\020\333\375\005\022\037\n\031INTERNAL_UNEXPE" +
+      "CTED_SPIRE\020\334\375\005\022 \n\032INTERNAL_REDIS_UNAVAIL" +
+      "ABLE\020\335\375\005\022!\n\033INTERNAL_RESOURCE_EXHAUSTED\020" +
+      "\336\375\005\022\"\n\034INTERNAL_REDIS_UNCATEGORIZED\020\337\375\005\022" +
+      " \n\032INTERNAL_AWS_UNCATEGORIZED\020\340\375\005\022\"\n\034INT" +
+      "ERNAL_AZURE_UNCATEGORIZED\020\341\375\005\022\030\n\022CONN_UN" +
+      "CATEGORIZED\020\271\205\006\022\031\n\023MODEL_UNCATEGORIZED\020\272" +
+      "\205\006\022\031\n\023INPUT_UNCATEGORIZED\020\273\205\006\022\036\n\030ANNOTAT" +
+      "ION_UNCATEGORIZED\020\274\205\006\022\033\n\025BILLING_UNCATEG" +
+      "ORIZED\020\275\205\006\022\034\n\026INTERNAL_UNCATEGORIZED\020\301\205\006" +
+      "\022\021\n\013BAD_REQUEST\020\240\302\005\022\022\n\014SERVER_ERROR\020\204\303\005\"" +
+      "\010\010\350\201\002\020\350\201\002\"\010\010\351\201\002\020\351\201\002\"\010\010\352\201\002\020\352\201\002\"\010\010\314\202\002\020\314\202\002\"" +
+      "\010\010\315\202\002\020\315\202\002\"\010\010\316\202\002\020\316\202\002\"\010\010\317\202\002\020\317\202\002\"\010\010\320\202\002\020\320\202\002\"" +
+      "\010\010\321\202\002\020\321\202\002\"\010\010\322\202\002\020\322\202\002\"\010\010\260\203\002\020\260\203\002\"\010\010\261\203\002\020\261\203\002\"" +
+      "\010\010\263\203\002\020\263\203\002\"\010\010\272\203\002\020\272\203\002\"\010\010\273\270\002\020\273\270\002B/\n\034com.cla" +
+      "rifai.grpc.api.statusP\001Z\006status\242\002\004CAIPb\006" +
+      "proto3"
     };
     descriptor = com.google.protobuf.Descriptors.FileDescriptor
       .internalBuildGeneratedFileFrom(descriptorData,