/*
 * 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 VodSessionAdOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.video.stitcher.v1.VodSessionAd)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Duration in seconds of the ad.
   * </pre>
   *
   * <code>.google.protobuf.Duration duration = 1;</code>
   *
   * @return Whether the duration field is set.
   */
  boolean hasDuration();
  /**
   *
   *
   * <pre>
   * Duration in seconds of the ad.
   * </pre>
   *
   * <code>.google.protobuf.Duration duration = 1;</code>
   *
   * @return The duration.
   */
  com.google.protobuf.Duration getDuration();
  /**
   *
   *
   * <pre>
   * Duration in seconds of the ad.
   * </pre>
   *
   * <code>.google.protobuf.Duration duration = 1;</code>
   */
  com.google.protobuf.DurationOrBuilder getDurationOrBuilder();

  /**
   *
   *
   * <pre>
   * Metadata of companion ads associated with the ad.
   * </pre>
   *
   * <code>.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;</code>
   *
   * @return Whether the companionAds field is set.
   */
  boolean hasCompanionAds();
  /**
   *
   *
   * <pre>
   * Metadata of companion ads associated with the ad.
   * </pre>
   *
   * <code>.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;</code>
   *
   * @return The companionAds.
   */
  com.google.cloud.video.stitcher.v1.CompanionAds getCompanionAds();
  /**
   *
   *
   * <pre>
   * Metadata of companion ads associated with the ad.
   * </pre>
   *
   * <code>.google.cloud.video.stitcher.v1.CompanionAds companion_ads = 2;</code>
   */
  com.google.cloud.video.stitcher.v1.CompanionAdsOrBuilder getCompanionAdsOrBuilder();

  /**
   *
   *
   * <pre>
   * The list of progress tracking events for the ad break. These can be of
   * the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`,
   * `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`,
   * `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`,
   * `CLOSE_LINEAR`, `SKIP`.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;</code>
   */
  java.util.List<com.google.cloud.video.stitcher.v1.Event> getActivityEventsList();
  /**
   *
   *
   * <pre>
   * The list of progress tracking events for the ad break. These can be of
   * the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`,
   * `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`,
   * `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`,
   * `CLOSE_LINEAR`, `SKIP`.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;</code>
   */
  com.google.cloud.video.stitcher.v1.Event getActivityEvents(int index);
  /**
   *
   *
   * <pre>
   * The list of progress tracking events for the ad break. These can be of
   * the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`,
   * `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`,
   * `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`,
   * `CLOSE_LINEAR`, `SKIP`.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;</code>
   */
  int getActivityEventsCount();
  /**
   *
   *
   * <pre>
   * The list of progress tracking events for the ad break. These can be of
   * the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`,
   * `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`,
   * `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`,
   * `CLOSE_LINEAR`, `SKIP`.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;</code>
   */
  java.util.List<? extends com.google.cloud.video.stitcher.v1.EventOrBuilder>
      getActivityEventsOrBuilderList();
  /**
   *
   *
   * <pre>
   * The list of progress tracking events for the ad break. These can be of
   * the following IAB types: `MUTE`, `UNMUTE`, `PAUSE`, `CLICK`,
   * `CLICK_THROUGH`, `REWIND`, `RESUME`, `ERROR`, `FULLSCREEN`,
   * `EXIT_FULLSCREEN`, `EXPAND`, `COLLAPSE`, `ACCEPT_INVITATION_LINEAR`,
   * `CLOSE_LINEAR`, `SKIP`.
   * </pre>
   *
   * <code>repeated .google.cloud.video.stitcher.v1.Event activity_events = 3;</code>
   */
  com.google.cloud.video.stitcher.v1.EventOrBuilder getActivityEventsOrBuilder(int index);
}
