From 405d3746227b8382177c7dfd2c21efd5c1faf925 Mon Sep 17 00:00:00 2001 From: clarifai-prod Date: Tue, 20 Feb 2024 12:28:58 +0000 Subject: [PATCH] GRPC clients version 10.1.5 --- VERSION | 2 +- build.gradle | 2 +- .../com/clarifai/grpc/api/AppDuplication.java | 42 +- .../grpc/api/AppDuplicationOrBuilder.java | 12 +- .../com/clarifai/grpc/api/EvaluationType.java | 9 + .../com/clarifai/grpc/api/GetTaskRequest.java | 26 +- .../grpc/api/GetTaskRequestOrBuilder.java | 8 +- .../com/clarifai/grpc/api/LabelCount.java | 14 +- .../grpc/api/LabelCountOrBuilder.java | 4 +- .../clarifai/grpc/api/ListTasksRequest.java | 26 +- .../grpc/api/ListTasksRequestOrBuilder.java | 8 +- .../com/clarifai/grpc/api/MetricsSummary.java | 16 +- .../grpc/api/MetricsSummaryOrBuilder.java | 4 +- .../java/com/clarifai/grpc/api/Resources.java | 712 +++++++++--------- src/main/java/com/clarifai/grpc/api/Task.java | 262 ++++++- .../api/TaskConceptAutoAnnotationConfig.java | 24 +- ...kConceptAutoAnnotationConfigOrBuilder.java | 6 +- .../com/clarifai/grpc/api/TaskMetrics.java | 486 ++++++++++++ .../grpc/api/TaskMetricsOrBuilder.java | 15 + .../com/clarifai/grpc/api/TaskOrBuilder.java | 35 +- .../com/clarifai/grpc/api/TaskReview.java | 26 +- .../grpc/api/TaskReviewOrBuilder.java | 8 +- .../com/clarifai/grpc/api/TaskWorker.java | 26 +- .../grpc/api/TaskWorkerOrBuilder.java | 8 +- src/main/java/com/clarifai/grpc/api/User.java | 84 +-- .../com/clarifai/grpc/api/UserOrBuilder.java | 32 +- .../java/com/clarifai/grpc/api/Video.java | 14 +- .../com/clarifai/grpc/api/VideoOrBuilder.java | 4 +- .../clarifai/grpc/api/status/StatusCode.java | 9 + .../grpc/api/status/StatusCodeOuterClass.java | 50 +- 30 files changed, 1390 insertions(+), 584 deletions(-) create mode 100644 src/main/java/com/clarifai/grpc/api/TaskMetrics.java create mode 100644 src/main/java/com/clarifai/grpc/api/TaskMetricsOrBuilder.java diff --git a/VERSION b/VERSION index 655f923..5f0cfd2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.1.4 +10.1.5 diff --git a/build.gradle b/build.gradle index 9b1f228..ea84b58 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ nexusPublishing { } group = 'com.clarifai' -version = '10.1.4' +version = '10.1.5' repositories { mavenCentral() diff --git a/src/main/java/com/clarifai/grpc/api/AppDuplication.java b/src/main/java/com/clarifai/grpc/api/AppDuplication.java index 20cb49a..b4ccfd4 100644 --- a/src/main/java/com/clarifai/grpc/api/AppDuplication.java +++ b/src/main/java/com/clarifai/grpc/api/AppDuplication.java @@ -316,7 +316,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @return The existingAppId. */ @java.lang.Override @@ -342,7 +342,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @return The bytes for existingAppId. */ @java.lang.Override @@ -372,7 +372,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @return The newAppId. */ @java.lang.Override @@ -398,7 +398,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @return The bytes for newAppId. */ @java.lang.Override @@ -428,7 +428,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @return The newAppName. */ @java.lang.Override @@ -454,7 +454,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @return The bytes for newAppName. */ @java.lang.Override @@ -1621,7 +1621,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @return The existingAppId. */ @java.lang.Deprecated public java.lang.String getExistingAppId() { @@ -1646,7 +1646,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @return The bytes for existingAppId. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -1672,7 +1672,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @param value The existingAppId to set. * @return This builder for chaining. */ @@ -1696,7 +1696,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearExistingAppId() { @@ -1715,7 +1715,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @param value The bytes for existingAppId to set. * @return This builder for chaining. */ @@ -1742,7 +1742,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @return The newAppId. */ @java.lang.Deprecated public java.lang.String getNewAppId() { @@ -1767,7 +1767,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @return The bytes for newAppId. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -1793,7 +1793,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @param value The newAppId to set. * @return This builder for chaining. */ @@ -1817,7 +1817,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearNewAppId() { @@ -1836,7 +1836,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @param value The bytes for newAppId to set. * @return This builder for chaining. */ @@ -1863,7 +1863,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @return The newAppName. */ @java.lang.Deprecated public java.lang.String getNewAppName() { @@ -1888,7 +1888,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @return The bytes for newAppName. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -1914,7 +1914,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @param value The newAppName to set. * @return This builder for chaining. */ @@ -1938,7 +1938,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearNewAppName() { @@ -1957,7 +1957,7 @@ public com.clarifai.grpc.api.AppOrBuilder getDestinationAppOrBuilder() { * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @param value The bytes for newAppName to set. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/AppDuplicationOrBuilder.java b/src/main/java/com/clarifai/grpc/api/AppDuplicationOrBuilder.java index a62f44f..97c0913 100644 --- a/src/main/java/com/clarifai/grpc/api/AppDuplicationOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/AppDuplicationOrBuilder.java @@ -91,7 +91,7 @@ public interface AppDuplicationOrBuilder extends * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @return The existingAppId. */ @java.lang.Deprecated java.lang.String getExistingAppId(); @@ -105,7 +105,7 @@ public interface AppDuplicationOrBuilder extends * * string existing_app_id = 8 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.existing_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2875 + * See proto/clarifai/api/resources.proto;l=2876 * @return The bytes for existingAppId. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -121,7 +121,7 @@ public interface AppDuplicationOrBuilder extends * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @return The newAppId. */ @java.lang.Deprecated java.lang.String getNewAppId(); @@ -135,7 +135,7 @@ public interface AppDuplicationOrBuilder extends * * string new_app_id = 2 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_id is deprecated. - * See proto/clarifai/api/resources.proto;l=2883 + * See proto/clarifai/api/resources.proto;l=2884 * @return The bytes for newAppId. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -151,7 +151,7 @@ public interface AppDuplicationOrBuilder extends * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @return The newAppName. */ @java.lang.Deprecated java.lang.String getNewAppName(); @@ -165,7 +165,7 @@ public interface AppDuplicationOrBuilder extends * * string new_app_name = 3 [deprecated = true]; * @deprecated clarifai.api.AppDuplication.new_app_name is deprecated. - * See proto/clarifai/api/resources.proto;l=2891 + * See proto/clarifai/api/resources.proto;l=2892 * @return The bytes for newAppName. */ @java.lang.Deprecated com.google.protobuf.ByteString diff --git a/src/main/java/com/clarifai/grpc/api/EvaluationType.java b/src/main/java/com/clarifai/grpc/api/EvaluationType.java index 1702c46..f88b3b7 100644 --- a/src/main/java/com/clarifai/grpc/api/EvaluationType.java +++ b/src/main/java/com/clarifai/grpc/api/EvaluationType.java @@ -36,6 +36,10 @@ public enum EvaluationType * Tracker = 5; */ Tracker(5), + /** + * Generation = 6; + */ + Generation(6), UNRECOGNIZED(-1), ; @@ -67,6 +71,10 @@ public enum EvaluationType * Tracker = 5; */ public static final int Tracker_VALUE = 5; + /** + * Generation = 6; + */ + public static final int Generation_VALUE = 6; public final int getNumber() { @@ -99,6 +107,7 @@ public static EvaluationType forNumber(int value) { case 3: return Segmentation; case 4: return Clustering; case 5: return Tracker; + case 6: return Generation; default: return null; } } diff --git a/src/main/java/com/clarifai/grpc/api/GetTaskRequest.java b/src/main/java/com/clarifai/grpc/api/GetTaskRequest.java index 08dc3c6..a7a7fbf 100644 --- a/src/main/java/com/clarifai/grpc/api/GetTaskRequest.java +++ b/src/main/java/com/clarifai/grpc/api/GetTaskRequest.java @@ -189,7 +189,7 @@ public java.lang.String getTaskId() { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; @@ -202,7 +202,7 @@ public java.lang.String getTaskId() { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; @@ -214,7 +214,7 @@ public int getAdditionalFieldsCount() { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; @@ -227,7 +227,7 @@ public java.lang.String getAdditionalFields(int index) { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; @@ -816,7 +816,7 @@ private void ensureAdditionalFieldsIsMutable() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -829,7 +829,7 @@ private void ensureAdditionalFieldsIsMutable() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -841,7 +841,7 @@ public int getAdditionalFieldsCount() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -854,7 +854,7 @@ public java.lang.String getAdditionalFields(int index) { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -868,7 +868,7 @@ public java.lang.String getAdditionalFields(int index) { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -889,7 +889,7 @@ public Builder setAdditionalFields( /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -909,7 +909,7 @@ public Builder addAdditionalFields( /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -927,7 +927,7 @@ public Builder addAllAdditionalFields( /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; @@ -942,7 +942,7 @@ public Builder clearAdditionalFields() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 3; diff --git a/src/main/java/com/clarifai/grpc/api/GetTaskRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/GetTaskRequestOrBuilder.java index 49d5862..9a9a753 100644 --- a/src/main/java/com/clarifai/grpc/api/GetTaskRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/GetTaskRequestOrBuilder.java @@ -37,7 +37,7 @@ public interface GetTaskRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; @@ -48,7 +48,7 @@ public interface GetTaskRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; @@ -58,7 +58,7 @@ public interface GetTaskRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; @@ -69,7 +69,7 @@ public interface GetTaskRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 3; diff --git a/src/main/java/com/clarifai/grpc/api/LabelCount.java b/src/main/java/com/clarifai/grpc/api/LabelCount.java index 7f10653..369daec 100644 --- a/src/main/java/com/clarifai/grpc/api/LabelCount.java +++ b/src/main/java/com/clarifai/grpc/api/LabelCount.java @@ -116,7 +116,7 @@ private LabelCount( /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @return The conceptName. */ @java.lang.Override @@ -135,7 +135,7 @@ private LabelCount( /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @return The bytes for conceptName. */ @java.lang.Override @@ -547,7 +547,7 @@ public Builder mergeFrom( /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @return The conceptName. */ @java.lang.Deprecated public java.lang.String getConceptName() { @@ -565,7 +565,7 @@ public Builder mergeFrom( /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @return The bytes for conceptName. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -584,7 +584,7 @@ public Builder mergeFrom( /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @param value The conceptName to set. * @return This builder for chaining. */ @@ -601,7 +601,7 @@ public Builder mergeFrom( /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearConceptName() { @@ -613,7 +613,7 @@ public Builder mergeFrom( /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @param value The bytes for conceptName to set. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/LabelCountOrBuilder.java b/src/main/java/com/clarifai/grpc/api/LabelCountOrBuilder.java index f4a26df..984720e 100644 --- a/src/main/java/com/clarifai/grpc/api/LabelCountOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/LabelCountOrBuilder.java @@ -10,14 +10,14 @@ public interface LabelCountOrBuilder extends /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @return The conceptName. */ @java.lang.Deprecated java.lang.String getConceptName(); /** * string concept_name = 1 [deprecated = true]; * @deprecated clarifai.api.LabelCount.concept_name is deprecated. - * See proto/clarifai/api/resources.proto;l=1855 + * See proto/clarifai/api/resources.proto;l=1856 * @return The bytes for conceptName. */ @java.lang.Deprecated com.google.protobuf.ByteString diff --git a/src/main/java/com/clarifai/grpc/api/ListTasksRequest.java b/src/main/java/com/clarifai/grpc/api/ListTasksRequest.java index b8937ad..ae096c4 100644 --- a/src/main/java/com/clarifai/grpc/api/ListTasksRequest.java +++ b/src/main/java/com/clarifai/grpc/api/ListTasksRequest.java @@ -412,7 +412,7 @@ public boolean getIncludingLabelOrderTasks() { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; @@ -425,7 +425,7 @@ public boolean getIncludingLabelOrderTasks() { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; @@ -437,7 +437,7 @@ public int getAdditionalFieldsCount() { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; @@ -450,7 +450,7 @@ public java.lang.String getAdditionalFields(int index) { /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; @@ -1761,7 +1761,7 @@ private void ensureAdditionalFieldsIsMutable() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1774,7 +1774,7 @@ private void ensureAdditionalFieldsIsMutable() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1786,7 +1786,7 @@ public int getAdditionalFieldsCount() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1799,7 +1799,7 @@ public java.lang.String getAdditionalFields(int index) { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1813,7 +1813,7 @@ public java.lang.String getAdditionalFields(int index) { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1834,7 +1834,7 @@ public Builder setAdditionalFields( /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1854,7 +1854,7 @@ public Builder addAdditionalFields( /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1872,7 +1872,7 @@ public Builder addAllAdditionalFields( /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; @@ -1887,7 +1887,7 @@ public Builder clearAdditionalFields() { /** *
      * (optional URL parameter) List of additional fields to be included in the response.
-     * Currently supported: all, worker.users, review.users.
+     * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
      * 
* * repeated string additional_fields = 7; diff --git a/src/main/java/com/clarifai/grpc/api/ListTasksRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ListTasksRequestOrBuilder.java index f55b38c..644bdad 100644 --- a/src/main/java/com/clarifai/grpc/api/ListTasksRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ListTasksRequestOrBuilder.java @@ -181,7 +181,7 @@ public interface ListTasksRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; @@ -192,7 +192,7 @@ public interface ListTasksRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; @@ -202,7 +202,7 @@ public interface ListTasksRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; @@ -213,7 +213,7 @@ public interface ListTasksRequestOrBuilder extends /** *
    * (optional URL parameter) List of additional fields to be included in the response.
-   * Currently supported: all, worker.users, review.users.
+   * Currently supported: all, worker.users, review.users, metrics.estimated_labeled_inputs_count.
    * 
* * repeated string additional_fields = 7; diff --git a/src/main/java/com/clarifai/grpc/api/MetricsSummary.java b/src/main/java/com/clarifai/grpc/api/MetricsSummary.java index e9c97f8..6ff2423 100644 --- a/src/main/java/com/clarifai/grpc/api/MetricsSummary.java +++ b/src/main/java/com/clarifai/grpc/api/MetricsSummary.java @@ -155,7 +155,7 @@ private MetricsSummary( /** * float top1_accuracy = 1 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1997 + * See proto/clarifai/api/resources.proto;l=1998 * @return The top1Accuracy. */ @java.lang.Override @@ -168,7 +168,7 @@ private MetricsSummary( /** * float top5_accuracy = 2 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1998 + * See proto/clarifai/api/resources.proto;l=1999 * @return The top5Accuracy. */ @java.lang.Override @@ -844,7 +844,7 @@ public Builder mergeFrom( /** * float top1_accuracy = 1 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1997 + * See proto/clarifai/api/resources.proto;l=1998 * @return The top1Accuracy. */ @java.lang.Override @@ -854,7 +854,7 @@ public Builder mergeFrom( /** * float top1_accuracy = 1 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1997 + * See proto/clarifai/api/resources.proto;l=1998 * @param value The top1Accuracy to set. * @return This builder for chaining. */ @@ -867,7 +867,7 @@ public Builder mergeFrom( /** * float top1_accuracy = 1 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1997 + * See proto/clarifai/api/resources.proto;l=1998 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTop1Accuracy() { @@ -881,7 +881,7 @@ public Builder mergeFrom( /** * float top5_accuracy = 2 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1998 + * See proto/clarifai/api/resources.proto;l=1999 * @return The top5Accuracy. */ @java.lang.Override @@ -891,7 +891,7 @@ public Builder mergeFrom( /** * float top5_accuracy = 2 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1998 + * See proto/clarifai/api/resources.proto;l=1999 * @param value The top5Accuracy to set. * @return This builder for chaining. */ @@ -904,7 +904,7 @@ public Builder mergeFrom( /** * float top5_accuracy = 2 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1998 + * See proto/clarifai/api/resources.proto;l=1999 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTop5Accuracy() { diff --git a/src/main/java/com/clarifai/grpc/api/MetricsSummaryOrBuilder.java b/src/main/java/com/clarifai/grpc/api/MetricsSummaryOrBuilder.java index 48b4b37..e12abf9 100644 --- a/src/main/java/com/clarifai/grpc/api/MetricsSummaryOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/MetricsSummaryOrBuilder.java @@ -10,7 +10,7 @@ public interface MetricsSummaryOrBuilder extends /** * float top1_accuracy = 1 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top1_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1997 + * See proto/clarifai/api/resources.proto;l=1998 * @return The top1Accuracy. */ @java.lang.Deprecated float getTop1Accuracy(); @@ -18,7 +18,7 @@ public interface MetricsSummaryOrBuilder extends /** * float top5_accuracy = 2 [deprecated = true]; * @deprecated clarifai.api.MetricsSummary.top5_accuracy is deprecated. - * See proto/clarifai/api/resources.proto;l=1998 + * See proto/clarifai/api/resources.proto;l=1999 * @return The top5Accuracy. */ @java.lang.Deprecated float getTop5Accuracy(); diff --git a/src/main/java/com/clarifai/grpc/api/Resources.java b/src/main/java/com/clarifai/grpc/api/Resources.java index 65e46a1..84c3f1a 100644 --- a/src/main/java/com/clarifai/grpc/api/Resources.java +++ b/src/main/java/com/clarifai/grpc/api/Resources.java @@ -744,6 +744,11 @@ public static void registerAllExtensions( static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_clarifai_api_TaskConcept_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_clarifai_api_TaskMetrics_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_clarifai_api_TaskMetrics_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_clarifai_api_Collector_descriptor; static final @@ -1676,7 +1681,7 @@ public static void registerAllExtensions( "estamp\022 \n\004task\030\010 \001(\0132\022.clarifai.api.Task" + "\022.\n\ncreated_at\030\t \001(\0132\032.google.protobuf.T" + "imestamp\022/\n\013modified_at\030\n \001(\0132\032.google.p" + - "rotobuf.Timestamp\"\273\006\n\004Task\022\n\n\002id\030\001 \001(\t\022." + + "rotobuf.Timestamp\"\347\006\n\004Task\022\n\n\002id\030\001 \001(\t\022." + "\n\ncreated_at\030\002 \001(\0132\032.google.protobuf.Tim" + "estamp\022/\n\013modified_at\030\003 \001(\0132\032.google.pro" + "tobuf.Timestamp\022)\n\004type\030\004 \001(\0162\033.clarifai" + @@ -1694,305 +1699,308 @@ public static void registerAllExtensions( "\n\006app_id\030\020 \001(\t\022\017\n\007user_id\030\021 \001(\t\022\026\n\016label" + "_order_id\030\022 \001(\t\022+\n\010concepts\030\023 \003(\0132\031.clar" + "ifai.api.TaskConcept\022#\n\033delete_previous_" + - "annotations\030\024 \001(\010\"l\n\010TaskType\022\020\n\014TYPE_NO" + - "T_SET\020\000\022\033\n\027CONCEPTS_CLASSIFICATION\020\001\022\032\n\026" + - "BOUNDING_BOX_DETECTION\020\002\022\025\n\021POLYGON_DETE" + - "CTION\020\003\"`\n\022AiAssistParameters\022\025\n\rmin_thr" + - "eshold\030\001 \001(\002\022\025\n\rmax_threshold\030\002 \001(\002\022\034\n\024c" + - "oncept_relation_ids\030\003 \003(\t\"\217\003\n\nTaskWorker" + - "\022=\n\010strategy\030\001 \001(\0162+.clarifai.api.TaskWo" + - "rker.TaskWorkerStrategy\022\024\n\010user_ids\030\002 \003(" + - "\tB\002\030\001\022!\n\005users\030\004 \003(\0132\022.clarifai.api.User" + - "\022#\n\006models\030\005 \003(\0132\023.clarifai.api.Model\022)\n" + - "\tworkflows\030\006 \003(\0132\026.clarifai.api.Workflow" + - "\022T\n\031partitioned_strategy_info\030\003 \001(\0132/.cl" + - "arifai.api.TaskWorkerPartitionedStrategy" + - "InfoH\000\"R\n\022TaskWorkerStrategy\022\033\n\027WORKER_S" + - "TRATEGY_NOT_SET\020\000\022\017\n\013PARTITIONED\020\002\022\010\n\004FU" + - "LL\020\003\"\004\010\001\020\001B\017\n\rstrategy_info\"\251\002\n!TaskWork" + - "erPartitionedStrategyInfo\022[\n\004type\030\001 \001(\0162" + - "M.clarifai.api.TaskWorkerPartitionedStra" + - "tegyInfo.TaskWorkerPartitionedStrategy\022\031" + - "\n\021workers_per_input\030\002 \001(\005\022(\n\007weights\030\003 \001" + - "(\0132\027.google.protobuf.Struct\"b\n\035TaskWorke" + - "rPartitionedStrategy\022\'\n#PARTITIONED_WORK" + - "ER_STRATEGY_NOT_SET\020\000\022\n\n\006EVENLY\020\001\022\014\n\010WEI" + - "GHTED\020\002\"\303\001\n\017TaskInputSource\022?\n\004type\030\001 \001(" + - "\01621.clarifai.api.TaskInputSource.TaskInp" + - "utSourceType\022\n\n\002id\030\002 \001(\t\"c\n\023TaskInputSou" + - "rceType\022\035\n\031INPUT_SOURCE_TYPE_NOT_SET\020\000\022\016" + - "\n\nALL_INPUTS\020\001\022\020\n\014SAVED_SEARCH\020\002\022\013\n\007DATA" + - "SET\020\003\"\220\003\n\nTaskReview\022=\n\010strategy\030\001 \001(\0162+" + - ".clarifai.api.TaskReview.TaskReviewStrat" + - "egy\022\024\n\010user_ids\030\002 \003(\tB\002\030\001\022!\n\005users\030\005 \003(\013" + - "2\022.clarifai.api.User\022J\n\024manual_strategy_" + - "info\030\003 \001(\0132*.clarifai.api.TaskReviewManu" + - "alStrategyInfoH\000\022P\n\027consensus_strategy_i" + - "nfo\030\004 \001(\0132-.clarifai.api.TaskReviewConse" + - "nsusStrategyInfoH\000\"[\n\022TaskReviewStrategy" + - "\022 \n\034TASK_REVIEW_STRATEGY_NOT_SET\020\000\022\010\n\004NO" + - "NE\020\001\022\n\n\006MANUAL\020\002\022\r\n\tCONSENSUS\020\003B\017\n\rstrat" + - "egy_info\"9\n\034TaskReviewManualStrategyInfo" + - "\022\031\n\021sample_percentage\030\001 \001(\002\"C\n\037TaskRevie" + - "wConsensusStrategyInfo\022\032\n\022approval_thres" + - "hold\030\002 \001(\rJ\004\010\001\020\002\"&\n\017TaskAIAssistant\022\023\n\013w" + - "orkflow_id\030\001 \001(\t\"\274\001\n\026TaskStatusCountPerU" + - "ser\022\017\n\007user_id\030\001 \001(\t\022\025\n\007pending\030\002 \001(\rB\004\200" + - "\265\030\001\022\035\n\017awaiting_review\030\003 \001(\rB\004\200\265\030\001\022\025\n\007su" + - "ccess\030\004 \001(\rB\004\200\265\030\001\022\033\n\rreview_denied\030\005 \001(\r" + - "B\004\200\265\030\001\022\'\n\031awaiting_consensus_review\030\006 \001(" + - "\rB\004\200\265\030\001\"f\n\016ThresholdRange\022\032\n\022is_lower_in" + - "clusive\030\001 \001(\010\022\032\n\022is_upper_inclusive\030\002 \001(" + - "\010\022\r\n\005lower\030\003 \001(\002\022\r\n\005upper\030\004 \001(\002\"\255\001\n\037Task" + - "ConceptAutoAnnotationConfig\022\035\n\025annotatio" + - "n_data_types\030\001 \001(\r\0225\n\017threshold_range\030\002 " + - "\001(\0132\034.clarifai.api.ThresholdRange\0224\n\013sta" + - "tus_code\030\003 \001(\0162\037.clarifai.api.status.Sta" + - "tusCode\"\204\001\n\013TaskConcept\022&\n\007concept\030\001 \001(\013" + - "2\025.clarifai.api.Concept\022M\n\026auto_annotati" + - "on_config\030\002 \001(\0132-.clarifai.api.TaskConce" + - "ptAutoAnnotationConfig\"\273\002\n\tCollector\022\n\n\002" + - "id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022.\n\ncreated" + - "_at\030\003 \001(\0132\032.google.protobuf.Timestamp\022\035\n" + - "\025pre_queue_workflow_id\030\004 \001(\t\022\037\n\027pre_queu" + - "e_random_sample\030\010 \001(\002\022\036\n\026post_queue_work" + - "flow_id\030\005 \001(\t\0227\n\020collector_source\030\006 \001(\0132" + - "\035.clarifai.api.CollectorSource\022+\n\006status" + - "\030\007 \001(\0132\033.clarifai.api.status.Status\022\027\n\017c" + - "ollect_outputs\030\t \001(\010\"t\n\017CollectorSource\022" + - "a\n\'api_post_model_outputs_collector_sour" + - "ce\030\002 \001(\01320.clarifai.api.APIPostModelOutp" + - "utsCollectorSource\"\261\001\n\"APIPostModelOutpu" + - "tsCollectorSource\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_input" + - "s_key_id\030\005 \001(\t\022\026\n\016caller_user_id\030\006 \001(\t\"R" + - "\n\tStatValue\022(\n\004time\030\001 \001(\0132\032.google.proto" + - "buf.Timestamp\022\r\n\005value\030\002 \001(\002\022\014\n\004tags\030\003 \003" + - "(\t\"\246\001\n\030StatValueAggregateResult\022?\n\025stat_" + - "value_aggregates\030\001 \003(\0132 .clarifai.api.St" + - "atValueAggregate\022I\n\032stat_value_aggregate" + - "_query\030\002 \001(\0132%.clarifai.api.StatValueAgg" + - "regateQuery\"t\n\022StatValueAggregate\022(\n\004tim" + - "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022\027\n\017a" + - "ggregate_value\030\002 \001(\002\022\r\n\005count\030\003 \001(\004\022\014\n\004t" + - "ags\030\004 \003(\t\"\221\002\n\027StatValueAggregateQuery\022\014\n" + - "\004tags\030\001 \003(\t\022\022\n\ntag_groups\030\002 \003(\t\022;\n\023stat_" + - "value_agg_type\030\003 \001(\0162\036.clarifai.api.Stat" + - "ValueAggType\0229\n\022stat_time_agg_type\030\004 \001(\016" + - "2\035.clarifai.api.StatTimeAggType\022.\n\nstart" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + - ",\n\010end_time\030\006 \001(\0132\032.google.protobuf.Time" + - "stamp\"O\n\027PCAProjectionComparator\022\032\n\022dist" + - "ance_threshold\030\001 \001(\002\022\030\n\020model_version_id" + - "\030\002 \001(\t\"K\n\033DuplicateAnnotationsResults\022\026\n" + - "\016duplicate_cfid\030\001 \003(\t\022\024\n\014unique_count\030\002 " + - "\001(\005\"\207\001\n\nVisibility\0223\n\010gettable\030\001 \001(\0162!.c" + - "larifai.api.Visibility.Gettable\"D\n\010Getta" + - "ble\022\026\n\022UNKNOWN_VISIBILITY\020\000\022\013\n\007PRIVATE\020\n" + - "\022\007\n\003ORG\020\036\022\n\n\006PUBLIC\0202\"X\n\016TrendingMetric\022" + - "\017\n\007user_id\030\001 \001(\t\022\016\n\006app_id\030\002 \001(\t\022\021\n\tobje" + - "ct_id\030\003 \001(\t\022\022\n\nview_count\030\004 \001(\004\"#\n\007FullT" + - "ag\022\014\n\004name\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\"f\n\013TimeSegm" + - "ent\022\n\n\002id\030\001 \001(\t\022 \n\004data\030\002 \001(\0132\022.clarifai" + - ".api.Data\022)\n\ttime_info\030\003 \001(\0132\026.clarifai." + - "api.TimeInfo\"P\n\010TimeInfo\022\022\n\nnum_frames\030\001" + - " \001(\r\022\022\n\nbegin_time\030\004 \001(\002\022\020\n\010end_time\030\005 \001" + - "(\002J\004\010\002\020\003J\004\010\003\020\004\"!\n\013DatasetStar\022\022\n\ndataset" + - "_id\030\001 \001(\t\"\037\n\nModuleStar\022\021\n\tmodule_id\030\001 \001" + - "(\t\"\302\003\n\006Module\022\n\n\002id\030\001 \001(\t\022\023\n\013description" + - "\030\003 \001(\t\022.\n\ncreated_at\030\004 \001(\0132\032.google.prot" + - "obuf.Timestamp\022/\n\013modified_at\030\005 \001(\0132\032.go", - "ogle.protobuf.Timestamp\022,\n\nvisibility\030\007 " + - "\001(\0132\030.clarifai.api.Visibility\022)\n\010metadat" + - "a\030\010 \001(\0132\027.google.protobuf.Struct\022\017\n\007user" + - "_id\030\t \001(\t\022\016\n\006app_id\030\n \001(\t\0223\n\016module_vers" + - "ion\030\013 \001(\0132\033.clarifai.api.ModuleVersion\022\022" + - "\n\nis_starred\030\014 \001(\010\022\022\n\nstar_count\030\r \001(\005\0225" + - "\n\017bookmark_origin\030\016 \001(\0132\034.clarifai.api.B" + - "ookmarkOrigin\022\"\n\005image\030\017 \001(\0132\023.clarifai." + - "api.ImageJ\004\010\002\020\003\"\276\004\n\rModuleVersion\022\n\n\002id\030" + - "\001 \001(\t\022\021\n\tmodule_id\030\002 \001(\t\022\016\n\006app_id\030\003 \001(\t" + - "\022\017\n\007user_id\030\004 \001(\t\022\023\n\013description\030\006 \001(\t\022\r" + - "\n\005notes\030\007 \001(\t\022.\n\ncreated_at\030\010 \001(\0132\032.goog" + - "le.protobuf.Timestamp\022/\n\013modified_at\030\t \001" + - "(\0132\032.google.protobuf.Timestamp\022\026\n\016git_co" + - "mmit_url\030\n \001(\t\0229\n\nmodule_nav\030\013 \001(\0132%.cla" + - "rifai.api.ModuleVersion.ModuleNav\022\020\n\010app" + - "roved\030\014 \001(\010\022,\n\nvisibility\030\r \001(\0132\030.clarif" + - "ai.api.Visibility\022)\n\010metadata\030\016 \001(\0132\027.go" + - "ogle.protobuf.Struct\032E\n\014ModuleSubNav\022\r\n\005" + - "title\030\001 \001(\t\022\021\n\tquery_key\030\002 \001(\t\022\023\n\013query_" + - "value\030\003 \001(\t\032]\n\tModuleNav\022\r\n\005title\030\001 \001(\t\022" + - "A\n\017module_sub_navs\030\002 \003(\0132(.clarifai.api." + - "ModuleVersion.ModuleSubNavJ\004\010\005\020\006\"\255\002\n\026Ins" + - "talledModuleVersion\022\n\n\002id\030\001 \001(\t\0223\n\016modul" + - "e_version\030\002 \001(\0132\033.clarifai.api.ModuleVer" + - "sion\022\016\n\006app_id\030\003 \001(\t\022\017\n\007user_id\030\004 \001(\t\022.\n" + - "\ncreated_at\030\005 \001(\0132\032.google.protobuf.Time" + - "stamp\022/\n\013modified_at\030\006 \001(\0132\032.google.prot" + - "obuf.Timestamp\022\022\n\ndeploy_url\030\007 \001(\t\022,\n\nvi" + - "sibility\030\010 \001(\0132\030.clarifai.api.Visibility" + - "\022\016\n\006key_id\030\t \001(\t\"\267\003\n\rBulkOperation\022\n\n\002id" + - "\030\001 \001(\t\022+\n\tinput_ids\030\002 \001(\0132\026.clarifai.api" + - ".InputIDsH\000\022&\n\006search\030\n \001(\0132\024.clarifai.a" + - "pi.SearchH\000\022(\n\007dataset\030\013 \001(\0132\025.clarifai." + - "api.DatasetH\000\022*\n\toperation\030\003 \001(\0132\027.clari" + - "fai.api.Operation\022\016\n\006app_id\030\004 \001(\t\022+\n\006sta" + - "tus\030\005 \001(\0132\033.clarifai.api.status.Status\022(" + - "\n\010progress\030\006 \001(\0132\026.clarifai.api.Progress" + - "\022\022\n\ncreated_by\030\007 \001(\t\022.\n\ncreated_at\030\010 \001(\013" + - "2\032.google.protobuf.Timestamp\0224\n\020last_mod" + - "ified_at\030\t \001(\0132\032.google.protobuf.Timesta" + - "mpB\016\n\014input_source\"\035\n\010InputIDs\022\021\n\tinput_" + - "ids\030\001 \003(\t\"8\n\010Progress\022\021\n\tprocessed\030\001 \001(\r" + - "\022\031\n\021last_processed_id\030\002 \001(\t\"\212\004\n\tOperatio" + - "n\0221\n\014add_concepts\030\001 \001(\0132\031.clarifai.api.A" + - "ddConceptsH\000\0227\n\017delete_concepts\030\002 \001(\0132\034." + - "clarifai.api.DeleteConceptsH\000\0221\n\014add_met" + - "adata\030\003 \001(\0132\031.clarifai.api.AddMetadataH\000" + - "\0227\n\017delete_metadata\030\004 \001(\0132\034.clarifai.api" + - ".DeleteMetadataH\000\0223\n\roverwrite_geo\030\005 \001(\013" + - "2\032.clarifai.api.OverwriteGeoH\000\022-\n\ndelete" + - "_geo\030\006 \001(\0132\027.clarifai.api.DeleteGeoH\000\022>\n" + - "\023delete_from_dataset\030\007 \001(\0132\037.clarifai.ap" + - "i.DeleteFromDatasetH\000\0224\n\016add_to_dataset\030" + - "\010 \001(\0132\032.clarifai.api.AddToDatasetH\000\022>\n\023s" + - "plit_into_datasets\030\t \001(\0132\037.clarifai.api." + - "SplitIntoDatasetsH\000B\013\n\toperation\"6\n\013AddC" + - "oncepts\022\'\n\010concepts\030\001 \003(\0132\025.clarifai.api" + - ".Concept\"K\n\016DeleteConcepts\022\'\n\010concepts\030\001" + - " \003(\0132\025.clarifai.api.Concept\022\020\n\010user_ids\030" + - "\002 \003(\t\"8\n\013AddMetadata\022)\n\010metadata\030\001 \001(\0132\027" + - ".google.protobuf.Struct\";\n\016DeleteMetadat" + - "a\022)\n\010metadata\030\001 \001(\0132\027.google.protobuf.St" + - "ruct\".\n\014OverwriteGeo\022\036\n\003geo\030\001 \001(\0132\021.clar" + - "ifai.api.Geo\"\013\n\tDeleteGeo\"\"\n\014AddToDatase" + - "t\022\022\n\ndataset_id\030\001 \001(\t\"\'\n\021DeleteFromDatas" + - "et\022\022\n\ndataset_id\030\001 \001(\t\"\313\001\n\021SplitIntoData" + - "sets\0222\n\016dataset_splits\030\001 \003(\0132\032.clarifai." + - "api.DatasetSplit\022B\n\006method\030\002 \001(\01622.clari" + - "fai.api.SplitIntoDatasets.DatasetSplitMe" + - "thod\">\n\022DatasetSplitMethod\022\013\n\007NOT_SET\020\000\022" + - "\033\n\027RANDOM_PERCENTAGE_SPLIT\020\001\"[\n\014DatasetS" + - "plit\022&\n\007dataset\030\001 \001(\0132\025.clarifai.api.Dat" + - "aset\022\024\n\npercentage\030\002 \001(\rH\000B\r\n\013method_inf" + - "o\"\373\002\n\014InputsAddJob\022\n\n\002id\030\001 \001(\t\022\025\n\rcall_b" + - "ack_url\030\003 \001(\t\022\017\n\007app_pat\030\004 \001(\t\0224\n\010progre" + - "ss\030\007 \001(\0132\".clarifai.api.InputsAddJobProg" + - "ress\022.\n\ncreated_at\030\010 \001(\0132\032.google.protob" + - "uf.Timestamp\022/\n\013modified_at\030\t \001(\0132\032.goog" + - "le.protobuf.Timestamp\022:\n\017extraction_jobs" + - "\030\n \003(\0132!.clarifai.api.InputsExtractionJo" + - "b\022%\n\007uploads\030\013 \003(\0132\024.clarifai.api.Upload" + - "\022+\n\006status\030\014 \001(\0132\033.clarifai.api.status.S" + - "tatusJ\004\010\002\020\003J\004\010\005\020\006J\004\010\006\020\007\"u\n\024InputsAddJobP" + - "rogress\022\025\n\rpending_count\030\001 \001(\004\022\031\n\021in_pro" + - "gress_count\030\002 \001(\004\022\025\n\rsuccess_count\030\003 \001(\004" + - "\022\024\n\014failed_count\030\004 \001(\004\"\225\002\n\006Upload\022\n\n\002id\030" + - "\001 \001(\t\022.\n\ncreated_at\030\002 \001(\0132\032.google.proto" + - "buf.Timestamp\022/\n\013modified_at\030\003 \001(\0132\032.goo" + - "gle.protobuf.Timestamp\022.\n\nexpires_at\030\004 \001" + - "(\0132\032.google.protobuf.Timestamp\022+\n\006status" + - "\030\005 \001(\0132\033.clarifai.api.status.Status\022\024\n\014c" + - "ontent_name\030\010 \001(\t\022\026\n\016content_length\030\006 \001(" + - "\004\022\023\n\013content_url\030\007 \001(\t\"K\n\021UploadContentP" + - "art\022\023\n\013range_start\030\001 \001(\004\022\023\n\013part_number\030" + - "\002 \001(\003\022\014\n\004data\030\003 \001(\014\"l\n\031CustomCodeOperato" + - "rRequest\022#\n\006inputs\030\001 \003(\0132\023.clarifai.api." + - "Input\022*\n\010metadata\030\352\007 \001(\0132\027.google.protob" + - "uf.Struct\"\365\002\n\023InputsExtractionJob\022+\n\006sta" + - "tus\030\001 \001(\0132\033.clarifai.api.status.Status\022\n" + - "\n\002id\030\002 \001(\t\022\013\n\003url\030\003 \001(\t\022;\n\010progress\030\004 \001(" + - "\0132).clarifai.api.InputsExtractionJobProg" + - "ress\022.\n\ncreated_at\030\005 \001(\0132\032.google.protob" + - "uf.Timestamp\022/\n\013modified_at\030\006 \001(\0132\032.goog" + - "le.protobuf.Timestamp\022M\n\034input_id_confli" + - "ct_resolution\030\007 \001(\0162\'.clarifai.api.Input" + - "IDConflictResolution\022+\n\016input_template\030\010" + - " \001(\0132\023.clarifai.api.Input\"\227\002\n\033InputsExtr" + - "actionJobProgress\022\032\n\022audio_inputs_count\030" + - "\002 \001(\004\022\032\n\022image_inputs_count\030\003 \001(\004\022\032\n\022vid" + - "eo_inputs_count\030\004 \001(\004\022\031\n\021text_inputs_cou" + - "nt\030\005 \001(\004\022\036\n\026pending_archives_count\030\006 \001(\004" + - "\022\"\n\032in_progress_archives_count\030\007 \001(\004\022 \n\030" + - "completed_archives_count\030\010 \001(\004\022\035\n\025failed" + - "_archives_count\030\t \001(\004J\004\010\001\020\002\"\323\001\n\020InputsDa" + - "taSource\022\031\n\021inputs_add_job_id\030\001 \001(\t\022(\n\003u" + - "rl\030\002 \001(\0132\033.clarifai.api.DataSourceURL\022M\n" + - "\034input_id_conflict_resolution\030\003 \001(\0162\'.cl" + - "arifai.api.InputIDConflictResolution\022+\n\016" + - "input_template\030\004 \001(\0132\023.clarifai.api.Inpu" + - "t\"V\n\rDataSourceURL\022\013\n\003url\030\001 \001(\t\0228\n\013crede" + - "ntials\030\002 \001(\0132#.clarifai.api.DataSourceCr" + - "edentials\"\247\001\n\025DataSourceCredentials\022*\n\010s" + - "3_creds\030\001 \001(\0132\026.clarifai.api.AWSCredsH\000\022" + - "\023\n\tgcp_creds\030\002 \001(\014H\000\0228\n\020azure_blob_creds" + - "\030\004 \001(\0132\034.clarifai.api.AzureBlobCredsH\000B\r" + - "\n\013credentialsJ\004\010\003\020\004\"K\n\010AWSCreds\022\016\n\006regio" + - "n\030\002 \001(\t\022\n\n\002id\030\003 \001(\t\022\016\n\006secret\030\004 \001(\t\022\r\n\005t" + - "oken\030\005 \001(\tJ\004\010\001\020\002\";\n\016AzureBlobCreds\022\024\n\014ac" + - "count_name\030\001 \001(\t\022\023\n\013account_key\030\002 \001(\t\"\334\001" + - "\n\014InputsUpload\022\031\n\021inputs_add_job_id\030\001 \001(" + - "\t\022\017\n\007app_pat\030\002 \001(\t\022$\n\006upload\030\003 \001(\0132\024.cla" + - "rifai.api.Upload\022M\n\034input_id_conflict_re" + - "solution\030\004 \001(\0162\'.clarifai.api.InputIDCon" + - "flictResolution\022+\n\016input_template\030\005 \001(\0132" + - "\023.clarifai.api.Input\"\316\001\n\016BookmarkOrigin\022" + - "\n\n\002id\030\001 \001(\t\022\016\n\006app_id\030\002 \001(\t\022\017\n\007user_id\030\003" + - " \001(\t\022@\n\rresource_type\030\004 \001(\0162).clarifai.a" + - "pi.BookmarkOrigin.BookmarkType\"M\n\014Bookma" + - "rkType\022\013\n\007unknown\020\000\022\t\n\005model\020\001\022\014\n\010workfl" + - "ow\020\002\022\013\n\007dataset\020\003\022\n\n\006module\020\004\"\326\001\n\006Runner" + - "\022\n\n\002id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022.\n\ncre" + - "ated_at\030\003 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013modified_at\030\004 \001(\0132\032.google.protobuf" + - ".Timestamp\022)\n\010metadata\030\005 \001(\0132\027.google.pr" + - "otobuf.Struct\022\017\n\007user_id\030\006 \001(\t\022\016\n\006labels" + - "\030\007 \003(\t*^\n\024WorkflowModelUseCase\022#\n\037WORKFL" + - "OW_MODEL_USE_CASE_NOT_SET\020\000\022\022\n\016CLASSIFIC" + - "ATION\020\001\022\r\n\tDETECTION\020\002*\371\001\n\036DatasetVersio" + - "nMetricsGroupType\022.\n*DATASET_VERSION_MET" + - "RICS_GROUP_TYPE_NOT_SET\020\000\022\016\n\nINPUT_TYPE\020" + - "\002\022\016\n\nCONCEPT_ID\020\n\022\022\n\016CONCEPTS_COUNT\020\013\022\030\n" + - "\024BOUNDING_BOXES_COUNT\020\024\022\022\n\016POLYGONS_COUN" + - "T\020\025\022\020\n\014POINTS_COUNT\020\026\022\017\n\013MASKS_COUNT\020\027\022\020" + - "\n\014PIXELS_COUNT\020\036\022\020\n\014ASPECT_RATIO\020\037*\205\001\n\032D" + - "atasetVersionExportFormat\022)\n%DATASET_VER" + - "SION_EXPORT_FORMAT_NOT_SET\020\000\022\032\n\026CLARIFAI" + - "_DATA_PROTOBUF\020\001\022\026\n\022CLARIFAI_DATA_JSON\020\003" + - "\022\010\n\004COCO\020\002*H\n\020ExpirationAction\022\035\n\031EXPIRA" + - "TION_ACTION_NOT_SET\020\000\022\t\n\005DELAY\020\001\022\n\n\006EXPI" + - "RY\020\002*M\n\014LicenseScope\022\031\n\025LICENSE_SCOPE_NO" + - "T_SET\020\000\022\013\n\007PREDICT\020\001\022\t\n\005TRAIN\020\002\022\n\n\006SEARC" + - "H\020\003*P\n\010DataType\022\r\n\tUNDEFINED\020\000\022\n\n\006STRING" + - "\020\001\022\t\n\005UINT8\020\002\022\t\n\005INT32\020\003\022\t\n\005INT64\020\004\022\010\n\004F" + - "P32\020\005*\217\001\n\017ValueComparator\022\035\n\031CONCEPT_THR" + - "ESHOLD_NOT_SET\020\000\022\020\n\014GREATER_THAN\020\001\022\031\n\025GR" + - "EATER_THAN_OR_EQUAL\020\002\022\r\n\tLESS_THAN\020\003\022\026\n\022" + - "LESS_THAN_OR_EQUAL\020\004\022\t\n\005EQUAL\020\005*q\n\016Evalu" + - "ationType\022\r\n\tUndefined\020\000\022\022\n\016Classificati" + - "on\020\001\022\r\n\tDetection\020\002\022\020\n\014Segmentation\020\003\022\016\n" + - "\nClustering\020\004\022\013\n\007Tracker\020\005*f\n\014APIEventTy" + - "pe\022\032\n\026API_EVENT_TYPE_NOT_SET\020\000\022\023\n\017ON_PRE" + - "M_PREDICT\020\001\022\021\n\rON_PREM_TRAIN\020\002\022\022\n\016ON_PRE" + - "M_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\022Anno" + - "tationDataType\022 \n\034ANNOTATION_DATA_TYPE_N" + - "OT_SET\020\000\022\007\n\003TAG\020\001\022\020\n\014BOUNDING_BOX\020\002\022\013\n\007P" + - "OLYGON\020\004\022\t\n\005POINT\020\010\022\010\n\004SPAN\020\020\022\010\n\004MASK\020 *" + - "\035\n\010RoleType\022\010\n\004TEAM\020\000\022\007\n\003ORG\020\001*$\n\020StatVa" + - "lueAggType\022\007\n\003SUM\020\000\022\007\n\003AVG\020\001*`\n\017StatTime" + - "AggType\022\017\n\013NO_TIME_AGG\020\000\022\010\n\004YEAR\020\001\022\t\n\005MO" + - "NTH\020\002\022\010\n\004WEEK\020\003\022\007\n\003DAY\020\004\022\010\n\004HOUR\020\005\022\n\n\006MI" + - "NUTE\020\006*b\n\023ValidationErrorType\022!\n\035VALIDAT" + - "ION_ERROR_TYPE_NOT_SET\020\000\022\016\n\nRESTRICTED\020\001" + - "\022\014\n\010DATABASE\020\002\022\n\n\006FORMAT\020\003*[\n\031InputIDCon" + - "flictResolution\022(\n$INPUT_ID_CONFLICT_RES" + - "OLUTION_NOT_SET\020\000\022\010\n\004SKIP\020\001\022\n\n\006SUFFIX\020\002B" + - "Y\n\025com.clarifai.grpc.apiP\001Z7github.com/C" + - "larifai/clarifai-go-grpc/proto/clarifai/" + - "api\242\002\004CAIPb\006proto3" + "annotations\030\024 \001(\010\022*\n\007metrics\030\025 \001(\0132\031.cla" + + "rifai.api.TaskMetrics\"l\n\010TaskType\022\020\n\014TYP" + + "E_NOT_SET\020\000\022\033\n\027CONCEPTS_CLASSIFICATION\020\001" + + "\022\032\n\026BOUNDING_BOX_DETECTION\020\002\022\025\n\021POLYGON_" + + "DETECTION\020\003\"`\n\022AiAssistParameters\022\025\n\rmin" + + "_threshold\030\001 \001(\002\022\025\n\rmax_threshold\030\002 \001(\002\022" + + "\034\n\024concept_relation_ids\030\003 \003(\t\"\217\003\n\nTaskWo" + + "rker\022=\n\010strategy\030\001 \001(\0162+.clarifai.api.Ta" + + "skWorker.TaskWorkerStrategy\022\024\n\010user_ids\030" + + "\002 \003(\tB\002\030\001\022!\n\005users\030\004 \003(\0132\022.clarifai.api." + + "User\022#\n\006models\030\005 \003(\0132\023.clarifai.api.Mode" + + "l\022)\n\tworkflows\030\006 \003(\0132\026.clarifai.api.Work" + + "flow\022T\n\031partitioned_strategy_info\030\003 \001(\0132" + + "/.clarifai.api.TaskWorkerPartitionedStra" + + "tegyInfoH\000\"R\n\022TaskWorkerStrategy\022\033\n\027WORK" + + "ER_STRATEGY_NOT_SET\020\000\022\017\n\013PARTITIONED\020\002\022\010" + + "\n\004FULL\020\003\"\004\010\001\020\001B\017\n\rstrategy_info\"\251\002\n!Task" + + "WorkerPartitionedStrategyInfo\022[\n\004type\030\001 " + + "\001(\0162M.clarifai.api.TaskWorkerPartitioned" + + "StrategyInfo.TaskWorkerPartitionedStrate" + + "gy\022\031\n\021workers_per_input\030\002 \001(\005\022(\n\007weights" + + "\030\003 \001(\0132\027.google.protobuf.Struct\"b\n\035TaskW" + + "orkerPartitionedStrategy\022\'\n#PARTITIONED_" + + "WORKER_STRATEGY_NOT_SET\020\000\022\n\n\006EVENLY\020\001\022\014\n" + + "\010WEIGHTED\020\002\"\303\001\n\017TaskInputSource\022?\n\004type\030" + + "\001 \001(\01621.clarifai.api.TaskInputSource.Tas" + + "kInputSourceType\022\n\n\002id\030\002 \001(\t\"c\n\023TaskInpu" + + "tSourceType\022\035\n\031INPUT_SOURCE_TYPE_NOT_SET" + + "\020\000\022\016\n\nALL_INPUTS\020\001\022\020\n\014SAVED_SEARCH\020\002\022\013\n\007" + + "DATASET\020\003\"\220\003\n\nTaskReview\022=\n\010strategy\030\001 \001" + + "(\0162+.clarifai.api.TaskReview.TaskReviewS" + + "trategy\022\024\n\010user_ids\030\002 \003(\tB\002\030\001\022!\n\005users\030\005" + + " \003(\0132\022.clarifai.api.User\022J\n\024manual_strat" + + "egy_info\030\003 \001(\0132*.clarifai.api.TaskReview" + + "ManualStrategyInfoH\000\022P\n\027consensus_strate" + + "gy_info\030\004 \001(\0132-.clarifai.api.TaskReviewC" + + "onsensusStrategyInfoH\000\"[\n\022TaskReviewStra" + + "tegy\022 \n\034TASK_REVIEW_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\rs" + + "trategy_info\"9\n\034TaskReviewManualStrategy" + + "Info\022\031\n\021sample_percentage\030\001 \001(\002\"C\n\037TaskR" + + "eviewConsensusStrategyInfo\022\032\n\022approval_t" + + "hreshold\030\002 \001(\rJ\004\010\001\020\002\"&\n\017TaskAIAssistant\022" + + "\023\n\013workflow_id\030\001 \001(\t\"\274\001\n\026TaskStatusCount" + + "PerUser\022\017\n\007user_id\030\001 \001(\t\022\025\n\007pending\030\002 \001(" + + "\rB\004\200\265\030\001\022\035\n\017awaiting_review\030\003 \001(\rB\004\200\265\030\001\022\025" + + "\n\007success\030\004 \001(\rB\004\200\265\030\001\022\033\n\rreview_denied\030\005" + + " \001(\rB\004\200\265\030\001\022\'\n\031awaiting_consensus_review\030" + + "\006 \001(\rB\004\200\265\030\001\"f\n\016ThresholdRange\022\032\n\022is_lowe" + + "r_inclusive\030\001 \001(\010\022\032\n\022is_upper_inclusive\030" + + "\002 \001(\010\022\r\n\005lower\030\003 \001(\002\022\r\n\005upper\030\004 \001(\002\"\255\001\n\037" + + "TaskConceptAutoAnnotationConfig\022\035\n\025annot" + + "ation_data_types\030\001 \001(\r\0225\n\017threshold_rang" + + "e\030\002 \001(\0132\034.clarifai.api.ThresholdRange\0224\n" + + "\013status_code\030\003 \001(\0162\037.clarifai.api.status" + + ".StatusCode\"\204\001\n\013TaskConcept\022&\n\007concept\030\001" + + " \001(\0132\025.clarifai.api.Concept\022M\n\026auto_anno" + + "tation_config\030\002 \001(\0132-.clarifai.api.TaskC" + + "onceptAutoAnnotationConfig\"5\n\013TaskMetric" + + "s\022&\n\036estimated_labeled_inputs_count\030\001 \001(" + + "\004\"\273\002\n\tCollector\022\n\n\002id\030\001 \001(\t\022\023\n\013descripti" + + "on\030\002 \001(\t\022.\n\ncreated_at\030\003 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022\035\n\025pre_queue_workflow_i" + + "d\030\004 \001(\t\022\037\n\027pre_queue_random_sample\030\010 \001(\002" + + "\022\036\n\026post_queue_workflow_id\030\005 \001(\t\0227\n\020coll" + + "ector_source\030\006 \001(\0132\035.clarifai.api.Collec" + + "torSource\022+\n\006status\030\007 \001(\0132\033.clarifai.api" + + ".status.Status\022\027\n\017collect_outputs\030\t \001(\010\"" + + "t\n\017CollectorSource\022a\n\'api_post_model_out" + + "puts_collector_source\030\002 \001(\01320.clarifai.a" + + "pi.APIPostModelOutputsCollectorSource\"\261\001" + + "\n\"APIPostModelOutputsCollectorSource\022\025\n\r" + + "model_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_inputs_key_id\030\005 \001(\t\022\026\n\016cal" + + "ler_user_id\030\006 \001(\t\"R\n\tStatValue\022(\n\004time\030\001" + + " \001(\0132\032.google.protobuf.Timestamp\022\r\n\005valu" + + "e\030\002 \001(\002\022\014\n\004tags\030\003 \003(\t\"\246\001\n\030StatValueAggre" + + "gateResult\022?\n\025stat_value_aggregates\030\001 \003(" + + "\0132 .clarifai.api.StatValueAggregate\022I\n\032s" + + "tat_value_aggregate_query\030\002 \001(\0132%.clarif" + + "ai.api.StatValueAggregateQuery\"t\n\022StatVa" + + "lueAggregate\022(\n\004time\030\001 \001(\0132\032.google.prot" + + "obuf.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\027StatVal" + + "ueAggregateQuery\022\014\n\004tags\030\001 \003(\t\022\022\n\ntag_gr" + + "oups\030\002 \003(\t\022;\n\023stat_value_agg_type\030\003 \001(\0162" + + "\036.clarifai.api.StatValueAggType\0229\n\022stat_" + + "time_agg_type\030\004 \001(\0162\035.clarifai.api.StatT" + + "imeAggType\022.\n\nstart_time\030\005 \001(\0132\032.google." + + "protobuf.Timestamp\022,\n\010end_time\030\006 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\"O\n\027PCAProjectio" + + "nComparator\022\032\n\022distance_threshold\030\001 \001(\002\022" + + "\030\n\020model_version_id\030\002 \001(\t\"K\n\033DuplicateAn" + + "notationsResults\022\026\n\016duplicate_cfid\030\001 \003(\t" + + "\022\024\n\014unique_count\030\002 \001(\005\"\207\001\n\nVisibility\0223\n" + + "\010gettable\030\001 \001(\0162!.clarifai.api.Visibilit" + + "y.Gettable\"D\n\010Gettable\022\026\n\022UNKNOWN_VISIBI" + + "LITY\020\000\022\013\n\007PRIVATE\020\n\022\007\n\003ORG\020\036\022\n\n\006PUBLIC\0202" + + "\"X\n\016TrendingMetric\022\017\n\007user_id\030\001 \001(\t\022\016\n\006a" + + "pp_id\030\002 \001(\t\022\021\n\tobject_id\030\003 \001(\t\022\022\n\nview_c" + + "ount\030\004 \001(\004\"#\n\007FullTag\022\014\n\004name\030\001 \001(\t\022\n\n\002i" + + "d\030\002 \001(\t\"f\n\013TimeSegment\022\n\n\002id\030\001 \001(\t\022 \n\004da" + + "ta\030\002 \001(\0132\022.clarifai.api.Data\022)\n\ttime_inf" + + "o\030\003 \001(\0132\026.clarifai.api.TimeInfo\"P\n\010TimeI" + + "nfo\022\022\n\nnum_frames\030\001 \001(\r\022\022\n\nbegin_time\030\004 " + + "\001(\002\022\020\n\010end_time\030\005 \001(\002J\004\010\002\020\003J\004\010\003\020\004\"!\n\013Dat" + + "asetStar\022\022\n\ndataset_id\030\001 \001(\t\"\037\n\nModuleSt" + + "ar\022\021\n\tmodule_id\030\001 \001(\t\"\302\003\n\006Module\022\n\n\002id\030\001", + " \001(\t\022\023\n\013description\030\003 \001(\t\022.\n\ncreated_at\030" + + "\004 \001(\0132\032.google.protobuf.Timestamp\022/\n\013mod" + + "ified_at\030\005 \001(\0132\032.google.protobuf.Timesta" + + "mp\022,\n\nvisibility\030\007 \001(\0132\030.clarifai.api.Vi" + + "sibility\022)\n\010metadata\030\010 \001(\0132\027.google.prot" + + "obuf.Struct\022\017\n\007user_id\030\t \001(\t\022\016\n\006app_id\030\n" + + " \001(\t\0223\n\016module_version\030\013 \001(\0132\033.clarifai." + + "api.ModuleVersion\022\022\n\nis_starred\030\014 \001(\010\022\022\n" + + "\nstar_count\030\r \001(\005\0225\n\017bookmark_origin\030\016 \001" + + "(\0132\034.clarifai.api.BookmarkOrigin\022\"\n\005imag" + + "e\030\017 \001(\0132\023.clarifai.api.ImageJ\004\010\002\020\003\"\276\004\n\rM" + + "oduleVersion\022\n\n\002id\030\001 \001(\t\022\021\n\tmodule_id\030\002 " + + "\001(\t\022\016\n\006app_id\030\003 \001(\t\022\017\n\007user_id\030\004 \001(\t\022\023\n\013" + + "description\030\006 \001(\t\022\r\n\005notes\030\007 \001(\t\022.\n\ncrea" + + "ted_at\030\010 \001(\0132\032.google.protobuf.Timestamp" + + "\022/\n\013modified_at\030\t \001(\0132\032.google.protobuf." + + "Timestamp\022\026\n\016git_commit_url\030\n \001(\t\0229\n\nmod" + + "ule_nav\030\013 \001(\0132%.clarifai.api.ModuleVersi" + + "on.ModuleNav\022\020\n\010approved\030\014 \001(\010\022,\n\nvisibi" + + "lity\030\r \001(\0132\030.clarifai.api.Visibility\022)\n\010" + + "metadata\030\016 \001(\0132\027.google.protobuf.Struct\032" + + "E\n\014ModuleSubNav\022\r\n\005title\030\001 \001(\t\022\021\n\tquery_" + + "key\030\002 \001(\t\022\023\n\013query_value\030\003 \001(\t\032]\n\tModule" + + "Nav\022\r\n\005title\030\001 \001(\t\022A\n\017module_sub_navs\030\002 " + + "\003(\0132(.clarifai.api.ModuleVersion.ModuleS" + + "ubNavJ\004\010\005\020\006\"\255\002\n\026InstalledModuleVersion\022\n" + + "\n\002id\030\001 \001(\t\0223\n\016module_version\030\002 \001(\0132\033.cla" + + "rifai.api.ModuleVersion\022\016\n\006app_id\030\003 \001(\t\022" + + "\017\n\007user_id\030\004 \001(\t\022.\n\ncreated_at\030\005 \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013modified_at\030" + + "\006 \001(\0132\032.google.protobuf.Timestamp\022\022\n\ndep" + + "loy_url\030\007 \001(\t\022,\n\nvisibility\030\010 \001(\0132\030.clar" + + "ifai.api.Visibility\022\016\n\006key_id\030\t \001(\t\"\267\003\n\r" + + "BulkOperation\022\n\n\002id\030\001 \001(\t\022+\n\tinput_ids\030\002" + + " \001(\0132\026.clarifai.api.InputIDsH\000\022&\n\006search" + + "\030\n \001(\0132\024.clarifai.api.SearchH\000\022(\n\007datase" + + "t\030\013 \001(\0132\025.clarifai.api.DatasetH\000\022*\n\toper" + + "ation\030\003 \001(\0132\027.clarifai.api.Operation\022\016\n\006" + + "app_id\030\004 \001(\t\022+\n\006status\030\005 \001(\0132\033.clarifai." + + "api.status.Status\022(\n\010progress\030\006 \001(\0132\026.cl" + + "arifai.api.Progress\022\022\n\ncreated_by\030\007 \001(\t\022" + + ".\n\ncreated_at\030\010 \001(\0132\032.google.protobuf.Ti" + + "mestamp\0224\n\020last_modified_at\030\t \001(\0132\032.goog" + + "le.protobuf.TimestampB\016\n\014input_source\"\035\n" + + "\010InputIDs\022\021\n\tinput_ids\030\001 \003(\t\"8\n\010Progress" + + "\022\021\n\tprocessed\030\001 \001(\r\022\031\n\021last_processed_id" + + "\030\002 \001(\t\"\212\004\n\tOperation\0221\n\014add_concepts\030\001 \001" + + "(\0132\031.clarifai.api.AddConceptsH\000\0227\n\017delet" + + "e_concepts\030\002 \001(\0132\034.clarifai.api.DeleteCo" + + "nceptsH\000\0221\n\014add_metadata\030\003 \001(\0132\031.clarifa" + + "i.api.AddMetadataH\000\0227\n\017delete_metadata\030\004" + + " \001(\0132\034.clarifai.api.DeleteMetadataH\000\0223\n\r" + + "overwrite_geo\030\005 \001(\0132\032.clarifai.api.Overw" + + "riteGeoH\000\022-\n\ndelete_geo\030\006 \001(\0132\027.clarifai" + + ".api.DeleteGeoH\000\022>\n\023delete_from_dataset\030" + + "\007 \001(\0132\037.clarifai.api.DeleteFromDatasetH\000" + + "\0224\n\016add_to_dataset\030\010 \001(\0132\032.clarifai.api." + + "AddToDatasetH\000\022>\n\023split_into_datasets\030\t " + + "\001(\0132\037.clarifai.api.SplitIntoDatasetsH\000B\013" + + "\n\toperation\"6\n\013AddConcepts\022\'\n\010concepts\030\001" + + " \003(\0132\025.clarifai.api.Concept\"K\n\016DeleteCon" + + "cepts\022\'\n\010concepts\030\001 \003(\0132\025.clarifai.api.C" + + "oncept\022\020\n\010user_ids\030\002 \003(\t\"8\n\013AddMetadata\022" + + ")\n\010metadata\030\001 \001(\0132\027.google.protobuf.Stru" + + "ct\";\n\016DeleteMetadata\022)\n\010metadata\030\001 \001(\0132\027" + + ".google.protobuf.Struct\".\n\014OverwriteGeo\022" + + "\036\n\003geo\030\001 \001(\0132\021.clarifai.api.Geo\"\013\n\tDelet" + + "eGeo\"\"\n\014AddToDataset\022\022\n\ndataset_id\030\001 \001(\t" + + "\"\'\n\021DeleteFromDataset\022\022\n\ndataset_id\030\001 \001(" + + "\t\"\313\001\n\021SplitIntoDatasets\0222\n\016dataset_split" + + "s\030\001 \003(\0132\032.clarifai.api.DatasetSplit\022B\n\006m" + + "ethod\030\002 \001(\01622.clarifai.api.SplitIntoData" + + "sets.DatasetSplitMethod\">\n\022DatasetSplitM" + + "ethod\022\013\n\007NOT_SET\020\000\022\033\n\027RANDOM_PERCENTAGE_" + + "SPLIT\020\001\"[\n\014DatasetSplit\022&\n\007dataset\030\001 \001(\013" + + "2\025.clarifai.api.Dataset\022\024\n\npercentage\030\002 " + + "\001(\rH\000B\r\n\013method_info\"\373\002\n\014InputsAddJob\022\n\n" + + "\002id\030\001 \001(\t\022\025\n\rcall_back_url\030\003 \001(\t\022\017\n\007app_" + + "pat\030\004 \001(\t\0224\n\010progress\030\007 \001(\0132\".clarifai.a" + + "pi.InputsAddJobProgress\022.\n\ncreated_at\030\010 " + + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013modif" + + "ied_at\030\t \001(\0132\032.google.protobuf.Timestamp" + + "\022:\n\017extraction_jobs\030\n \003(\0132!.clarifai.api" + + ".InputsExtractionJob\022%\n\007uploads\030\013 \003(\0132\024." + + "clarifai.api.Upload\022+\n\006status\030\014 \001(\0132\033.cl" + + "arifai.api.status.StatusJ\004\010\002\020\003J\004\010\005\020\006J\004\010\006" + + "\020\007\"u\n\024InputsAddJobProgress\022\025\n\rpending_co" + + "unt\030\001 \001(\004\022\031\n\021in_progress_count\030\002 \001(\004\022\025\n\r" + + "success_count\030\003 \001(\004\022\024\n\014failed_count\030\004 \001(" + + "\004\"\225\002\n\006Upload\022\n\n\002id\030\001 \001(\t\022.\n\ncreated_at\030\002" + + " \001(\0132\032.google.protobuf.Timestamp\022/\n\013modi" + + "fied_at\030\003 \001(\0132\032.google.protobuf.Timestam" + + "p\022.\n\nexpires_at\030\004 \001(\0132\032.google.protobuf." + + "Timestamp\022+\n\006status\030\005 \001(\0132\033.clarifai.api" + + ".status.Status\022\024\n\014content_name\030\010 \001(\t\022\026\n\016" + + "content_length\030\006 \001(\004\022\023\n\013content_url\030\007 \001(" + + "\t\"K\n\021UploadContentPart\022\023\n\013range_start\030\001 " + + "\001(\004\022\023\n\013part_number\030\002 \001(\003\022\014\n\004data\030\003 \001(\014\"l" + + "\n\031CustomCodeOperatorRequest\022#\n\006inputs\030\001 " + + "\003(\0132\023.clarifai.api.Input\022*\n\010metadata\030\352\007 " + + "\001(\0132\027.google.protobuf.Struct\"\365\002\n\023InputsE" + + "xtractionJob\022+\n\006status\030\001 \001(\0132\033.clarifai." + + "api.status.Status\022\n\n\002id\030\002 \001(\t\022\013\n\003url\030\003 \001" + + "(\t\022;\n\010progress\030\004 \001(\0132).clarifai.api.Inpu" + + "tsExtractionJobProgress\022.\n\ncreated_at\030\005 " + + "\001(\0132\032.google.protobuf.Timestamp\022/\n\013modif" + + "ied_at\030\006 \001(\0132\032.google.protobuf.Timestamp" + + "\022M\n\034input_id_conflict_resolution\030\007 \001(\0162\'" + + ".clarifai.api.InputIDConflictResolution\022" + + "+\n\016input_template\030\010 \001(\0132\023.clarifai.api.I" + + "nput\"\227\002\n\033InputsExtractionJobProgress\022\032\n\022" + + "audio_inputs_count\030\002 \001(\004\022\032\n\022image_inputs" + + "_count\030\003 \001(\004\022\032\n\022video_inputs_count\030\004 \001(\004" + + "\022\031\n\021text_inputs_count\030\005 \001(\004\022\036\n\026pending_a" + + "rchives_count\030\006 \001(\004\022\"\n\032in_progress_archi" + + "ves_count\030\007 \001(\004\022 \n\030completed_archives_co" + + "unt\030\010 \001(\004\022\035\n\025failed_archives_count\030\t \001(\004" + + "J\004\010\001\020\002\"\323\001\n\020InputsDataSource\022\031\n\021inputs_ad" + + "d_job_id\030\001 \001(\t\022(\n\003url\030\002 \001(\0132\033.clarifai.a" + + "pi.DataSourceURL\022M\n\034input_id_conflict_re" + + "solution\030\003 \001(\0162\'.clarifai.api.InputIDCon" + + "flictResolution\022+\n\016input_template\030\004 \001(\0132" + + "\023.clarifai.api.Input\"V\n\rDataSourceURL\022\013\n" + + "\003url\030\001 \001(\t\0228\n\013credentials\030\002 \001(\0132#.clarif" + + "ai.api.DataSourceCredentials\"\247\001\n\025DataSou" + + "rceCredentials\022*\n\010s3_creds\030\001 \001(\0132\026.clari" + + "fai.api.AWSCredsH\000\022\023\n\tgcp_creds\030\002 \001(\014H\000\022" + + "8\n\020azure_blob_creds\030\004 \001(\0132\034.clarifai.api" + + ".AzureBlobCredsH\000B\r\n\013credentialsJ\004\010\003\020\004\"K" + + "\n\010AWSCreds\022\016\n\006region\030\002 \001(\t\022\n\n\002id\030\003 \001(\t\022\016" + + "\n\006secret\030\004 \001(\t\022\r\n\005token\030\005 \001(\tJ\004\010\001\020\002\";\n\016A" + + "zureBlobCreds\022\024\n\014account_name\030\001 \001(\t\022\023\n\013a" + + "ccount_key\030\002 \001(\t\"\334\001\n\014InputsUpload\022\031\n\021inp" + + "uts_add_job_id\030\001 \001(\t\022\017\n\007app_pat\030\002 \001(\t\022$\n" + + "\006upload\030\003 \001(\0132\024.clarifai.api.Upload\022M\n\034i" + + "nput_id_conflict_resolution\030\004 \001(\0162\'.clar" + + "ifai.api.InputIDConflictResolution\022+\n\016in" + + "put_template\030\005 \001(\0132\023.clarifai.api.Input\"" + + "\316\001\n\016BookmarkOrigin\022\n\n\002id\030\001 \001(\t\022\016\n\006app_id" + + "\030\002 \001(\t\022\017\n\007user_id\030\003 \001(\t\022@\n\rresource_type" + + "\030\004 \001(\0162).clarifai.api.BookmarkOrigin.Boo" + + "kmarkType\"M\n\014BookmarkType\022\013\n\007unknown\020\000\022\t" + + "\n\005model\020\001\022\014\n\010workflow\020\002\022\013\n\007dataset\020\003\022\n\n\006" + + "module\020\004\"\326\001\n\006Runner\022\n\n\002id\030\001 \001(\t\022\023\n\013descr" + + "iption\030\002 \001(\t\022.\n\ncreated_at\030\003 \001(\0132\032.googl" + + "e.protobuf.Timestamp\022/\n\013modified_at\030\004 \001(" + + "\0132\032.google.protobuf.Timestamp\022)\n\010metadat" + + "a\030\005 \001(\0132\027.google.protobuf.Struct\022\017\n\007user" + + "_id\030\006 \001(\t\022\016\n\006labels\030\007 \003(\t*^\n\024WorkflowMod" + + "elUseCase\022#\n\037WORKFLOW_MODEL_USE_CASE_NOT" + + "_SET\020\000\022\022\n\016CLASSIFICATION\020\001\022\r\n\tDETECTION\020" + + "\002*\371\001\n\036DatasetVersionMetricsGroupType\022.\n*" + + "DATASET_VERSION_METRICS_GROUP_TYPE_NOT_S" + + "ET\020\000\022\016\n\nINPUT_TYPE\020\002\022\016\n\nCONCEPT_ID\020\n\022\022\n\016" + + "CONCEPTS_COUNT\020\013\022\030\n\024BOUNDING_BOXES_COUNT" + + "\020\024\022\022\n\016POLYGONS_COUNT\020\025\022\020\n\014POINTS_COUNT\020\026" + + "\022\017\n\013MASKS_COUNT\020\027\022\020\n\014PIXELS_COUNT\020\036\022\020\n\014A" + + "SPECT_RATIO\020\037*\205\001\n\032DatasetVersionExportFo" + + "rmat\022)\n%DATASET_VERSION_EXPORT_FORMAT_NO" + + "T_SET\020\000\022\032\n\026CLARIFAI_DATA_PROTOBUF\020\001\022\026\n\022C" + + "LARIFAI_DATA_JSON\020\003\022\010\n\004COCO\020\002*H\n\020Expirat" + + "ionAction\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*P\n\010DataType\022\r\n\tUN" + + "DEFINED\020\000\022\n\n\006STRING\020\001\022\t\n\005UINT8\020\002\022\t\n\005INT3" + + "2\020\003\022\t\n\005INT64\020\004\022\010\n\004FP32\020\005*\217\001\n\017ValueCompar" + + "ator\022\035\n\031CONCEPT_THRESHOLD_NOT_SET\020\000\022\020\n\014G" + + "REATER_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\005EQUAL\020\005*\201\001\n\016EvaluationType\022\r\n\tUndefin" + + "ed\020\000\022\022\n\016Classification\020\001\022\r\n\tDetection\020\002\022" + + "\020\n\014Segmentation\020\003\022\016\n\nClustering\020\004\022\013\n\007Tra" + + "cker\020\005\022\016\n\nGeneration\020\006*f\n\014APIEventType\022\032" + + "\n\026API_EVENT_TYPE_NOT_SET\020\000\022\023\n\017ON_PREM_PR" + + "EDICT\020\001\022\021\n\rON_PREM_TRAIN\020\002\022\022\n\016ON_PREM_SE" + + "ARCH\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\022Annotati" + + "onDataType\022 \n\034ANNOTATION_DATA_TYPE_NOT_S" + + "ET\020\000\022\007\n\003TAG\020\001\022\020\n\014BOUNDING_BOX\020\002\022\013\n\007POLYG" + + "ON\020\004\022\t\n\005POINT\020\010\022\010\n\004SPAN\020\020\022\010\n\004MASK\020 *\035\n\010R" + + "oleType\022\010\n\004TEAM\020\000\022\007\n\003ORG\020\001*$\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\006*b\n\023ValidationErrorType\022!\n\035VALIDATION_" + + "ERROR_TYPE_NOT_SET\020\000\022\016\n\nRESTRICTED\020\001\022\014\n\010" + + "DATABASE\020\002\022\n\n\006FORMAT\020\003*[\n\031InputIDConflic" + + "tResolution\022(\n$INPUT_ID_CONFLICT_RESOLUT" + + "ION_NOT_SET\020\000\022\010\n\004SKIP\020\001\022\n\n\006SUFFIX\020\002BY\n\025c" + + "om.clarifai.grpc.apiP\001Z7github.com/Clari" + + "fai/clarifai-go-grpc/proto/clarifai/api\242" + + "\002\004CAIPb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -2809,7 +2817,7 @@ public static void registerAllExtensions( internal_static_clarifai_api_Task_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Task_descriptor, - new java.lang.String[] { "Id", "CreatedAt", "ModifiedAt", "Type", "Description", "Worker", "ConceptIds", "InputSource", "SampleMs", "AiAssistant", "Review", "Status", "Name", "AiAssistParams", "Visibility", "AppId", "UserId", "LabelOrderId", "Concepts", "DeletePreviousAnnotations", }); + new java.lang.String[] { "Id", "CreatedAt", "ModifiedAt", "Type", "Description", "Worker", "ConceptIds", "InputSource", "SampleMs", "AiAssistant", "Review", "Status", "Name", "AiAssistParams", "Visibility", "AppId", "UserId", "LabelOrderId", "Concepts", "DeletePreviousAnnotations", "Metrics", }); internal_static_clarifai_api_AiAssistParameters_descriptor = getDescriptor().getMessageTypes().get(133); internal_static_clarifai_api_AiAssistParameters_fieldAccessorTable = new @@ -2882,110 +2890,116 @@ public static void registerAllExtensions( com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_TaskConcept_descriptor, new java.lang.String[] { "Concept", "AutoAnnotationConfig", }); - internal_static_clarifai_api_Collector_descriptor = + internal_static_clarifai_api_TaskMetrics_descriptor = getDescriptor().getMessageTypes().get(145); + internal_static_clarifai_api_TaskMetrics_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_clarifai_api_TaskMetrics_descriptor, + new java.lang.String[] { "EstimatedLabeledInputsCount", }); + internal_static_clarifai_api_Collector_descriptor = + getDescriptor().getMessageTypes().get(146); internal_static_clarifai_api_Collector_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Collector_descriptor, new java.lang.String[] { "Id", "Description", "CreatedAt", "PreQueueWorkflowId", "PreQueueRandomSample", "PostQueueWorkflowId", "CollectorSource", "Status", "CollectOutputs", }); internal_static_clarifai_api_CollectorSource_descriptor = - getDescriptor().getMessageTypes().get(146); + getDescriptor().getMessageTypes().get(147); internal_static_clarifai_api_CollectorSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_CollectorSource_descriptor, new java.lang.String[] { "ApiPostModelOutputsCollectorSource", }); internal_static_clarifai_api_APIPostModelOutputsCollectorSource_descriptor = - getDescriptor().getMessageTypes().get(147); + getDescriptor().getMessageTypes().get(148); internal_static_clarifai_api_APIPostModelOutputsCollectorSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_APIPostModelOutputsCollectorSource_descriptor, new java.lang.String[] { "ModelUserId", "ModelAppId", "ModelId", "ModelVersionId", "PostInputsKeyId", "CallerUserId", }); internal_static_clarifai_api_StatValue_descriptor = - getDescriptor().getMessageTypes().get(148); + getDescriptor().getMessageTypes().get(149); internal_static_clarifai_api_StatValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_StatValue_descriptor, new java.lang.String[] { "Time", "Value", "Tags", }); internal_static_clarifai_api_StatValueAggregateResult_descriptor = - getDescriptor().getMessageTypes().get(149); + getDescriptor().getMessageTypes().get(150); internal_static_clarifai_api_StatValueAggregateResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_StatValueAggregateResult_descriptor, new java.lang.String[] { "StatValueAggregates", "StatValueAggregateQuery", }); internal_static_clarifai_api_StatValueAggregate_descriptor = - getDescriptor().getMessageTypes().get(150); + getDescriptor().getMessageTypes().get(151); internal_static_clarifai_api_StatValueAggregate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_StatValueAggregate_descriptor, new java.lang.String[] { "Time", "AggregateValue", "Count", "Tags", }); internal_static_clarifai_api_StatValueAggregateQuery_descriptor = - getDescriptor().getMessageTypes().get(151); + getDescriptor().getMessageTypes().get(152); internal_static_clarifai_api_StatValueAggregateQuery_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_StatValueAggregateQuery_descriptor, new java.lang.String[] { "Tags", "TagGroups", "StatValueAggType", "StatTimeAggType", "StartTime", "EndTime", }); internal_static_clarifai_api_PCAProjectionComparator_descriptor = - getDescriptor().getMessageTypes().get(152); + getDescriptor().getMessageTypes().get(153); internal_static_clarifai_api_PCAProjectionComparator_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_PCAProjectionComparator_descriptor, new java.lang.String[] { "DistanceThreshold", "ModelVersionId", }); internal_static_clarifai_api_DuplicateAnnotationsResults_descriptor = - getDescriptor().getMessageTypes().get(153); + getDescriptor().getMessageTypes().get(154); internal_static_clarifai_api_DuplicateAnnotationsResults_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DuplicateAnnotationsResults_descriptor, new java.lang.String[] { "DuplicateCfid", "UniqueCount", }); internal_static_clarifai_api_Visibility_descriptor = - getDescriptor().getMessageTypes().get(154); + getDescriptor().getMessageTypes().get(155); internal_static_clarifai_api_Visibility_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Visibility_descriptor, new java.lang.String[] { "Gettable", }); internal_static_clarifai_api_TrendingMetric_descriptor = - getDescriptor().getMessageTypes().get(155); + getDescriptor().getMessageTypes().get(156); internal_static_clarifai_api_TrendingMetric_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_TrendingMetric_descriptor, new java.lang.String[] { "UserId", "AppId", "ObjectId", "ViewCount", }); internal_static_clarifai_api_FullTag_descriptor = - getDescriptor().getMessageTypes().get(156); + getDescriptor().getMessageTypes().get(157); internal_static_clarifai_api_FullTag_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_FullTag_descriptor, new java.lang.String[] { "Name", "Id", }); internal_static_clarifai_api_TimeSegment_descriptor = - getDescriptor().getMessageTypes().get(157); + getDescriptor().getMessageTypes().get(158); internal_static_clarifai_api_TimeSegment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_TimeSegment_descriptor, new java.lang.String[] { "Id", "Data", "TimeInfo", }); internal_static_clarifai_api_TimeInfo_descriptor = - getDescriptor().getMessageTypes().get(158); + getDescriptor().getMessageTypes().get(159); internal_static_clarifai_api_TimeInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_TimeInfo_descriptor, new java.lang.String[] { "NumFrames", "BeginTime", "EndTime", }); internal_static_clarifai_api_DatasetStar_descriptor = - getDescriptor().getMessageTypes().get(159); + getDescriptor().getMessageTypes().get(160); internal_static_clarifai_api_DatasetStar_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DatasetStar_descriptor, new java.lang.String[] { "DatasetId", }); internal_static_clarifai_api_ModuleStar_descriptor = - getDescriptor().getMessageTypes().get(160); + getDescriptor().getMessageTypes().get(161); internal_static_clarifai_api_ModuleStar_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_ModuleStar_descriptor, new java.lang.String[] { "ModuleId", }); internal_static_clarifai_api_Module_descriptor = - getDescriptor().getMessageTypes().get(161); + getDescriptor().getMessageTypes().get(162); internal_static_clarifai_api_Module_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Module_descriptor, new java.lang.String[] { "Id", "Description", "CreatedAt", "ModifiedAt", "Visibility", "Metadata", "UserId", "AppId", "ModuleVersion", "IsStarred", "StarCount", "BookmarkOrigin", "Image", }); internal_static_clarifai_api_ModuleVersion_descriptor = - getDescriptor().getMessageTypes().get(162); + getDescriptor().getMessageTypes().get(163); internal_static_clarifai_api_ModuleVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_ModuleVersion_descriptor, @@ -3003,181 +3017,181 @@ public static void registerAllExtensions( internal_static_clarifai_api_ModuleVersion_ModuleNav_descriptor, new java.lang.String[] { "Title", "ModuleSubNavs", }); internal_static_clarifai_api_InstalledModuleVersion_descriptor = - getDescriptor().getMessageTypes().get(163); + getDescriptor().getMessageTypes().get(164); internal_static_clarifai_api_InstalledModuleVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InstalledModuleVersion_descriptor, new java.lang.String[] { "Id", "ModuleVersion", "AppId", "UserId", "CreatedAt", "ModifiedAt", "DeployUrl", "Visibility", "KeyId", }); internal_static_clarifai_api_BulkOperation_descriptor = - getDescriptor().getMessageTypes().get(164); + getDescriptor().getMessageTypes().get(165); internal_static_clarifai_api_BulkOperation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_BulkOperation_descriptor, new java.lang.String[] { "Id", "InputIds", "Search", "Dataset", "Operation", "AppId", "Status", "Progress", "CreatedBy", "CreatedAt", "LastModifiedAt", "InputSource", }); internal_static_clarifai_api_InputIDs_descriptor = - getDescriptor().getMessageTypes().get(165); + getDescriptor().getMessageTypes().get(166); internal_static_clarifai_api_InputIDs_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InputIDs_descriptor, new java.lang.String[] { "InputIds", }); internal_static_clarifai_api_Progress_descriptor = - getDescriptor().getMessageTypes().get(166); + getDescriptor().getMessageTypes().get(167); internal_static_clarifai_api_Progress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Progress_descriptor, new java.lang.String[] { "Processed", "LastProcessedId", }); internal_static_clarifai_api_Operation_descriptor = - getDescriptor().getMessageTypes().get(167); + getDescriptor().getMessageTypes().get(168); internal_static_clarifai_api_Operation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Operation_descriptor, new java.lang.String[] { "AddConcepts", "DeleteConcepts", "AddMetadata", "DeleteMetadata", "OverwriteGeo", "DeleteGeo", "DeleteFromDataset", "AddToDataset", "SplitIntoDatasets", "Operation", }); internal_static_clarifai_api_AddConcepts_descriptor = - getDescriptor().getMessageTypes().get(168); + getDescriptor().getMessageTypes().get(169); internal_static_clarifai_api_AddConcepts_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_AddConcepts_descriptor, new java.lang.String[] { "Concepts", }); internal_static_clarifai_api_DeleteConcepts_descriptor = - getDescriptor().getMessageTypes().get(169); + getDescriptor().getMessageTypes().get(170); internal_static_clarifai_api_DeleteConcepts_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DeleteConcepts_descriptor, new java.lang.String[] { "Concepts", "UserIds", }); internal_static_clarifai_api_AddMetadata_descriptor = - getDescriptor().getMessageTypes().get(170); + getDescriptor().getMessageTypes().get(171); internal_static_clarifai_api_AddMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_AddMetadata_descriptor, new java.lang.String[] { "Metadata", }); internal_static_clarifai_api_DeleteMetadata_descriptor = - getDescriptor().getMessageTypes().get(171); + getDescriptor().getMessageTypes().get(172); internal_static_clarifai_api_DeleteMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DeleteMetadata_descriptor, new java.lang.String[] { "Metadata", }); internal_static_clarifai_api_OverwriteGeo_descriptor = - getDescriptor().getMessageTypes().get(172); + getDescriptor().getMessageTypes().get(173); internal_static_clarifai_api_OverwriteGeo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_OverwriteGeo_descriptor, new java.lang.String[] { "Geo", }); internal_static_clarifai_api_DeleteGeo_descriptor = - getDescriptor().getMessageTypes().get(173); + getDescriptor().getMessageTypes().get(174); internal_static_clarifai_api_DeleteGeo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DeleteGeo_descriptor, new java.lang.String[] { }); internal_static_clarifai_api_AddToDataset_descriptor = - getDescriptor().getMessageTypes().get(174); + getDescriptor().getMessageTypes().get(175); internal_static_clarifai_api_AddToDataset_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_AddToDataset_descriptor, new java.lang.String[] { "DatasetId", }); internal_static_clarifai_api_DeleteFromDataset_descriptor = - getDescriptor().getMessageTypes().get(175); + getDescriptor().getMessageTypes().get(176); internal_static_clarifai_api_DeleteFromDataset_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DeleteFromDataset_descriptor, new java.lang.String[] { "DatasetId", }); internal_static_clarifai_api_SplitIntoDatasets_descriptor = - getDescriptor().getMessageTypes().get(176); + getDescriptor().getMessageTypes().get(177); internal_static_clarifai_api_SplitIntoDatasets_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_SplitIntoDatasets_descriptor, new java.lang.String[] { "DatasetSplits", "Method", }); internal_static_clarifai_api_DatasetSplit_descriptor = - getDescriptor().getMessageTypes().get(177); + getDescriptor().getMessageTypes().get(178); internal_static_clarifai_api_DatasetSplit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DatasetSplit_descriptor, new java.lang.String[] { "Dataset", "Percentage", "MethodInfo", }); internal_static_clarifai_api_InputsAddJob_descriptor = - getDescriptor().getMessageTypes().get(178); + getDescriptor().getMessageTypes().get(179); internal_static_clarifai_api_InputsAddJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InputsAddJob_descriptor, new java.lang.String[] { "Id", "CallBackUrl", "AppPat", "Progress", "CreatedAt", "ModifiedAt", "ExtractionJobs", "Uploads", "Status", }); internal_static_clarifai_api_InputsAddJobProgress_descriptor = - getDescriptor().getMessageTypes().get(179); + getDescriptor().getMessageTypes().get(180); internal_static_clarifai_api_InputsAddJobProgress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InputsAddJobProgress_descriptor, new java.lang.String[] { "PendingCount", "InProgressCount", "SuccessCount", "FailedCount", }); internal_static_clarifai_api_Upload_descriptor = - getDescriptor().getMessageTypes().get(180); + getDescriptor().getMessageTypes().get(181); internal_static_clarifai_api_Upload_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Upload_descriptor, new java.lang.String[] { "Id", "CreatedAt", "ModifiedAt", "ExpiresAt", "Status", "ContentName", "ContentLength", "ContentUrl", }); internal_static_clarifai_api_UploadContentPart_descriptor = - getDescriptor().getMessageTypes().get(181); + getDescriptor().getMessageTypes().get(182); internal_static_clarifai_api_UploadContentPart_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_UploadContentPart_descriptor, new java.lang.String[] { "RangeStart", "PartNumber", "Data", }); internal_static_clarifai_api_CustomCodeOperatorRequest_descriptor = - getDescriptor().getMessageTypes().get(182); + getDescriptor().getMessageTypes().get(183); internal_static_clarifai_api_CustomCodeOperatorRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_CustomCodeOperatorRequest_descriptor, new java.lang.String[] { "Inputs", "Metadata", }); internal_static_clarifai_api_InputsExtractionJob_descriptor = - getDescriptor().getMessageTypes().get(183); + getDescriptor().getMessageTypes().get(184); internal_static_clarifai_api_InputsExtractionJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InputsExtractionJob_descriptor, new java.lang.String[] { "Status", "Id", "Url", "Progress", "CreatedAt", "ModifiedAt", "InputIdConflictResolution", "InputTemplate", }); internal_static_clarifai_api_InputsExtractionJobProgress_descriptor = - getDescriptor().getMessageTypes().get(184); + getDescriptor().getMessageTypes().get(185); internal_static_clarifai_api_InputsExtractionJobProgress_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InputsExtractionJobProgress_descriptor, new java.lang.String[] { "AudioInputsCount", "ImageInputsCount", "VideoInputsCount", "TextInputsCount", "PendingArchivesCount", "InProgressArchivesCount", "CompletedArchivesCount", "FailedArchivesCount", }); internal_static_clarifai_api_InputsDataSource_descriptor = - getDescriptor().getMessageTypes().get(185); + getDescriptor().getMessageTypes().get(186); internal_static_clarifai_api_InputsDataSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InputsDataSource_descriptor, new java.lang.String[] { "InputsAddJobId", "Url", "InputIdConflictResolution", "InputTemplate", }); internal_static_clarifai_api_DataSourceURL_descriptor = - getDescriptor().getMessageTypes().get(186); + getDescriptor().getMessageTypes().get(187); internal_static_clarifai_api_DataSourceURL_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DataSourceURL_descriptor, new java.lang.String[] { "Url", "Credentials", }); internal_static_clarifai_api_DataSourceCredentials_descriptor = - getDescriptor().getMessageTypes().get(187); + getDescriptor().getMessageTypes().get(188); internal_static_clarifai_api_DataSourceCredentials_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_DataSourceCredentials_descriptor, new java.lang.String[] { "S3Creds", "GcpCreds", "AzureBlobCreds", "Credentials", }); internal_static_clarifai_api_AWSCreds_descriptor = - getDescriptor().getMessageTypes().get(188); + getDescriptor().getMessageTypes().get(189); internal_static_clarifai_api_AWSCreds_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_AWSCreds_descriptor, new java.lang.String[] { "Region", "Id", "Secret", "Token", }); internal_static_clarifai_api_AzureBlobCreds_descriptor = - getDescriptor().getMessageTypes().get(189); + getDescriptor().getMessageTypes().get(190); internal_static_clarifai_api_AzureBlobCreds_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_AzureBlobCreds_descriptor, new java.lang.String[] { "AccountName", "AccountKey", }); internal_static_clarifai_api_InputsUpload_descriptor = - getDescriptor().getMessageTypes().get(190); + getDescriptor().getMessageTypes().get(191); internal_static_clarifai_api_InputsUpload_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_InputsUpload_descriptor, new java.lang.String[] { "InputsAddJobId", "AppPat", "Upload", "InputIdConflictResolution", "InputTemplate", }); internal_static_clarifai_api_BookmarkOrigin_descriptor = - getDescriptor().getMessageTypes().get(191); + getDescriptor().getMessageTypes().get(192); internal_static_clarifai_api_BookmarkOrigin_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_BookmarkOrigin_descriptor, new java.lang.String[] { "Id", "AppId", "UserId", "ResourceType", }); internal_static_clarifai_api_Runner_descriptor = - getDescriptor().getMessageTypes().get(192); + getDescriptor().getMessageTypes().get(193); internal_static_clarifai_api_Runner_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_Runner_descriptor, diff --git a/src/main/java/com/clarifai/grpc/api/Task.java b/src/main/java/com/clarifai/grpc/api/Task.java index 2bb1a28..55c18c1 100644 --- a/src/main/java/com/clarifai/grpc/api/Task.java +++ b/src/main/java/com/clarifai/grpc/api/Task.java @@ -249,6 +249,19 @@ private Task( deletePreviousAnnotations_ = input.readBool(); break; } + case 170: { + com.clarifai.grpc.api.TaskMetrics.Builder subBuilder = null; + if (metrics_ != null) { + subBuilder = metrics_.toBuilder(); + } + metrics_ = input.readMessage(com.clarifai.grpc.api.TaskMetrics.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(metrics_); + metrics_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -694,7 +707,7 @@ public com.clarifai.grpc.api.TaskWorkerOrBuilder getWorkerOrBuilder() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @return A list containing the conceptIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -709,7 +722,7 @@ public com.clarifai.grpc.api.TaskWorkerOrBuilder getWorkerOrBuilder() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @return The count of conceptIds. */ @java.lang.Deprecated public int getConceptIdsCount() { @@ -723,7 +736,7 @@ public com.clarifai.grpc.api.TaskWorkerOrBuilder getWorkerOrBuilder() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param index The index of the element to return. * @return The conceptIds at the given index. */ @@ -738,7 +751,7 @@ public com.clarifai.grpc.api.TaskWorkerOrBuilder getWorkerOrBuilder() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param index The index of the value to return. * @return The bytes of the conceptIds at the given index. */ @@ -1244,6 +1257,44 @@ public boolean getDeletePreviousAnnotations() { return deletePreviousAnnotations_; } + public static final int METRICS_FIELD_NUMBER = 21; + private com.clarifai.grpc.api.TaskMetrics metrics_; + /** + *
+   * Tasks metrics are filled in upon user-request.
+   * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + * @return Whether the metrics field is set. + */ + @java.lang.Override + public boolean hasMetrics() { + return metrics_ != null; + } + /** + *
+   * Tasks metrics are filled in upon user-request.
+   * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + * @return The metrics. + */ + @java.lang.Override + public com.clarifai.grpc.api.TaskMetrics getMetrics() { + return metrics_ == null ? com.clarifai.grpc.api.TaskMetrics.getDefaultInstance() : metrics_; + } + /** + *
+   * Tasks metrics are filled in upon user-request.
+   * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + @java.lang.Override + public com.clarifai.grpc.api.TaskMetricsOrBuilder getMetricsOrBuilder() { + return getMetrics(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -1318,6 +1369,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (deletePreviousAnnotations_ != false) { output.writeBool(20, deletePreviousAnnotations_); } + if (metrics_ != null) { + output.writeMessage(21, getMetrics()); + } unknownFields.writeTo(output); } @@ -1405,6 +1459,10 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeBoolSize(20, deletePreviousAnnotations_); } + if (metrics_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(21, getMetrics()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -1486,6 +1544,11 @@ public boolean equals(final java.lang.Object obj) { .equals(other.getConceptsList())) return false; if (getDeletePreviousAnnotations() != other.getDeletePreviousAnnotations()) return false; + if (hasMetrics() != other.hasMetrics()) return false; + if (hasMetrics()) { + if (!getMetrics() + .equals(other.getMetrics())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1560,6 +1623,10 @@ public int hashCode() { hash = (37 * hash) + DELETE_PREVIOUS_ANNOTATIONS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDeletePreviousAnnotations()); + if (hasMetrics()) { + hash = (37 * hash) + METRICS_FIELD_NUMBER; + hash = (53 * hash) + getMetrics().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -1778,6 +1845,12 @@ public Builder clear() { } deletePreviousAnnotations_ = false; + if (metricsBuilder_ == null) { + metrics_ = null; + } else { + metrics_ = null; + metricsBuilder_ = null; + } return this; } @@ -1873,6 +1946,11 @@ public com.clarifai.grpc.api.Task buildPartial() { result.concepts_ = conceptsBuilder_.build(); } result.deletePreviousAnnotations_ = deletePreviousAnnotations_; + if (metricsBuilder_ == null) { + result.metrics_ = metrics_; + } else { + result.metrics_ = metricsBuilder_.build(); + } onBuilt(); return result; } @@ -2017,6 +2095,9 @@ public Builder mergeFrom(com.clarifai.grpc.api.Task other) { if (other.getDeletePreviousAnnotations() != false) { setDeletePreviousAnnotations(other.getDeletePreviousAnnotations()); } + if (other.hasMetrics()) { + mergeMetrics(other.getMetrics()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2829,7 +2910,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @return A list containing the conceptIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -2844,7 +2925,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @return The count of conceptIds. */ @java.lang.Deprecated public int getConceptIdsCount() { @@ -2858,7 +2939,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param index The index of the element to return. * @return The conceptIds at the given index. */ @@ -2873,7 +2954,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param index The index of the value to return. * @return The bytes of the conceptIds at the given index. */ @@ -2889,7 +2970,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param index The index to set the value at. * @param value The conceptIds to set. * @return This builder for chaining. @@ -2912,7 +2993,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param value The conceptIds to add. * @return This builder for chaining. */ @@ -2934,7 +3015,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param values The conceptIds to add. * @return This builder for chaining. */ @@ -2954,7 +3035,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearConceptIds() { @@ -2971,7 +3052,7 @@ private void ensureConceptIdsIsMutable() { * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param value The bytes of the conceptIds to add. * @return This builder for chaining. */ @@ -4683,6 +4764,161 @@ public Builder clearDeletePreviousAnnotations() { onChanged(); return this; } + + private com.clarifai.grpc.api.TaskMetrics metrics_; + private com.google.protobuf.SingleFieldBuilderV3< + com.clarifai.grpc.api.TaskMetrics, com.clarifai.grpc.api.TaskMetrics.Builder, com.clarifai.grpc.api.TaskMetricsOrBuilder> metricsBuilder_; + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + * @return Whether the metrics field is set. + */ + public boolean hasMetrics() { + return metricsBuilder_ != null || metrics_ != null; + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + * @return The metrics. + */ + public com.clarifai.grpc.api.TaskMetrics getMetrics() { + if (metricsBuilder_ == null) { + return metrics_ == null ? com.clarifai.grpc.api.TaskMetrics.getDefaultInstance() : metrics_; + } else { + return metricsBuilder_.getMessage(); + } + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + public Builder setMetrics(com.clarifai.grpc.api.TaskMetrics value) { + if (metricsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + metrics_ = value; + onChanged(); + } else { + metricsBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + public Builder setMetrics( + com.clarifai.grpc.api.TaskMetrics.Builder builderForValue) { + if (metricsBuilder_ == null) { + metrics_ = builderForValue.build(); + onChanged(); + } else { + metricsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + public Builder mergeMetrics(com.clarifai.grpc.api.TaskMetrics value) { + if (metricsBuilder_ == null) { + if (metrics_ != null) { + metrics_ = + com.clarifai.grpc.api.TaskMetrics.newBuilder(metrics_).mergeFrom(value).buildPartial(); + } else { + metrics_ = value; + } + onChanged(); + } else { + metricsBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + public Builder clearMetrics() { + if (metricsBuilder_ == null) { + metrics_ = null; + onChanged(); + } else { + metrics_ = null; + metricsBuilder_ = null; + } + + return this; + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + public com.clarifai.grpc.api.TaskMetrics.Builder getMetricsBuilder() { + + onChanged(); + return getMetricsFieldBuilder().getBuilder(); + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + public com.clarifai.grpc.api.TaskMetricsOrBuilder getMetricsOrBuilder() { + if (metricsBuilder_ != null) { + return metricsBuilder_.getMessageOrBuilder(); + } else { + return metrics_ == null ? + com.clarifai.grpc.api.TaskMetrics.getDefaultInstance() : metrics_; + } + } + /** + *
+     * Tasks metrics are filled in upon user-request.
+     * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.clarifai.grpc.api.TaskMetrics, com.clarifai.grpc.api.TaskMetrics.Builder, com.clarifai.grpc.api.TaskMetricsOrBuilder> + getMetricsFieldBuilder() { + if (metricsBuilder_ == null) { + metricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.clarifai.grpc.api.TaskMetrics, com.clarifai.grpc.api.TaskMetrics.Builder, com.clarifai.grpc.api.TaskMetricsOrBuilder>( + getMetrics(), + getParentForChildren(), + isClean()); + metrics_ = null; + } + return metricsBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfig.java b/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfig.java index e1b74cb..238e84e 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfig.java +++ b/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfig.java @@ -111,8 +111,10 @@ private TaskConceptAutoAnnotationConfig( private int annotationDataTypes_; /** *
-   * Filter anontations by their annotation data type.
-   * This specifies types in an OR fashion, e.g. a `dog` concept that appears as a mask or a bbox.
+   * Filter annotations by their annotation data type.
+   * This is a bit-mask field that holds multiple AnnotationDataType values that are combined in an OR fashion.
+   * Example: if annotation_data_types = 34, then we filter annotations that appear as a mask or a bounding box,
+   * because MASK = 32 and BOUNDING_BOX = 2.
    * 
* * uint32 annotation_data_types = 1; @@ -542,8 +544,10 @@ public Builder mergeFrom( private int annotationDataTypes_ ; /** *
-     * Filter anontations by their annotation data type.
-     * This specifies types in an OR fashion, e.g. a `dog` concept that appears as a mask or a bbox.
+     * Filter annotations by their annotation data type.
+     * This is a bit-mask field that holds multiple AnnotationDataType values that are combined in an OR fashion.
+     * Example: if annotation_data_types = 34, then we filter annotations that appear as a mask or a bounding box,
+     * because MASK = 32 and BOUNDING_BOX = 2.
      * 
* * uint32 annotation_data_types = 1; @@ -555,8 +559,10 @@ public int getAnnotationDataTypes() { } /** *
-     * Filter anontations by their annotation data type.
-     * This specifies types in an OR fashion, e.g. a `dog` concept that appears as a mask or a bbox.
+     * Filter annotations by their annotation data type.
+     * This is a bit-mask field that holds multiple AnnotationDataType values that are combined in an OR fashion.
+     * Example: if annotation_data_types = 34, then we filter annotations that appear as a mask or a bounding box,
+     * because MASK = 32 and BOUNDING_BOX = 2.
      * 
* * uint32 annotation_data_types = 1; @@ -571,8 +577,10 @@ public Builder setAnnotationDataTypes(int value) { } /** *
-     * Filter anontations by their annotation data type.
-     * This specifies types in an OR fashion, e.g. a `dog` concept that appears as a mask or a bbox.
+     * Filter annotations by their annotation data type.
+     * This is a bit-mask field that holds multiple AnnotationDataType values that are combined in an OR fashion.
+     * Example: if annotation_data_types = 34, then we filter annotations that appear as a mask or a bounding box,
+     * because MASK = 32 and BOUNDING_BOX = 2.
      * 
* * uint32 annotation_data_types = 1; diff --git a/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfigOrBuilder.java b/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfigOrBuilder.java index 539bb59..02ec9c7 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfigOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/TaskConceptAutoAnnotationConfigOrBuilder.java @@ -9,8 +9,10 @@ public interface TaskConceptAutoAnnotationConfigOrBuilder extends /** *
-   * Filter anontations by their annotation data type.
-   * This specifies types in an OR fashion, e.g. a `dog` concept that appears as a mask or a bbox.
+   * Filter annotations by their annotation data type.
+   * This is a bit-mask field that holds multiple AnnotationDataType values that are combined in an OR fashion.
+   * Example: if annotation_data_types = 34, then we filter annotations that appear as a mask or a bounding box,
+   * because MASK = 32 and BOUNDING_BOX = 2.
    * 
* * uint32 annotation_data_types = 1; diff --git a/src/main/java/com/clarifai/grpc/api/TaskMetrics.java b/src/main/java/com/clarifai/grpc/api/TaskMetrics.java new file mode 100644 index 0000000..8ca8856 --- /dev/null +++ b/src/main/java/com/clarifai/grpc/api/TaskMetrics.java @@ -0,0 +1,486 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto/clarifai/api/resources.proto + +package com.clarifai.grpc.api; + +/** + * Protobuf type {@code clarifai.api.TaskMetrics} + */ +public final class TaskMetrics extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:clarifai.api.TaskMetrics) + TaskMetricsOrBuilder { +private static final long serialVersionUID = 0L; + // Use TaskMetrics.newBuilder() to construct. + private TaskMetrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private TaskMetrics() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new TaskMetrics(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private TaskMetrics( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + + estimatedLabeledInputsCount_ = input.readUInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_TaskMetrics_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_TaskMetrics_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.clarifai.grpc.api.TaskMetrics.class, com.clarifai.grpc.api.TaskMetrics.Builder.class); + } + + public static final int ESTIMATED_LABELED_INPUTS_COUNT_FIELD_NUMBER = 1; + private long estimatedLabeledInputsCount_; + /** + * uint64 estimated_labeled_inputs_count = 1; + * @return The estimatedLabeledInputsCount. + */ + @java.lang.Override + public long getEstimatedLabeledInputsCount() { + return estimatedLabeledInputsCount_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (estimatedLabeledInputsCount_ != 0L) { + output.writeUInt64(1, estimatedLabeledInputsCount_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (estimatedLabeledInputsCount_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeUInt64Size(1, estimatedLabeledInputsCount_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.clarifai.grpc.api.TaskMetrics)) { + return super.equals(obj); + } + com.clarifai.grpc.api.TaskMetrics other = (com.clarifai.grpc.api.TaskMetrics) obj; + + if (getEstimatedLabeledInputsCount() + != other.getEstimatedLabeledInputsCount()) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ESTIMATED_LABELED_INPUTS_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEstimatedLabeledInputsCount()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static com.clarifai.grpc.api.TaskMetrics parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.clarifai.grpc.api.TaskMetrics parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.clarifai.grpc.api.TaskMetrics parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.clarifai.grpc.api.TaskMetrics prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code clarifai.api.TaskMetrics} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:clarifai.api.TaskMetrics) + com.clarifai.grpc.api.TaskMetricsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_TaskMetrics_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_TaskMetrics_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.clarifai.grpc.api.TaskMetrics.class, com.clarifai.grpc.api.TaskMetrics.Builder.class); + } + + // Construct using com.clarifai.grpc.api.TaskMetrics.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + estimatedLabeledInputsCount_ = 0L; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.clarifai.grpc.api.Resources.internal_static_clarifai_api_TaskMetrics_descriptor; + } + + @java.lang.Override + public com.clarifai.grpc.api.TaskMetrics getDefaultInstanceForType() { + return com.clarifai.grpc.api.TaskMetrics.getDefaultInstance(); + } + + @java.lang.Override + public com.clarifai.grpc.api.TaskMetrics build() { + com.clarifai.grpc.api.TaskMetrics result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.clarifai.grpc.api.TaskMetrics buildPartial() { + com.clarifai.grpc.api.TaskMetrics result = new com.clarifai.grpc.api.TaskMetrics(this); + result.estimatedLabeledInputsCount_ = estimatedLabeledInputsCount_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.clarifai.grpc.api.TaskMetrics) { + return mergeFrom((com.clarifai.grpc.api.TaskMetrics)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.clarifai.grpc.api.TaskMetrics other) { + if (other == com.clarifai.grpc.api.TaskMetrics.getDefaultInstance()) return this; + if (other.getEstimatedLabeledInputsCount() != 0L) { + setEstimatedLabeledInputsCount(other.getEstimatedLabeledInputsCount()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.clarifai.grpc.api.TaskMetrics parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.clarifai.grpc.api.TaskMetrics) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private long estimatedLabeledInputsCount_ ; + /** + * uint64 estimated_labeled_inputs_count = 1; + * @return The estimatedLabeledInputsCount. + */ + @java.lang.Override + public long getEstimatedLabeledInputsCount() { + return estimatedLabeledInputsCount_; + } + /** + * uint64 estimated_labeled_inputs_count = 1; + * @param value The estimatedLabeledInputsCount to set. + * @return This builder for chaining. + */ + public Builder setEstimatedLabeledInputsCount(long value) { + + estimatedLabeledInputsCount_ = value; + onChanged(); + return this; + } + /** + * uint64 estimated_labeled_inputs_count = 1; + * @return This builder for chaining. + */ + public Builder clearEstimatedLabeledInputsCount() { + + estimatedLabeledInputsCount_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:clarifai.api.TaskMetrics) + } + + // @@protoc_insertion_point(class_scope:clarifai.api.TaskMetrics) + private static final com.clarifai.grpc.api.TaskMetrics DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.clarifai.grpc.api.TaskMetrics(); + } + + public static com.clarifai.grpc.api.TaskMetrics getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TaskMetrics parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TaskMetrics(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.clarifai.grpc.api.TaskMetrics getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/src/main/java/com/clarifai/grpc/api/TaskMetricsOrBuilder.java b/src/main/java/com/clarifai/grpc/api/TaskMetricsOrBuilder.java new file mode 100644 index 0000000..0d49da1 --- /dev/null +++ b/src/main/java/com/clarifai/grpc/api/TaskMetricsOrBuilder.java @@ -0,0 +1,15 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: proto/clarifai/api/resources.proto + +package com.clarifai.grpc.api; + +public interface TaskMetricsOrBuilder extends + // @@protoc_insertion_point(interface_extends:clarifai.api.TaskMetrics) + com.google.protobuf.MessageOrBuilder { + + /** + * uint64 estimated_labeled_inputs_count = 1; + * @return The estimatedLabeledInputsCount. + */ + long getEstimatedLabeledInputsCount(); +} diff --git a/src/main/java/com/clarifai/grpc/api/TaskOrBuilder.java b/src/main/java/com/clarifai/grpc/api/TaskOrBuilder.java index 013b3e3..533cb56 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/TaskOrBuilder.java @@ -167,7 +167,7 @@ public interface TaskOrBuilder extends * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @return A list containing the conceptIds. */ @java.lang.Deprecated java.util.List @@ -180,7 +180,7 @@ public interface TaskOrBuilder extends * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @return The count of conceptIds. */ @java.lang.Deprecated int getConceptIdsCount(); @@ -192,7 +192,7 @@ public interface TaskOrBuilder extends * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param index The index of the element to return. * @return The conceptIds at the given index. */ @@ -205,7 +205,7 @@ public interface TaskOrBuilder extends * * repeated string concept_ids = 7 [deprecated = true]; * @deprecated clarifai.api.Task.concept_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3003 + * See proto/clarifai/api/resources.proto;l=3004 * @param index The index of the value to return. * @return The bytes of the conceptIds at the given index. */ @@ -512,4 +512,31 @@ com.clarifai.grpc.api.TaskConceptOrBuilder getConceptsOrBuilder( * @return The deletePreviousAnnotations. */ boolean getDeletePreviousAnnotations(); + + /** + *
+   * Tasks metrics are filled in upon user-request.
+   * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + * @return Whether the metrics field is set. + */ + boolean hasMetrics(); + /** + *
+   * Tasks metrics are filled in upon user-request.
+   * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + * @return The metrics. + */ + com.clarifai.grpc.api.TaskMetrics getMetrics(); + /** + *
+   * Tasks metrics are filled in upon user-request.
+   * 
+ * + * .clarifai.api.TaskMetrics metrics = 21; + */ + com.clarifai.grpc.api.TaskMetricsOrBuilder getMetricsOrBuilder(); } diff --git a/src/main/java/com/clarifai/grpc/api/TaskReview.java b/src/main/java/com/clarifai/grpc/api/TaskReview.java index b4cdf66..222a5b6 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskReview.java +++ b/src/main/java/com/clarifai/grpc/api/TaskReview.java @@ -376,7 +376,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @return A list containing the userIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -391,7 +391,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @return The count of userIds. */ @java.lang.Deprecated public int getUserIdsCount() { @@ -405,7 +405,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param index The index of the element to return. * @return The userIds at the given index. */ @@ -420,7 +420,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param index The index of the value to return. * @return The bytes of the userIds at the given index. */ @@ -1130,7 +1130,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @return A list containing the userIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -1145,7 +1145,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @return The count of userIds. */ @java.lang.Deprecated public int getUserIdsCount() { @@ -1159,7 +1159,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param index The index of the element to return. * @return The userIds at the given index. */ @@ -1174,7 +1174,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param index The index of the value to return. * @return The bytes of the userIds at the given index. */ @@ -1190,7 +1190,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param index The index to set the value at. * @param value The userIds to set. * @return This builder for chaining. @@ -1213,7 +1213,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param value The userIds to add. * @return This builder for chaining. */ @@ -1235,7 +1235,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param values The userIds to add. * @return This builder for chaining. */ @@ -1255,7 +1255,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearUserIds() { @@ -1272,7 +1272,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param value The bytes of the userIds to add. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/TaskReviewOrBuilder.java b/src/main/java/com/clarifai/grpc/api/TaskReviewOrBuilder.java index 0c5bf1b..cceea2c 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskReviewOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/TaskReviewOrBuilder.java @@ -34,7 +34,7 @@ public interface TaskReviewOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @return A list containing the userIds. */ @java.lang.Deprecated java.util.List @@ -47,7 +47,7 @@ public interface TaskReviewOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @return The count of userIds. */ @java.lang.Deprecated int getUserIdsCount(); @@ -59,7 +59,7 @@ public interface TaskReviewOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param index The index of the element to return. * @return The userIds at the given index. */ @@ -72,7 +72,7 @@ public interface TaskReviewOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskReview.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3174 + * See proto/clarifai/api/resources.proto;l=3178 * @param index The index of the value to return. * @return The bytes of the userIds at the given index. */ diff --git a/src/main/java/com/clarifai/grpc/api/TaskWorker.java b/src/main/java/com/clarifai/grpc/api/TaskWorker.java index 5bbe50f..7a82f48 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskWorker.java +++ b/src/main/java/com/clarifai/grpc/api/TaskWorker.java @@ -371,7 +371,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @return A list containing the userIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -386,7 +386,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @return The count of userIds. */ @java.lang.Deprecated public int getUserIdsCount() { @@ -400,7 +400,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param index The index of the element to return. * @return The userIds at the given index. */ @@ -415,7 +415,7 @@ public int getNumber() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param index The index of the value to return. * @return The bytes of the userIds at the given index. */ @@ -1298,7 +1298,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @return A list containing the userIds. */ @java.lang.Deprecated public com.google.protobuf.ProtocolStringList @@ -1313,7 +1313,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @return The count of userIds. */ @java.lang.Deprecated public int getUserIdsCount() { @@ -1327,7 +1327,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param index The index of the element to return. * @return The userIds at the given index. */ @@ -1342,7 +1342,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param index The index of the value to return. * @return The bytes of the userIds at the given index. */ @@ -1358,7 +1358,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param index The index to set the value at. * @param value The userIds to set. * @return This builder for chaining. @@ -1381,7 +1381,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param value The userIds to add. * @return This builder for chaining. */ @@ -1403,7 +1403,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param values The userIds to add. * @return This builder for chaining. */ @@ -1423,7 +1423,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearUserIds() { @@ -1440,7 +1440,7 @@ private void ensureUserIdsIsMutable() { * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param value The bytes of the userIds to add. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/TaskWorkerOrBuilder.java b/src/main/java/com/clarifai/grpc/api/TaskWorkerOrBuilder.java index baf2836..ed05b20 100644 --- a/src/main/java/com/clarifai/grpc/api/TaskWorkerOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/TaskWorkerOrBuilder.java @@ -34,7 +34,7 @@ public interface TaskWorkerOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @return A list containing the userIds. */ @java.lang.Deprecated java.util.List @@ -47,7 +47,7 @@ public interface TaskWorkerOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @return The count of userIds. */ @java.lang.Deprecated int getUserIdsCount(); @@ -59,7 +59,7 @@ public interface TaskWorkerOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param index The index of the element to return. * @return The userIds at the given index. */ @@ -72,7 +72,7 @@ public interface TaskWorkerOrBuilder extends * * repeated string user_ids = 2 [deprecated = true]; * @deprecated clarifai.api.TaskWorker.user_ids is deprecated. - * See proto/clarifai/api/resources.proto;l=3073 + * See proto/clarifai/api/resources.proto;l=3077 * @param index The index of the value to return. * @return The bytes of the userIds at the given index. */ diff --git a/src/main/java/com/clarifai/grpc/api/User.java b/src/main/java/com/clarifai/grpc/api/User.java index 713f550..b5e0fc7 100644 --- a/src/main/java/com/clarifai/grpc/api/User.java +++ b/src/main/java/com/clarifai/grpc/api/User.java @@ -330,7 +330,7 @@ public java.lang.String getId() { /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @return The primaryEmail. */ @java.lang.Override @@ -349,7 +349,7 @@ public java.lang.String getId() { /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @return The bytes for primaryEmail. */ @java.lang.Override @@ -608,7 +608,7 @@ public java.lang.String getIntention() { /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @return The billType. */ @java.lang.Override @@ -627,7 +627,7 @@ public java.lang.String getIntention() { /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @return The bytes for billType. */ @java.lang.Override @@ -700,7 +700,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true]; * @deprecated clarifai.api.User.date_gdpr_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2542 + * See proto/clarifai/api/resources.proto;l=2543 * @return Whether the dateGdprConsent field is set. */ @java.lang.Override @@ -710,7 +710,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true]; * @deprecated clarifai.api.User.date_gdpr_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2542 + * See proto/clarifai/api/resources.proto;l=2543 * @return The dateGdprConsent. */ @java.lang.Override @@ -730,7 +730,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true]; * @deprecated clarifai.api.User.date_tos_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2543 + * See proto/clarifai/api/resources.proto;l=2544 * @return Whether the dateTosConsent field is set. */ @java.lang.Override @@ -740,7 +740,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true]; * @deprecated clarifai.api.User.date_tos_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2543 + * See proto/clarifai/api/resources.proto;l=2544 * @return The dateTosConsent. */ @java.lang.Override @@ -760,7 +760,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true]; * @deprecated clarifai.api.User.date_marketing_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2544 + * See proto/clarifai/api/resources.proto;l=2545 * @return Whether the dateMarketingConsent field is set. */ @java.lang.Override @@ -770,7 +770,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true]; * @deprecated clarifai.api.User.date_marketing_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2544 + * See proto/clarifai/api/resources.proto;l=2545 * @return The dateMarketingConsent. */ @java.lang.Override @@ -790,7 +790,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true]; * @deprecated clarifai.api.User.date_pii_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2545 + * See proto/clarifai/api/resources.proto;l=2546 * @return Whether the datePiiConsent field is set. */ @java.lang.Override @@ -800,7 +800,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true]; * @deprecated clarifai.api.User.date_pii_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2545 + * See proto/clarifai/api/resources.proto;l=2546 * @return The datePiiConsent. */ @java.lang.Override @@ -825,7 +825,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { * * .google.protobuf.Struct metadata = 11 [deprecated = true]; * @deprecated clarifai.api.User.metadata is deprecated. - * See proto/clarifai/api/resources.proto;l=2549 + * See proto/clarifai/api/resources.proto;l=2550 * @return Whether the metadata field is set. */ @java.lang.Override @@ -840,7 +840,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { * * .google.protobuf.Struct metadata = 11 [deprecated = true]; * @deprecated clarifai.api.User.metadata is deprecated. - * See proto/clarifai/api/resources.proto;l=2549 + * See proto/clarifai/api/resources.proto;l=2550 * @return The metadata. */ @java.lang.Override @@ -905,7 +905,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * bool two_factor_auth_enabled = 15 [deprecated = true]; * @deprecated clarifai.api.User.two_factor_auth_enabled is deprecated. - * See proto/clarifai/api/resources.proto;l=2552 + * See proto/clarifai/api/resources.proto;l=2553 * @return The twoFactorAuthEnabled. */ @java.lang.Override @@ -918,7 +918,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * uint32 teams_count = 16 [deprecated = true]; * @deprecated clarifai.api.User.teams_count is deprecated. - * See proto/clarifai/api/resources.proto;l=2553 + * See proto/clarifai/api/resources.proto;l=2554 * @return The teamsCount. */ @java.lang.Override @@ -1935,7 +1935,7 @@ public Builder setIdBytes( /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @return The primaryEmail. */ @java.lang.Deprecated public java.lang.String getPrimaryEmail() { @@ -1953,7 +1953,7 @@ public Builder setIdBytes( /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @return The bytes for primaryEmail. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -1972,7 +1972,7 @@ public Builder setIdBytes( /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @param value The primaryEmail to set. * @return This builder for chaining. */ @@ -1989,7 +1989,7 @@ public Builder setIdBytes( /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPrimaryEmail() { @@ -2001,7 +2001,7 @@ public Builder setIdBytes( /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @param value The bytes for primaryEmail to set. * @return This builder for chaining. */ @@ -2497,7 +2497,7 @@ public Builder setIntentionBytes( /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @return The billType. */ @java.lang.Deprecated public java.lang.String getBillType() { @@ -2515,7 +2515,7 @@ public Builder setIntentionBytes( /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @return The bytes for billType. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2534,7 +2534,7 @@ public Builder setIntentionBytes( /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @param value The billType to set. * @return This builder for chaining. */ @@ -2551,7 +2551,7 @@ public Builder setIntentionBytes( /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearBillType() { @@ -2563,7 +2563,7 @@ public Builder setIntentionBytes( /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @param value The bytes for billType to set. * @return This builder for chaining. */ @@ -2776,7 +2776,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true]; * @deprecated clarifai.api.User.date_gdpr_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2542 + * See proto/clarifai/api/resources.proto;l=2543 * @return Whether the dateGdprConsent field is set. */ @java.lang.Deprecated public boolean hasDateGdprConsent() { @@ -2785,7 +2785,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true]; * @deprecated clarifai.api.User.date_gdpr_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2542 + * See proto/clarifai/api/resources.proto;l=2543 * @return The dateGdprConsent. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getDateGdprConsent() { @@ -2899,7 +2899,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true]; * @deprecated clarifai.api.User.date_tos_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2543 + * See proto/clarifai/api/resources.proto;l=2544 * @return Whether the dateTosConsent field is set. */ @java.lang.Deprecated public boolean hasDateTosConsent() { @@ -2908,7 +2908,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true]; * @deprecated clarifai.api.User.date_tos_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2543 + * See proto/clarifai/api/resources.proto;l=2544 * @return The dateTosConsent. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getDateTosConsent() { @@ -3022,7 +3022,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true]; * @deprecated clarifai.api.User.date_marketing_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2544 + * See proto/clarifai/api/resources.proto;l=2545 * @return Whether the dateMarketingConsent field is set. */ @java.lang.Deprecated public boolean hasDateMarketingConsent() { @@ -3031,7 +3031,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true]; * @deprecated clarifai.api.User.date_marketing_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2544 + * See proto/clarifai/api/resources.proto;l=2545 * @return The dateMarketingConsent. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getDateMarketingConsent() { @@ -3145,7 +3145,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true]; * @deprecated clarifai.api.User.date_pii_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2545 + * See proto/clarifai/api/resources.proto;l=2546 * @return Whether the datePiiConsent field is set. */ @java.lang.Deprecated public boolean hasDatePiiConsent() { @@ -3154,7 +3154,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { /** * .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true]; * @deprecated clarifai.api.User.date_pii_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2545 + * See proto/clarifai/api/resources.proto;l=2546 * @return The datePiiConsent. */ @java.lang.Deprecated public com.google.protobuf.Timestamp getDatePiiConsent() { @@ -3273,7 +3273,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { * * .google.protobuf.Struct metadata = 11 [deprecated = true]; * @deprecated clarifai.api.User.metadata is deprecated. - * See proto/clarifai/api/resources.proto;l=2549 + * See proto/clarifai/api/resources.proto;l=2550 * @return Whether the metadata field is set. */ @java.lang.Deprecated public boolean hasMetadata() { @@ -3287,7 +3287,7 @@ public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() { * * .google.protobuf.Struct metadata = 11 [deprecated = true]; * @deprecated clarifai.api.User.metadata is deprecated. - * See proto/clarifai/api/resources.proto;l=2549 + * See proto/clarifai/api/resources.proto;l=2550 * @return The metadata. */ @java.lang.Deprecated public com.google.protobuf.Struct getMetadata() { @@ -3674,7 +3674,7 @@ private void ensureEmailAddressesIsMutable() { /** * bool two_factor_auth_enabled = 15 [deprecated = true]; * @deprecated clarifai.api.User.two_factor_auth_enabled is deprecated. - * See proto/clarifai/api/resources.proto;l=2552 + * See proto/clarifai/api/resources.proto;l=2553 * @return The twoFactorAuthEnabled. */ @java.lang.Override @@ -3684,7 +3684,7 @@ private void ensureEmailAddressesIsMutable() { /** * bool two_factor_auth_enabled = 15 [deprecated = true]; * @deprecated clarifai.api.User.two_factor_auth_enabled is deprecated. - * See proto/clarifai/api/resources.proto;l=2552 + * See proto/clarifai/api/resources.proto;l=2553 * @param value The twoFactorAuthEnabled to set. * @return This builder for chaining. */ @@ -3697,7 +3697,7 @@ private void ensureEmailAddressesIsMutable() { /** * bool two_factor_auth_enabled = 15 [deprecated = true]; * @deprecated clarifai.api.User.two_factor_auth_enabled is deprecated. - * See proto/clarifai/api/resources.proto;l=2552 + * See proto/clarifai/api/resources.proto;l=2553 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTwoFactorAuthEnabled() { @@ -3711,7 +3711,7 @@ private void ensureEmailAddressesIsMutable() { /** * uint32 teams_count = 16 [deprecated = true]; * @deprecated clarifai.api.User.teams_count is deprecated. - * See proto/clarifai/api/resources.proto;l=2553 + * See proto/clarifai/api/resources.proto;l=2554 * @return The teamsCount. */ @java.lang.Override @@ -3721,7 +3721,7 @@ private void ensureEmailAddressesIsMutable() { /** * uint32 teams_count = 16 [deprecated = true]; * @deprecated clarifai.api.User.teams_count is deprecated. - * See proto/clarifai/api/resources.proto;l=2553 + * See proto/clarifai/api/resources.proto;l=2554 * @param value The teamsCount to set. * @return This builder for chaining. */ @@ -3734,7 +3734,7 @@ private void ensureEmailAddressesIsMutable() { /** * uint32 teams_count = 16 [deprecated = true]; * @deprecated clarifai.api.User.teams_count is deprecated. - * See proto/clarifai/api/resources.proto;l=2553 + * See proto/clarifai/api/resources.proto;l=2554 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearTeamsCount() { diff --git a/src/main/java/com/clarifai/grpc/api/UserOrBuilder.java b/src/main/java/com/clarifai/grpc/api/UserOrBuilder.java index d1bd9ee..484542f 100644 --- a/src/main/java/com/clarifai/grpc/api/UserOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/UserOrBuilder.java @@ -22,14 +22,14 @@ public interface UserOrBuilder extends /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @return The primaryEmail. */ @java.lang.Deprecated java.lang.String getPrimaryEmail(); /** * string primary_email = 2 [deprecated = true]; * @deprecated clarifai.api.User.primary_email is deprecated. - * See proto/clarifai/api/resources.proto;l=2526 + * See proto/clarifai/api/resources.proto;l=2527 * @return The bytes for primaryEmail. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -118,14 +118,14 @@ public interface UserOrBuilder extends /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @return The billType. */ @java.lang.Deprecated java.lang.String getBillType(); /** * string bill_type = 7 [deprecated = true]; * @deprecated clarifai.api.User.bill_type is deprecated. - * See proto/clarifai/api/resources.proto;l=2534 + * See proto/clarifai/api/resources.proto;l=2535 * @return The bytes for billType. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -173,14 +173,14 @@ public interface UserOrBuilder extends /** * .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true]; * @deprecated clarifai.api.User.date_gdpr_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2542 + * See proto/clarifai/api/resources.proto;l=2543 * @return Whether the dateGdprConsent field is set. */ @java.lang.Deprecated boolean hasDateGdprConsent(); /** * .google.protobuf.Timestamp date_gdpr_consent = 8 [deprecated = true]; * @deprecated clarifai.api.User.date_gdpr_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2542 + * See proto/clarifai/api/resources.proto;l=2543 * @return The dateGdprConsent. */ @java.lang.Deprecated com.google.protobuf.Timestamp getDateGdprConsent(); @@ -192,14 +192,14 @@ public interface UserOrBuilder extends /** * .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true]; * @deprecated clarifai.api.User.date_tos_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2543 + * See proto/clarifai/api/resources.proto;l=2544 * @return Whether the dateTosConsent field is set. */ @java.lang.Deprecated boolean hasDateTosConsent(); /** * .google.protobuf.Timestamp date_tos_consent = 9 [deprecated = true]; * @deprecated clarifai.api.User.date_tos_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2543 + * See proto/clarifai/api/resources.proto;l=2544 * @return The dateTosConsent. */ @java.lang.Deprecated com.google.protobuf.Timestamp getDateTosConsent(); @@ -211,14 +211,14 @@ public interface UserOrBuilder extends /** * .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true]; * @deprecated clarifai.api.User.date_marketing_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2544 + * See proto/clarifai/api/resources.proto;l=2545 * @return Whether the dateMarketingConsent field is set. */ @java.lang.Deprecated boolean hasDateMarketingConsent(); /** * .google.protobuf.Timestamp date_marketing_consent = 10 [deprecated = true]; * @deprecated clarifai.api.User.date_marketing_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2544 + * See proto/clarifai/api/resources.proto;l=2545 * @return The dateMarketingConsent. */ @java.lang.Deprecated com.google.protobuf.Timestamp getDateMarketingConsent(); @@ -230,14 +230,14 @@ public interface UserOrBuilder extends /** * .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true]; * @deprecated clarifai.api.User.date_pii_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2545 + * See proto/clarifai/api/resources.proto;l=2546 * @return Whether the datePiiConsent field is set. */ @java.lang.Deprecated boolean hasDatePiiConsent(); /** * .google.protobuf.Timestamp date_pii_consent = 23 [deprecated = true]; * @deprecated clarifai.api.User.date_pii_consent is deprecated. - * See proto/clarifai/api/resources.proto;l=2545 + * See proto/clarifai/api/resources.proto;l=2546 * @return The datePiiConsent. */ @java.lang.Deprecated com.google.protobuf.Timestamp getDatePiiConsent(); @@ -254,7 +254,7 @@ public interface UserOrBuilder extends * * .google.protobuf.Struct metadata = 11 [deprecated = true]; * @deprecated clarifai.api.User.metadata is deprecated. - * See proto/clarifai/api/resources.proto;l=2549 + * See proto/clarifai/api/resources.proto;l=2550 * @return Whether the metadata field is set. */ @java.lang.Deprecated boolean hasMetadata(); @@ -266,7 +266,7 @@ public interface UserOrBuilder extends * * .google.protobuf.Struct metadata = 11 [deprecated = true]; * @deprecated clarifai.api.User.metadata is deprecated. - * See proto/clarifai/api/resources.proto;l=2549 + * See proto/clarifai/api/resources.proto;l=2550 * @return The metadata. */ @java.lang.Deprecated com.google.protobuf.Struct getMetadata(); @@ -307,7 +307,7 @@ public interface UserOrBuilder extends /** * bool two_factor_auth_enabled = 15 [deprecated = true]; * @deprecated clarifai.api.User.two_factor_auth_enabled is deprecated. - * See proto/clarifai/api/resources.proto;l=2552 + * See proto/clarifai/api/resources.proto;l=2553 * @return The twoFactorAuthEnabled. */ @java.lang.Deprecated boolean getTwoFactorAuthEnabled(); @@ -315,7 +315,7 @@ public interface UserOrBuilder extends /** * uint32 teams_count = 16 [deprecated = true]; * @deprecated clarifai.api.User.teams_count is deprecated. - * See proto/clarifai/api/resources.proto;l=2553 + * See proto/clarifai/api/resources.proto;l=2554 * @return The teamsCount. */ @java.lang.Deprecated int getTeamsCount(); diff --git a/src/main/java/com/clarifai/grpc/api/Video.java b/src/main/java/com/clarifai/grpc/api/Video.java index fddaa04..199330b 100644 --- a/src/main/java/com/clarifai/grpc/api/Video.java +++ b/src/main/java/com/clarifai/grpc/api/Video.java @@ -240,7 +240,7 @@ public boolean getAllowDuplicateUrl() { * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @return The thumbnailUrl. */ @java.lang.Override @@ -265,7 +265,7 @@ public boolean getAllowDuplicateUrl() { * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @return The bytes for thumbnailUrl. */ @java.lang.Override @@ -1054,7 +1054,7 @@ public Builder clearAllowDuplicateUrl() { * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @return The thumbnailUrl. */ @java.lang.Deprecated public java.lang.String getThumbnailUrl() { @@ -1078,7 +1078,7 @@ public Builder clearAllowDuplicateUrl() { * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @return The bytes for thumbnailUrl. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -1103,7 +1103,7 @@ public Builder clearAllowDuplicateUrl() { * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @param value The thumbnailUrl to set. * @return This builder for chaining. */ @@ -1126,7 +1126,7 @@ public Builder clearAllowDuplicateUrl() { * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearThumbnailUrl() { @@ -1144,7 +1144,7 @@ public Builder clearAllowDuplicateUrl() { * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @param value The bytes for thumbnailUrl to set. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/VideoOrBuilder.java b/src/main/java/com/clarifai/grpc/api/VideoOrBuilder.java index c0e36f2..8677978 100644 --- a/src/main/java/com/clarifai/grpc/api/VideoOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/VideoOrBuilder.java @@ -59,7 +59,7 @@ public interface VideoOrBuilder extends * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @return The thumbnailUrl. */ @java.lang.Deprecated java.lang.String getThumbnailUrl(); @@ -72,7 +72,7 @@ public interface VideoOrBuilder extends * * string thumbnail_url = 5 [deprecated = true]; * @deprecated clarifai.api.Video.thumbnail_url is deprecated. - * See proto/clarifai/api/resources.proto;l=2661 + * See proto/clarifai/api/resources.proto;l=2662 * @return The bytes for thumbnailUrl. */ @java.lang.Deprecated com.google.protobuf.ByteString 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 45cf990..98c82a4 100644 --- a/src/main/java/com/clarifai/grpc/api/status/StatusCode.java +++ b/src/main/java/com/clarifai/grpc/api/status/StatusCode.java @@ -1809,6 +1809,10 @@ public enum StatusCode * INTERNAL_DATABASE_ISSUE = 98006; */ INTERNAL_DATABASE_ISSUE(98006), + /** + * INTERNAL_CONTEXT_CANCELED = 98008; + */ + INTERNAL_CONTEXT_CANCELED(98008), /** * INTERNAL_UNEXPECTED_TIMEOUT = 98009; */ @@ -3688,6 +3692,10 @@ public enum StatusCode * INTERNAL_DATABASE_ISSUE = 98006; */ public static final int INTERNAL_DATABASE_ISSUE_VALUE = 98006; + /** + * INTERNAL_CONTEXT_CANCELED = 98008; + */ + public static final int INTERNAL_CONTEXT_CANCELED_VALUE = 98008; /** * INTERNAL_UNEXPECTED_TIMEOUT = 98009; */ @@ -4126,6 +4134,7 @@ public static StatusCode forNumber(int value) { case 98004: return INTERNAL_SERVER_ISSUE; case 98005: return INTERNAL_FETCHING_ISSUE; case 98006: return INTERNAL_DATABASE_ISSUE; + case 98008: return INTERNAL_CONTEXT_CANCELED; case 98009: return INTERNAL_UNEXPECTED_TIMEOUT; case 98010: return INTERNAL_UNEXPECTED_V1; case 98011: return INTERNAL_UNEXPECTED_PANIC; 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 1171457..6aebe52 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*\355T\n\nStatusCod" + + "proto\022\023clarifai.api.status*\216U\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\n\n\005MOVED\020\302N\022\013\n\006TEAPOT\020\314" + @@ -276,30 +276,30 @@ public static void registerAllExtensions( "T\020\246\223\004\022\032\n\024BILLING_INVALID_INFO\020\210\233\004\022\033\n\025INT" + "ERNAL_SERVER_ISSUE\020\324\375\005\022\035\n\027INTERNAL_FETCH" + "ING_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\031INTERNA" + - "L_UNEXPECTED_PANIC\020\333\375\005\022\037\n\031INTERNAL_UNEXP" + - "ECTED_SPIRE\020\334\375\005\022 \n\032INTERNAL_REDIS_UNAVAI" + - "LABLE\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\034IN" + - "TERNAL_AZURE_UNCATEGORIZED\020\341\375\005\022\030\n\022CONN_U" + - "NCATEGORIZED\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\030ANNOTA" + - "TION_UNCATEGORIZED\020\274\205\006\022\033\n\025BILLING_UNCATE" + - "GORIZED\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\277\306\001\020\277\306\001\"\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\002" + - "\"\010\010\322\270\002\020\322\270\002\"\010\010\323\270\002\020\323\270\002\"\010\010\360\301\002\020\360\301\002\"\010\010\361\301\002\020\361\301\002" + - "\"\010\010\362\301\002\020\362\301\002\"\010\010\363\301\002\020\363\301\002\"\010\010\364\301\002\020\364\301\002\"\010\010\234\307\001\020\234\307\001" + - "\"\010\010\235\307\001\020\235\307\001\"\010\010\236\307\001\020\236\307\001\"\010\010\237\307\001\020\237\307\001\"\010\010\241\307\001\020\241\307\001" + - "\"\010\010\242\307\001\020\242\307\001Bg\n\034com.clarifai.grpc.api.stat" + - "usP\001Z>github.com/Clarifai/clarifai-go-gr" + - "pc/proto/clarifai/api/status\242\002\004CAIPb\006pro" + - "to3" + "\020\326\375\005\022\037\n\031INTERNAL_CONTEXT_CANCELED\020\330\375\005\022!\n" + + "\033INTERNAL_UNEXPECTED_TIMEOUT\020\331\375\005\022\034\n\026INTE" + + "RNAL_UNEXPECTED_V1\020\332\375\005\022\037\n\031INTERNAL_UNEXP" + + "ECTED_PANIC\020\333\375\005\022\037\n\031INTERNAL_UNEXPECTED_S" + + "PIRE\020\334\375\005\022 \n\032INTERNAL_REDIS_UNAVAILABLE\020\335" + + "\375\005\022!\n\033INTERNAL_RESOURCE_EXHAUSTED\020\336\375\005\022\"\n" + + "\034INTERNAL_REDIS_UNCATEGORIZED\020\337\375\005\022 \n\032INT" + + "ERNAL_AWS_UNCATEGORIZED\020\340\375\005\022\"\n\034INTERNAL_" + + "AZURE_UNCATEGORIZED\020\341\375\005\022\030\n\022CONN_UNCATEGO" + + "RIZED\020\271\205\006\022\031\n\023MODEL_UNCATEGORIZED\020\272\205\006\022\031\n\023" + + "INPUT_UNCATEGORIZED\020\273\205\006\022\036\n\030ANNOTATION_UN" + + "CATEGORIZED\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\013BA" + + "D_REQUEST\020\240\302\005\022\022\n\014SERVER_ERROR\020\204\303\005\"\010\010\277\306\001\020" + + "\277\306\001\"\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\002\"\010\010\322\270\002\020" + + "\322\270\002\"\010\010\323\270\002\020\323\270\002\"\010\010\360\301\002\020\360\301\002\"\010\010\361\301\002\020\361\301\002\"\010\010\362\301\002\020" + + "\362\301\002\"\010\010\363\301\002\020\363\301\002\"\010\010\364\301\002\020\364\301\002\"\010\010\234\307\001\020\234\307\001\"\010\010\235\307\001\020" + + "\235\307\001\"\010\010\236\307\001\020\236\307\001\"\010\010\237\307\001\020\237\307\001\"\010\010\241\307\001\020\241\307\001\"\010\010\242\307\001\020" + + "\242\307\001Bg\n\034com.clarifai.grpc.api.statusP\001Z>g" + + "ithub.com/Clarifai/clarifai-go-grpc/prot" + + "o/clarifai/api/status\242\002\004CAIPb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData,