diff --git a/VERSION b/VERSION index d1dd3f9..04ada83 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.6.0 +10.6.1 diff --git a/build.gradle b/build.gradle index 24da921..f631822 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ nexusPublishing { } group = 'com.clarifai' -version = '10.6.0' +version = '10.6.1' repositories { mavenCentral() diff --git a/src/main/java/com/clarifai/grpc/api/ComputeCluster.java b/src/main/java/com/clarifai/grpc/api/ComputeCluster.java index 8620f49..a5d7ce6 100644 --- a/src/main/java/com/clarifai/grpc/api/ComputeCluster.java +++ b/src/main/java/com/clarifai/grpc/api/ComputeCluster.java @@ -28,6 +28,8 @@ private ComputeCluster() { description_ = ""; region_ = ""; userId_ = ""; + clusterType_ = ""; + managedBy_ = ""; } @java.lang.Override @@ -136,6 +138,31 @@ private ComputeCluster( break; } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + clusterType_ = s; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + managedBy_ = s; + break; + } + case 90: { + com.clarifai.grpc.api.Key.Builder subBuilder = null; + if (key_ != null) { + subBuilder = key_.toBuilder(); + } + key_ = input.readMessage(com.clarifai.grpc.api.Key.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(key_); + key_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -257,6 +284,11 @@ public java.lang.String getDescription() { public static final int CLOUD_PROVIDER_FIELD_NUMBER = 3; private com.clarifai.grpc.api.CloudProvider cloudProvider_; /** + *
+   * The cloud provider where this cluster is hosted.
+   * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+   * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; * @return Whether the cloudProvider field is set. */ @@ -265,6 +297,11 @@ public boolean hasCloudProvider() { return cloudProvider_ != null; } /** + *
+   * The cloud provider where this cluster is hosted.
+   * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+   * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; * @return The cloudProvider. */ @@ -273,6 +310,11 @@ public com.clarifai.grpc.api.CloudProvider getCloudProvider() { return cloudProvider_ == null ? com.clarifai.grpc.api.CloudProvider.getDefaultInstance() : cloudProvider_; } /** + *
+   * The cloud provider where this cluster is hosted.
+   * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+   * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ @java.lang.Override @@ -494,6 +536,172 @@ public com.clarifai.grpc.api.VisibilityOrBuilder getVisibilityOrBuilder() { return getVisibility(); } + public static final int CLUSTER_TYPE_FIELD_NUMBER = 9; + private volatile java.lang.Object clusterType_; + /** + *
+   * We offer different types of compute clusters such as:
+   * 'serverless' which only Clarifai can create.
+   * 'dedicated' where you're in control of defining the nodepools within the cluster
+   * 'local-dev' which means you're responsible for starting runners manually which is great for local
+   * development but not recommended for production use cases.
+   * 
+ * + * string cluster_type = 9; + * @return The clusterType. + */ + @java.lang.Override + public java.lang.String getClusterType() { + java.lang.Object ref = clusterType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clusterType_ = s; + return s; + } + } + /** + *
+   * We offer different types of compute clusters such as:
+   * 'serverless' which only Clarifai can create.
+   * 'dedicated' where you're in control of defining the nodepools within the cluster
+   * 'local-dev' which means you're responsible for starting runners manually which is great for local
+   * development but not recommended for production use cases.
+   * 
+ * + * string cluster_type = 9; + * @return The bytes for clusterType. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getClusterTypeBytes() { + java.lang.Object ref = clusterType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clusterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int MANAGED_BY_FIELD_NUMBER = 10; + private volatile java.lang.Object managedBy_; + /** + *
+   * Managed by represents who is responsible for the cluster.
+   * This is currently either "clarifai" where we fully manage the infrastructure.
+   * Or, "user" where the user is responsible for the underlying infrastructure.
+   * 
+ * + * string managed_by = 10; + * @return The managedBy. + */ + @java.lang.Override + public java.lang.String getManagedBy() { + java.lang.Object ref = managedBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + managedBy_ = s; + return s; + } + } + /** + *
+   * Managed by represents who is responsible for the cluster.
+   * This is currently either "clarifai" where we fully manage the infrastructure.
+   * Or, "user" where the user is responsible for the underlying infrastructure.
+   * 
+ * + * string managed_by = 10; + * @return The bytes for managedBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getManagedByBytes() { + java.lang.Object ref = managedBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + managedBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int KEY_FIELD_NUMBER = 11; + private com.clarifai.grpc.api.Key key_; + /** + *
+   * Key to use within the compute cluster for all requests to the API.
+   * You can post with the key.id filled in to set the key for the compute cluster.
+   * The responses will intentionaly only return the description of the key for security
+   * purposes since you may have other people through orgs/teams having access to this compute
+   * cluster who should not view your key.
+   * This must be a valid key created before creating the ComputeCluster.
+   * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+   * will lose connection to the API, so delete keys at your own risk.
+   * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+   * 
+ * + * .clarifai.api.Key key = 11; + * @return Whether the key field is set. + */ + @java.lang.Override + public boolean hasKey() { + return key_ != null; + } + /** + *
+   * Key to use within the compute cluster for all requests to the API.
+   * You can post with the key.id filled in to set the key for the compute cluster.
+   * The responses will intentionaly only return the description of the key for security
+   * purposes since you may have other people through orgs/teams having access to this compute
+   * cluster who should not view your key.
+   * This must be a valid key created before creating the ComputeCluster.
+   * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+   * will lose connection to the API, so delete keys at your own risk.
+   * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+   * 
+ * + * .clarifai.api.Key key = 11; + * @return The key. + */ + @java.lang.Override + public com.clarifai.grpc.api.Key getKey() { + return key_ == null ? com.clarifai.grpc.api.Key.getDefaultInstance() : key_; + } + /** + *
+   * Key to use within the compute cluster for all requests to the API.
+   * You can post with the key.id filled in to set the key for the compute cluster.
+   * The responses will intentionaly only return the description of the key for security
+   * purposes since you may have other people through orgs/teams having access to this compute
+   * cluster who should not view your key.
+   * This must be a valid key created before creating the ComputeCluster.
+   * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+   * will lose connection to the API, so delete keys at your own risk.
+   * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+   * 
+ * + * .clarifai.api.Key key = 11; + */ + @java.lang.Override + public com.clarifai.grpc.api.KeyOrBuilder getKeyOrBuilder() { + return getKey(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -532,6 +740,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (visibility_ != null) { output.writeMessage(8, getVisibility()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, clusterType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managedBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, managedBy_); + } + if (key_ != null) { + output.writeMessage(11, getKey()); + } unknownFields.writeTo(output); } @@ -569,6 +786,16 @@ public int getSerializedSize() { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getVisibility()); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, clusterType_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(managedBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, managedBy_); + } + if (key_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getKey()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -612,6 +839,15 @@ public boolean equals(final java.lang.Object obj) { if (!getVisibility() .equals(other.getVisibility())) return false; } + if (!getClusterType() + .equals(other.getClusterType())) return false; + if (!getManagedBy() + .equals(other.getManagedBy())) return false; + if (hasKey() != other.hasKey()) return false; + if (hasKey()) { + if (!getKey() + .equals(other.getKey())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -647,6 +883,14 @@ public int hashCode() { hash = (37 * hash) + VISIBILITY_FIELD_NUMBER; hash = (53 * hash) + getVisibility().hashCode(); } + hash = (37 * hash) + CLUSTER_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getClusterType().hashCode(); + hash = (37 * hash) + MANAGED_BY_FIELD_NUMBER; + hash = (53 * hash) + getManagedBy().hashCode(); + if (hasKey()) { + hash = (37 * hash) + KEY_FIELD_NUMBER; + hash = (53 * hash) + getKey().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -820,6 +1064,16 @@ public Builder clear() { visibility_ = null; visibilityBuilder_ = null; } + clusterType_ = ""; + + managedBy_ = ""; + + if (keyBuilder_ == null) { + key_ = null; + } else { + key_ = null; + keyBuilder_ = null; + } return this; } @@ -870,6 +1124,13 @@ public com.clarifai.grpc.api.ComputeCluster buildPartial() { } else { result.visibility_ = visibilityBuilder_.build(); } + result.clusterType_ = clusterType_; + result.managedBy_ = managedBy_; + if (keyBuilder_ == null) { + result.key_ = key_; + } else { + result.key_ = keyBuilder_.build(); + } onBuilt(); return result; } @@ -946,6 +1207,17 @@ public Builder mergeFrom(com.clarifai.grpc.api.ComputeCluster other) { if (other.hasVisibility()) { mergeVisibility(other.getVisibility()); } + if (!other.getClusterType().isEmpty()) { + clusterType_ = other.clusterType_; + onChanged(); + } + if (!other.getManagedBy().isEmpty()) { + managedBy_ = other.managedBy_; + onChanged(); + } + if (other.hasKey()) { + mergeKey(other.getKey()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1151,6 +1423,11 @@ public Builder setDescriptionBytes( private com.google.protobuf.SingleFieldBuilderV3< com.clarifai.grpc.api.CloudProvider, com.clarifai.grpc.api.CloudProvider.Builder, com.clarifai.grpc.api.CloudProviderOrBuilder> cloudProviderBuilder_; /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; * @return Whether the cloudProvider field is set. */ @@ -1158,6 +1435,11 @@ public boolean hasCloudProvider() { return cloudProviderBuilder_ != null || cloudProvider_ != null; } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; * @return The cloudProvider. */ @@ -1169,6 +1451,11 @@ public com.clarifai.grpc.api.CloudProvider getCloudProvider() { } } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ public Builder setCloudProvider(com.clarifai.grpc.api.CloudProvider value) { @@ -1185,6 +1472,11 @@ public Builder setCloudProvider(com.clarifai.grpc.api.CloudProvider value) { return this; } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ public Builder setCloudProvider( @@ -1199,6 +1491,11 @@ public Builder setCloudProvider( return this; } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ public Builder mergeCloudProvider(com.clarifai.grpc.api.CloudProvider value) { @@ -1217,6 +1514,11 @@ public Builder mergeCloudProvider(com.clarifai.grpc.api.CloudProvider value) { return this; } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ public Builder clearCloudProvider() { @@ -1231,6 +1533,11 @@ public Builder clearCloudProvider() { return this; } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ public com.clarifai.grpc.api.CloudProvider.Builder getCloudProviderBuilder() { @@ -1239,6 +1546,11 @@ public com.clarifai.grpc.api.CloudProvider.Builder getCloudProviderBuilder() { return getCloudProviderFieldBuilder().getBuilder(); } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ public com.clarifai.grpc.api.CloudProviderOrBuilder getCloudProviderOrBuilder() { @@ -1250,6 +1562,11 @@ public com.clarifai.grpc.api.CloudProviderOrBuilder getCloudProviderOrBuilder() } } /** + *
+     * The cloud provider where this cluster is hosted.
+     * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+     * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ private com.google.protobuf.SingleFieldBuilderV3< @@ -1945,6 +2262,455 @@ public com.clarifai.grpc.api.VisibilityOrBuilder getVisibilityOrBuilder() { } return visibilityBuilder_; } + + private java.lang.Object clusterType_ = ""; + /** + *
+     * We offer different types of compute clusters such as:
+     * 'serverless' which only Clarifai can create.
+     * 'dedicated' where you're in control of defining the nodepools within the cluster
+     * 'local-dev' which means you're responsible for starting runners manually which is great for local
+     * development but not recommended for production use cases.
+     * 
+ * + * string cluster_type = 9; + * @return The clusterType. + */ + public java.lang.String getClusterType() { + java.lang.Object ref = clusterType_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + clusterType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * We offer different types of compute clusters such as:
+     * 'serverless' which only Clarifai can create.
+     * 'dedicated' where you're in control of defining the nodepools within the cluster
+     * 'local-dev' which means you're responsible for starting runners manually which is great for local
+     * development but not recommended for production use cases.
+     * 
+ * + * string cluster_type = 9; + * @return The bytes for clusterType. + */ + public com.google.protobuf.ByteString + getClusterTypeBytes() { + java.lang.Object ref = clusterType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + clusterType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * We offer different types of compute clusters such as:
+     * 'serverless' which only Clarifai can create.
+     * 'dedicated' where you're in control of defining the nodepools within the cluster
+     * 'local-dev' which means you're responsible for starting runners manually which is great for local
+     * development but not recommended for production use cases.
+     * 
+ * + * string cluster_type = 9; + * @param value The clusterType to set. + * @return This builder for chaining. + */ + public Builder setClusterType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + clusterType_ = value; + onChanged(); + return this; + } + /** + *
+     * We offer different types of compute clusters such as:
+     * 'serverless' which only Clarifai can create.
+     * 'dedicated' where you're in control of defining the nodepools within the cluster
+     * 'local-dev' which means you're responsible for starting runners manually which is great for local
+     * development but not recommended for production use cases.
+     * 
+ * + * string cluster_type = 9; + * @return This builder for chaining. + */ + public Builder clearClusterType() { + + clusterType_ = getDefaultInstance().getClusterType(); + onChanged(); + return this; + } + /** + *
+     * We offer different types of compute clusters such as:
+     * 'serverless' which only Clarifai can create.
+     * 'dedicated' where you're in control of defining the nodepools within the cluster
+     * 'local-dev' which means you're responsible for starting runners manually which is great for local
+     * development but not recommended for production use cases.
+     * 
+ * + * string cluster_type = 9; + * @param value The bytes for clusterType to set. + * @return This builder for chaining. + */ + public Builder setClusterTypeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + clusterType_ = value; + onChanged(); + return this; + } + + private java.lang.Object managedBy_ = ""; + /** + *
+     * Managed by represents who is responsible for the cluster.
+     * This is currently either "clarifai" where we fully manage the infrastructure.
+     * Or, "user" where the user is responsible for the underlying infrastructure.
+     * 
+ * + * string managed_by = 10; + * @return The managedBy. + */ + public java.lang.String getManagedBy() { + java.lang.Object ref = managedBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + managedBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Managed by represents who is responsible for the cluster.
+     * This is currently either "clarifai" where we fully manage the infrastructure.
+     * Or, "user" where the user is responsible for the underlying infrastructure.
+     * 
+ * + * string managed_by = 10; + * @return The bytes for managedBy. + */ + public com.google.protobuf.ByteString + getManagedByBytes() { + java.lang.Object ref = managedBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + managedBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Managed by represents who is responsible for the cluster.
+     * This is currently either "clarifai" where we fully manage the infrastructure.
+     * Or, "user" where the user is responsible for the underlying infrastructure.
+     * 
+ * + * string managed_by = 10; + * @param value The managedBy to set. + * @return This builder for chaining. + */ + public Builder setManagedBy( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + managedBy_ = value; + onChanged(); + return this; + } + /** + *
+     * Managed by represents who is responsible for the cluster.
+     * This is currently either "clarifai" where we fully manage the infrastructure.
+     * Or, "user" where the user is responsible for the underlying infrastructure.
+     * 
+ * + * string managed_by = 10; + * @return This builder for chaining. + */ + public Builder clearManagedBy() { + + managedBy_ = getDefaultInstance().getManagedBy(); + onChanged(); + return this; + } + /** + *
+     * Managed by represents who is responsible for the cluster.
+     * This is currently either "clarifai" where we fully manage the infrastructure.
+     * Or, "user" where the user is responsible for the underlying infrastructure.
+     * 
+ * + * string managed_by = 10; + * @param value The bytes for managedBy to set. + * @return This builder for chaining. + */ + public Builder setManagedByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + managedBy_ = value; + onChanged(); + return this; + } + + private com.clarifai.grpc.api.Key key_; + private com.google.protobuf.SingleFieldBuilderV3< + com.clarifai.grpc.api.Key, com.clarifai.grpc.api.Key.Builder, com.clarifai.grpc.api.KeyOrBuilder> keyBuilder_; + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + * @return Whether the key field is set. + */ + public boolean hasKey() { + return keyBuilder_ != null || key_ != null; + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + * @return The key. + */ + public com.clarifai.grpc.api.Key getKey() { + if (keyBuilder_ == null) { + return key_ == null ? com.clarifai.grpc.api.Key.getDefaultInstance() : key_; + } else { + return keyBuilder_.getMessage(); + } + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + */ + public Builder setKey(com.clarifai.grpc.api.Key value) { + if (keyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + key_ = value; + onChanged(); + } else { + keyBuilder_.setMessage(value); + } + + return this; + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + */ + public Builder setKey( + com.clarifai.grpc.api.Key.Builder builderForValue) { + if (keyBuilder_ == null) { + key_ = builderForValue.build(); + onChanged(); + } else { + keyBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + */ + public Builder mergeKey(com.clarifai.grpc.api.Key value) { + if (keyBuilder_ == null) { + if (key_ != null) { + key_ = + com.clarifai.grpc.api.Key.newBuilder(key_).mergeFrom(value).buildPartial(); + } else { + key_ = value; + } + onChanged(); + } else { + keyBuilder_.mergeFrom(value); + } + + return this; + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + */ + public Builder clearKey() { + if (keyBuilder_ == null) { + key_ = null; + onChanged(); + } else { + key_ = null; + keyBuilder_ = null; + } + + return this; + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + */ + public com.clarifai.grpc.api.Key.Builder getKeyBuilder() { + + onChanged(); + return getKeyFieldBuilder().getBuilder(); + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + */ + public com.clarifai.grpc.api.KeyOrBuilder getKeyOrBuilder() { + if (keyBuilder_ != null) { + return keyBuilder_.getMessageOrBuilder(); + } else { + return key_ == null ? + com.clarifai.grpc.api.Key.getDefaultInstance() : key_; + } + } + /** + *
+     * Key to use within the compute cluster for all requests to the API.
+     * You can post with the key.id filled in to set the key for the compute cluster.
+     * The responses will intentionaly only return the description of the key for security
+     * purposes since you may have other people through orgs/teams having access to this compute
+     * cluster who should not view your key.
+     * This must be a valid key created before creating the ComputeCluster.
+     * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+     * will lose connection to the API, so delete keys at your own risk.
+     * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+     * 
+ * + * .clarifai.api.Key key = 11; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.clarifai.grpc.api.Key, com.clarifai.grpc.api.Key.Builder, com.clarifai.grpc.api.KeyOrBuilder> + getKeyFieldBuilder() { + if (keyBuilder_ == null) { + keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.clarifai.grpc.api.Key, com.clarifai.grpc.api.Key.Builder, com.clarifai.grpc.api.KeyOrBuilder>( + getKey(), + getParentForChildren(), + isClean()); + key_ = null; + } + return keyBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { diff --git a/src/main/java/com/clarifai/grpc/api/ComputeClusterOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ComputeClusterOrBuilder.java index a9e0614..9d1bdc4 100644 --- a/src/main/java/com/clarifai/grpc/api/ComputeClusterOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ComputeClusterOrBuilder.java @@ -40,16 +40,31 @@ public interface ComputeClusterOrBuilder extends getDescriptionBytes(); /** + *
+   * The cloud provider where this cluster is hosted.
+   * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+   * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; * @return Whether the cloudProvider field is set. */ boolean hasCloudProvider(); /** + *
+   * The cloud provider where this cluster is hosted.
+   * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+   * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; * @return The cloudProvider. */ com.clarifai.grpc.api.CloudProvider getCloudProvider(); /** + *
+   * The cloud provider where this cluster is hosted.
+   * Some example cloud provider IDs may be aws, gcp, azure, local, kubernetes, etc.
+   * 
+ * * .clarifai.api.CloudProvider cloud_provider = 3; */ com.clarifai.grpc.api.CloudProviderOrBuilder getCloudProviderOrBuilder(); @@ -182,4 +197,107 @@ public interface ComputeClusterOrBuilder extends * .clarifai.api.Visibility visibility = 8; */ com.clarifai.grpc.api.VisibilityOrBuilder getVisibilityOrBuilder(); + + /** + *
+   * We offer different types of compute clusters such as:
+   * 'serverless' which only Clarifai can create.
+   * 'dedicated' where you're in control of defining the nodepools within the cluster
+   * 'local-dev' which means you're responsible for starting runners manually which is great for local
+   * development but not recommended for production use cases.
+   * 
+ * + * string cluster_type = 9; + * @return The clusterType. + */ + java.lang.String getClusterType(); + /** + *
+   * We offer different types of compute clusters such as:
+   * 'serverless' which only Clarifai can create.
+   * 'dedicated' where you're in control of defining the nodepools within the cluster
+   * 'local-dev' which means you're responsible for starting runners manually which is great for local
+   * development but not recommended for production use cases.
+   * 
+ * + * string cluster_type = 9; + * @return The bytes for clusterType. + */ + com.google.protobuf.ByteString + getClusterTypeBytes(); + + /** + *
+   * Managed by represents who is responsible for the cluster.
+   * This is currently either "clarifai" where we fully manage the infrastructure.
+   * Or, "user" where the user is responsible for the underlying infrastructure.
+   * 
+ * + * string managed_by = 10; + * @return The managedBy. + */ + java.lang.String getManagedBy(); + /** + *
+   * Managed by represents who is responsible for the cluster.
+   * This is currently either "clarifai" where we fully manage the infrastructure.
+   * Or, "user" where the user is responsible for the underlying infrastructure.
+   * 
+ * + * string managed_by = 10; + * @return The bytes for managedBy. + */ + com.google.protobuf.ByteString + getManagedByBytes(); + + /** + *
+   * Key to use within the compute cluster for all requests to the API.
+   * You can post with the key.id filled in to set the key for the compute cluster.
+   * The responses will intentionaly only return the description of the key for security
+   * purposes since you may have other people through orgs/teams having access to this compute
+   * cluster who should not view your key.
+   * This must be a valid key created before creating the ComputeCluster.
+   * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+   * will lose connection to the API, so delete keys at your own risk.
+   * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+   * 
+ * + * .clarifai.api.Key key = 11; + * @return Whether the key field is set. + */ + boolean hasKey(); + /** + *
+   * Key to use within the compute cluster for all requests to the API.
+   * You can post with the key.id filled in to set the key for the compute cluster.
+   * The responses will intentionaly only return the description of the key for security
+   * purposes since you may have other people through orgs/teams having access to this compute
+   * cluster who should not view your key.
+   * This must be a valid key created before creating the ComputeCluster.
+   * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+   * will lose connection to the API, so delete keys at your own risk.
+   * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+   * 
+ * + * .clarifai.api.Key key = 11; + * @return The key. + */ + com.clarifai.grpc.api.Key getKey(); + /** + *
+   * Key to use within the compute cluster for all requests to the API.
+   * You can post with the key.id filled in to set the key for the compute cluster.
+   * The responses will intentionaly only return the description of the key for security
+   * purposes since you may have other people through orgs/teams having access to this compute
+   * cluster who should not view your key.
+   * This must be a valid key created before creating the ComputeCluster.
+   * Deleting this key will not be prevented, which means all resources in this ComputeCluster
+   * will lose connection to the API, so delete keys at your own risk.
+   * The user_id who owns the key must match the user_id provided in the ComputeCluster.
+   * 
+ * + * .clarifai.api.Key key = 11; + */ + com.clarifai.grpc.api.KeyOrBuilder getKeyOrBuilder(); } diff --git a/src/main/java/com/clarifai/grpc/api/ListAppsRequest.java b/src/main/java/com/clarifai/grpc/api/ListAppsRequest.java index 612d7b0..e9fa371 100644 --- a/src/main/java/com/clarifai/grpc/api/ListAppsRequest.java +++ b/src/main/java/com/clarifai/grpc/api/ListAppsRequest.java @@ -603,7 +603,7 @@ public java.lang.String getSearch() { * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @return The query. */ @java.lang.Override @@ -627,7 +627,7 @@ public java.lang.String getSearch() { * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @return The bytes for query. */ @java.lang.Override @@ -655,7 +655,7 @@ public java.lang.String getSearch() { * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @return The name. */ @java.lang.Override @@ -679,7 +679,7 @@ public java.lang.String getSearch() { * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @return The bytes for name. */ @java.lang.Override @@ -707,7 +707,7 @@ public java.lang.String getSearch() { * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @return The id. */ @java.lang.Override @@ -731,7 +731,7 @@ public java.lang.String getSearch() { * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @return The bytes for id. */ @java.lang.Override @@ -2337,7 +2337,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @return The query. */ @java.lang.Deprecated public java.lang.String getQuery() { @@ -2360,7 +2360,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @return The bytes for query. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2384,7 +2384,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @param value The query to set. * @return This builder for chaining. */ @@ -2406,7 +2406,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearQuery() { @@ -2423,7 +2423,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @param value The bytes for query to set. * @return This builder for chaining. */ @@ -2448,7 +2448,7 @@ public Builder setSearchBytes( * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @return The name. */ @java.lang.Deprecated public java.lang.String getName() { @@ -2471,7 +2471,7 @@ public Builder setSearchBytes( * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @return The bytes for name. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2495,7 +2495,7 @@ public Builder setSearchBytes( * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @param value The name to set. * @return This builder for chaining. */ @@ -2517,7 +2517,7 @@ public Builder setSearchBytes( * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearName() { @@ -2534,7 +2534,7 @@ public Builder setSearchBytes( * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -2559,7 +2559,7 @@ public Builder setSearchBytes( * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @return The id. */ @java.lang.Deprecated public java.lang.String getId() { @@ -2582,7 +2582,7 @@ public Builder setSearchBytes( * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @return The bytes for id. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2606,7 +2606,7 @@ public Builder setSearchBytes( * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @param value The id to set. * @return This builder for chaining. */ @@ -2628,7 +2628,7 @@ public Builder setSearchBytes( * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearId() { @@ -2645,7 +2645,7 @@ public Builder setSearchBytes( * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @param value The bytes for id to set. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/ListAppsRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ListAppsRequestOrBuilder.java index e6077d1..117ecda 100644 --- a/src/main/java/com/clarifai/grpc/api/ListAppsRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ListAppsRequestOrBuilder.java @@ -255,7 +255,7 @@ public interface ListAppsRequestOrBuilder extends * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @return The query. */ @java.lang.Deprecated java.lang.String getQuery(); @@ -267,7 +267,7 @@ public interface ListAppsRequestOrBuilder extends * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=4221 + * See proto/clarifai/api/service.proto;l=4206 * @return The bytes for query. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -281,7 +281,7 @@ public interface ListAppsRequestOrBuilder extends * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @return The name. */ @java.lang.Deprecated java.lang.String getName(); @@ -293,7 +293,7 @@ public interface ListAppsRequestOrBuilder extends * * string name = 4 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=4224 + * See proto/clarifai/api/service.proto;l=4209 * @return The bytes for name. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -307,7 +307,7 @@ public interface ListAppsRequestOrBuilder extends * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @return The id. */ @java.lang.Deprecated java.lang.String getId(); @@ -319,7 +319,7 @@ public interface ListAppsRequestOrBuilder extends * * string id = 14 [deprecated = true]; * @deprecated clarifai.api.ListAppsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4227 + * See proto/clarifai/api/service.proto;l=4212 * @return The bytes for id. */ @java.lang.Deprecated com.google.protobuf.ByteString diff --git a/src/main/java/com/clarifai/grpc/api/ListDatasetsRequest.java b/src/main/java/com/clarifai/grpc/api/ListDatasetsRequest.java index 05033c7..8283b85 100644 --- a/src/main/java/com/clarifai/grpc/api/ListDatasetsRequest.java +++ b/src/main/java/com/clarifai/grpc/api/ListDatasetsRequest.java @@ -548,7 +548,7 @@ public java.lang.String getSearch() { * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @return The id. */ @java.lang.Override @@ -572,7 +572,7 @@ public java.lang.String getSearch() { * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @return The bytes for id. */ @java.lang.Override @@ -2035,7 +2035,7 @@ public Builder setSearchBytes( * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @return The id. */ @java.lang.Deprecated public java.lang.String getId() { @@ -2058,7 +2058,7 @@ public Builder setSearchBytes( * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @return The bytes for id. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2082,7 +2082,7 @@ public Builder setSearchBytes( * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @param value The id to set. * @return This builder for chaining. */ @@ -2104,7 +2104,7 @@ public Builder setSearchBytes( * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearId() { @@ -2121,7 +2121,7 @@ public Builder setSearchBytes( * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @param value The bytes for id to set. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/ListDatasetsRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ListDatasetsRequestOrBuilder.java index b2624dc..c091dc3 100644 --- a/src/main/java/com/clarifai/grpc/api/ListDatasetsRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ListDatasetsRequestOrBuilder.java @@ -224,7 +224,7 @@ public interface ListDatasetsRequestOrBuilder extends * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @return The id. */ @java.lang.Deprecated java.lang.String getId(); @@ -236,7 +236,7 @@ public interface ListDatasetsRequestOrBuilder extends * * string id = 12 [deprecated = true]; * @deprecated clarifai.api.ListDatasetsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=4948 + * See proto/clarifai/api/service.proto;l=4933 * @return The bytes for id. */ @java.lang.Deprecated com.google.protobuf.ByteString diff --git a/src/main/java/com/clarifai/grpc/api/ListModelsRequest.java b/src/main/java/com/clarifai/grpc/api/ListModelsRequest.java index fd30bae..1e09409 100644 --- a/src/main/java/com/clarifai/grpc/api/ListModelsRequest.java +++ b/src/main/java/com/clarifai/grpc/api/ListModelsRequest.java @@ -1117,7 +1117,7 @@ public java.lang.String getSearch() { * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @return The query. */ @java.lang.Override @@ -1141,7 +1141,7 @@ public java.lang.String getSearch() { * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @return The bytes for query. */ @java.lang.Override @@ -1169,7 +1169,7 @@ public java.lang.String getSearch() { * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @return The name. */ @java.lang.Override @@ -1193,7 +1193,7 @@ public java.lang.String getSearch() { * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @return The bytes for name. */ @java.lang.Override @@ -1221,7 +1221,7 @@ public java.lang.String getSearch() { * * bool filter_by_user_id = 22 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=5395 + * See proto/clarifai/api/service.proto;l=5380 * @return The filterByUserId. */ @java.lang.Override @@ -4182,7 +4182,7 @@ public Builder setSearchBytes( * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @return The query. */ @java.lang.Deprecated public java.lang.String getQuery() { @@ -4205,7 +4205,7 @@ public Builder setSearchBytes( * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @return The bytes for query. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -4229,7 +4229,7 @@ public Builder setSearchBytes( * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @param value The query to set. * @return This builder for chaining. */ @@ -4251,7 +4251,7 @@ public Builder setSearchBytes( * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearQuery() { @@ -4268,7 +4268,7 @@ public Builder setSearchBytes( * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @param value The bytes for query to set. * @return This builder for chaining. */ @@ -4293,7 +4293,7 @@ public Builder setSearchBytes( * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @return The name. */ @java.lang.Deprecated public java.lang.String getName() { @@ -4316,7 +4316,7 @@ public Builder setSearchBytes( * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @return The bytes for name. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -4340,7 +4340,7 @@ public Builder setSearchBytes( * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @param value The name to set. * @return This builder for chaining. */ @@ -4362,7 +4362,7 @@ public Builder setSearchBytes( * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearName() { @@ -4379,7 +4379,7 @@ public Builder setSearchBytes( * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -4404,7 +4404,7 @@ public Builder setSearchBytes( * * bool filter_by_user_id = 22 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=5395 + * See proto/clarifai/api/service.proto;l=5380 * @return The filterByUserId. */ @java.lang.Override @@ -4419,7 +4419,7 @@ public Builder setSearchBytes( * * bool filter_by_user_id = 22 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=5395 + * See proto/clarifai/api/service.proto;l=5380 * @param value The filterByUserId to set. * @return This builder for chaining. */ @@ -4437,7 +4437,7 @@ public Builder setSearchBytes( * * bool filter_by_user_id = 22 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=5395 + * See proto/clarifai/api/service.proto;l=5380 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearFilterByUserId() { diff --git a/src/main/java/com/clarifai/grpc/api/ListModelsRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ListModelsRequestOrBuilder.java index 4cb38f3..063a9aa 100644 --- a/src/main/java/com/clarifai/grpc/api/ListModelsRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ListModelsRequestOrBuilder.java @@ -553,7 +553,7 @@ public interface ListModelsRequestOrBuilder extends * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @return The query. */ @java.lang.Deprecated java.lang.String getQuery(); @@ -565,7 +565,7 @@ public interface ListModelsRequestOrBuilder extends * * string query = 14 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=5389 + * See proto/clarifai/api/service.proto;l=5374 * @return The bytes for query. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -579,7 +579,7 @@ public interface ListModelsRequestOrBuilder extends * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @return The name. */ @java.lang.Deprecated java.lang.String getName(); @@ -591,7 +591,7 @@ public interface ListModelsRequestOrBuilder extends * * string name = 5 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=5392 + * See proto/clarifai/api/service.proto;l=5377 * @return The bytes for name. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -605,7 +605,7 @@ public interface ListModelsRequestOrBuilder extends * * bool filter_by_user_id = 22 [deprecated = true]; * @deprecated clarifai.api.ListModelsRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=5395 + * See proto/clarifai/api/service.proto;l=5380 * @return The filterByUserId. */ @java.lang.Deprecated boolean getFilterByUserId(); diff --git a/src/main/java/com/clarifai/grpc/api/ListModulesRequest.java b/src/main/java/com/clarifai/grpc/api/ListModulesRequest.java index c5e7c76..0442f4b 100644 --- a/src/main/java/com/clarifai/grpc/api/ListModulesRequest.java +++ b/src/main/java/com/clarifai/grpc/api/ListModulesRequest.java @@ -551,7 +551,7 @@ public java.lang.String getSearch() { * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @return The name. */ @java.lang.Override @@ -575,7 +575,7 @@ public java.lang.String getSearch() { * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @return The bytes for name. */ @java.lang.Override @@ -603,7 +603,7 @@ public java.lang.String getSearch() { * * bool filter_by_user_id = 13 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=7195 + * See proto/clarifai/api/service.proto;l=7180 * @return The filterByUserId. */ @java.lang.Override @@ -2069,7 +2069,7 @@ public Builder setSearchBytes( * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @return The name. */ @java.lang.Deprecated public java.lang.String getName() { @@ -2092,7 +2092,7 @@ public Builder setSearchBytes( * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @return The bytes for name. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2116,7 +2116,7 @@ public Builder setSearchBytes( * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @param value The name to set. * @return This builder for chaining. */ @@ -2138,7 +2138,7 @@ public Builder setSearchBytes( * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearName() { @@ -2155,7 +2155,7 @@ public Builder setSearchBytes( * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @param value The bytes for name to set. * @return This builder for chaining. */ @@ -2180,7 +2180,7 @@ public Builder setSearchBytes( * * bool filter_by_user_id = 13 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=7195 + * See proto/clarifai/api/service.proto;l=7180 * @return The filterByUserId. */ @java.lang.Override @@ -2195,7 +2195,7 @@ public Builder setSearchBytes( * * bool filter_by_user_id = 13 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=7195 + * See proto/clarifai/api/service.proto;l=7180 * @param value The filterByUserId to set. * @return This builder for chaining. */ @@ -2213,7 +2213,7 @@ public Builder setSearchBytes( * * bool filter_by_user_id = 13 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=7195 + * See proto/clarifai/api/service.proto;l=7180 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearFilterByUserId() { diff --git a/src/main/java/com/clarifai/grpc/api/ListModulesRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ListModulesRequestOrBuilder.java index 57c3648..f85fdeb 100644 --- a/src/main/java/com/clarifai/grpc/api/ListModulesRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ListModulesRequestOrBuilder.java @@ -222,7 +222,7 @@ public interface ListModulesRequestOrBuilder extends * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @return The name. */ @java.lang.Deprecated java.lang.String getName(); @@ -234,7 +234,7 @@ public interface ListModulesRequestOrBuilder extends * * string name = 12 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.name is deprecated. - * See proto/clarifai/api/service.proto;l=7192 + * See proto/clarifai/api/service.proto;l=7177 * @return The bytes for name. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -248,7 +248,7 @@ public interface ListModulesRequestOrBuilder extends * * bool filter_by_user_id = 13 [deprecated = true]; * @deprecated clarifai.api.ListModulesRequest.filter_by_user_id is deprecated. - * See proto/clarifai/api/service.proto;l=7195 + * See proto/clarifai/api/service.proto;l=7180 * @return The filterByUserId. */ @java.lang.Deprecated boolean getFilterByUserId(); diff --git a/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequest.java b/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequest.java index c7f1a09..77005ac 100644 --- a/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequest.java +++ b/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequest.java @@ -601,7 +601,7 @@ public java.lang.String getSearch() { * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @return The query. */ @java.lang.Override @@ -625,7 +625,7 @@ public java.lang.String getSearch() { * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @return The bytes for query. */ @java.lang.Override @@ -653,7 +653,7 @@ public java.lang.String getSearch() { * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @return The id. */ @java.lang.Override @@ -677,7 +677,7 @@ public java.lang.String getSearch() { * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @return The bytes for id. */ @java.lang.Override @@ -705,7 +705,7 @@ public java.lang.String getSearch() { * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @return The searchTerm. */ @java.lang.Override @@ -729,7 +729,7 @@ public java.lang.String getSearch() { * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @return The bytes for searchTerm. */ @java.lang.Override @@ -2330,7 +2330,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @return The query. */ @java.lang.Deprecated public java.lang.String getQuery() { @@ -2353,7 +2353,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @return The bytes for query. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2377,7 +2377,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @param value The query to set. * @return This builder for chaining. */ @@ -2399,7 +2399,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearQuery() { @@ -2416,7 +2416,7 @@ public Builder setSearchBytes( * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @param value The bytes for query to set. * @return This builder for chaining. */ @@ -2441,7 +2441,7 @@ public Builder setSearchBytes( * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @return The id. */ @java.lang.Deprecated public java.lang.String getId() { @@ -2464,7 +2464,7 @@ public Builder setSearchBytes( * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @return The bytes for id. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2488,7 +2488,7 @@ public Builder setSearchBytes( * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @param value The id to set. * @return This builder for chaining. */ @@ -2510,7 +2510,7 @@ public Builder setSearchBytes( * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearId() { @@ -2527,7 +2527,7 @@ public Builder setSearchBytes( * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @param value The bytes for id to set. * @return This builder for chaining. */ @@ -2552,7 +2552,7 @@ public Builder setSearchBytes( * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @return The searchTerm. */ @java.lang.Deprecated public java.lang.String getSearchTerm() { @@ -2575,7 +2575,7 @@ public Builder setSearchBytes( * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @return The bytes for searchTerm. */ @java.lang.Deprecated public com.google.protobuf.ByteString @@ -2599,7 +2599,7 @@ public Builder setSearchBytes( * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @param value The searchTerm to set. * @return This builder for chaining. */ @@ -2621,7 +2621,7 @@ public Builder setSearchBytes( * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearSearchTerm() { @@ -2638,7 +2638,7 @@ public Builder setSearchBytes( * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @param value The bytes for searchTerm to set. * @return This builder for chaining. */ diff --git a/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequestOrBuilder.java index 9e3ff39..245b194 100644 --- a/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/ListWorkflowsRequestOrBuilder.java @@ -253,7 +253,7 @@ public interface ListWorkflowsRequestOrBuilder extends * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @return The query. */ @java.lang.Deprecated java.lang.String getQuery(); @@ -265,7 +265,7 @@ public interface ListWorkflowsRequestOrBuilder extends * * string query = 8 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6551 + * See proto/clarifai/api/service.proto;l=6536 * @return The bytes for query. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -279,7 +279,7 @@ public interface ListWorkflowsRequestOrBuilder extends * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @return The id. */ @java.lang.Deprecated java.lang.String getId(); @@ -291,7 +291,7 @@ public interface ListWorkflowsRequestOrBuilder extends * * string id = 4 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.id is deprecated. - * See proto/clarifai/api/service.proto;l=6554 + * See proto/clarifai/api/service.proto;l=6539 * @return The bytes for id. */ @java.lang.Deprecated com.google.protobuf.ByteString @@ -305,7 +305,7 @@ public interface ListWorkflowsRequestOrBuilder extends * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @return The searchTerm. */ @java.lang.Deprecated java.lang.String getSearchTerm(); @@ -317,7 +317,7 @@ public interface ListWorkflowsRequestOrBuilder extends * * string search_term = 12 [deprecated = true]; * @deprecated clarifai.api.ListWorkflowsRequest.search_term is deprecated. - * See proto/clarifai/api/service.proto;l=6557 + * See proto/clarifai/api/service.proto;l=6542 * @return The bytes for searchTerm. */ @java.lang.Deprecated com.google.protobuf.ByteString diff --git a/src/main/java/com/clarifai/grpc/api/PostModelsRequest.java b/src/main/java/com/clarifai/grpc/api/PostModelsRequest.java index 7cd6a2c..3e67cef 100644 --- a/src/main/java/com/clarifai/grpc/api/PostModelsRequest.java +++ b/src/main/java/com/clarifai/grpc/api/PostModelsRequest.java @@ -164,7 +164,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Model model = 2 [deprecated = true]; * @deprecated clarifai.api.PostModelsRequest.model is deprecated. - * See proto/clarifai/api/service.proto;l=5484 + * See proto/clarifai/api/service.proto;l=5469 * @return Whether the model field is set. */ @java.lang.Override @@ -181,7 +181,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Model model = 2 [deprecated = true]; * @deprecated clarifai.api.PostModelsRequest.model is deprecated. - * See proto/clarifai/api/service.proto;l=5484 + * See proto/clarifai/api/service.proto;l=5469 * @return The model. */ @java.lang.Override @@ -801,7 +801,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Model model = 2 [deprecated = true]; * @deprecated clarifai.api.PostModelsRequest.model is deprecated. - * See proto/clarifai/api/service.proto;l=5484 + * See proto/clarifai/api/service.proto;l=5469 * @return Whether the model field is set. */ @java.lang.Deprecated public boolean hasModel() { @@ -817,7 +817,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Model model = 2 [deprecated = true]; * @deprecated clarifai.api.PostModelsRequest.model is deprecated. - * See proto/clarifai/api/service.proto;l=5484 + * See proto/clarifai/api/service.proto;l=5469 * @return The model. */ @java.lang.Deprecated public com.clarifai.grpc.api.Model getModel() { diff --git a/src/main/java/com/clarifai/grpc/api/PostModelsRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/PostModelsRequestOrBuilder.java index a205157..b5a7844 100644 --- a/src/main/java/com/clarifai/grpc/api/PostModelsRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/PostModelsRequestOrBuilder.java @@ -32,7 +32,7 @@ public interface PostModelsRequestOrBuilder extends * * .clarifai.api.Model model = 2 [deprecated = true]; * @deprecated clarifai.api.PostModelsRequest.model is deprecated. - * See proto/clarifai/api/service.proto;l=5484 + * See proto/clarifai/api/service.proto;l=5469 * @return Whether the model field is set. */ @java.lang.Deprecated boolean hasModel(); @@ -46,7 +46,7 @@ public interface PostModelsRequestOrBuilder extends * * .clarifai.api.Model model = 2 [deprecated = true]; * @deprecated clarifai.api.PostModelsRequest.model is deprecated. - * See proto/clarifai/api/service.proto;l=5484 + * See proto/clarifai/api/service.proto;l=5469 * @return The model. */ @java.lang.Deprecated com.clarifai.grpc.api.Model getModel(); diff --git a/src/main/java/com/clarifai/grpc/api/PostSearchesRequest.java b/src/main/java/com/clarifai/grpc/api/PostSearchesRequest.java index f9322c1..5821e0b 100644 --- a/src/main/java/com/clarifai/grpc/api/PostSearchesRequest.java +++ b/src/main/java/com/clarifai/grpc/api/PostSearchesRequest.java @@ -187,7 +187,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Query query = 2 [deprecated = true]; * @deprecated clarifai.api.PostSearchesRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6088 + * See proto/clarifai/api/service.proto;l=6073 * @return Whether the query field is set. */ @java.lang.Override @@ -202,7 +202,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Query query = 2 [deprecated = true]; * @deprecated clarifai.api.PostSearchesRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6088 + * See proto/clarifai/api/service.proto;l=6073 * @return The query. */ @java.lang.Override @@ -927,7 +927,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Query query = 2 [deprecated = true]; * @deprecated clarifai.api.PostSearchesRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6088 + * See proto/clarifai/api/service.proto;l=6073 * @return Whether the query field is set. */ @java.lang.Deprecated public boolean hasQuery() { @@ -941,7 +941,7 @@ public com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder() { * * .clarifai.api.Query query = 2 [deprecated = true]; * @deprecated clarifai.api.PostSearchesRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6088 + * See proto/clarifai/api/service.proto;l=6073 * @return The query. */ @java.lang.Deprecated public com.clarifai.grpc.api.Query getQuery() { diff --git a/src/main/java/com/clarifai/grpc/api/PostSearchesRequestOrBuilder.java b/src/main/java/com/clarifai/grpc/api/PostSearchesRequestOrBuilder.java index bed1644..adddfec 100644 --- a/src/main/java/com/clarifai/grpc/api/PostSearchesRequestOrBuilder.java +++ b/src/main/java/com/clarifai/grpc/api/PostSearchesRequestOrBuilder.java @@ -42,7 +42,7 @@ public interface PostSearchesRequestOrBuilder extends * * .clarifai.api.Query query = 2 [deprecated = true]; * @deprecated clarifai.api.PostSearchesRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6088 + * See proto/clarifai/api/service.proto;l=6073 * @return Whether the query field is set. */ @java.lang.Deprecated boolean hasQuery(); @@ -54,7 +54,7 @@ public interface PostSearchesRequestOrBuilder extends * * .clarifai.api.Query query = 2 [deprecated = true]; * @deprecated clarifai.api.PostSearchesRequest.query is deprecated. - * See proto/clarifai/api/service.proto;l=6088 + * See proto/clarifai/api/service.proto;l=6073 * @return The query. */ @java.lang.Deprecated com.clarifai.grpc.api.Query getQuery(); diff --git a/src/main/java/com/clarifai/grpc/api/Resources.java b/src/main/java/com/clarifai/grpc/api/Resources.java index aa70f09..437f7f3 100644 --- a/src/main/java/com/clarifai/grpc/api/Resources.java +++ b/src/main/java/com/clarifai/grpc/api/Resources.java @@ -2092,95 +2092,97 @@ public static void registerAllExtensions( "InstanceType\022\n\n\002id\030\001 \001(\t\022\023\n\013description\030" + "\002 \001(\t\022/\n\014compute_info\030\003 \001(\0132\031.clarifai.a" + "pi.ComputeInfo\")\n\rCloudProvider\022\n\n\002id\030\001 " + - "\001(\t\022\014\n\004name\030\002 \001(\t\"\226\002\n\016ComputeCluster\022\n\n\002" + + "\001(\t\022\014\n\004name\030\002 \001(\t\"\340\002\n\016ComputeCluster\022\n\n\002" + "id\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\0223\n\016cloud_p" + "rovider\030\003 \001(\0132\033.clarifai.api.CloudProvid" + "er\022\016\n\006region\030\004 \001(\t\022\017\n\007user_id\030\005 \001(\t\022.\n\nc" + "reated_at\030\006 \001(\0132\032.google.protobuf.Timest" + "amp\022/\n\013modified_at\030\007 \001(\0132\032.google.protob" + "uf.Timestamp\022,\n\nvisibility\030\010 \001(\0132\030.clari" + - "fai.api.Visibility\"\203\001\n\013ComputeInfo\022\020\n\010nu" + - "m_cpus\030\001 \001(\r\022\022\n\ncpu_memory\030\002 \001(\t\022\030\n\020num_" + - "accelerators\030\003 \001(\r\022\032\n\022accelerator_memory" + - "\030\004 \001(\t\022\030\n\020accelerator_type\030\005 \003(\t\"\270\001\n\017Aut" + - "oscaleConfig\022\024\n\014min_replicas\030\001 \001(\r\022\024\n\014ma" + - "x_replicas\030\002 \001(\r\022\037\n\027traffic_history_seco" + - "nds\030\003 \001(\r\022 \n\030scale_down_delay_seconds\030\004 " + - "\001(\r\022\036\n\026scale_up_delay_seconds\030\005 \001(\r\022\026\n\016e" + - "nable_packing\030\006 \001(\010\"\376\004\n\nDeployment\022\n\n\002id" + - "\030\001 \001(\t\022\017\n\007user_id\030\002 \001(\t\0227\n\020autoscale_con" + - "fig\030\003 \001(\0132\035.clarifai.api.AutoscaleConfig" + - "\022)\n\tnodepools\030\004 \003(\0132\026.clarifai.api.Nodep" + - "ool\022D\n\021scheduling_choice\030\007 \001(\0162).clarifa" + - "i.api.Deployment.SchedulingChoice\022,\n\nvis" + - "ibility\030\010 \001(\0132\030.clarifai.api.Visibility\022" + - ")\n\010metadata\030\t \001(\0132\027.google.protobuf.Stru" + - "ct\022\023\n\013description\030\n \001(\t\022$\n\006worker\030\013 \001(\0132" + - "\024.clarifai.api.Worker\022.\n\ncreated_at\030\014 \001(" + - "\0132\032.google.protobuf.Timestamp\022/\n\013modifie" + - "d_at\030\r \001(\0132\032.google.protobuf.Timestamp\"\247" + - "\001\n\020SchedulingChoice\022\035\n\031UNKNOWN_SCHEDULIN" + - "G_CHOICE\020\000\022\010\n\004FAIL\020\001\022\n\n\006RANDOM\020\002\022\t\n\005PRIC" + - "E\020\003\022\017\n\013PERFORMANCE\020\004\022\013\n\007NETWORK\020\005\022\017\n\013UTI" + - "LIZATION\020\006\022\017\n\013PREFER_SPOT\020\007\022\023\n\017PREFER_ON" + - "DEMAND\020\010J\004\010\005\020\006J\004\010\006\020\007\"\216\001\n\016RunnerSelector\022" + - "(\n\010nodepool\030\001 \001(\0132\026.clarifai.api.Nodepoo" + - "l\022$\n\006runner\030\002 \001(\0132\024.clarifai.api.Runner\022" + - ",\n\ndeployment\030\003 \001(\0132\030.clarifai.api.Deplo" + - "yment\"y\n\016ProcessingInfo\022:\n\022runner_method" + - "_type\030\001 \001(\0162\036.clarifai.api.RunnerMethodT" + - "ype\022+\n\006status\030\002 \001(\0132\033.clarifai.api.statu" + - "s.Status*^\n\024WorkflowModelUseCase\022#\n\037WORK" + - "FLOW_MODEL_USE_CASE_NOT_SET\020\000\022\022\n\016CLASSIF" + - "ICATION\020\001\022\r\n\tDETECTION\020\002*\220\001\n\033DatasetVers" + - "ionRequestOrigin\022*\n&DATASET_VERSION_REQU" + - "EST_ORIGIN_NOT_SET\020\000\022\n\n\006MANUAL\020\001\022\014\n\010TRAI" + - "NING\020\002\022\025\n\021EVAL_GROUND_TRUTH\020\003\022\024\n\020EVAL_PR" + - "EDICTIONS\020\004*\371\001\n\036DatasetVersionMetricsGro" + - "upType\022.\n*DATASET_VERSION_METRICS_GROUP_" + - "TYPE_NOT_SET\020\000\022\016\n\nINPUT_TYPE\020\002\022\016\n\nCONCEP" + - "T_ID\020\n\022\022\n\016CONCEPTS_COUNT\020\013\022\030\n\024BOUNDING_B" + - "OXES_COUNT\020\024\022\022\n\016POLYGONS_COUNT\020\025\022\020\n\014POIN" + - "TS_COUNT\020\026\022\017\n\013MASKS_COUNT\020\027\022\020\n\014PIXELS_CO" + - "UNT\020\036\022\020\n\014ASPECT_RATIO\020\037*\205\001\n\032DatasetVersi" + - "onExportFormat\022)\n%DATASET_VERSION_EXPORT" + - "_FORMAT_NOT_SET\020\000\022\032\n\026CLARIFAI_DATA_PROTO" + - "BUF\020\001\022\026\n\022CLARIFAI_DATA_JSON\020\003\022\010\n\004COCO\020\002*" + - "H\n\020ExpirationAction\022\035\n\031EXPIRATION_ACTION" + - "_NOT_SET\020\000\022\t\n\005DELAY\020\001\022\n\n\006EXPIRY\020\002*M\n\014Lic" + - "enseScope\022\031\n\025LICENSE_SCOPE_NOT_SET\020\000\022\013\n\007" + - "PREDICT\020\001\022\t\n\005TRAIN\020\002\022\n\n\006SEARCH\020\003*P\n\010Data" + - "Type\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\004FP32\020\005*\217\001\n\017V" + - "alueComparator\022\035\n\031CONCEPT_THRESHOLD_NOT_" + - "SET\020\000\022\020\n\014GREATER_THAN\020\001\022\031\n\025GREATER_THAN_" + - "OR_EQUAL\020\002\022\r\n\tLESS_THAN\020\003\022\026\n\022LESS_THAN_O" + - "R_EQUAL\020\004\022\t\n\005EQUAL\020\005*\201\001\n\016EvaluationType\022" + - "\r\n\tUndefined\020\000\022\022\n\016Classification\020\001\022\r\n\tDe" + - "tection\020\002\022\020\n\014Segmentation\020\003\022\016\n\nClusterin" + - "g\020\004\022\013\n\007Tracker\020\005\022\016\n\nGeneration\020\006*f\n\014APIE" + - "ventType\022\032\n\026API_EVENT_TYPE_NOT_SET\020\000\022\023\n\017" + - "ON_PREM_PREDICT\020\001\022\021\n\rON_PREM_TRAIN\020\002\022\022\n\016" + - "ON_PREM_SEARCH\020\003*<\n\021UsageIntervalType\022\t\n" + - "\005undef\020\000\022\007\n\003day\020\001\022\t\n\005month\020\002\022\010\n\004year\020\003*}" + - "\n\022AnnotationDataType\022 \n\034ANNOTATION_DATA_" + - "TYPE_NOT_SET\020\000\022\007\n\003TAG\020\001\022\020\n\014BOUNDING_BOX\020" + - "\002\022\013\n\007POLYGON\020\004\022\t\n\005POINT\020\010\022\010\n\004SPAN\020\020\022\010\n\004M" + - "ASK\020 *\035\n\010RoleType\022\010\n\004TEAM\020\000\022\007\n\003ORG\020\001*$\n\020" + - "StatValueAggType\022\007\n\003SUM\020\000\022\007\n\003AVG\020\001*`\n\017St" + - "atTimeAggType\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\035V" + - "ALIDATION_ERROR_TYPE_NOT_SET\020\000\022\016\n\nRESTRI" + - "CTED\020\001\022\014\n\010DATABASE\020\002\022\n\n\006FORMAT\020\003*[\n\031Inpu" + - "tIDConflictResolution\022(\n$INPUT_ID_CONFLI" + - "CT_RESOLUTION_NOT_SET\020\000\022\010\n\004SKIP\020\001\022\n\n\006SUF" + - "FIX\020\002*s\n\020RunnerMethodType\022\013\n\007UNKNOWN\020\000\022\017" + - "\n\013UNARY_UNARY\020\001\022\023\n\017UNARY_STREAMING\020\002\022\023\n\017" + - "STREAMING_UNARY\020\003\022\027\n\023STREAMING_STREAMING" + - "\020\004BY\n\025com.clarifai.grpc.apiP\001Z7github.co" + - "m/Clarifai/clarifai-go-grpc/proto/clarif" + - "ai/api\242\002\004CAIPb\006proto3" + "fai.api.Visibility\022\024\n\014cluster_type\030\t \001(\t" + + "\022\022\n\nmanaged_by\030\n \001(\t\022\036\n\003key\030\013 \001(\0132\021.clar" + + "ifai.api.Key\"\203\001\n\013ComputeInfo\022\020\n\010num_cpus" + + "\030\001 \001(\r\022\022\n\ncpu_memory\030\002 \001(\t\022\030\n\020num_accele" + + "rators\030\003 \001(\r\022\032\n\022accelerator_memory\030\004 \001(\t" + + "\022\030\n\020accelerator_type\030\005 \003(\t\"\270\001\n\017Autoscale" + + "Config\022\024\n\014min_replicas\030\001 \001(\r\022\024\n\014max_repl" + + "icas\030\002 \001(\r\022\037\n\027traffic_history_seconds\030\003 " + + "\001(\r\022 \n\030scale_down_delay_seconds\030\004 \001(\r\022\036\n" + + "\026scale_up_delay_seconds\030\005 \001(\r\022\026\n\016enable_" + + "packing\030\006 \001(\010\"\376\004\n\nDeployment\022\n\n\002id\030\001 \001(\t" + + "\022\017\n\007user_id\030\002 \001(\t\0227\n\020autoscale_config\030\003 " + + "\001(\0132\035.clarifai.api.AutoscaleConfig\022)\n\tno" + + "depools\030\004 \003(\0132\026.clarifai.api.Nodepool\022D\n" + + "\021scheduling_choice\030\007 \001(\0162).clarifai.api." + + "Deployment.SchedulingChoice\022,\n\nvisibilit" + + "y\030\010 \001(\0132\030.clarifai.api.Visibility\022)\n\010met" + + "adata\030\t \001(\0132\027.google.protobuf.Struct\022\023\n\013" + + "description\030\n \001(\t\022$\n\006worker\030\013 \001(\0132\024.clar" + + "ifai.api.Worker\022.\n\ncreated_at\030\014 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022/\n\013modified_at\030\r" + + " \001(\0132\032.google.protobuf.Timestamp\"\247\001\n\020Sch" + + "edulingChoice\022\035\n\031UNKNOWN_SCHEDULING_CHOI" + + "CE\020\000\022\010\n\004FAIL\020\001\022\n\n\006RANDOM\020\002\022\t\n\005PRICE\020\003\022\017\n" + + "\013PERFORMANCE\020\004\022\013\n\007NETWORK\020\005\022\017\n\013UTILIZATI" + + "ON\020\006\022\017\n\013PREFER_SPOT\020\007\022\023\n\017PREFER_ONDEMAND" + + "\020\010J\004\010\005\020\006J\004\010\006\020\007\"\216\001\n\016RunnerSelector\022(\n\010nod" + + "epool\030\001 \001(\0132\026.clarifai.api.Nodepool\022$\n\006r" + + "unner\030\002 \001(\0132\024.clarifai.api.Runner\022,\n\ndep" + + "loyment\030\003 \001(\0132\030.clarifai.api.Deployment\"" + + "y\n\016ProcessingInfo\022:\n\022runner_method_type\030" + + "\001 \001(\0162\036.clarifai.api.RunnerMethodType\022+\n" + + "\006status\030\002 \001(\0132\033.clarifai.api.status.Stat" + + "us*^\n\024WorkflowModelUseCase\022#\n\037WORKFLOW_M" + + "ODEL_USE_CASE_NOT_SET\020\000\022\022\n\016CLASSIFICATIO" + + "N\020\001\022\r\n\tDETECTION\020\002*\220\001\n\033DatasetVersionReq" + + "uestOrigin\022*\n&DATASET_VERSION_REQUEST_OR" + + "IGIN_NOT_SET\020\000\022\n\n\006MANUAL\020\001\022\014\n\010TRAINING\020\002" + + "\022\025\n\021EVAL_GROUND_TRUTH\020\003\022\024\n\020EVAL_PREDICTI" + + "ONS\020\004*\371\001\n\036DatasetVersionMetricsGroupType" + + "\022.\n*DATASET_VERSION_METRICS_GROUP_TYPE_N" + + "OT_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_C" + + "OUNT\020\024\022\022\n\016POLYGONS_COUNT\020\025\022\020\n\014POINTS_COU" + + "NT\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\032DatasetVersionExpo" + + "rtFormat\022)\n%DATASET_VERSION_EXPORT_FORMA" + + "T_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\020Exp" + + "irationAction\022\035\n\031EXPIRATION_ACTION_NOT_S" + + "ET\020\000\022\t\n\005DELAY\020\001\022\n\n\006EXPIRY\020\002*M\n\014LicenseSc" + + "ope\022\031\n\025LICENSE_SCOPE_NOT_SET\020\000\022\013\n\007PREDIC" + + "T\020\001\022\t\n\005TRAIN\020\002\022\n\n\006SEARCH\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\005" + + "INT32\020\003\022\t\n\005INT64\020\004\022\010\n\004FP32\020\005*\217\001\n\017ValueCo" + + "mparator\022\035\n\031CONCEPT_THRESHOLD_NOT_SET\020\000\022" + + "\020\n\014GREATER_THAN\020\001\022\031\n\025GREATER_THAN_OR_EQU" + + "AL\020\002\022\r\n\tLESS_THAN\020\003\022\026\n\022LESS_THAN_OR_EQUA" + + "L\020\004\022\t\n\005EQUAL\020\005*\201\001\n\016EvaluationType\022\r\n\tUnd" + + "efined\020\000\022\022\n\016Classification\020\001\022\r\n\tDetectio" + + "n\020\002\022\020\n\014Segmentation\020\003\022\016\n\nClustering\020\004\022\013\n" + + "\007Tracker\020\005\022\016\n\nGeneration\020\006*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\002*" + + "s\n\020RunnerMethodType\022\013\n\007UNKNOWN\020\000\022\017\n\013UNAR" + + "Y_UNARY\020\001\022\023\n\017UNARY_STREAMING\020\002\022\023\n\017STREAM" + + "ING_UNARY\020\003\022\027\n\023STREAMING_STREAMING\020\004BY\n\025" + + "com.clarifai.grpc.apiP\001Z7github.com/Clar" + + "ifai/clarifai-go-grpc/proto/clarifai/api" + + "\242\002\004CAIPb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -3441,7 +3443,7 @@ public static void registerAllExtensions( internal_static_clarifai_api_ComputeCluster_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_clarifai_api_ComputeCluster_descriptor, - new java.lang.String[] { "Id", "Description", "CloudProvider", "Region", "UserId", "CreatedAt", "ModifiedAt", "Visibility", }); + new java.lang.String[] { "Id", "Description", "CloudProvider", "Region", "UserId", "CreatedAt", "ModifiedAt", "Visibility", "ClusterType", "ManagedBy", "Key", }); internal_static_clarifai_api_ComputeInfo_descriptor = getDescriptor().getMessageTypes().get(205); internal_static_clarifai_api_ComputeInfo_fieldAccessorTable = new diff --git a/src/main/java/com/clarifai/grpc/api/Service.java b/src/main/java/com/clarifai/grpc/api/Service.java index ace7379..7617bf8 100644 --- a/src/main/java/com/clarifai/grpc/api/Service.java +++ b/src/main/java/com/clarifai/grpc/api/Service.java @@ -3033,7 +3033,7 @@ public static void registerAllExtensions( "NMENTS_REQUEST_ACTION_NOT_SET\020\000\022\017\n\013LABEL" + "_START\020\001\022\020\n\014LABEL_SUBMIT\020\002\022\020\n\014REVIEW_STA" + "RT\020\n\022\022\n\016REVIEW_APPROVE\020\013\022\032\n\026REVIEW_REQUE" + - "ST_CHANGES\020\014\022\021\n\rREVIEW_REJECT\020\r2\346\265\003\n\002V2\022" + + "ST_CHANGES\020\014\022\021\n\rREVIEW_REJECT\020\r2\366\265\003\n\002V2\022" + "\256\002\n\024ListConceptRelations\022).clarifai.api." + "ListConceptRelationsRequest\032*.clarifai.a" + "pi.MultiConceptRelationResponse\"\276\001\202\323\344\223\002\253" + @@ -4366,78 +4366,78 @@ public static void registerAllExtensions( "user_app_id.user_id}/apps/{user_app_id.a" + "pp_id}/models/{model_id}/versions/time_e" + "stimate:\001*Z1\",/v2/models/{model_id}/vers" + - "ions/time_estimate:\001*\230\234\'\002\220\234\'-\220\234\'\017\022\277\001\n\021Ge" + + "ions/time_estimate:\001*\230\234\'\002\220\234\'-\220\234\'\017\022\303\001\n\021Ge" + "tComputeCluster\022&.clarifai.api.GetComput" + "eClusterRequest\032*.clarifai.api.SingleCom" + - "puteClusterResponse\"V\202\323\344\223\002G\022E/v2/users/{" + + "puteClusterResponse\"Z\202\323\344\223\002G\022E/v2/users/{" + "user_app_id.user_id}/compute_clusters/{c" + - "ompute_cluster_id}\230\234\'\005\220\234\'\213\001\022\255\001\n\023ListComp" + - "uteClusters\022(.clarifai.api.ListComputeCl" + - "ustersRequest\032).clarifai.api.MultiComput" + - "eClusterResponse\"A\202\323\344\223\0022\0220/v2/users/{use" + - "r_app_id.user_id}/compute_clusters\230\234\'\005\220\234" + - "\'\213\001\022\265\001\n\023PostComputeClusters\022(.clarifai.a" + - "pi.PostComputeClustersRequest\032).clarifai" + - ".api.MultiComputeClusterResponse\"I\202\323\344\223\0025" + - "\"0/v2/users/{user_app_id.user_id}/comput" + - "e_clusters:\001*\230\234\'\005\220\234\'\213\001\220\234\'\214\001\022\305\001\n\025DeleteCo" + - "mputeClusters\022*.clarifai.api.DeleteCompu" + - "teClustersRequest\032!.clarifai.api.status." + - "BaseResponse\"]\202\323\344\223\0025*0/v2/users/{user_ap" + - "p_id.user_id}/compute_clusters:\001*\230\234\'\005\220\234\'" + - "\213\001\220\234\'\214\001\220\234\'\215\001\220\234\'\210\001\220\234\'\211\001\220\234\'\212\001\022\312\001\n\013GetNodep" + - "ool\022 .clarifai.api.GetNodepoolRequest\032$." + - "clarifai.api.SingleNodepoolResponse\"s\202\323\344" + - "\223\002_\022]/v2/users/{user_app_id.user_id}/com" + - "pute_clusters/{compute_cluster_id}/nodep" + - "ools/{nodepool_id}\230\234\'\005\220\234\'\210\001\220\234\'\213\001\022\277\001\n\rLis" + - "tNodepools\022\".clarifai.api.ListNodepoolsR" + - "equest\032#.clarifai.api.MultiNodepoolRespo" + - "nse\"e\202\323\344\223\002Q\022O/v2/users/{user_app_id.user" + - "_id}/compute_clusters/{compute_cluster_i" + - "d}/nodepools\230\234\'\005\220\234\'\210\001\220\234\'\213\001\022\307\001\n\rPostNodep" + - "ools\022\".clarifai.api.PostNodepoolsRequest" + - "\032#.clarifai.api.MultiNodepoolResponse\"m\202" + - "\323\344\223\002T\"O/v2/users/{user_app_id.user_id}/c" + - "ompute_clusters/{compute_cluster_id}/nod" + - "epools:\001*\230\234\'\005\220\234\'\210\001\220\234\'\211\001\220\234\'\213\001\022\311\001\n\016PatchNo" + - "depools\022#.clarifai.api.PatchNodepoolsReq" + - "uest\032#.clarifai.api.MultiNodepoolRespons" + - "e\"m\202\323\344\223\002T2O/v2/users/{user_app_id.user_i" + - "d}/compute_clusters/{compute_cluster_id}" + - "/nodepools:\001*\230\234\'\005\220\234\'\211\001\220\234\'\210\001\220\234\'\213\001\022\330\001\n\017Del" + - "eteNodepools\022$.clarifai.api.DeleteNodepo" + - "olsRequest\032!.clarifai.api.status.BaseRes" + - "ponse\"|\202\323\344\223\002T*O/v2/users/{user_app_id.us" + - "er_id}/compute_clusters/{compute_cluster" + - "_id}/nodepools:\001*\230\234\'\005\220\234\'\210\001\220\234\'\211\001\220\234\'\212\001\220\234\'\203" + - "\001\220\234\'\204\001\220\234\'\205\001\022\273\001\n\rGetDeployment\022\".clarifai" + - ".api.GetDeploymentRequest\032&.clarifai.api" + - ".SingleDeploymentResponse\"^\202\323\344\223\002=\022;/v2/u" + - "sers/{user_app_id.user_id}/deployments/{" + - "deployment_id}\230\234\'\005\220\234\'\220\001\220\234\'\210\001\220\234\'\213\001\220\234\'\017\220\234\'" + - "\023\022\263\001\n\017ListDeployments\022$.clarifai.api.Lis" + - "tDeploymentsRequest\032%.clarifai.api.Multi" + - "DeploymentResponse\"S\202\323\344\223\002-\022+/v2/users/{u" + - "ser_app_id.user_id}/deployments\230\234\'\005\220\234\'\220\001" + - "\220\234\'\017\220\234\'\023\220\234\'\210\001\220\234\'\213\001\220\234\'\210\001\022\272\001\n\017PostDeployme" + - "nts\022$.clarifai.api.PostDeploymentsReques" + - "t\032%.clarifai.api.MultiDeploymentResponse" + - "\"Z\202\323\344\223\0020\"+/v2/users/{user_app_id.user_id" + - "}/deployments:\001*\230\234\'\005\220\234\'\220\001\220\234\'\221\001\220\234\'\017\220\234\'\023\220\234" + - "\'-\220\234\'\210\001\220\234\'\213\001\022\274\001\n\020PatchDeployments\022%.clar" + - "ifai.api.PatchDeploymentsRequest\032%.clari" + - "fai.api.MultiDeploymentResponse\"Z\202\323\344\223\00202" + - "+/v2/users/{user_app_id.user_id}/deploym" + - "ents:\001*\230\234\'\005\220\234\'\221\001\220\234\'\220\001\220\234\'\017\220\234\'\023\220\234\'-\220\234\'\210\001\220\234" + - "\'\213\001\022\273\001\n\021DeleteDeployments\022&.clarifai.api" + - ".DeleteDeploymentsRequest\032!.clarifai.api" + - ".status.BaseResponse\"[\202\323\344\223\0020*+/v2/users/" + - "{user_app_id.user_id}/deployments:\001*\230\234\'\005" + - "\220\234\'\220\001\220\234\'\221\001\220\234\'\222\001\220\234\'\017\220\234\'\023\220\234\'\210\001\220\234\'\213\001BY\n\025com" + - ".clarifai.grpc.apiP\001Z7github.com/Clarifa" + - "i/clarifai-go-grpc/proto/clarifai/api\242\002\004" + - "CAIPb\006proto3" + "ompute_cluster_id}\230\234\'\005\220\234\'\213\001\220\234\'0\022\261\001\n\023List" + + "ComputeClusters\022(.clarifai.api.ListCompu" + + "teClustersRequest\032).clarifai.api.MultiCo" + + "mputeClusterResponse\"E\202\323\344\223\0022\0220/v2/users/" + + "{user_app_id.user_id}/compute_clusters\230\234" + + "\'\005\220\234\'\213\001\220\234\'0\022\271\001\n\023PostComputeClusters\022(.cl" + + "arifai.api.PostComputeClustersRequest\032)." + + "clarifai.api.MultiComputeClusterResponse" + + "\"M\202\323\344\223\0025\"0/v2/users/{user_app_id.user_id" + + "}/compute_clusters:\001*\230\234\'\005\220\234\'\213\001\220\234\'\214\001\220\234\'0\022" + + "\311\001\n\025DeleteComputeClusters\022*.clarifai.api" + + ".DeleteComputeClustersRequest\032!.clarifai" + + ".api.status.BaseResponse\"a\202\323\344\223\0025*0/v2/us" + + "ers/{user_app_id.user_id}/compute_cluste" + + "rs:\001*\230\234\'\005\220\234\'\213\001\220\234\'\214\001\220\234\'\215\001\220\234\'\210\001\220\234\'\211\001\220\234\'\212\001\220" + + "\234\'0\022\312\001\n\013GetNodepool\022 .clarifai.api.GetNo" + + "depoolRequest\032$.clarifai.api.SingleNodep" + + "oolResponse\"s\202\323\344\223\002_\022]/v2/users/{user_app" + + "_id.user_id}/compute_clusters/{compute_c" + + "luster_id}/nodepools/{nodepool_id}\230\234\'\005\220\234" + + "\'\210\001\220\234\'\213\001\022\277\001\n\rListNodepools\022\".clarifai.ap" + + "i.ListNodepoolsRequest\032#.clarifai.api.Mu" + + "ltiNodepoolResponse\"e\202\323\344\223\002Q\022O/v2/users/{" + + "user_app_id.user_id}/compute_clusters/{c" + + "ompute_cluster_id}/nodepools\230\234\'\005\220\234\'\210\001\220\234\'" + + "\213\001\022\307\001\n\rPostNodepools\022\".clarifai.api.Post" + + "NodepoolsRequest\032#.clarifai.api.MultiNod" + + "epoolResponse\"m\202\323\344\223\002T\"O/v2/users/{user_a" + + "pp_id.user_id}/compute_clusters/{compute" + + "_cluster_id}/nodepools:\001*\230\234\'\005\220\234\'\210\001\220\234\'\211\001\220" + + "\234\'\213\001\022\311\001\n\016PatchNodepools\022#.clarifai.api.P" + + "atchNodepoolsRequest\032#.clarifai.api.Mult" + + "iNodepoolResponse\"m\202\323\344\223\002T2O/v2/users/{us" + + "er_app_id.user_id}/compute_clusters/{com" + + "pute_cluster_id}/nodepools:\001*\230\234\'\005\220\234\'\211\001\220\234" + + "\'\210\001\220\234\'\213\001\022\330\001\n\017DeleteNodepools\022$.clarifai." + + "api.DeleteNodepoolsRequest\032!.clarifai.ap" + + "i.status.BaseResponse\"|\202\323\344\223\002T*O/v2/users" + + "/{user_app_id.user_id}/compute_clusters/" + + "{compute_cluster_id}/nodepools:\001*\230\234\'\005\220\234\'" + + "\210\001\220\234\'\211\001\220\234\'\212\001\220\234\'\203\001\220\234\'\204\001\220\234\'\205\001\022\273\001\n\rGetDeplo" + + "yment\022\".clarifai.api.GetDeploymentReques" + + "t\032&.clarifai.api.SingleDeploymentRespons" + + "e\"^\202\323\344\223\002=\022;/v2/users/{user_app_id.user_i" + + "d}/deployments/{deployment_id}\230\234\'\005\220\234\'\220\001\220" + + "\234\'\210\001\220\234\'\213\001\220\234\'\017\220\234\'\023\022\263\001\n\017ListDeployments\022$." + + "clarifai.api.ListDeploymentsRequest\032%.cl" + + "arifai.api.MultiDeploymentResponse\"S\202\323\344\223" + + "\002-\022+/v2/users/{user_app_id.user_id}/depl" + + "oyments\230\234\'\005\220\234\'\220\001\220\234\'\017\220\234\'\023\220\234\'\210\001\220\234\'\213\001\220\234\'\210\001\022" + + "\272\001\n\017PostDeployments\022$.clarifai.api.PostD" + + "eploymentsRequest\032%.clarifai.api.MultiDe" + + "ploymentResponse\"Z\202\323\344\223\0020\"+/v2/users/{use" + + "r_app_id.user_id}/deployments:\001*\230\234\'\005\220\234\'\220" + + "\001\220\234\'\221\001\220\234\'\017\220\234\'\023\220\234\'-\220\234\'\210\001\220\234\'\213\001\022\274\001\n\020PatchDe" + + "ployments\022%.clarifai.api.PatchDeployment" + + "sRequest\032%.clarifai.api.MultiDeploymentR" + + "esponse\"Z\202\323\344\223\00202+/v2/users/{user_app_id." + + "user_id}/deployments:\001*\230\234\'\005\220\234\'\221\001\220\234\'\220\001\220\234\'" + + "\017\220\234\'\023\220\234\'-\220\234\'\210\001\220\234\'\213\001\022\273\001\n\021DeleteDeployment" + + "s\022&.clarifai.api.DeleteDeploymentsReques" + + "t\032!.clarifai.api.status.BaseResponse\"[\202\323" + + "\344\223\0020*+/v2/users/{user_app_id.user_id}/de" + + "ployments:\001*\230\234\'\005\220\234\'\220\001\220\234\'\221\001\220\234\'\222\001\220\234\'\017\220\234\'\023\220" + + "\234\'\210\001\220\234\'\213\001BY\n\025com.clarifai.grpc.apiP\001Z7gi" + + "thub.com/Clarifai/clarifai-go-grpc/proto" + + "/clarifai/api\242\002\004CAIPb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData,