diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java index d66828c58..7047e1450 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java @@ -366,6 +366,23 @@ public com.google.cloud.automl.v1beta1.GcrDestinationOrBuilder getGcrDestination * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) @@ -413,6 +430,23 @@ public java.lang.String getModelFormat() { * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) @@ -1539,6 +1573,23 @@ public com.google.cloud.automl.v1beta1.GcrDestinationOrBuilder getGcrDestination * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) @@ -1585,6 +1636,23 @@ public java.lang.String getModelFormat() { * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) @@ -1631,6 +1699,23 @@ public com.google.protobuf.ByteString getModelFormatBytes() { * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) @@ -1676,6 +1761,23 @@ public Builder setModelFormat(java.lang.String value) { * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) @@ -1717,6 +1819,23 @@ public Builder clearModelFormat() { * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java index 810784ffd..1b77d30a7 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java @@ -138,6 +138,23 @@ public interface ModelExportOutputConfigOrBuilder * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) @@ -174,6 +191,23 @@ public interface ModelExportOutputConfigOrBuilder * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). + * * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + * mobile-high-accuracy-1: + * "tflite", "tf_saved_model", "tf_js". + * * For Video Classification cloud, + * "tf_saved_model". + * * For Video Object Tracking cloud, + * "tf_saved_model". + * * For Video Object Tracking mobile-versatile-1: + * "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + * * For Video Object Tracking mobile-coral-versatile-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-coral-low-latency-1: + * "tflite", "edgetpu_tflite", "docker". + * * For Video Object Tracking mobile-jetson-versatile-1: + * "tf_saved_model", "docker". + * * For Tables: + * "docker". * Formats description: * * tflite - Used for Android mobile devices. * * edgetpu_tflite - Used for [Edge TPU](https://cloud.google.com/edge-tpu/) diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadata.java index 6cafee9e8..e2ab45e01 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadata.java @@ -37,7 +37,9 @@ private TextExtractionModelMetadata(com.google.protobuf.GeneratedMessageV3.Build super(builder); } - private TextExtractionModelMetadata() {} + private TextExtractionModelMetadata() { + modelHint_ = ""; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -68,6 +70,13 @@ private TextExtractionModelMetadata( case 0: done = true; break; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + modelHint_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -102,6 +111,61 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.automl.v1beta1.TextExtractionModelMetadata.Builder.class); } + public static final int MODEL_HINT_FIELD_NUMBER = 3; + private volatile java.lang.Object modelHint_; + /** + * + * + *
+   * Indicates the scope of model use case.
+   * * `default`: Use to train a general text extraction model. Default value.
+   * * `health_care`: Use to train a text extraction model that is tuned for
+   *   healthcare applications.
+   * 
+ * + * string model_hint = 3; + * + * @return The modelHint. + */ + @java.lang.Override + public java.lang.String getModelHint() { + java.lang.Object ref = modelHint_; + 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(); + modelHint_ = s; + return s; + } + } + /** + * + * + *
+   * Indicates the scope of model use case.
+   * * `default`: Use to train a general text extraction model. Default value.
+   * * `health_care`: Use to train a text extraction model that is tuned for
+   *   healthcare applications.
+   * 
+ * + * string model_hint = 3; + * + * @return The bytes for modelHint. + */ + @java.lang.Override + public com.google.protobuf.ByteString getModelHintBytes() { + java.lang.Object ref = modelHint_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + modelHint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -116,6 +180,9 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getModelHintBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, modelHint_); + } unknownFields.writeTo(output); } @@ -125,6 +192,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + if (!getModelHintBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, modelHint_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -141,6 +211,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.automl.v1beta1.TextExtractionModelMetadata other = (com.google.cloud.automl.v1beta1.TextExtractionModelMetadata) obj; + if (!getModelHint().equals(other.getModelHint())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -152,6 +223,8 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + MODEL_HINT_FIELD_NUMBER; + hash = (53 * hash) + getModelHint().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -298,6 +371,8 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + modelHint_ = ""; + return this; } @@ -325,6 +400,7 @@ public com.google.cloud.automl.v1beta1.TextExtractionModelMetadata build() { public com.google.cloud.automl.v1beta1.TextExtractionModelMetadata buildPartial() { com.google.cloud.automl.v1beta1.TextExtractionModelMetadata result = new com.google.cloud.automl.v1beta1.TextExtractionModelMetadata(this); + result.modelHint_ = modelHint_; onBuilt(); return result; } @@ -375,6 +451,10 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.automl.v1beta1.TextExtractionModelMetadata other) { if (other == com.google.cloud.automl.v1beta1.TextExtractionModelMetadata.getDefaultInstance()) return this; + if (!other.getModelHint().isEmpty()) { + modelHint_ = other.modelHint_; + onChanged(); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -405,6 +485,127 @@ public Builder mergeFrom( return this; } + private java.lang.Object modelHint_ = ""; + /** + * + * + *
+     * Indicates the scope of model use case.
+     * * `default`: Use to train a general text extraction model. Default value.
+     * * `health_care`: Use to train a text extraction model that is tuned for
+     *   healthcare applications.
+     * 
+ * + * string model_hint = 3; + * + * @return The modelHint. + */ + public java.lang.String getModelHint() { + java.lang.Object ref = modelHint_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + modelHint_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Indicates the scope of model use case.
+     * * `default`: Use to train a general text extraction model. Default value.
+     * * `health_care`: Use to train a text extraction model that is tuned for
+     *   healthcare applications.
+     * 
+ * + * string model_hint = 3; + * + * @return The bytes for modelHint. + */ + public com.google.protobuf.ByteString getModelHintBytes() { + java.lang.Object ref = modelHint_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + modelHint_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Indicates the scope of model use case.
+     * * `default`: Use to train a general text extraction model. Default value.
+     * * `health_care`: Use to train a text extraction model that is tuned for
+     *   healthcare applications.
+     * 
+ * + * string model_hint = 3; + * + * @param value The modelHint to set. + * @return This builder for chaining. + */ + public Builder setModelHint(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + modelHint_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates the scope of model use case.
+     * * `default`: Use to train a general text extraction model. Default value.
+     * * `health_care`: Use to train a text extraction model that is tuned for
+     *   healthcare applications.
+     * 
+ * + * string model_hint = 3; + * + * @return This builder for chaining. + */ + public Builder clearModelHint() { + + modelHint_ = getDefaultInstance().getModelHint(); + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates the scope of model use case.
+     * * `default`: Use to train a general text extraction model. Default value.
+     * * `health_care`: Use to train a text extraction model that is tuned for
+     *   healthcare applications.
+     * 
+ * + * string model_hint = 3; + * + * @param value The bytes for modelHint to set. + * @return This builder for chaining. + */ + public Builder setModelHintBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + modelHint_ = value; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadataOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadataOrBuilder.java index a1e158341..be64161f3 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextExtractionModelMetadataOrBuilder.java @@ -21,4 +21,36 @@ public interface TextExtractionModelMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.TextExtractionModelMetadata) - com.google.protobuf.MessageOrBuilder {} + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Indicates the scope of model use case.
+   * * `default`: Use to train a general text extraction model. Default value.
+   * * `health_care`: Use to train a text extraction model that is tuned for
+   *   healthcare applications.
+   * 
+ * + * string model_hint = 3; + * + * @return The modelHint. + */ + java.lang.String getModelHint(); + /** + * + * + *
+   * Indicates the scope of model use case.
+   * * `default`: Use to train a general text extraction model. Default value.
+   * * `health_care`: Use to train a text extraction model that is tuned for
+   *   healthcare applications.
+   * 
+ * + * string model_hint = 3; + * + * @return The bytes for modelHint. + */ + com.google.protobuf.ByteString getModelHintBytes(); +} diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java index bee55a1c9..0457c2bd3 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java @@ -70,14 +70,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cationModelMetadata\022L\n\023classification_ty" + "pe\030\003 \001(\0162/.google.cloud.automl.v1beta1.C" + "lassificationType\"\037\n\035TextExtractionDatas" - + "etMetadata\"\035\n\033TextExtractionModelMetadat" - + "a\"5\n\034TextSentimentDatasetMetadata\022\025\n\rsen" - + "timent_max\030\001 \001(\005\"\034\n\032TextSentimentModelMe" - + "tadataB\260\001\n\037com.google.cloud.automl.v1bet" - + "a1B\tTextProtoP\001ZAgoogle.golang.org/genpr" - + "oto/googleapis/cloud/automl/v1beta1;auto" - + "ml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Googl" - + "e::Cloud::AutoML::V1beta1b\006proto3" + + "etMetadata\"1\n\033TextExtractionModelMetadat" + + "a\022\022\n\nmodel_hint\030\003 \001(\t\"5\n\034TextSentimentDa" + + "tasetMetadata\022\025\n\rsentiment_max\030\001 \001(\005\"\034\n\032" + + "TextSentimentModelMetadataB\260\001\n\037com.googl" + + "e.cloud.automl.v1beta1B\tTextProtoP\001ZAgoo" + + "gle.golang.org/genproto/googleapis/cloud" + + "/automl/v1beta1;automl\312\002\033Google\\Cloud\\Au" + + "toMl\\V1beta1\352\002\036Google::Cloud::AutoML::V1" + + "beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -113,7 +114,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { internal_static_google_cloud_automl_v1beta1_TextExtractionModelMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_automl_v1beta1_TextExtractionModelMetadata_descriptor, - new java.lang.String[] {}); + new java.lang.String[] { + "ModelHint", + }); internal_static_google_cloud_automl_v1beta1_TextSentimentDatasetMetadata_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_google_cloud_automl_v1beta1_TextSentimentDatasetMetadata_fieldAccessorTable = diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto index a99793830..3d8ab45fe 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto @@ -1015,6 +1015,32 @@ message ModelExportOutputConfig { // * For Image Classification mobile-core-ml-low-latency-1, // mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: // "core_ml" (default). + // + // * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + // mobile-high-accuracy-1: + // "tflite", "tf_saved_model", "tf_js". + // + // * For Video Classification cloud, + // "tf_saved_model". + // + // * For Video Object Tracking cloud, + // "tf_saved_model". + // + // * For Video Object Tracking mobile-versatile-1: + // "tflite", "edgetpu_tflite", "tf_saved_model", "docker". + // + // * For Video Object Tracking mobile-coral-versatile-1: + // "tflite", "edgetpu_tflite", "docker". + // + // * For Video Object Tracking mobile-coral-low-latency-1: + // "tflite", "edgetpu_tflite", "docker". + // + // * For Video Object Tracking mobile-jetson-versatile-1: + // "tf_saved_model", "docker". + // + // * For Tables: + // "docker". + // // Formats description: // // * tflite - Used for Android mobile devices. diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto index f6f33185c..3319a094b 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto @@ -45,7 +45,13 @@ message TextExtractionDatasetMetadata { // Model metadata that is specific to text extraction. message TextExtractionModelMetadata { - + // Indicates the scope of model use case. + // + // * `default`: Use to train a general text extraction model. Default value. + // + // * `health_care`: Use to train a text extraction model that is tuned for + // healthcare applications. + string model_hint = 3; } // Dataset metadata for text sentiment. diff --git a/synth.metadata b/synth.metadata index 0071eaca3..51bcd3ba6 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-automl.git", - "sha": "8df5c750c8b1221b2eeb195d46ff1993d12db6f5" + "sha": "79b162d1205954e6379317ca3bd25295ac391189" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "868615a5c1c1059c636bb3d82a555edb1d5a251e", - "internalRef": "324294521" + "sha": "bda7ce951def5ae6e5c4258d0e569188dd4ae02b", + "internalRef": "336180475" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "868615a5c1c1059c636bb3d82a555edb1d5a251e", - "internalRef": "324294521" + "sha": "bda7ce951def5ae6e5c4258d0e569188dd4ae02b", + "internalRef": "336180475" } }, {