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

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

public interface EditAtomOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.EditAtom)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * A unique key for this atom. Must be specified when using advanced
   * mapping.
   * </pre>
   *
   * <code>string key = 1;</code>
   *
   * @return The key.
   */
  java.lang.String getKey();
  /**
   *
   *
   * <pre>
   * A unique key for this atom. Must be specified when using advanced
   * mapping.
   * </pre>
   *
   * <code>string key = 1;</code>
   *
   * @return The bytes for key.
   */
  com.google.protobuf.ByteString getKeyBytes();

  /**
   *
   *
   * <pre>
   * List of `Input.key`s identifying files that should be used in this atom.
   * The listed `inputs` must have the same timeline.
   * </pre>
   *
   * <code>repeated string inputs = 2;</code>
   *
   * @return A list containing the inputs.
   */
  java.util.List<java.lang.String> getInputsList();
  /**
   *
   *
   * <pre>
   * List of `Input.key`s identifying files that should be used in this atom.
   * The listed `inputs` must have the same timeline.
   * </pre>
   *
   * <code>repeated string inputs = 2;</code>
   *
   * @return The count of inputs.
   */
  int getInputsCount();
  /**
   *
   *
   * <pre>
   * List of `Input.key`s identifying files that should be used in this atom.
   * The listed `inputs` must have the same timeline.
   * </pre>
   *
   * <code>repeated string inputs = 2;</code>
   *
   * @param index The index of the element to return.
   * @return The inputs at the given index.
   */
  java.lang.String getInputs(int index);
  /**
   *
   *
   * <pre>
   * List of `Input.key`s identifying files that should be used in this atom.
   * The listed `inputs` must have the same timeline.
   * </pre>
   *
   * <code>repeated string inputs = 2;</code>
   *
   * @param index The index of the value to return.
   * @return The bytes of the inputs at the given index.
   */
  com.google.protobuf.ByteString getInputsBytes(int index);

  /**
   *
   *
   * <pre>
   * End time in seconds for the atom, relative to the input file timeline.
   * When `end_time_offset` is not specified, the `inputs` are used until
   * the end of the atom.
   * </pre>
   *
   * <code>.google.protobuf.Duration end_time_offset = 3;</code>
   *
   * @return Whether the endTimeOffset field is set.
   */
  boolean hasEndTimeOffset();
  /**
   *
   *
   * <pre>
   * End time in seconds for the atom, relative to the input file timeline.
   * When `end_time_offset` is not specified, the `inputs` are used until
   * the end of the atom.
   * </pre>
   *
   * <code>.google.protobuf.Duration end_time_offset = 3;</code>
   *
   * @return The endTimeOffset.
   */
  com.google.protobuf.Duration getEndTimeOffset();
  /**
   *
   *
   * <pre>
   * End time in seconds for the atom, relative to the input file timeline.
   * When `end_time_offset` is not specified, the `inputs` are used until
   * the end of the atom.
   * </pre>
   *
   * <code>.google.protobuf.Duration end_time_offset = 3;</code>
   */
  com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder();

  /**
   *
   *
   * <pre>
   * Start time in seconds for the atom, relative to the input file timeline.
   * The default is `0s`.
   * </pre>
   *
   * <code>.google.protobuf.Duration start_time_offset = 4;</code>
   *
   * @return Whether the startTimeOffset field is set.
   */
  boolean hasStartTimeOffset();
  /**
   *
   *
   * <pre>
   * Start time in seconds for the atom, relative to the input file timeline.
   * The default is `0s`.
   * </pre>
   *
   * <code>.google.protobuf.Duration start_time_offset = 4;</code>
   *
   * @return The startTimeOffset.
   */
  com.google.protobuf.Duration getStartTimeOffset();
  /**
   *
   *
   * <pre>
   * Start time in seconds for the atom, relative to the input file timeline.
   * The default is `0s`.
   * </pre>
   *
   * <code>.google.protobuf.Duration start_time_offset = 4;</code>
   */
  com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
}
