/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/videointelligence/v1p3beta1/video_intelligence.proto

package com.google.cloud.videointelligence.v1p3beta1;

public interface StreamingAnnotateVideoResponseOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * If set, returns a [google.rpc.Status][google.rpc.Status] message that
   * specifies the error for the operation.
   * </pre>
   *
   * <code>.google.rpc.Status error = 1;</code>
   *
   * @return Whether the error field is set.
   */
  boolean hasError();
  /**
   *
   *
   * <pre>
   * If set, returns a [google.rpc.Status][google.rpc.Status] message that
   * specifies the error for the operation.
   * </pre>
   *
   * <code>.google.rpc.Status error = 1;</code>
   *
   * @return The error.
   */
  com.google.rpc.Status getError();
  /**
   *
   *
   * <pre>
   * If set, returns a [google.rpc.Status][google.rpc.Status] message that
   * specifies the error for the operation.
   * </pre>
   *
   * <code>.google.rpc.Status error = 1;</code>
   */
  com.google.rpc.StatusOrBuilder getErrorOrBuilder();

  /**
   *
   *
   * <pre>
   * Streaming annotation results.
   * </pre>
   *
   * <code>
   * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
   * </code>
   *
   * @return Whether the annotationResults field is set.
   */
  boolean hasAnnotationResults();
  /**
   *
   *
   * <pre>
   * Streaming annotation results.
   * </pre>
   *
   * <code>
   * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
   * </code>
   *
   * @return The annotationResults.
   */
  com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults
      getAnnotationResults();
  /**
   *
   *
   * <pre>
   * Streaming annotation results.
   * </pre>
   *
   * <code>
   * .google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResults annotation_results = 2;
   * </code>
   */
  com.google.cloud.videointelligence.v1p3beta1.StreamingVideoAnnotationResultsOrBuilder
      getAnnotationResultsOrBuilder();

  /**
   *
   *
   * <pre>
   * Google Cloud Storage(GCS) URI that stores annotation results of one
   * streaming session in JSON format.
   * It is the annotation_result_storage_directory
   * from the request followed by '/cloud_project_number-session_id'.
   * </pre>
   *
   * <code>string annotation_results_uri = 3;</code>
   *
   * @return The annotationResultsUri.
   */
  java.lang.String getAnnotationResultsUri();
  /**
   *
   *
   * <pre>
   * Google Cloud Storage(GCS) URI that stores annotation results of one
   * streaming session in JSON format.
   * It is the annotation_result_storage_directory
   * from the request followed by '/cloud_project_number-session_id'.
   * </pre>
   *
   * <code>string annotation_results_uri = 3;</code>
   *
   * @return The bytes for annotationResultsUri.
   */
  com.google.protobuf.ByteString getAnnotationResultsUriBytes();
}
