Interface YoutubeVideoIdentifierOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
YoutubeVideoIdentifier,YoutubeVideoIdentifier.Builder
public interface YoutubeVideoIdentifierOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionImmutable.com.google.protobuf.ByteStringImmutable.Immutable.com.google.protobuf.ByteStringImmutable.booleanImmutable.booleanImmutable.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
-
hasChannelId
boolean hasChannelId()Immutable. The ID of the hosting channel of the video. This is a string value with “UC” prefix. For example, "UCK8sQmJBp8GCxrOtXWBpyEA".
optional string channel_id = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the channelId field is set.
-
getChannelId
String getChannelId()Immutable. The ID of the hosting channel of the video. This is a string value with “UC” prefix. For example, "UCK8sQmJBp8GCxrOtXWBpyEA".
optional string channel_id = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The channelId.
-
getChannelIdBytes
com.google.protobuf.ByteString getChannelIdBytes()Immutable. The ID of the hosting channel of the video. This is a string value with “UC” prefix. For example, "UCK8sQmJBp8GCxrOtXWBpyEA".
optional string channel_id = 1 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for channelId.
-
hasVideoId
boolean hasVideoId()Immutable. The ID of the video associated with the video link. This is the 11 character string value used in the YouTube video URL. For example, video ID is jV1vkHv4zq8 from the YouTube video URL "https://www.youtube.com/watch?v=jV1vkHv4zq8&t=2s".
optional string video_id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- Whether the videoId field is set.
-
getVideoId
String getVideoId()Immutable. The ID of the video associated with the video link. This is the 11 character string value used in the YouTube video URL. For example, video ID is jV1vkHv4zq8 from the YouTube video URL "https://www.youtube.com/watch?v=jV1vkHv4zq8&t=2s".
optional string video_id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The videoId.
-
getVideoIdBytes
com.google.protobuf.ByteString getVideoIdBytes()Immutable. The ID of the video associated with the video link. This is the 11 character string value used in the YouTube video URL. For example, video ID is jV1vkHv4zq8 from the YouTube video URL "https://www.youtube.com/watch?v=jV1vkHv4zq8&t=2s".
optional string video_id = 2 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for videoId.
-