
target.apidocs.com.google.api.services.transcoder.v1.model.JobConfig.html Maven / Gradle / Ivy
JobConfig (Transcoder API v1-rev20240124-2.0.0)
com.google.api.services.transcoder.v1.model
Class JobConfig
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.transcoder.v1.model.JobConfig
-
public final class JobConfig
extends com.google.api.client.json.GenericJson
Job configuration
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
JobConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
JobConfig
clone()
List<AdBreak>
getAdBreaks()
List of ad breaks.
List<EditAtom>
getEditList()
List of edit atoms.
List<ElementaryStream>
getElementaryStreams()
List of elementary streams.
List<Encryption>
getEncryptions()
List of encryption configurations for the content.
List<Input>
getInputs()
List of input assets stored in Cloud Storage.
List<Manifest>
getManifests()
List of output manifests.
List<MuxStream>
getMuxStreams()
List of multiplexing settings for output streams.
Output
getOutput()
Output configuration.
List<Overlay>
getOverlays()
List of overlays on the output video, in descending Z-order.
PubsubDestination
getPubsubDestination()
Destination on Pub/Sub.
List<SpriteSheet>
getSpriteSheets()
List of output sprite sheets.
JobConfig
set(String fieldName,
Object value)
JobConfig
setAdBreaks(List<AdBreak> adBreaks)
List of ad breaks.
JobConfig
setEditList(List<EditAtom> editList)
List of edit atoms.
JobConfig
setElementaryStreams(List<ElementaryStream> elementaryStreams)
List of elementary streams.
JobConfig
setEncryptions(List<Encryption> encryptions)
List of encryption configurations for the content.
JobConfig
setInputs(List<Input> inputs)
List of input assets stored in Cloud Storage.
JobConfig
setManifests(List<Manifest> manifests)
List of output manifests.
JobConfig
setMuxStreams(List<MuxStream> muxStreams)
List of multiplexing settings for output streams.
JobConfig
setOutput(Output output)
Output configuration.
JobConfig
setOverlays(List<Overlay> overlays)
List of overlays on the output video, in descending Z-order.
JobConfig
setPubsubDestination(PubsubDestination pubsubDestination)
Destination on Pub/Sub.
JobConfig
setSpriteSheets(List<SpriteSheet> spriteSheets)
List of output sprite sheets.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getAdBreaks
public List<AdBreak> getAdBreaks()
List of ad breaks. Specifies where to insert ad break tags in the output manifests.
- Returns:
- value or
null
for none
-
setAdBreaks
public JobConfig setAdBreaks(List<AdBreak> adBreaks)
List of ad breaks. Specifies where to insert ad break tags in the output manifests.
- Parameters:
adBreaks
- adBreaks or null
for none
-
getEditList
public List<EditAtom> getEditList()
List of edit atoms. Defines the ultimate timeline of the resulting file or manifest.
- Returns:
- value or
null
for none
-
setEditList
public JobConfig setEditList(List<EditAtom> editList)
List of edit atoms. Defines the ultimate timeline of the resulting file or manifest.
- Parameters:
editList
- editList or null
for none
-
getElementaryStreams
public List<ElementaryStream> getElementaryStreams()
List of elementary streams.
- Returns:
- value or
null
for none
-
setElementaryStreams
public JobConfig setElementaryStreams(List<ElementaryStream> elementaryStreams)
List of elementary streams.
- Parameters:
elementaryStreams
- elementaryStreams or null
for none
-
getEncryptions
public List<Encryption> getEncryptions()
List of encryption configurations for the content. Each configuration has an ID. Specify this
ID in the MuxStream.encryption_id field to indicate the configuration to use for that
`MuxStream` output.
- Returns:
- value or
null
for none
-
setEncryptions
public JobConfig setEncryptions(List<Encryption> encryptions)
List of encryption configurations for the content. Each configuration has an ID. Specify this
ID in the MuxStream.encryption_id field to indicate the configuration to use for that
`MuxStream` output.
- Parameters:
encryptions
- encryptions or null
for none
-
getInputs
public List<Input> getInputs()
List of input assets stored in Cloud Storage.
- Returns:
- value or
null
for none
-
setInputs
public JobConfig setInputs(List<Input> inputs)
List of input assets stored in Cloud Storage.
- Parameters:
inputs
- inputs or null
for none
-
getManifests
public List<Manifest> getManifests()
List of output manifests.
- Returns:
- value or
null
for none
-
setManifests
public JobConfig setManifests(List<Manifest> manifests)
List of output manifests.
- Parameters:
manifests
- manifests or null
for none
-
getMuxStreams
public List<MuxStream> getMuxStreams()
List of multiplexing settings for output streams.
- Returns:
- value or
null
for none
-
setMuxStreams
public JobConfig setMuxStreams(List<MuxStream> muxStreams)
List of multiplexing settings for output streams.
- Parameters:
muxStreams
- muxStreams or null
for none
-
getOutput
public Output getOutput()
Output configuration.
- Returns:
- value or
null
for none
-
setOutput
public JobConfig setOutput(Output output)
Output configuration.
- Parameters:
output
- output or null
for none
-
getOverlays
public List<Overlay> getOverlays()
List of overlays on the output video, in descending Z-order.
- Returns:
- value or
null
for none
-
setOverlays
public JobConfig setOverlays(List<Overlay> overlays)
List of overlays on the output video, in descending Z-order.
- Parameters:
overlays
- overlays or null
for none
-
getPubsubDestination
public PubsubDestination getPubsubDestination()
Destination on Pub/Sub.
- Returns:
- value or
null
for none
-
setPubsubDestination
public JobConfig setPubsubDestination(PubsubDestination pubsubDestination)
Destination on Pub/Sub.
- Parameters:
pubsubDestination
- pubsubDestination or null
for none
-
getSpriteSheets
public List<SpriteSheet> getSpriteSheets()
List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
- Returns:
- value or
null
for none
-
setSpriteSheets
public JobConfig setSpriteSheets(List<SpriteSheet> spriteSheets)
List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
- Parameters:
spriteSheets
- spriteSheets or null
for none
-
set
public JobConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public JobConfig clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy