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

  /**
   * <pre>
   * The resource name of the ProductSet.
   * Format is:
   * `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  java.lang.String getName();
  /**
   * <pre>
   * The resource name of the ProductSet.
   * Format is:
   * `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * <pre>
   * The user-provided name for this ProductSet. Must not be empty. Must be at
   * most 4096 characters long.
   * </pre>
   *
   * <code>string display_name = 2;</code>
   */
  java.lang.String getDisplayName();
  /**
   * <pre>
   * The user-provided name for this ProductSet. Must not be empty. Must be at
   * most 4096 characters long.
   * </pre>
   *
   * <code>string display_name = 2;</code>
   */
  com.google.protobuf.ByteString
      getDisplayNameBytes();

  /**
   * <pre>
   * Output only. The time at which this ProductSet was last indexed. Query
   * results will reflect all updates before this time. If this ProductSet has
   * never been indexed, this field is 0.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp index_time = 3;</code>
   */
  boolean hasIndexTime();
  /**
   * <pre>
   * Output only. The time at which this ProductSet was last indexed. Query
   * results will reflect all updates before this time. If this ProductSet has
   * never been indexed, this field is 0.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp index_time = 3;</code>
   */
  com.google.protobuf.Timestamp getIndexTime();
  /**
   * <pre>
   * Output only. The time at which this ProductSet was last indexed. Query
   * results will reflect all updates before this time. If this ProductSet has
   * never been indexed, this field is 0.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp index_time = 3;</code>
   */
  com.google.protobuf.TimestampOrBuilder getIndexTimeOrBuilder();

  /**
   * <pre>
   * Output only. If there was an error with indexing the product set, the field
   * is populated.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>.google.rpc.Status index_error = 4;</code>
   */
  boolean hasIndexError();
  /**
   * <pre>
   * Output only. If there was an error with indexing the product set, the field
   * is populated.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>.google.rpc.Status index_error = 4;</code>
   */
  com.google.rpc.Status getIndexError();
  /**
   * <pre>
   * Output only. If there was an error with indexing the product set, the field
   * is populated.
   * This field is ignored when creating a ProductSet.
   * </pre>
   *
   * <code>.google.rpc.Status index_error = 4;</code>
   */
  com.google.rpc.StatusOrBuilder getIndexErrorOrBuilder();
}
