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

  /**
   *
   *
   * <pre>
   * Duration of the segments in seconds. The default is `6.0s`. Note that
   * `segmentDuration` must be greater than or equal to
   * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
   * [`gopDuration`](#videostream).
   * </pre>
   *
   * <code>.google.protobuf.Duration segment_duration = 1;</code>
   *
   * @return Whether the segmentDuration field is set.
   */
  boolean hasSegmentDuration();
  /**
   *
   *
   * <pre>
   * Duration of the segments in seconds. The default is `6.0s`. Note that
   * `segmentDuration` must be greater than or equal to
   * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
   * [`gopDuration`](#videostream).
   * </pre>
   *
   * <code>.google.protobuf.Duration segment_duration = 1;</code>
   *
   * @return The segmentDuration.
   */
  com.google.protobuf.Duration getSegmentDuration();
  /**
   *
   *
   * <pre>
   * Duration of the segments in seconds. The default is `6.0s`. Note that
   * `segmentDuration` must be greater than or equal to
   * [`gopDuration`](#videostream), and `segmentDuration` must be divisible by
   * [`gopDuration`](#videostream).
   * </pre>
   *
   * <code>.google.protobuf.Duration segment_duration = 1;</code>
   */
  com.google.protobuf.DurationOrBuilder getSegmentDurationOrBuilder();

  /**
   *
   *
   * <pre>
   * Required. Create an individual segment file. The default is `false`.
   * </pre>
   *
   * <code>bool individual_segments = 3 [(.google.api.field_behavior) = REQUIRED];</code>
   *
   * @return The individualSegments.
   */
  boolean getIndividualSegments();
}
