Interface YouTubeVideoAttributeMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
YouTubeVideoAttributeMetadata,YouTubeVideoAttributeMetadata.Builder
public interface YouTubeVideoAttributeMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongThe total number of comments.longThe total number of likes.The date that the video was created.com.google.protobuf.ByteStringThe date that the video was created.The URL of the video thumbnail, prefixed by "https://img.youtube.com/".com.google.protobuf.ByteStringThe URL of the video thumbnail, prefixed by "https://img.youtube.com/".getVideoProperties(int index) The properties of this video (such as shorts, live stream).intThe properties of this video (such as shorts, live stream).The properties of this video (such as shorts, live stream).intgetVideoPropertiesValue(int index) The properties of this video (such as shorts, live stream).The properties of this video (such as shorts, live stream).The URL of the video, prefixed by "https://www.youtube.com/".com.google.protobuf.ByteStringThe URL of the video, prefixed by "https://www.youtube.com/".longThe total number of views.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getThumbnailUrl
String getThumbnailUrl()The URL of the video thumbnail, prefixed by "https://img.youtube.com/".
string thumbnail_url = 1;- Returns:
- The thumbnailUrl.
-
getThumbnailUrlBytes
com.google.protobuf.ByteString getThumbnailUrlBytes()The URL of the video thumbnail, prefixed by "https://img.youtube.com/".
string thumbnail_url = 1;- Returns:
- The bytes for thumbnailUrl.
-
getVideoUrl
String getVideoUrl()The URL of the video, prefixed by "https://www.youtube.com/".
string video_url = 2;- Returns:
- The videoUrl.
-
getVideoUrlBytes
com.google.protobuf.ByteString getVideoUrlBytes()The URL of the video, prefixed by "https://www.youtube.com/".
string video_url = 2;- Returns:
- The bytes for videoUrl.
-
getViewsCount
long getViewsCount()The total number of views.
int64 views_count = 3;- Returns:
- The viewsCount.
-
getLikesCount
long getLikesCount()The total number of likes.
int64 likes_count = 4;- Returns:
- The likesCount.
-
getCommentsCount
long getCommentsCount()The total number of comments.
int64 comments_count = 5;- Returns:
- The commentsCount.
-
getVideoPropertiesList
List<YouTubeVideoPropertyEnum.YouTubeVideoProperty> getVideoPropertiesList()The properties of this video (such as shorts, live stream).
repeated .google.ads.googleads.v22.enums.YouTubeVideoPropertyEnum.YouTubeVideoProperty video_properties = 6;- Returns:
- A list containing the videoProperties.
-
getVideoPropertiesCount
int getVideoPropertiesCount()The properties of this video (such as shorts, live stream).
repeated .google.ads.googleads.v22.enums.YouTubeVideoPropertyEnum.YouTubeVideoProperty video_properties = 6;- Returns:
- The count of videoProperties.
-
getVideoProperties
The properties of this video (such as shorts, live stream).
repeated .google.ads.googleads.v22.enums.YouTubeVideoPropertyEnum.YouTubeVideoProperty video_properties = 6;- Parameters:
index- The index of the element to return.- Returns:
- The videoProperties at the given index.
-
getVideoPropertiesValueList
The properties of this video (such as shorts, live stream).
repeated .google.ads.googleads.v22.enums.YouTubeVideoPropertyEnum.YouTubeVideoProperty video_properties = 6;- Returns:
- A list containing the enum numeric values on the wire for videoProperties.
-
getVideoPropertiesValue
int getVideoPropertiesValue(int index) The properties of this video (such as shorts, live stream).
repeated .google.ads.googleads.v22.enums.YouTubeVideoPropertyEnum.YouTubeVideoProperty video_properties = 6;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of videoProperties at the given index.
-
getPublishDate
String getPublishDate()The date that the video was created. Formatted as "yyyy-mm-dd".
string publish_date = 7;- Returns:
- The publishDate.
-
getPublishDateBytes
com.google.protobuf.ByteString getPublishDateBytes()The date that the video was created. Formatted as "yyyy-mm-dd".
string publish_date = 7;- Returns:
- The bytes for publishDate.
-