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

com.google.api.services.transcoder.v1.model.MuxStream Maven / Gradle / Ivy

/*
 * 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.transcoder.v1.model;

/**
 * Multiplexing settings for output 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 Transcoder API. 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 MuxStream extends com.google.api.client.json.GenericJson { /** * The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the * corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats) * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String container; /** * List of ElementaryStream.key values multiplexed in this stream. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List elementaryStreams; /** * Identifier of the encryption configuration to use. If omitted, output will be unencrypted. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String encryptionId; /** * The name of the generated file. The default is MuxStream.key with the extension suffix * corresponding to the MuxStream.container. Individual segments also have an incremental 10-digit * zero-padded suffix starting from 0 before the extension, such as `mux_stream0000000123.ts`. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String fileName; /** * Optional. `fmp4` container configuration. * The value may be {@code null}. */ @com.google.api.client.util.Key private Fmp4Config fmp4; /** * A unique key for this multiplexed stream. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String key; /** * Segment settings for `ts`, `fmp4` and `vtt`. * The value may be {@code null}. */ @com.google.api.client.util.Key private SegmentSettings segmentSettings; /** * The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the * corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats) * @return value or {@code null} for none */ public java.lang.String getContainer() { return container; } /** * The container format. The default is `mp4` Supported container formats: - `ts` - `fmp4`- the * corresponding file extension is `.m4s` - `mp4` - `vtt` See also: [Supported input and output * formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats) * @param container container or {@code null} for none */ public MuxStream setContainer(java.lang.String container) { this.container = container; return this; } /** * List of ElementaryStream.key values multiplexed in this stream. * @return value or {@code null} for none */ public java.util.List getElementaryStreams() { return elementaryStreams; } /** * List of ElementaryStream.key values multiplexed in this stream. * @param elementaryStreams elementaryStreams or {@code null} for none */ public MuxStream setElementaryStreams(java.util.List elementaryStreams) { this.elementaryStreams = elementaryStreams; return this; } /** * Identifier of the encryption configuration to use. If omitted, output will be unencrypted. * @return value or {@code null} for none */ public java.lang.String getEncryptionId() { return encryptionId; } /** * Identifier of the encryption configuration to use. If omitted, output will be unencrypted. * @param encryptionId encryptionId or {@code null} for none */ public MuxStream setEncryptionId(java.lang.String encryptionId) { this.encryptionId = encryptionId; return this; } /** * The name of the generated file. The default is MuxStream.key with the extension suffix * corresponding to the MuxStream.container. Individual segments also have an incremental 10-digit * zero-padded suffix starting from 0 before the extension, such as `mux_stream0000000123.ts`. * @return value or {@code null} for none */ public java.lang.String getFileName() { return fileName; } /** * The name of the generated file. The default is MuxStream.key with the extension suffix * corresponding to the MuxStream.container. Individual segments also have an incremental 10-digit * zero-padded suffix starting from 0 before the extension, such as `mux_stream0000000123.ts`. * @param fileName fileName or {@code null} for none */ public MuxStream setFileName(java.lang.String fileName) { this.fileName = fileName; return this; } /** * Optional. `fmp4` container configuration. * @return value or {@code null} for none */ public Fmp4Config getFmp4() { return fmp4; } /** * Optional. `fmp4` container configuration. * @param fmp4 fmp4 or {@code null} for none */ public MuxStream setFmp4(Fmp4Config fmp4) { this.fmp4 = fmp4; return this; } /** * A unique key for this multiplexed stream. * @return value or {@code null} for none */ public java.lang.String getKey() { return key; } /** * A unique key for this multiplexed stream. * @param key key or {@code null} for none */ public MuxStream setKey(java.lang.String key) { this.key = key; return this; } /** * Segment settings for `ts`, `fmp4` and `vtt`. * @return value or {@code null} for none */ public SegmentSettings getSegmentSettings() { return segmentSettings; } /** * Segment settings for `ts`, `fmp4` and `vtt`. * @param segmentSettings segmentSettings or {@code null} for none */ public MuxStream setSegmentSettings(SegmentSettings segmentSettings) { this.segmentSettings = segmentSettings; return this; } @Override public MuxStream set(String fieldName, Object value) { return (MuxStream) super.set(fieldName, value); } @Override public MuxStream clone() { return (MuxStream) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy