/*
 * 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/stitcher/v1/sessions.proto

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

public interface VodSessionAdBreakOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.video.stitcher.v1.VodSessionAdBreak)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * List of events that are expected to be triggered, ordered by time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;</code>
   */
  java.util.List<com.google.cloud.video.stitcher.v1.ProgressEvent> getProgressEventsList();
  /**
   *
   *
   * <pre>
   * List of events that are expected to be triggered, ordered by time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;</code>
   */
  com.google.cloud.video.stitcher.v1.ProgressEvent getProgressEvents(int index);
  /**
   *
   *
   * <pre>
   * List of events that are expected to be triggered, ordered by time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;</code>
   */
  int getProgressEventsCount();
  /**
   *
   *
   * <pre>
   * List of events that are expected to be triggered, ordered by time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;</code>
   */
  java.util.List<? extends com.google.cloud.video.stitcher.v1.ProgressEventOrBuilder>
      getProgressEventsOrBuilderList();
  /**
   *
   *
   * <pre>
   * List of events that are expected to be triggered, ordered by time.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.ProgressEvent progress_events = 1;</code>
   */
  com.google.cloud.video.stitcher.v1.ProgressEventOrBuilder getProgressEventsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Ordered list of ads stitched into the ad break.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;</code>
   */
  java.util.List<com.google.cloud.video.stitcher.v1.VodSessionAd> getAdsList();
  /**
   *
   *
   * <pre>
   * Ordered list of ads stitched into the ad break.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;</code>
   */
  com.google.cloud.video.stitcher.v1.VodSessionAd getAds(int index);
  /**
   *
   *
   * <pre>
   * Ordered list of ads stitched into the ad break.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;</code>
   */
  int getAdsCount();
  /**
   *
   *
   * <pre>
   * Ordered list of ads stitched into the ad break.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;</code>
   */
  java.util.List<? extends com.google.cloud.video.stitcher.v1.VodSessionAdOrBuilder>
      getAdsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Ordered list of ads stitched into the ad break.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.VodSessionAd ads = 2;</code>
   */
  com.google.cloud.video.stitcher.v1.VodSessionAdOrBuilder getAdsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Ad break end time in seconds relative to the start of the VOD asset.
   * </pre>
   *
   * <code>.google.protobuf.Duration end_time_offset = 3;</code>
   *
   * @return Whether the endTimeOffset field is set.
   */
  boolean hasEndTimeOffset();
  /**
   *
   *
   * <pre>
   * Ad break end time in seconds relative to the start of the VOD asset.
   * </pre>
   *
   * <code>.google.protobuf.Duration end_time_offset = 3;</code>
   *
   * @return The endTimeOffset.
   */
  com.google.protobuf.Duration getEndTimeOffset();
  /**
   *
   *
   * <pre>
   * Ad break end time in seconds relative to the start of the VOD asset.
   * </pre>
   *
   * <code>.google.protobuf.Duration end_time_offset = 3;</code>
   */
  com.google.protobuf.DurationOrBuilder getEndTimeOffsetOrBuilder();

  /**
   *
   *
   * <pre>
   * Ad break start time in seconds relative to the start of the VOD asset.
   * </pre>
   *
   * <code>.google.protobuf.Duration start_time_offset = 4;</code>
   *
   * @return Whether the startTimeOffset field is set.
   */
  boolean hasStartTimeOffset();
  /**
   *
   *
   * <pre>
   * Ad break start time in seconds relative to the start of the VOD asset.
   * </pre>
   *
   * <code>.google.protobuf.Duration start_time_offset = 4;</code>
   *
   * @return The startTimeOffset.
   */
  com.google.protobuf.Duration getStartTimeOffset();
  /**
   *
   *
   * <pre>
   * Ad break start time in seconds relative to the start of the VOD asset.
   * </pre>
   *
   * <code>.google.protobuf.Duration start_time_offset = 4;</code>
   */
  com.google.protobuf.DurationOrBuilder getStartTimeOffsetOrBuilder();
}
