// 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 CreateProductRequestOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p4beta1.CreateProductRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The project in which the Product should be created.
   * Format is
   * `projects/PROJECT_ID/locations/LOC_ID`.
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  java.lang.String getParent();
  /**
   *
   *
   * <pre>
   * The project in which the Product should be created.
   * Format is
   * `projects/PROJECT_ID/locations/LOC_ID`.
   * </pre>
   *
   * <code>string parent = 1;</code>
   */
  com.google.protobuf.ByteString getParentBytes();

  /**
   *
   *
   * <pre>
   * The product to create.
   * </pre>
   *
   * <code>.google.cloud.vision.v1p4beta1.Product product = 2;</code>
   */
  boolean hasProduct();
  /**
   *
   *
   * <pre>
   * The product to create.
   * </pre>
   *
   * <code>.google.cloud.vision.v1p4beta1.Product product = 2;</code>
   */
  com.google.cloud.vision.v1p4beta1.Product getProduct();
  /**
   *
   *
   * <pre>
   * The product to create.
   * </pre>
   *
   * <code>.google.cloud.vision.v1p4beta1.Product product = 2;</code>
   */
  com.google.cloud.vision.v1p4beta1.ProductOrBuilder getProductOrBuilder();

  /**
   *
   *
   * <pre>
   * A user-supplied resource id for this Product. 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 product_id = 3;</code>
   */
  java.lang.String getProductId();
  /**
   *
   *
   * <pre>
   * A user-supplied resource id for this Product. 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 product_id = 3;</code>
   */
  com.google.protobuf.ByteString getProductIdBytes();
}
