/*
 * 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/video/livestream/v1/resources.proto

package com.google.cloud.video.livestream.v1;

public interface ChannelOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.Channel)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * The resource name of the channel, in the form of:
   * `projects/{project}/locations/{location}/channels/{channelId}`.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * The resource name of the channel, in the form of:
   * `projects/{project}/locations/{location}/channels/{channelId}`.
   * </pre>
   *
   * <code>string name = 1;</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. The creation time.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The creation time.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The creation time.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The update time.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The update time.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The update time.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * User-defined key/value metadata.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 4;</code>
   */
  int getLabelsCount();
  /**
   *
   *
   * <pre>
   * User-defined key/value metadata.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 4;</code>
   */
  boolean containsLabels(java.lang.String key);
  /** Use {@link #getLabelsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getLabels();
  /**
   *
   *
   * <pre>
   * User-defined key/value metadata.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 4;</code>
   */
  java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
  /**
   *
   *
   * <pre>
   * User-defined key/value metadata.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 4;</code>
   */
  /* nullable */
  java.lang.String getLabelsOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * User-defined key/value metadata.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 4;</code>
   */
  java.lang.String getLabelsOrThrow(java.lang.String key);

  /**
   *
   *
   * <pre>
   * A list of input attachments that this channel uses.
   * One channel can have multiple inputs as the input sources. Only one
   * input can be selected as the input source at one time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;</code>
   */
  java.util.List<com.google.cloud.video.livestream.v1.InputAttachment> getInputAttachmentsList();
  /**
   *
   *
   * <pre>
   * A list of input attachments that this channel uses.
   * One channel can have multiple inputs as the input sources. Only one
   * input can be selected as the input source at one time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;</code>
   */
  com.google.cloud.video.livestream.v1.InputAttachment getInputAttachments(int index);
  /**
   *
   *
   * <pre>
   * A list of input attachments that this channel uses.
   * One channel can have multiple inputs as the input sources. Only one
   * input can be selected as the input source at one time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;</code>
   */
  int getInputAttachmentsCount();
  /**
   *
   *
   * <pre>
   * A list of input attachments that this channel uses.
   * One channel can have multiple inputs as the input sources. Only one
   * input can be selected as the input source at one time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;</code>
   */
  java.util.List<? extends com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder>
      getInputAttachmentsOrBuilderList();
  /**
   *
   *
   * <pre>
   * A list of input attachments that this channel uses.
   * One channel can have multiple inputs as the input sources. Only one
   * input can be selected as the input source at one time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.InputAttachment input_attachments = 16;</code>
   */
  com.google.cloud.video.livestream.v1.InputAttachmentOrBuilder getInputAttachmentsOrBuilder(
      int index);

  /**
   *
   *
   * <pre>
   * Output only. The
   * [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
   * that serves as the current input source. The first input in the
   * [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments]
   * is the initial input source.
   * </pre>
   *
   * <code>string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The activeInput.
   */
  java.lang.String getActiveInput();
  /**
   *
   *
   * <pre>
   * Output only. The
   * [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key]
   * that serves as the current input source. The first input in the
   * [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments]
   * is the initial input source.
   * </pre>
   *
   * <code>string active_input = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for activeInput.
   */
  com.google.protobuf.ByteString getActiveInputBytes();

  /**
   *
   *
   * <pre>
   * Required. Information about the output (that is, the Cloud Storage bucket
   * to store the generated live stream).
   * </pre>
   *
   * <code>
   * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the output field is set.
   */
  boolean hasOutput();
  /**
   *
   *
   * <pre>
   * Required. Information about the output (that is, the Cloud Storage bucket
   * to store the generated live stream).
   * </pre>
   *
   * <code>
   * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The output.
   */
  com.google.cloud.video.livestream.v1.Channel.Output getOutput();
  /**
   *
   *
   * <pre>
   * Required. Information about the output (that is, the Cloud Storage bucket
   * to store the generated live stream).
   * </pre>
   *
   * <code>
   * .google.cloud.video.livestream.v1.Channel.Output output = 9 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.video.livestream.v1.Channel.OutputOrBuilder getOutputOrBuilder();

  /**
   *
   *
   * <pre>
   * List of elementary streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;
   * </code>
   */
  java.util.List<com.google.cloud.video.livestream.v1.ElementaryStream> getElementaryStreamsList();
  /**
   *
   *
   * <pre>
   * List of elementary streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;
   * </code>
   */
  com.google.cloud.video.livestream.v1.ElementaryStream getElementaryStreams(int index);
  /**
   *
   *
   * <pre>
   * List of elementary streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;
   * </code>
   */
  int getElementaryStreamsCount();
  /**
   *
   *
   * <pre>
   * List of elementary streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;
   * </code>
   */
  java.util.List<? extends com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder>
      getElementaryStreamsOrBuilderList();
  /**
   *
   *
   * <pre>
   * List of elementary streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.ElementaryStream elementary_streams = 10;
   * </code>
   */
  com.google.cloud.video.livestream.v1.ElementaryStreamOrBuilder getElementaryStreamsOrBuilder(
      int index);

  /**
   *
   *
   * <pre>
   * List of multiplexing settings for output streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;</code>
   */
  java.util.List<com.google.cloud.video.livestream.v1.MuxStream> getMuxStreamsList();
  /**
   *
   *
   * <pre>
   * List of multiplexing settings for output streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;</code>
   */
  com.google.cloud.video.livestream.v1.MuxStream getMuxStreams(int index);
  /**
   *
   *
   * <pre>
   * List of multiplexing settings for output streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;</code>
   */
  int getMuxStreamsCount();
  /**
   *
   *
   * <pre>
   * List of multiplexing settings for output streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;</code>
   */
  java.util.List<? extends com.google.cloud.video.livestream.v1.MuxStreamOrBuilder>
      getMuxStreamsOrBuilderList();
  /**
   *
   *
   * <pre>
   * List of multiplexing settings for output streams.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.MuxStream mux_streams = 11;</code>
   */
  com.google.cloud.video.livestream.v1.MuxStreamOrBuilder getMuxStreamsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * List of output manifests.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;</code>
   */
  java.util.List<com.google.cloud.video.livestream.v1.Manifest> getManifestsList();
  /**
   *
   *
   * <pre>
   * List of output manifests.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;</code>
   */
  com.google.cloud.video.livestream.v1.Manifest getManifests(int index);
  /**
   *
   *
   * <pre>
   * List of output manifests.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;</code>
   */
  int getManifestsCount();
  /**
   *
   *
   * <pre>
   * List of output manifests.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;</code>
   */
  java.util.List<? extends com.google.cloud.video.livestream.v1.ManifestOrBuilder>
      getManifestsOrBuilderList();
  /**
   *
   *
   * <pre>
   * List of output manifests.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Manifest manifests = 12;</code>
   */
  com.google.cloud.video.livestream.v1.ManifestOrBuilder getManifestsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * List of output sprite sheets.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;</code>
   */
  java.util.List<com.google.cloud.video.livestream.v1.SpriteSheet> getSpriteSheetsList();
  /**
   *
   *
   * <pre>
   * List of output sprite sheets.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;</code>
   */
  com.google.cloud.video.livestream.v1.SpriteSheet getSpriteSheets(int index);
  /**
   *
   *
   * <pre>
   * List of output sprite sheets.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;</code>
   */
  int getSpriteSheetsCount();
  /**
   *
   *
   * <pre>
   * List of output sprite sheets.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;</code>
   */
  java.util.List<? extends com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder>
      getSpriteSheetsOrBuilderList();
  /**
   *
   *
   * <pre>
   * List of output sprite sheets.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.SpriteSheet sprite_sheets = 13;</code>
   */
  com.google.cloud.video.livestream.v1.SpriteSheetOrBuilder getSpriteSheetsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Output only. State of the streaming operation.
   * </pre>
   *
   * <code>
   * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for streamingState.
   */
  int getStreamingStateValue();
  /**
   *
   *
   * <pre>
   * Output only. State of the streaming operation.
   * </pre>
   *
   * <code>
   * .google.cloud.video.livestream.v1.Channel.StreamingState streaming_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The streamingState.
   */
  com.google.cloud.video.livestream.v1.Channel.StreamingState getStreamingState();

  /**
   *
   *
   * <pre>
   * Output only. A description of the reason for the streaming error. This
   * property is always present when
   * [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state]
   * is
   * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
   * </pre>
   *
   * <code>.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the streamingError field is set.
   */
  boolean hasStreamingError();
  /**
   *
   *
   * <pre>
   * Output only. A description of the reason for the streaming error. This
   * property is always present when
   * [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state]
   * is
   * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
   * </pre>
   *
   * <code>.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The streamingError.
   */
  com.google.rpc.Status getStreamingError();
  /**
   *
   *
   * <pre>
   * Output only. A description of the reason for the streaming error. This
   * property is always present when
   * [streaming_state][google.cloud.video.livestream.v1.Channel.streaming_state]
   * is
   * [STREAMING_ERROR][google.cloud.video.livestream.v1.Channel.StreamingState.STREAMING_ERROR].
   * </pre>
   *
   * <code>.google.rpc.Status streaming_error = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.rpc.StatusOrBuilder getStreamingErrorOrBuilder();

  /**
   *
   *
   * <pre>
   * Configuration of platform logs for this channel.
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.LogConfig log_config = 19;</code>
   *
   * @return Whether the logConfig field is set.
   */
  boolean hasLogConfig();
  /**
   *
   *
   * <pre>
   * Configuration of platform logs for this channel.
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.LogConfig log_config = 19;</code>
   *
   * @return The logConfig.
   */
  com.google.cloud.video.livestream.v1.LogConfig getLogConfig();
  /**
   *
   *
   * <pre>
   * Configuration of platform logs for this channel.
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.LogConfig log_config = 19;</code>
   */
  com.google.cloud.video.livestream.v1.LogConfigOrBuilder getLogConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Configuration of timecode for this channel.
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;</code>
   *
   * @return Whether the timecodeConfig field is set.
   */
  boolean hasTimecodeConfig();
  /**
   *
   *
   * <pre>
   * Configuration of timecode for this channel.
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;</code>
   *
   * @return The timecodeConfig.
   */
  com.google.cloud.video.livestream.v1.TimecodeConfig getTimecodeConfig();
  /**
   *
   *
   * <pre>
   * Configuration of timecode for this channel.
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.TimecodeConfig timecode_config = 21;</code>
   */
  com.google.cloud.video.livestream.v1.TimecodeConfigOrBuilder getTimecodeConfigOrBuilder();

  /**
   *
   *
   * <pre>
   * Encryption configurations for this channel. Each configuration has an ID
   * which is referred to by each MuxStream to indicate which configuration is
   * used for that output.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;</code>
   */
  java.util.List<com.google.cloud.video.livestream.v1.Encryption> getEncryptionsList();
  /**
   *
   *
   * <pre>
   * Encryption configurations for this channel. Each configuration has an ID
   * which is referred to by each MuxStream to indicate which configuration is
   * used for that output.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;</code>
   */
  com.google.cloud.video.livestream.v1.Encryption getEncryptions(int index);
  /**
   *
   *
   * <pre>
   * Encryption configurations for this channel. Each configuration has an ID
   * which is referred to by each MuxStream to indicate which configuration is
   * used for that output.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;</code>
   */
  int getEncryptionsCount();
  /**
   *
   *
   * <pre>
   * Encryption configurations for this channel. Each configuration has an ID
   * which is referred to by each MuxStream to indicate which configuration is
   * used for that output.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;</code>
   */
  java.util.List<? extends com.google.cloud.video.livestream.v1.EncryptionOrBuilder>
      getEncryptionsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Encryption configurations for this channel. Each configuration has an ID
   * which is referred to by each MuxStream to indicate which configuration is
   * used for that output.
   * </pre>
   *
   * <code>repeated .google.cloud.video.livestream.v1.Encryption encryptions = 24;</code>
   */
  com.google.cloud.video.livestream.v1.EncryptionOrBuilder getEncryptionsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * The configuration for input sources defined in
   * [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments].
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.InputConfig input_config = 25;</code>
   *
   * @return Whether the inputConfig field is set.
   */
  boolean hasInputConfig();
  /**
   *
   *
   * <pre>
   * The configuration for input sources defined in
   * [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments].
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.InputConfig input_config = 25;</code>
   *
   * @return The inputConfig.
   */
  com.google.cloud.video.livestream.v1.InputConfig getInputConfig();
  /**
   *
   *
   * <pre>
   * The configuration for input sources defined in
   * [input_attachments][google.cloud.video.livestream.v1.Channel.input_attachments].
   * </pre>
   *
   * <code>.google.cloud.video.livestream.v1.InputConfig input_config = 25;</code>
   */
  com.google.cloud.video.livestream.v1.InputConfigOrBuilder getInputConfigOrBuilder();
}
