diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Product.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Product.java index 1270409c5f46..68d63796063d 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Product.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/Product.java @@ -1101,9 +1101,9 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * *
    * Immutable. The category for the product identified by the reference image. This should
-   * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-   * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-   * still supported, but these should not be used for new products.
+   * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+   * "homegoods", "apparel", and "toys" are still supported, but these should
+   * not be used for new products.
    * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1124,9 +1124,9 @@ public java.lang.String getProductCategory() { * *
    * Immutable. The category for the product identified by the reference image. This should
-   * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-   * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-   * still supported, but these should not be used for new products.
+   * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+   * "homegoods", "apparel", and "toys" are still supported, but these should
+   * not be used for new products.
    * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; @@ -1986,9 +1986,9 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * *
      * Immutable. The category for the product identified by the reference image. This should
-     * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-     * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-     * still supported, but these should not be used for new products.
+     * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+     * "homegoods", "apparel", and "toys" are still supported, but these should
+     * not be used for new products.
      * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; @@ -2009,9 +2009,9 @@ public java.lang.String getProductCategory() { * *
      * Immutable. The category for the product identified by the reference image. This should
-     * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-     * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-     * still supported, but these should not be used for new products.
+     * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+     * "homegoods", "apparel", and "toys" are still supported, but these should
+     * not be used for new products.
      * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; @@ -2032,9 +2032,9 @@ public com.google.protobuf.ByteString getProductCategoryBytes() { * *
      * Immutable. The category for the product identified by the reference image. This should
-     * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-     * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-     * still supported, but these should not be used for new products.
+     * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+     * "homegoods", "apparel", and "toys" are still supported, but these should
+     * not be used for new products.
      * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; @@ -2053,9 +2053,9 @@ public Builder setProductCategory(java.lang.String value) { * *
      * Immutable. The category for the product identified by the reference image. This should
-     * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-     * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-     * still supported, but these should not be used for new products.
+     * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+     * "homegoods", "apparel", and "toys" are still supported, but these should
+     * not be used for new products.
      * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; @@ -2071,9 +2071,9 @@ public Builder clearProductCategory() { * *
      * Immutable. The category for the product identified by the reference image. This should
-     * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-     * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-     * still supported, but these should not be used for new products.
+     * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+     * "homegoods", "apparel", and "toys" are still supported, but these should
+     * not be used for new products.
      * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductOrBuilder.java b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductOrBuilder.java index c0d6385ea886..0fecbc1c3a21 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ProductOrBuilder.java @@ -86,9 +86,9 @@ public interface ProductOrBuilder * *
    * Immutable. The category for the product identified by the reference image. This should
-   * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-   * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-   * still supported, but these should not be used for new products.
+   * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+   * "homegoods", "apparel", and "toys" are still supported, but these should
+   * not be used for new products.
    * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; @@ -99,9 +99,9 @@ public interface ProductOrBuilder * *
    * Immutable. The category for the product identified by the reference image. This should
-   * be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or
-   * "general-v1" The legacy categories "homegoods", "apparel", and "toys" are
-   * still supported, but these should not be used for new products.
+   * be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories
+   * "homegoods", "apparel", and "toys" are still supported, but these should
+   * not be used for new products.
    * 
* * string product_category = 4 [(.google.api.field_behavior) = IMMUTABLE]; diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto b/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto index 6cff8dde4d51..d2588604605a 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/image_annotator.proto @@ -207,28 +207,6 @@ message Feature { string model = 3; } -// A bucketized representation of likelihood, which is intended to give clients -// highly stable results across model upgrades. -enum Likelihood { - // Unknown likelihood. - UNKNOWN = 0; - - // It is very unlikely. - VERY_UNLIKELY = 1; - - // It is unlikely. - UNLIKELY = 2; - - // It is possible. - POSSIBLE = 3; - - // It is likely. - LIKELY = 4; - - // It is very likely. - VERY_LIKELY = 5; -} - // External image source (Google Cloud Storage or web URL image location). message ImageSource { // **Use `image_uri` instead.** @@ -272,6 +250,28 @@ message Image { ImageSource source = 2; } +// A bucketized representation of likelihood, which is intended to give clients +// highly stable results across model upgrades. +enum Likelihood { + // Unknown likelihood. + UNKNOWN = 0; + + // It is very unlikely. + VERY_UNLIKELY = 1; + + // It is unlikely. + UNLIKELY = 2; + + // It is possible. + POSSIBLE = 3; + + // It is likely. + LIKELY = 4; + + // It is very likely. + VERY_LIKELY = 5; +} + // A face annotation object contains the results of face detection. message FaceAnnotation { // A face-specific landmark (for example, a face feature). diff --git a/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/product_search_service.proto b/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/product_search_service.proto index 72657399acec..e5b5c5b533be 100644 --- a/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/product_search_service.proto +++ b/google-api-grpc/proto-google-cloud-vision-v1/src/main/proto/google/cloud/vision/v1/product_search_service.proto @@ -396,9 +396,9 @@ message Product { string description = 3; // Immutable. The category for the product identified by the reference image. This should - // be either "homegoods-v2", "apparel-v2", "toys-v2", "packagedgoods-v1", or - // "general-v1" The legacy categories "homegoods", "apparel", and "toys" are - // still supported, but these should not be used for new products. + // be either "homegoods-v2", "apparel-v2", or "toys-v2". The legacy categories + // "homegoods", "apparel", and "toys" are still supported, but these should + // not be used for new products. string product_category = 4 [(google.api.field_behavior) = IMMUTABLE]; // Key-value pairs that can be attached to a product. At query time, diff --git a/google-cloud-clients/google-cloud-vision/synth.metadata b/google-cloud-clients/google-cloud-vision/synth.metadata index 7c87dad98108..799cd85f4975 100644 --- a/google-cloud-clients/google-cloud-vision/synth.metadata +++ b/google-cloud-clients/google-cloud-vision/synth.metadata @@ -1,18 +1,19 @@ { - "updateTime": "2019-09-19T08:05:36.428891Z", + "updateTime": "2019-09-25T14:25:37.027786Z", "sources": [ { "generator": { "name": "artman", - "version": "0.36.3", - "dockerImage": "googleapis/artman@sha256:66ca01f27ef7dc50fbfb7743b67028115a6a8acf43b2d82f9fc826de008adac4" + "version": "0.37.1", + "dockerImage": "googleapis/artman@sha256:6068f67900a3f0bdece596b97bda8fc70406ca0e137a941f4c81d3217c994a80" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "23f6c4d8d49ef3f1aaa45768869d8616efe4a307" + "sha": "b31371da534e2be68d5389576205f85977ce1af6", + "internalRef": "271117257" } } ],