All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.vision.v1p4beta1.ReferenceImageOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.142.0
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1p4beta1/product_search_service.proto

package com.google.cloud.vision.v1p4beta1;

public interface ReferenceImageOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p4beta1.ReferenceImage)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The resource name of the reference image.
   * Format is:
   * `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.
   * This field is ignored when creating a reference image.
   * 
* * string name = 1; */ java.lang.String getName(); /** * * *
   * The resource name of the reference image.
   * Format is:
   * `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.
   * This field is ignored when creating a reference image.
   * 
* * string name = 1; */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * The Google Cloud Storage URI of the reference image.
   * The URI must start with `gs://`.
   * Required.
   * 
* * string uri = 2; */ java.lang.String getUri(); /** * * *
   * The Google Cloud Storage URI of the reference image.
   * The URI must start with `gs://`.
   * Required.
   * 
* * string uri = 2; */ com.google.protobuf.ByteString getUriBytes(); /** * * *
   * Bounding polygons around the areas of interest in the reference image.
   * Optional. If this field is empty, the system will try to detect regions of
   * interest. At most 10 bounding polygons will be used.
   * The provided shape is converted into a non-rotated rectangle. Once
   * converted, the small edge of the rectangle must be greater than or equal
   * to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5
   * is not).
   * 
* * repeated .google.cloud.vision.v1p4beta1.BoundingPoly bounding_polys = 3; */ java.util.List getBoundingPolysList(); /** * * *
   * Bounding polygons around the areas of interest in the reference image.
   * Optional. If this field is empty, the system will try to detect regions of
   * interest. At most 10 bounding polygons will be used.
   * The provided shape is converted into a non-rotated rectangle. Once
   * converted, the small edge of the rectangle must be greater than or equal
   * to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5
   * is not).
   * 
* * repeated .google.cloud.vision.v1p4beta1.BoundingPoly bounding_polys = 3; */ com.google.cloud.vision.v1p4beta1.BoundingPoly getBoundingPolys(int index); /** * * *
   * Bounding polygons around the areas of interest in the reference image.
   * Optional. If this field is empty, the system will try to detect regions of
   * interest. At most 10 bounding polygons will be used.
   * The provided shape is converted into a non-rotated rectangle. Once
   * converted, the small edge of the rectangle must be greater than or equal
   * to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5
   * is not).
   * 
* * repeated .google.cloud.vision.v1p4beta1.BoundingPoly bounding_polys = 3; */ int getBoundingPolysCount(); /** * * *
   * Bounding polygons around the areas of interest in the reference image.
   * Optional. If this field is empty, the system will try to detect regions of
   * interest. At most 10 bounding polygons will be used.
   * The provided shape is converted into a non-rotated rectangle. Once
   * converted, the small edge of the rectangle must be greater than or equal
   * to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5
   * is not).
   * 
* * repeated .google.cloud.vision.v1p4beta1.BoundingPoly bounding_polys = 3; */ java.util.List getBoundingPolysOrBuilderList(); /** * * *
   * Bounding polygons around the areas of interest in the reference image.
   * Optional. If this field is empty, the system will try to detect regions of
   * interest. At most 10 bounding polygons will be used.
   * The provided shape is converted into a non-rotated rectangle. Once
   * converted, the small edge of the rectangle must be greater than or equal
   * to 300 pixels. The aspect ratio must be 1:4 or less (i.e. 1:3 is ok; 1:5
   * is not).
   * 
* * repeated .google.cloud.vision.v1p4beta1.BoundingPoly bounding_polys = 3; */ com.google.cloud.vision.v1p4beta1.BoundingPolyOrBuilder getBoundingPolysOrBuilder(int index); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy