
target.apidocs.com.google.api.services.transcoder.v1.model.Input.html Maven / Gradle / Ivy
Input (Transcoder API v1-rev20240124-2.0.0)
com.google.api.services.transcoder.v1.model
Class Input
- 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.Input
-
public final class Input
extends com.google.api.client.json.GenericJson
Input asset.
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
Input()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Input
clone()
String
getKey()
A unique key for this input.
PreprocessingConfig
getPreprocessingConfig()
Preprocessing configurations.
String
getUri()
URI of the media.
Input
set(String fieldName,
Object value)
Input
setKey(String key)
A unique key for this input.
Input
setPreprocessingConfig(PreprocessingConfig preprocessingConfig)
Preprocessing configurations.
Input
setUri(String uri)
URI of the media.
-
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
-
getKey
public String getKey()
A unique key for this input. Must be specified when using advanced mapping and edit lists.
- Returns:
- value or
null
for none
-
setKey
public Input setKey(String key)
A unique key for this input. Must be specified when using advanced mapping and edit lists.
- Parameters:
key
- key or null
for none
-
getPreprocessingConfig
public PreprocessingConfig getPreprocessingConfig()
Preprocessing configurations.
- Returns:
- value or
null
for none
-
setPreprocessingConfig
public Input setPreprocessingConfig(PreprocessingConfig preprocessingConfig)
Preprocessing configurations.
- Parameters:
preprocessingConfig
- preprocessingConfig or null
for none
-
getUri
public String getUri()
URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud
Storage (for example, `gs://bucket/inputs/file.mp4`). If empty, the value is populated from
Job.input_uri. See [Supported input and output
formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
- Returns:
- value or
null
for none
-
setUri
public Input setUri(String uri)
URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud
Storage (for example, `gs://bucket/inputs/file.mp4`). If empty, the value is populated from
Job.input_uri. See [Supported input and output
formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats).
- Parameters:
uri
- uri or null
for none
-
set
public Input set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Input 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