/*
 * 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/stitch_details.proto

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

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

  /**
   *
   *
   * <pre>
   * Required. The ad break ID of the processed ad.
   * </pre>
   *
   * <code>string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The adBreakId.
   */
  java.lang.String getAdBreakId();
  /**
   *
   *
   * <pre>
   * Required. The ad break ID of the processed ad.
   * </pre>
   *
   * <code>string ad_break_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for adBreakId.
   */
  com.google.protobuf.ByteString getAdBreakIdBytes();

  /**
   *
   *
   * <pre>
   * Required. The ad ID of the processed ad.
   * </pre>
   *
   * <code>string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The adId.
   */
  java.lang.String getAdId();
  /**
   *
   *
   * <pre>
   * Required. The ad ID of the processed ad.
   * </pre>
   *
   * <code>string ad_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The bytes for adId.
   */
  com.google.protobuf.ByteString getAdIdBytes();

  /**
   *
   *
   * <pre>
   * Required. The time offset of the processed ad.
   * </pre>
   *
   * <code>.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the adTimeOffset field is set.
   */
  boolean hasAdTimeOffset();
  /**
   *
   *
   * <pre>
   * Required. The time offset of the processed ad.
   * </pre>
   *
   * <code>.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The adTimeOffset.
   */
  com.google.protobuf.Duration getAdTimeOffset();
  /**
   *
   *
   * <pre>
   * Required. The time offset of the processed ad.
   * </pre>
   *
   * <code>.google.protobuf.Duration ad_time_offset = 3 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.protobuf.DurationOrBuilder getAdTimeOffsetOrBuilder();

  /**
   *
   *
   * <pre>
   * Optional. Indicates the reason why the ad has been skipped.
   * </pre>
   *
   * <code>string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The skipReason.
   */
  java.lang.String getSkipReason();
  /**
   *
   *
   * <pre>
   * Optional. Indicates the reason why the ad has been skipped.
   * </pre>
   *
   * <code>string skip_reason = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for skipReason.
   */
  com.google.protobuf.ByteString getSkipReasonBytes();

  /**
   *
   *
   * <pre>
   * Optional. The metadata of the chosen media file for the ad.
   * </pre>
   *
   * <code>
   * map&lt;string, .google.protobuf.Value&gt; media = 5 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  int getMediaCount();
  /**
   *
   *
   * <pre>
   * Optional. The metadata of the chosen media file for the ad.
   * </pre>
   *
   * <code>
   * map&lt;string, .google.protobuf.Value&gt; media = 5 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  boolean containsMedia(java.lang.String key);
  /** Use {@link #getMediaMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, com.google.protobuf.Value> getMedia();
  /**
   *
   *
   * <pre>
   * Optional. The metadata of the chosen media file for the ad.
   * </pre>
   *
   * <code>
   * map&lt;string, .google.protobuf.Value&gt; media = 5 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  java.util.Map<java.lang.String, com.google.protobuf.Value> getMediaMap();
  /**
   *
   *
   * <pre>
   * Optional. The metadata of the chosen media file for the ad.
   * </pre>
   *
   * <code>
   * map&lt;string, .google.protobuf.Value&gt; media = 5 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  /* nullable */
  com.google.protobuf.Value getMediaOrDefault(
      java.lang.String key,
      /* nullable */
      com.google.protobuf.Value defaultValue);
  /**
   *
   *
   * <pre>
   * Optional. The metadata of the chosen media file for the ad.
   * </pre>
   *
   * <code>
   * map&lt;string, .google.protobuf.Value&gt; media = 5 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.protobuf.Value getMediaOrThrow(java.lang.String key);
}
