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

com.google.api.services.youtube.model.VideoFileDetailsAudioStream Maven / Gradle / Ivy

There is a newer version: v3-rev20241105-2.0.0
Show newest version
/*
 * 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
 *
 * http://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.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.youtube.model;

/**
 * Information about an audio stream.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class VideoFileDetailsAudioStream extends com.google.api.client.json.GenericJson { /** * The audio stream's bitrate, in bits per second. * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.math.BigInteger bitrateBps; /** * The number of audio channels that the stream contains. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Long channelCount; /** * The audio codec that the stream uses. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String codec; /** * A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor * code. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String vendor; /** * The audio stream's bitrate, in bits per second. * @return value or {@code null} for none */ public java.math.BigInteger getBitrateBps() { return bitrateBps; } /** * The audio stream's bitrate, in bits per second. * @param bitrateBps bitrateBps or {@code null} for none */ public VideoFileDetailsAudioStream setBitrateBps(java.math.BigInteger bitrateBps) { this.bitrateBps = bitrateBps; return this; } /** * The number of audio channels that the stream contains. * @return value or {@code null} for none */ public java.lang.Long getChannelCount() { return channelCount; } /** * The number of audio channels that the stream contains. * @param channelCount channelCount or {@code null} for none */ public VideoFileDetailsAudioStream setChannelCount(java.lang.Long channelCount) { this.channelCount = channelCount; return this; } /** * The audio codec that the stream uses. * @return value or {@code null} for none */ public java.lang.String getCodec() { return codec; } /** * The audio codec that the stream uses. * @param codec codec or {@code null} for none */ public VideoFileDetailsAudioStream setCodec(java.lang.String codec) { this.codec = codec; return this; } /** * A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor * code. * @return value or {@code null} for none */ public java.lang.String getVendor() { return vendor; } /** * A value that uniquely identifies a video vendor. Typically, the value is a four-letter vendor * code. * @param vendor vendor or {@code null} for none */ public VideoFileDetailsAudioStream setVendor(java.lang.String vendor) { this.vendor = vendor; return this; } @Override public VideoFileDetailsAudioStream set(String fieldName, Object value) { return (VideoFileDetailsAudioStream) super.set(fieldName, value); } @Override public VideoFileDetailsAudioStream clone() { return (VideoFileDetailsAudioStream) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy