target.apidocs.com.google.api.services.youtube.model.InvideoBranding.html Maven / Gradle / Ivy
InvideoBranding (YouTube Data API v3 v3-rev20240303-2.0.0)
com.google.api.services.youtube.model
Class InvideoBranding
- 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.InvideoBranding
-
public final class InvideoBranding
extends com.google.api.client.json.GenericJson
LINT.IfChange Describes an invideo branding.
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
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
InvideoBranding()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
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
-
getImageBytes
public String getImageBytes()
The bytes the uploaded image. Only used in api to youtube communication.
- Returns:
- value or
null
for none
- See Also:
decodeImageBytes()
-
decodeImageBytes
public byte[] decodeImageBytes()
The bytes the uploaded image. Only used in api to youtube communication.
- Returns:
- Base64 decoded value or
null
for none
- Since:
- 1.14
- See Also:
getImageBytes()
-
setImageBytes
public InvideoBranding setImageBytes(String imageBytes)
The bytes the uploaded image. Only used in api to youtube communication.
- Parameters:
imageBytes
- imageBytes or null
for none
- See Also:
#encodeImageBytes()
-
encodeImageBytes
public InvideoBranding encodeImageBytes(byte[] imageBytes)
The bytes the uploaded image. Only used in api to youtube communication.
- Since:
- 1.14
- See Also:
The value is encoded Base64 or {@code null} for none.
-
getImageUrl
public String getImageUrl()
The url of the uploaded image. Only used in apiary to api communication.
- Returns:
- value or
null
for none
-
setImageUrl
public InvideoBranding setImageUrl(String imageUrl)
The url of the uploaded image. Only used in apiary to api communication.
- Parameters:
imageUrl
- imageUrl or null
for none
-
getPosition
public InvideoPosition getPosition()
The spatial position within the video where the branding watermark will be displayed.
- Returns:
- value or
null
for none
-
setPosition
public InvideoBranding setPosition(InvideoPosition position)
The spatial position within the video where the branding watermark will be displayed.
- Parameters:
position
- position or null
for none
-
getTargetChannelId
public String getTargetChannelId()
The channel to which this branding links. If not present it defaults to the current channel.
- Returns:
- value or
null
for none
-
setTargetChannelId
public InvideoBranding setTargetChannelId(String targetChannelId)
The channel to which this branding links. If not present it defaults to the current channel.
- Parameters:
targetChannelId
- targetChannelId or null
for none
-
getTiming
public InvideoTiming getTiming()
The temporal position within the video where watermark will be displayed.
- Returns:
- value or
null
for none
-
setTiming
public InvideoBranding setTiming(InvideoTiming timing)
The temporal position within the video where watermark will be displayed.
- Parameters:
timing
- timing or null
for none
-
set
public InvideoBranding set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public InvideoBranding clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.