// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/vision/v1p3beta1/product_search_service.proto

package com.google.cloud.vision.v1p3beta1;

public interface CreateReferenceImageRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p3beta1.CreateReferenceImageRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Resource name of the product in which to create the reference image.
   * Format is
   * `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  java.lang.String getParent();
  /**
   * <pre>
   * Resource name of the product in which to create the reference image.
   * Format is
   * `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  com.google.protobuf.ByteString
      getParentBytes();

  /**
   * <pre>
   * The reference image to create.
   * If an image ID is specified, it is ignored.
   * </pre>
   *
   * <code>.google.cloud.vision.v1p3beta1.ReferenceImage reference_image = 2;</code>
   */
  boolean hasReferenceImage();
  /**
   * <pre>
   * The reference image to create.
   * If an image ID is specified, it is ignored.
   * </pre>
   *
   * <code>.google.cloud.vision.v1p3beta1.ReferenceImage reference_image = 2;</code>
   */
  com.google.cloud.vision.v1p3beta1.ReferenceImage getReferenceImage();
  /**
   * <pre>
   * The reference image to create.
   * If an image ID is specified, it is ignored.
   * </pre>
   *
   * <code>.google.cloud.vision.v1p3beta1.ReferenceImage reference_image = 2;</code>
   */
  com.google.cloud.vision.v1p3beta1.ReferenceImageOrBuilder getReferenceImageOrBuilder();

  /**
   * <pre>
   * A user-supplied resource id for the ReferenceImage to be added. If set,
   * the server will attempt to use this value as the resource id. If it is
   * already in use, an error is returned with code ALREADY_EXISTS. Must be at
   * most 128 characters long. It cannot contain the character `/`.
   * </pre>
   *
   * <code>string reference_image_id = 3;</code>
   */
  java.lang.String getReferenceImageId();
  /**
   * <pre>
   * A user-supplied resource id for the ReferenceImage to be added. If set,
   * the server will attempt to use this value as the resource id. If it is
   * already in use, an error is returned with code ALREADY_EXISTS. Must be at
   * most 128 characters long. It cannot contain the character `/`.
   * </pre>
   *
   * <code>string reference_image_id = 3;</code>
   */
  com.google.protobuf.ByteString
      getReferenceImageIdBytes();
}
