diff --git a/VERSION b/VERSION index 9f94fa1..1f55410 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.8.5 +10.8.6 diff --git a/build.gradle b/build.gradle index 6d3e3ac..36ce03a 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ nexusPublishing { } group = 'com.clarifai' -version = '10.8.5' +version = '10.8.6' repositories { mavenCentral() diff --git a/src/main/java/com/clarifai/grpc/api/EventType.java b/src/main/java/com/clarifai/grpc/api/EventType.java index 77bbd50..554f0dd 100644 --- a/src/main/java/com/clarifai/grpc/api/EventType.java +++ b/src/main/java/com/clarifai/grpc/api/EventType.java @@ -17,7 +17,7 @@ public enum EventType * APPLICATION event types : 100 - 199 * * - * APPLICATION_CREATE = 100; + * APPLICATION_CREATE = 100 [(.clarifai.api.utils.description) = "Operation to create an Application"]; */ APPLICATION_CREATE(100), UNRECOGNIZED(-1), @@ -32,7 +32,7 @@ public enum EventType * APPLICATION event types : 100 - 199 * * - * APPLICATION_CREATE = 100; + * APPLICATION_CREATE = 100 [(.clarifai.api.utils.description) = "Operation to create an Application"]; */ public static final int APPLICATION_CREATE_VALUE = 100; diff --git a/src/main/java/com/clarifai/grpc/api/Resources.java b/src/main/java/com/clarifai/grpc/api/Resources.java index 4a36635..79fb4b5 100644 --- a/src/main/java/com/clarifai/grpc/api/Resources.java +++ b/src/main/java/com/clarifai/grpc/api/Resources.java @@ -2218,11 +2218,12 @@ public static void registerAllExtensions( "\000\022\010\n\004SKIP\020\001\022\n\n\006SUFFIX\020\002*s\n\020RunnerMethodT" + "ype\022\013\n\007UNKNOWN\020\000\022\017\n\013UNARY_UNARY\020\001\022\023\n\017UNA" + "RY_STREAMING\020\002\022\023\n\017STREAMING_UNARY\020\003\022\027\n\023S" + - "TREAMING_STREAMING\020\004*;\n\tEventType\022\026\n\022EVE" + - "NT_TYPE_NOT_SET\020\000\022\026\n\022APPLICATION_CREATE\020" + - "dBY\n\025com.clarifai.grpc.apiP\001Z7github.com" + - "/Clarifai/clarifai-go-grpc/proto/clarifa" + - "i/api\242\002\004CAIPb\006proto3" + "TREAMING_STREAMING\020\004*b\n\tEventType\022\026\n\022EVE" + + "NT_TYPE_NOT_SET\020\000\022=\n\022APPLICATION_CREATE\020" + + "d\032%\302>\"Operation to create an Application" + + "BY\n\025com.clarifai.grpc.apiP\001Z7github.com/" + + "Clarifai/clarifai-go-grpc/proto/clarifai" + + "/api\242\002\004CAIPb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -3530,6 +3531,7 @@ public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.clarifai.grpc.api.utils.Extensions.clDefaultFloat); registry.add(com.clarifai.grpc.api.utils.Extensions.clShowIfEmpty); + registry.add(com.clarifai.grpc.api.utils.Extensions.description); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.clarifai.grpc.api.status.StatusOuterClass.getDescriptor(); diff --git a/src/main/java/com/clarifai/grpc/api/utils/Extensions.java b/src/main/java/com/clarifai/grpc/api/utils/Extensions.java index 8367c64..84128ad 100644 --- a/src/main/java/com/clarifai/grpc/api/utils/Extensions.java +++ b/src/main/java/com/clarifai/grpc/api/utils/Extensions.java @@ -10,6 +10,7 @@ public static void registerAllExtensions( registry.add(com.clarifai.grpc.api.utils.Extensions.clShowIfEmpty); registry.add(com.clarifai.grpc.api.utils.Extensions.clMoretags); registry.add(com.clarifai.grpc.api.utils.Extensions.clDefaultFloat); + registry.add(com.clarifai.grpc.api.utils.Extensions.description); } public static void registerAllExtensions( @@ -63,6 +64,21 @@ public static void registerAllExtensions( .newFileScopedGeneratedExtension( java.lang.Float.class, null); + public static final int DESCRIPTION_FIELD_NUMBER = 1000; + /** + *
+   * A description of the enum value.
+   * 
+ * + * extend .google.protobuf.EnumValueOptions { ... } + */ + public static final + com.google.protobuf.GeneratedMessage.GeneratedExtension< + com.google.protobuf.DescriptorProtos.EnumValueOptions, + java.lang.String> description = com.google.protobuf.GeneratedMessage + .newFileScopedGeneratedExtension( + java.lang.String.class, + null); public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { @@ -78,10 +94,11 @@ public static void registerAllExtensions( "google.protobuf.FieldOptions\030\320\206\003 \001(\010:4\n\013" + "cl_moretags\022\035.google.protobuf.FieldOptio" + "ns\030\321\206\003 \001(\t:9\n\020cl_default_float\022\035.google." + - "protobuf.FieldOptions\030\332\206\003 \001(\002Be\n\033com.cla" + - "rifai.grpc.api.utilsP\001Z=github.com/Clari" + - "fai/clarifai-go-grpc/proto/clarifai/api/" + - "utils\242\002\004CAIPb\006proto3" + "protobuf.FieldOptions\030\332\206\003 \001(\002:7\n\013descrip" + + "tion\022!.google.protobuf.EnumValueOptions\030" + + "\350\007 \001(\tBe\n\033com.clarifai.grpc.api.utilsP\001Z" + + "=github.com/Clarifai/clarifai-go-grpc/pr" + + "oto/clarifai/api/utils\242\002\004CAIPb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -91,6 +108,7 @@ public static void registerAllExtensions( clShowIfEmpty.internalInit(descriptor.getExtensions().get(0)); clMoretags.internalInit(descriptor.getExtensions().get(1)); clDefaultFloat.internalInit(descriptor.getExtensions().get(2)); + description.internalInit(descriptor.getExtensions().get(3)); com.google.protobuf.DescriptorProtos.getDescriptor(); }