// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/datalabeling/v1beta1/dataset.proto

package com.google.cloud.datalabeling.v1beta1;

public interface ExampleOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.datalabeling.v1beta1.Example)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The image payload, a container of the image bytes/uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;</code>
   */
  boolean hasImagePayload();
  /**
   *
   *
   * <pre>
   * The image payload, a container of the image bytes/uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;</code>
   */
  com.google.cloud.datalabeling.v1beta1.ImagePayload getImagePayload();
  /**
   *
   *
   * <pre>
   * The image payload, a container of the image bytes/uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.ImagePayload image_payload = 2;</code>
   */
  com.google.cloud.datalabeling.v1beta1.ImagePayloadOrBuilder getImagePayloadOrBuilder();

  /**
   *
   *
   * <pre>
   * The text payload, a container of the text content.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 6;</code>
   */
  boolean hasTextPayload();
  /**
   *
   *
   * <pre>
   * The text payload, a container of the text content.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 6;</code>
   */
  com.google.cloud.datalabeling.v1beta1.TextPayload getTextPayload();
  /**
   *
   *
   * <pre>
   * The text payload, a container of the text content.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.TextPayload text_payload = 6;</code>
   */
  com.google.cloud.datalabeling.v1beta1.TextPayloadOrBuilder getTextPayloadOrBuilder();

  /**
   *
   *
   * <pre>
   * The video payload, a container of the video uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 7;</code>
   */
  boolean hasVideoPayload();
  /**
   *
   *
   * <pre>
   * The video payload, a container of the video uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 7;</code>
   */
  com.google.cloud.datalabeling.v1beta1.VideoPayload getVideoPayload();
  /**
   *
   *
   * <pre>
   * The video payload, a container of the video uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.VideoPayload video_payload = 7;</code>
   */
  com.google.cloud.datalabeling.v1beta1.VideoPayloadOrBuilder getVideoPayloadOrBuilder();

  /**
   *
   *
   * <pre>
   * The audio payload, a container of the audio uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.AudioPayload audio_payload = 8;</code>
   */
  boolean hasAudioPayload();
  /**
   *
   *
   * <pre>
   * The audio payload, a container of the audio uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.AudioPayload audio_payload = 8;</code>
   */
  com.google.cloud.datalabeling.v1beta1.AudioPayload getAudioPayload();
  /**
   *
   *
   * <pre>
   * The audio payload, a container of the audio uri.
   * </pre>
   *
   * <code>.google.cloud.datalabeling.v1beta1.AudioPayload audio_payload = 8;</code>
   */
  com.google.cloud.datalabeling.v1beta1.AudioPayloadOrBuilder getAudioPayloadOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Name of the example, in format of:
   * projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
   * {annotated_dataset_id}/examples/{example_id}
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. Name of the example, in format of:
   * projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/
   * {annotated_dataset_id}/examples/{example_id}
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Annotations for the piece of data in Example.
   * One piece of data can have multiple annotations.
   * </pre>
   *
   * <code>repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;</code>
   */
  java.util.List<com.google.cloud.datalabeling.v1beta1.Annotation> getAnnotationsList();
  /**
   *
   *
   * <pre>
   * Output only. Annotations for the piece of data in Example.
   * One piece of data can have multiple annotations.
   * </pre>
   *
   * <code>repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;</code>
   */
  com.google.cloud.datalabeling.v1beta1.Annotation getAnnotations(int index);
  /**
   *
   *
   * <pre>
   * Output only. Annotations for the piece of data in Example.
   * One piece of data can have multiple annotations.
   * </pre>
   *
   * <code>repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;</code>
   */
  int getAnnotationsCount();
  /**
   *
   *
   * <pre>
   * Output only. Annotations for the piece of data in Example.
   * One piece of data can have multiple annotations.
   * </pre>
   *
   * <code>repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;</code>
   */
  java.util.List<? extends com.google.cloud.datalabeling.v1beta1.AnnotationOrBuilder>
      getAnnotationsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Output only. Annotations for the piece of data in Example.
   * One piece of data can have multiple annotations.
   * </pre>
   *
   * <code>repeated .google.cloud.datalabeling.v1beta1.Annotation annotations = 5;</code>
   */
  com.google.cloud.datalabeling.v1beta1.AnnotationOrBuilder getAnnotationsOrBuilder(int index);

  public com.google.cloud.datalabeling.v1beta1.Example.PayloadCase getPayloadCase();
}
