target.apidocs.com.google.api.services.youtube.model.VideoProcessingDetailsProcessingProgress.html Maven / Gradle / Ivy
VideoProcessingDetailsProcessingProgress (YouTube Data API v3 v3-rev20210410-1.31.0)
com.google.api.services.youtube.model
Class VideoProcessingDetailsProcessingProgress
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.VideoProcessingDetailsProcessingProgress
-
public final class VideoProcessingDetailsProcessingProgress
extends GenericJson
Video processing progress and completion time estimate.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
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
VideoProcessingDetailsProcessingProgress()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VideoProcessingDetailsProcessingProgress
clone()
BigInteger
getPartsProcessed()
The number of parts of the video that YouTube has already processed.
BigInteger
getPartsTotal()
An estimate of the total number of parts that need to be processed for the video.
BigInteger
getTimeLeftMs()
An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the
video.
VideoProcessingDetailsProcessingProgress
set(String fieldName,
Object value)
VideoProcessingDetailsProcessingProgress
setPartsProcessed(BigInteger partsProcessed)
The number of parts of the video that YouTube has already processed.
VideoProcessingDetailsProcessingProgress
setPartsTotal(BigInteger partsTotal)
An estimate of the total number of parts that need to be processed for the video.
VideoProcessingDetailsProcessingProgress
setTimeLeftMs(BigInteger timeLeftMs)
An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the
video.
-
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
-
-
Constructor Detail
-
VideoProcessingDetailsProcessingProgress
public VideoProcessingDetailsProcessingProgress()
-
Method Detail
-
getPartsProcessed
public BigInteger getPartsProcessed()
The number of parts of the video that YouTube has already processed. You can estimate the
percentage of the video that YouTube has already processed by calculating: 100 *
parts_processed / parts_total Note that since the estimated number of parts could increase
without a corresponding increase in the number of parts that have already been processed, it is
possible that the calculated progress could periodically decrease while YouTube processes a
video.
- Returns:
- value or
null
for none
-
setPartsProcessed
public VideoProcessingDetailsProcessingProgress setPartsProcessed(BigInteger partsProcessed)
The number of parts of the video that YouTube has already processed. You can estimate the
percentage of the video that YouTube has already processed by calculating: 100 *
parts_processed / parts_total Note that since the estimated number of parts could increase
without a corresponding increase in the number of parts that have already been processed, it is
possible that the calculated progress could periodically decrease while YouTube processes a
video.
- Parameters:
partsProcessed
- partsProcessed or null
for none
-
getPartsTotal
public BigInteger getPartsTotal()
An estimate of the total number of parts that need to be processed for the video. The number
may be updated with more precise estimates while YouTube processes the video.
- Returns:
- value or
null
for none
-
setPartsTotal
public VideoProcessingDetailsProcessingProgress setPartsTotal(BigInteger partsTotal)
An estimate of the total number of parts that need to be processed for the video. The number
may be updated with more precise estimates while YouTube processes the video.
- Parameters:
partsTotal
- partsTotal or null
for none
-
getTimeLeftMs
public BigInteger getTimeLeftMs()
An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the
video.
- Returns:
- value or
null
for none
-
setTimeLeftMs
public VideoProcessingDetailsProcessingProgress setTimeLeftMs(BigInteger timeLeftMs)
An estimate of the amount of time, in millseconds, that YouTube needs to finish processing the
video.
- Parameters:
timeLeftMs
- timeLeftMs or null
for none
-
set
public VideoProcessingDetailsProcessingProgress set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public VideoProcessingDetailsProcessingProgress clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.