public final class InvideoBranding extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
InvideoBranding() |
Modifier and Type | Method and Description |
---|---|
InvideoBranding |
clone() |
byte[] |
decodeImageBytes()
The bytes the uploaded image.
|
InvideoBranding |
encodeImageBytes(byte[] imageBytes)
The bytes the uploaded image.
|
String |
getImageBytes()
The bytes the uploaded image.
|
String |
getImageUrl()
The url of the uploaded image.
|
InvideoPosition |
getPosition()
The spatial position within the video where the branding watermark will be displayed.
|
String |
getTargetChannelId()
The channel to which this branding links.
|
InvideoTiming |
getTiming()
The temporal position within the video where watermark will be displayed.
|
InvideoBranding |
set(String fieldName,
Object value) |
InvideoBranding |
setImageBytes(String imageBytes)
The bytes the uploaded image.
|
InvideoBranding |
setImageUrl(String imageUrl)
The url of the uploaded image.
|
InvideoBranding |
setPosition(InvideoPosition position)
The spatial position within the video where the branding watermark will be displayed.
|
InvideoBranding |
setTargetChannelId(String targetChannelId)
The channel to which this branding links.
|
InvideoBranding |
setTiming(InvideoTiming timing)
The temporal position within the video where watermark will be displayed.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getImageBytes()
null
for nonedecodeImageBytes()
public byte[] decodeImageBytes()
null
for nonegetImageBytes()
public InvideoBranding setImageBytes(String imageBytes)
imageBytes
- imageBytes or null
for none#encodeImageBytes()
public InvideoBranding encodeImageBytes(byte[] imageBytes)
The value is encoded Base64 or {@code null} for none.
public String getImageUrl()
null
for nonepublic InvideoBranding setImageUrl(String imageUrl)
imageUrl
- imageUrl or null
for nonepublic InvideoPosition getPosition()
null
for nonepublic InvideoBranding setPosition(InvideoPosition position)
position
- position or null
for nonepublic String getTargetChannelId()
null
for nonepublic InvideoBranding setTargetChannelId(String targetChannelId)
targetChannelId
- targetChannelId or null
for nonepublic InvideoTiming getTiming()
null
for nonepublic InvideoBranding setTiming(InvideoTiming timing)
timing
- timing or null
for nonepublic InvideoBranding set(String fieldName, Object value)
set
in class GenericJson
public InvideoBranding clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.