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

  /**
   *
   *
   * <pre>
   * Output only. The name of the VOD session, in the form of
   * `projects/{project_number}/locations/{location}/vodSessions/{id}`.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. The name of the VOD session, in the form of
   * `projects/{project_number}/locations/{location}/vodSessions/{id}`.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Metadata of what was stitched into the content.
   * </pre>
   *
   * <code>
   * .google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the interstitials field is set.
   */
  boolean hasInterstitials();
  /**
   *
   *
   * <pre>
   * Output only. Metadata of what was stitched into the content.
   * </pre>
   *
   * <code>
   * .google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The interstitials.
   */
  com.google.cloud.video.stitcher.v1.Interstitials getInterstitials();
  /**
   *
   *
   * <pre>
   * Output only. Metadata of what was stitched into the content.
   * </pre>
   *
   * <code>
   * .google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.video.stitcher.v1.InterstitialsOrBuilder getInterstitialsOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The playback URI of the stitched content.
   * </pre>
   *
   * <code>string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The playUri.
   */
  java.lang.String getPlayUri();
  /**
   *
   *
   * <pre>
   * Output only. The playback URI of the stitched content.
   * </pre>
   *
   * <code>string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for playUri.
   */
  com.google.protobuf.ByteString getPlayUriBytes();

  /**
   *
   *
   * <pre>
   * Required. URI of the media to stitch.
   * </pre>
   *
   * <code>string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The sourceUri.
   */
  java.lang.String getSourceUri();
  /**
   *
   *
   * <pre>
   * Required. URI of the media to stitch.
   * </pre>
   *
   * <code>string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for sourceUri.
   */
  com.google.protobuf.ByteString getSourceUriBytes();

  /**
   *
   *
   * <pre>
   * Required. Ad tag URI.
   * </pre>
   *
   * <code>string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The adTagUri.
   */
  java.lang.String getAdTagUri();
  /**
   *
   *
   * <pre>
   * Required. Ad tag URI.
   * </pre>
   *
   * <code>string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for adTagUri.
   */
  com.google.protobuf.ByteString getAdTagUriBytes();

  /**
   *
   *
   * <pre>
   * Key value pairs for ad tag macro replacement. If the
   * specified ad tag URI has macros, this field provides the mapping
   * to the value that will replace the macro in the ad tag URI.
   * Macros are designated by square brackets.
   * For example:
   *   Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"`
   *   Ad tag macro map: `{"geoId": "123"}`
   *   Fully qualified ad tag:
   *   `"`https://doubleclick.google.com/ad/1?geo_id=123"`
   * </pre>
   *
   * <code>map&lt;string, string&gt; ad_tag_macro_map = 7;</code>
   */
  int getAdTagMacroMapCount();
  /**
   *
   *
   * <pre>
   * Key value pairs for ad tag macro replacement. If the
   * specified ad tag URI has macros, this field provides the mapping
   * to the value that will replace the macro in the ad tag URI.
   * Macros are designated by square brackets.
   * For example:
   *   Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"`
   *   Ad tag macro map: `{"geoId": "123"}`
   *   Fully qualified ad tag:
   *   `"`https://doubleclick.google.com/ad/1?geo_id=123"`
   * </pre>
   *
   * <code>map&lt;string, string&gt; ad_tag_macro_map = 7;</code>
   */
  boolean containsAdTagMacroMap(java.lang.String key);
  /** Use {@link #getAdTagMacroMapMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getAdTagMacroMap();
  /**
   *
   *
   * <pre>
   * Key value pairs for ad tag macro replacement. If the
   * specified ad tag URI has macros, this field provides the mapping
   * to the value that will replace the macro in the ad tag URI.
   * Macros are designated by square brackets.
   * For example:
   *   Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"`
   *   Ad tag macro map: `{"geoId": "123"}`
   *   Fully qualified ad tag:
   *   `"`https://doubleclick.google.com/ad/1?geo_id=123"`
   * </pre>
   *
   * <code>map&lt;string, string&gt; ad_tag_macro_map = 7;</code>
   */
  java.util.Map<java.lang.String, java.lang.String> getAdTagMacroMapMap();
  /**
   *
   *
   * <pre>
   * Key value pairs for ad tag macro replacement. If the
   * specified ad tag URI has macros, this field provides the mapping
   * to the value that will replace the macro in the ad tag URI.
   * Macros are designated by square brackets.
   * For example:
   *   Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"`
   *   Ad tag macro map: `{"geoId": "123"}`
   *   Fully qualified ad tag:
   *   `"`https://doubleclick.google.com/ad/1?geo_id=123"`
   * </pre>
   *
   * <code>map&lt;string, string&gt; ad_tag_macro_map = 7;</code>
   */
  /* nullable */
  java.lang.String getAdTagMacroMapOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * Key value pairs for ad tag macro replacement. If the
   * specified ad tag URI has macros, this field provides the mapping
   * to the value that will replace the macro in the ad tag URI.
   * Macros are designated by square brackets.
   * For example:
   *   Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"`
   *   Ad tag macro map: `{"geoId": "123"}`
   *   Fully qualified ad tag:
   *   `"`https://doubleclick.google.com/ad/1?geo_id=123"`
   * </pre>
   *
   * <code>map&lt;string, string&gt; ad_tag_macro_map = 7;</code>
   */
  java.lang.String getAdTagMacroMapOrThrow(java.lang.String key);

  /**
   *
   *
   * <pre>
   * Indicates whether client side ad tracking is enabled. If client
   * side ad tracking is enabled, then the client player is expected
   * to trigger playback and activity events itself.
   * If this is set to false, server side ad tracking is enabled,
   * causing the Video Stitcher service will trigger playback events
   * on behalf of the client player.
   * </pre>
   *
   * <code>bool client_ad_tracking = 8;</code>
   *
   * @return The clientAdTracking.
   */
  boolean getClientAdTracking();

  /**
   *
   *
   * <pre>
   * Additional options that affect the output of the manifest.
   * </pre>
   *
   * <code>.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;</code>
   *
   * @return Whether the manifestOptions field is set.
   */
  boolean hasManifestOptions();
  /**
   *
   *
   * <pre>
   * Additional options that affect the output of the manifest.
   * </pre>
   *
   * <code>.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;</code>
   *
   * @return The manifestOptions.
   */
  com.google.cloud.video.stitcher.v1.ManifestOptions getManifestOptions();
  /**
   *
   *
   * <pre>
   * Additional options that affect the output of the manifest.
   * </pre>
   *
   * <code>.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;</code>
   */
  com.google.cloud.video.stitcher.v1.ManifestOptionsOrBuilder getManifestOptionsOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The generated ID of the VodSession's source media.
   * </pre>
   *
   * <code>string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The assetId.
   */
  java.lang.String getAssetId();
  /**
   *
   *
   * <pre>
   * Output only. The generated ID of the VodSession's source media.
   * </pre>
   *
   * <code>string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for assetId.
   */
  com.google.protobuf.ByteString getAssetIdBytes();
}
