All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.video.transcoder.v1.AudioStreamOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.48.0
Show newest version
/*
 * Copyright 2024 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

// Protobuf Java Version: 3.25.5
package com.google.cloud.video.transcoder.v1;

public interface AudioStreamOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.video.transcoder.v1.AudioStream)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The codec for this audio stream. The default is `aac`.
   *
   * Supported audio codecs:
   *
   * - `aac`
   * - `aac-he`
   * - `aac-he-v2`
   * - `mp3`
   * - `ac3`
   * - `eac3`
   * 
* * string codec = 1; * * @return The codec. */ java.lang.String getCodec(); /** * * *
   * The codec for this audio stream. The default is `aac`.
   *
   * Supported audio codecs:
   *
   * - `aac`
   * - `aac-he`
   * - `aac-he-v2`
   * - `mp3`
   * - `ac3`
   * - `eac3`
   * 
* * string codec = 1; * * @return The bytes for codec. */ com.google.protobuf.ByteString getCodecBytes(); /** * * *
   * Required. Audio bitrate in bits per second. Must be between 1 and
   * 10,000,000.
   * 
* * int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bitrateBps. */ int getBitrateBps(); /** * * *
   * Number of audio channels. Must be between 1 and 6. The default is 2.
   * 
* * int32 channel_count = 3; * * @return The channelCount. */ int getChannelCount(); /** * * *
   * A list of channel names specifying layout of the audio channels.
   * This only affects the metadata embedded in the container headers, if
   * supported by the specified format. The default is `["fl", "fr"]`.
   *
   * Supported channel names:
   *
   * - `fl` - Front left channel
   * - `fr` - Front right channel
   * - `sl` - Side left channel
   * - `sr` - Side right channel
   * - `fc` - Front center channel
   * - `lfe` - Low frequency
   * 
* * repeated string channel_layout = 4; * * @return A list containing the channelLayout. */ java.util.List getChannelLayoutList(); /** * * *
   * A list of channel names specifying layout of the audio channels.
   * This only affects the metadata embedded in the container headers, if
   * supported by the specified format. The default is `["fl", "fr"]`.
   *
   * Supported channel names:
   *
   * - `fl` - Front left channel
   * - `fr` - Front right channel
   * - `sl` - Side left channel
   * - `sr` - Side right channel
   * - `fc` - Front center channel
   * - `lfe` - Low frequency
   * 
* * repeated string channel_layout = 4; * * @return The count of channelLayout. */ int getChannelLayoutCount(); /** * * *
   * A list of channel names specifying layout of the audio channels.
   * This only affects the metadata embedded in the container headers, if
   * supported by the specified format. The default is `["fl", "fr"]`.
   *
   * Supported channel names:
   *
   * - `fl` - Front left channel
   * - `fr` - Front right channel
   * - `sl` - Side left channel
   * - `sr` - Side right channel
   * - `fc` - Front center channel
   * - `lfe` - Low frequency
   * 
* * repeated string channel_layout = 4; * * @param index The index of the element to return. * @return The channelLayout at the given index. */ java.lang.String getChannelLayout(int index); /** * * *
   * A list of channel names specifying layout of the audio channels.
   * This only affects the metadata embedded in the container headers, if
   * supported by the specified format. The default is `["fl", "fr"]`.
   *
   * Supported channel names:
   *
   * - `fl` - Front left channel
   * - `fr` - Front right channel
   * - `sl` - Side left channel
   * - `sr` - Side right channel
   * - `fc` - Front center channel
   * - `lfe` - Low frequency
   * 
* * repeated string channel_layout = 4; * * @param index The index of the value to return. * @return The bytes of the channelLayout at the given index. */ com.google.protobuf.ByteString getChannelLayoutBytes(int index); /** * * *
   * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
   * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ java.util.List getMappingList(); /** * * *
   * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
   * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ com.google.cloud.video.transcoder.v1.AudioStream.AudioMapping getMapping(int index); /** * * *
   * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
   * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ int getMappingCount(); /** * * *
   * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
   * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ java.util.List getMappingOrBuilderList(); /** * * *
   * The mapping for the `Job.edit_list` atoms with audio `EditAtom.inputs`.
   * 
* * repeated .google.cloud.video.transcoder.v1.AudioStream.AudioMapping mapping = 5; */ com.google.cloud.video.transcoder.v1.AudioStream.AudioMappingOrBuilder getMappingOrBuilder( int index); /** * * *
   * The audio sample rate in Hertz. The default is 48000 Hertz.
   * 
* * int32 sample_rate_hertz = 6; * * @return The sampleRateHertz. */ int getSampleRateHertz(); /** * * *
   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
   * information, see
   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
   * supported in MP4 files.
   * 
* * string language_code = 7; * * @return The languageCode. */ java.lang.String getLanguageCode(); /** * * *
   * The BCP-47 language code, such as `en-US` or `sr-Latn`. For more
   * information, see
   * https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. Not
   * supported in MP4 files.
   * 
* * string language_code = 7; * * @return The bytes for languageCode. */ com.google.protobuf.ByteString getLanguageCodeBytes(); /** * * *
   * The name for this particular audio stream that
   * will be added to the HLS/DASH manifest. Not supported in MP4 files.
   * 
* * string display_name = 8; * * @return The displayName. */ java.lang.String getDisplayName(); /** * * *
   * The name for this particular audio stream that
   * will be added to the HLS/DASH manifest. Not supported in MP4 files.
   * 
* * string display_name = 8; * * @return The bytes for displayName. */ com.google.protobuf.ByteString getDisplayNameBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy