/*
 * 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/dataflow/v1beta3/streaming.proto

package com.google.dataflow.v1beta3;

public interface StreamLocationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.dataflow.v1beta3.StreamLocation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The stream is part of another computation within the current
   * streaming Dataflow job.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;</code>
   *
   * @return Whether the streamingStageLocation field is set.
   */
  boolean hasStreamingStageLocation();
  /**
   *
   *
   * <pre>
   * The stream is part of another computation within the current
   * streaming Dataflow job.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;</code>
   *
   * @return The streamingStageLocation.
   */
  com.google.dataflow.v1beta3.StreamingStageLocation getStreamingStageLocation();
  /**
   *
   *
   * <pre>
   * The stream is part of another computation within the current
   * streaming Dataflow job.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StreamingStageLocation streaming_stage_location = 1;</code>
   */
  com.google.dataflow.v1beta3.StreamingStageLocationOrBuilder getStreamingStageLocationOrBuilder();

  /**
   *
   *
   * <pre>
   * The stream is a pubsub stream.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;</code>
   *
   * @return Whether the pubsubLocation field is set.
   */
  boolean hasPubsubLocation();
  /**
   *
   *
   * <pre>
   * The stream is a pubsub stream.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;</code>
   *
   * @return The pubsubLocation.
   */
  com.google.dataflow.v1beta3.PubsubLocation getPubsubLocation();
  /**
   *
   *
   * <pre>
   * The stream is a pubsub stream.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.PubsubLocation pubsub_location = 2;</code>
   */
  com.google.dataflow.v1beta3.PubsubLocationOrBuilder getPubsubLocationOrBuilder();

  /**
   *
   *
   * <pre>
   * The stream is a streaming side input.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;</code>
   *
   * @return Whether the sideInputLocation field is set.
   */
  boolean hasSideInputLocation();
  /**
   *
   *
   * <pre>
   * The stream is a streaming side input.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;</code>
   *
   * @return The sideInputLocation.
   */
  com.google.dataflow.v1beta3.StreamingSideInputLocation getSideInputLocation();
  /**
   *
   *
   * <pre>
   * The stream is a streaming side input.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.StreamingSideInputLocation side_input_location = 3;</code>
   */
  com.google.dataflow.v1beta3.StreamingSideInputLocationOrBuilder getSideInputLocationOrBuilder();

  /**
   *
   *
   * <pre>
   * The stream is a custom source.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;</code>
   *
   * @return Whether the customSourceLocation field is set.
   */
  boolean hasCustomSourceLocation();
  /**
   *
   *
   * <pre>
   * The stream is a custom source.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;</code>
   *
   * @return The customSourceLocation.
   */
  com.google.dataflow.v1beta3.CustomSourceLocation getCustomSourceLocation();
  /**
   *
   *
   * <pre>
   * The stream is a custom source.
   * </pre>
   *
   * <code>.google.dataflow.v1beta3.CustomSourceLocation custom_source_location = 4;</code>
   */
  com.google.dataflow.v1beta3.CustomSourceLocationOrBuilder getCustomSourceLocationOrBuilder();

  public com.google.dataflow.v1beta3.StreamLocation.LocationCase getLocationCase();
}
