target.apidocs.com.google.api.services.drive.model.File.VideoMediaMetadata.html Maven / Gradle / Ivy
File.VideoMediaMetadata (Google Drive API v3-rev20240809-2.0.0)
com.google.api.services.drive.model
Class File.VideoMediaMetadata
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.File.VideoMediaMetadata
-
-
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
VideoMediaMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
File.VideoMediaMetadata
clone()
Long
getDurationMillis()
Output only.
Integer
getHeight()
Output only.
Integer
getWidth()
Output only.
File.VideoMediaMetadata
set(String fieldName,
Object value)
File.VideoMediaMetadata
setDurationMillis(Long durationMillis)
Output only.
File.VideoMediaMetadata
setHeight(Integer height)
Output only.
File.VideoMediaMetadata
setWidth(Integer width)
Output only.
-
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
-
getDurationMillis
public Long getDurationMillis()
Output only. The duration of the video in milliseconds.
- Returns:
- value or
null
for none
-
setDurationMillis
public File.VideoMediaMetadata setDurationMillis(Long durationMillis)
Output only. The duration of the video in milliseconds.
- Parameters:
durationMillis
- durationMillis or null
for none
-
getHeight
public Integer getHeight()
Output only. The height of the video in pixels.
- Returns:
- value or
null
for none
-
setHeight
public File.VideoMediaMetadata setHeight(Integer height)
Output only. The height of the video in pixels.
- Parameters:
height
- height or null
for none
-
getWidth
public Integer getWidth()
Output only. The width of the video in pixels.
- Returns:
- value or
null
for none
-
setWidth
public File.VideoMediaMetadata setWidth(Integer width)
Output only. The width of the video in pixels.
- Parameters:
width
- width or null
for none
-
set
public File.VideoMediaMetadata set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public File.VideoMediaMetadata clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.