Interface YouTubeVideoUploadOrBuilder

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

@Generated public interface YouTubeVideoUploadOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResourceName

      String getResourceName()
       Immutable. Resource name of the YouTube video upload.
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. Resource name of the YouTube video upload.
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for resourceName.
    • getVideoUploadId

      long getVideoUploadId()
       Output only. The unique ID of the YouTube video upload.
       
      int64 video_upload_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The videoUploadId.
    • getChannelId

      String getChannelId()
       Immutable. The destination YouTube channel ID for the video upload.
      
       Only mutable on YouTube video upload creation. If omitted, the video
       will be uploaded to the Google-managed YouTube channel associated with the
       Ads account.
       
      string channel_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The channelId.
    • getChannelIdBytes

      com.google.protobuf.ByteString getChannelIdBytes()
       Immutable. The destination YouTube channel ID for the video upload.
      
       Only mutable on YouTube video upload creation. If omitted, the video
       will be uploaded to the Google-managed YouTube channel associated with the
       Ads account.
       
      string channel_id = 3 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for channelId.
    • getVideoId

      String getVideoId()
       Output only. The YouTube video ID of the uploaded video.
       
      string video_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The videoId.
    • getVideoIdBytes

      com.google.protobuf.ByteString getVideoIdBytes()
       Output only. The YouTube video ID of the uploaded video.
       
      string video_id = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for videoId.
    • getStateValue

      int getStateValue()
       Output only. The current state of the YouTube video upload.
       
      .google.ads.googleads.v23.enums.YouTubeVideoUploadStateEnum.YouTubeVideoUploadState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. The current state of the YouTube video upload.
       
      .google.ads.googleads.v23.enums.YouTubeVideoUploadStateEnum.YouTubeVideoUploadState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • getVideoTitle

      String getVideoTitle()
       Input only. Immutable. The title of the video.
      
       Only mutable on YouTube video upload creation. Immutable after creation.
       
      string video_title = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The videoTitle.
    • getVideoTitleBytes

      com.google.protobuf.ByteString getVideoTitleBytes()
       Input only. Immutable. The title of the video.
      
       Only mutable on YouTube video upload creation. Immutable after creation.
       
      string video_title = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for videoTitle.
    • getVideoDescription

      String getVideoDescription()
       Input only. Immutable. The description of the video.
      
       Only mutable on YouTube video upload creation. Immutable after creation.
       
      string video_description = 7 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The videoDescription.
    • getVideoDescriptionBytes

      com.google.protobuf.ByteString getVideoDescriptionBytes()
       Input only. Immutable. The description of the video.
      
       Only mutable on YouTube video upload creation. Immutable after creation.
       
      string video_description = 7 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for videoDescription.
    • getVideoPrivacyValue

      int getVideoPrivacyValue()
       The privacy state of the video.
      
       Only mutable for videos uploaded to the advertiser owned (brand) YouTube
       channel. For videos uploaded to the Google-managed channels only UNLISTED
       privacy is allowed. Defaults to UNLISTED privacy if not specified.
       
      .google.ads.googleads.v23.enums.YouTubeVideoPrivacyEnum.YouTubeVideoPrivacy video_privacy = 8;
      Returns:
      The enum numeric value on the wire for videoPrivacy.
    • getVideoPrivacy

       The privacy state of the video.
      
       Only mutable for videos uploaded to the advertiser owned (brand) YouTube
       channel. For videos uploaded to the Google-managed channels only UNLISTED
       privacy is allowed. Defaults to UNLISTED privacy if not specified.
       
      .google.ads.googleads.v23.enums.YouTubeVideoPrivacyEnum.YouTubeVideoPrivacy video_privacy = 8;
      Returns:
      The videoPrivacy.