Interface YouTubeVideoInfoOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    YouTubeVideoInfo, YouTubeVideoInfo.Builder

    public interface YouTubeVideoInfoOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getVideoId()
      YouTube video id as it appears on the YouTube watch page.
      com.google.protobuf.ByteString getVideoIdBytes()
      YouTube video id as it appears on the YouTube watch page.
      boolean hasVideoId()
      YouTube video id as it appears on the YouTube watch page.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasVideoId

        boolean hasVideoId()
         YouTube video id as it appears on the YouTube watch page.
         
        optional string video_id = 2;
        Returns:
        Whether the videoId field is set.
      • getVideoId

        java.lang.String getVideoId()
         YouTube video id as it appears on the YouTube watch page.
         
        optional string video_id = 2;
        Returns:
        The videoId.
      • getVideoIdBytes

        com.google.protobuf.ByteString getVideoIdBytes()
         YouTube video id as it appears on the YouTube watch page.
         
        optional string video_id = 2;
        Returns:
        The bytes for videoId.