Class YouTubeChannelInsights.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
com.google.ads.googleads.v21.services.YouTubeChannelInsights.Builder
All Implemented Interfaces:
YouTubeChannelInsightsOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
YouTubeChannelInsights

public static final class YouTubeChannelInsights.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder> implements YouTubeChannelInsightsOrBuilder
 YouTube Channel insights, and its metadata (such as channel name and channel
 ID), returned for a creator insights response.
 
Protobuf type google.ads.googleads.v21.services.YouTubeChannelInsights
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<YouTubeChannelInsights.Builder>
    • getDefaultInstanceForType

      public YouTubeChannelInsights getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public YouTubeChannelInsights build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public YouTubeChannelInsights buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • setField

      public YouTubeChannelInsights.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • clearField

      public YouTubeChannelInsights.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • clearOneof

      public YouTubeChannelInsights.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • setRepeatedField

      public YouTubeChannelInsights.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • addRepeatedField

      public YouTubeChannelInsights.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • mergeFrom

      public YouTubeChannelInsights.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<YouTubeChannelInsights.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,YouTubeChannelInsights.Builder>
    • mergeFrom

      public YouTubeChannelInsights.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<YouTubeChannelInsights.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       The name of the YouTube Channel.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       The name of the YouTube Channel.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public YouTubeChannelInsights.Builder setDisplayName(String value)
       The name of the YouTube Channel.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public YouTubeChannelInsights.Builder clearDisplayName()
       The name of the YouTube Channel.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public YouTubeChannelInsights.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       The name of the YouTube Channel.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • hasYoutubeChannel

      public boolean hasYoutubeChannel()
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
      Specified by:
      hasYoutubeChannel in interface YouTubeChannelInsightsOrBuilder
      Returns:
      Whether the youtubeChannel field is set.
    • getYoutubeChannel

      public YouTubeChannelInfo getYoutubeChannel()
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
      Specified by:
      getYoutubeChannel in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The youtubeChannel.
    • setYoutubeChannel

      public YouTubeChannelInsights.Builder setYoutubeChannel(YouTubeChannelInfo value)
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
    • setYoutubeChannel

      public YouTubeChannelInsights.Builder setYoutubeChannel(YouTubeChannelInfo.Builder builderForValue)
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
    • mergeYoutubeChannel

      public YouTubeChannelInsights.Builder mergeYoutubeChannel(YouTubeChannelInfo value)
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
    • clearYoutubeChannel

      public YouTubeChannelInsights.Builder clearYoutubeChannel()
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
    • getYoutubeChannelBuilder

      public YouTubeChannelInfo.Builder getYoutubeChannelBuilder()
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
    • getYoutubeChannelOrBuilder

      public YouTubeChannelInfoOrBuilder getYoutubeChannelOrBuilder()
       The YouTube Channel ID.
       
      .google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;
      Specified by:
      getYoutubeChannelOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • getChannelUrl

      public String getChannelUrl()
       URL for the channel in the form of
       https://www.youtube.com/channel/{channel_id}.
       
      string channel_url = 9;
      Specified by:
      getChannelUrl in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The channelUrl.
    • getChannelUrlBytes

      public com.google.protobuf.ByteString getChannelUrlBytes()
       URL for the channel in the form of
       https://www.youtube.com/channel/{channel_id}.
       
      string channel_url = 9;
      Specified by:
      getChannelUrlBytes in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The bytes for channelUrl.
    • setChannelUrl

      public YouTubeChannelInsights.Builder setChannelUrl(String value)
       URL for the channel in the form of
       https://www.youtube.com/channel/{channel_id}.
       
      string channel_url = 9;
      Parameters:
      value - The channelUrl to set.
      Returns:
      This builder for chaining.
    • clearChannelUrl

      public YouTubeChannelInsights.Builder clearChannelUrl()
       URL for the channel in the form of
       https://www.youtube.com/channel/{channel_id}.
       
      string channel_url = 9;
      Returns:
      This builder for chaining.
    • setChannelUrlBytes

      public YouTubeChannelInsights.Builder setChannelUrlBytes(com.google.protobuf.ByteString value)
       URL for the channel in the form of
       https://www.youtube.com/channel/{channel_id}.
       
      string channel_url = 9;
      Parameters:
      value - The bytes for channelUrl to set.
      Returns:
      This builder for chaining.
    • getChannelDescription

      public String getChannelDescription()
       Description of the channel.
       
      string channel_description = 10;
      Specified by:
      getChannelDescription in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The channelDescription.
    • getChannelDescriptionBytes

      public com.google.protobuf.ByteString getChannelDescriptionBytes()
       Description of the channel.
       
      string channel_description = 10;
      Specified by:
      getChannelDescriptionBytes in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The bytes for channelDescription.
    • setChannelDescription

      public YouTubeChannelInsights.Builder setChannelDescription(String value)
       Description of the channel.
       
      string channel_description = 10;
      Parameters:
      value - The channelDescription to set.
      Returns:
      This builder for chaining.
    • clearChannelDescription

      public YouTubeChannelInsights.Builder clearChannelDescription()
       Description of the channel.
       
      string channel_description = 10;
      Returns:
      This builder for chaining.
    • setChannelDescriptionBytes

      public YouTubeChannelInsights.Builder setChannelDescriptionBytes(com.google.protobuf.ByteString value)
       Description of the channel.
       
      string channel_description = 10;
      Parameters:
      value - The bytes for channelDescription to set.
      Returns:
      This builder for chaining.
    • getHandle

      public String getHandle()
       The unique, short, and user-visible identifier for the channel starting
       with an "@" symbol (such as "@youtubecreators"). See
       https://support.google.com/youtube/answer/11585688 for more information.
       
      string handle = 11;
      Specified by:
      getHandle in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The handle.
    • getHandleBytes

      public com.google.protobuf.ByteString getHandleBytes()
       The unique, short, and user-visible identifier for the channel starting
       with an "@" symbol (such as "@youtubecreators"). See
       https://support.google.com/youtube/answer/11585688 for more information.
       
      string handle = 11;
      Specified by:
      getHandleBytes in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The bytes for handle.
    • setHandle

      public YouTubeChannelInsights.Builder setHandle(String value)
       The unique, short, and user-visible identifier for the channel starting
       with an "@" symbol (such as "@youtubecreators"). See
       https://support.google.com/youtube/answer/11585688 for more information.
       
      string handle = 11;
      Parameters:
      value - The handle to set.
      Returns:
      This builder for chaining.
    • clearHandle

      public YouTubeChannelInsights.Builder clearHandle()
       The unique, short, and user-visible identifier for the channel starting
       with an "@" symbol (such as "@youtubecreators"). See
       https://support.google.com/youtube/answer/11585688 for more information.
       
      string handle = 11;
      Returns:
      This builder for chaining.
    • setHandleBytes

      public YouTubeChannelInsights.Builder setHandleBytes(com.google.protobuf.ByteString value)
       The unique, short, and user-visible identifier for the channel starting
       with an "@" symbol (such as "@youtubecreators"). See
       https://support.google.com/youtube/answer/11585688 for more information.
       
      string handle = 11;
      Parameters:
      value - The bytes for handle to set.
      Returns:
      This builder for chaining.
    • getThumbnailUrl

      public String getThumbnailUrl()
       URL for a 240px by 240px thumbnail image of the channel.
       
      string thumbnail_url = 12;
      Specified by:
      getThumbnailUrl in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The thumbnailUrl.
    • getThumbnailUrlBytes

      public com.google.protobuf.ByteString getThumbnailUrlBytes()
       URL for a 240px by 240px thumbnail image of the channel.
       
      string thumbnail_url = 12;
      Specified by:
      getThumbnailUrlBytes in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The bytes for thumbnailUrl.
    • setThumbnailUrl

      public YouTubeChannelInsights.Builder setThumbnailUrl(String value)
       URL for a 240px by 240px thumbnail image of the channel.
       
      string thumbnail_url = 12;
      Parameters:
      value - The thumbnailUrl to set.
      Returns:
      This builder for chaining.
    • clearThumbnailUrl

      public YouTubeChannelInsights.Builder clearThumbnailUrl()
       URL for a 240px by 240px thumbnail image of the channel.
       
      string thumbnail_url = 12;
      Returns:
      This builder for chaining.
    • setThumbnailUrlBytes

      public YouTubeChannelInsights.Builder setThumbnailUrlBytes(com.google.protobuf.ByteString value)
       URL for a 240px by 240px thumbnail image of the channel.
       
      string thumbnail_url = 12;
      Parameters:
      value - The bytes for thumbnailUrl to set.
      Returns:
      This builder for chaining.
    • getPublishDate

      public String getPublishDate()
       The date that the channel was created. Formatted as "yyyy-mm-dd".
       
      string publish_date = 13;
      Specified by:
      getPublishDate in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The publishDate.
    • getPublishDateBytes

      public com.google.protobuf.ByteString getPublishDateBytes()
       The date that the channel was created. Formatted as "yyyy-mm-dd".
       
      string publish_date = 13;
      Specified by:
      getPublishDateBytes in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The bytes for publishDate.
    • setPublishDate

      public YouTubeChannelInsights.Builder setPublishDate(String value)
       The date that the channel was created. Formatted as "yyyy-mm-dd".
       
      string publish_date = 13;
      Parameters:
      value - The publishDate to set.
      Returns:
      This builder for chaining.
    • clearPublishDate

      public YouTubeChannelInsights.Builder clearPublishDate()
       The date that the channel was created. Formatted as "yyyy-mm-dd".
       
      string publish_date = 13;
      Returns:
      This builder for chaining.
    • setPublishDateBytes

      public YouTubeChannelInsights.Builder setPublishDateBytes(com.google.protobuf.ByteString value)
       The date that the channel was created. Formatted as "yyyy-mm-dd".
       
      string publish_date = 13;
      Parameters:
      value - The bytes for publishDate to set.
      Returns:
      This builder for chaining.
    • hasCountryLocation

      public boolean hasCountryLocation()
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
      Specified by:
      hasCountryLocation in interface YouTubeChannelInsightsOrBuilder
      Returns:
      Whether the countryLocation field is set.
    • getCountryLocation

      public LocationInfo getCountryLocation()
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
      Specified by:
      getCountryLocation in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The countryLocation.
    • setCountryLocation

      public YouTubeChannelInsights.Builder setCountryLocation(LocationInfo value)
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
    • setCountryLocation

      public YouTubeChannelInsights.Builder setCountryLocation(LocationInfo.Builder builderForValue)
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
    • mergeCountryLocation

      public YouTubeChannelInsights.Builder mergeCountryLocation(LocationInfo value)
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
    • clearCountryLocation

      public YouTubeChannelInsights.Builder clearCountryLocation()
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
    • getCountryLocationBuilder

      public LocationInfo.Builder getCountryLocationBuilder()
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
    • getCountryLocationOrBuilder

      public LocationInfoOrBuilder getCountryLocationOrBuilder()
       The country with which the channel is associated.
       
      .google.ads.googleads.v21.common.LocationInfo country_location = 14;
      Specified by:
      getCountryLocationOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • hasChannelMetrics

      public boolean hasChannelMetrics()
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
      Specified by:
      hasChannelMetrics in interface YouTubeChannelInsightsOrBuilder
      Returns:
      Whether the channelMetrics field is set.
    • getChannelMetrics

      public YouTubeMetrics getChannelMetrics()
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
      Specified by:
      getChannelMetrics in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The channelMetrics.
    • setChannelMetrics

      public YouTubeChannelInsights.Builder setChannelMetrics(YouTubeMetrics value)
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
    • setChannelMetrics

      public YouTubeChannelInsights.Builder setChannelMetrics(YouTubeMetrics.Builder builderForValue)
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
    • mergeChannelMetrics

      public YouTubeChannelInsights.Builder mergeChannelMetrics(YouTubeMetrics value)
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
    • clearChannelMetrics

      public YouTubeChannelInsights.Builder clearChannelMetrics()
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
    • getChannelMetricsBuilder

      public YouTubeMetrics.Builder getChannelMetricsBuilder()
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
    • getChannelMetricsOrBuilder

      public YouTubeMetricsOrBuilder getChannelMetricsOrBuilder()
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;
      Specified by:
      getChannelMetricsOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceAttributesList

      public List<AudienceInsightsAttributeMetadata> getChannelAudienceAttributesList()
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
      Specified by:
      getChannelAudienceAttributesList in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceAttributesCount

      public int getChannelAudienceAttributesCount()
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
      Specified by:
      getChannelAudienceAttributesCount in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceAttributes

      public AudienceInsightsAttributeMetadata getChannelAudienceAttributes(int index)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
      Specified by:
      getChannelAudienceAttributes in interface YouTubeChannelInsightsOrBuilder
    • setChannelAudienceAttributes

      public YouTubeChannelInsights.Builder setChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata value)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • setChannelAudienceAttributes

      public YouTubeChannelInsights.Builder setChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • addChannelAudienceAttributes

      public YouTubeChannelInsights.Builder addChannelAudienceAttributes(AudienceInsightsAttributeMetadata value)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • addChannelAudienceAttributes

      public YouTubeChannelInsights.Builder addChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata value)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • addChannelAudienceAttributes

      public YouTubeChannelInsights.Builder addChannelAudienceAttributes(AudienceInsightsAttributeMetadata.Builder builderForValue)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • addChannelAudienceAttributes

      public YouTubeChannelInsights.Builder addChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • addAllChannelAudienceAttributes

      public YouTubeChannelInsights.Builder addAllChannelAudienceAttributes(Iterable<? extends AudienceInsightsAttributeMetadata> values)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • clearChannelAudienceAttributes

      public YouTubeChannelInsights.Builder clearChannelAudienceAttributes()
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • removeChannelAudienceAttributes

      public YouTubeChannelInsights.Builder removeChannelAudienceAttributes(int index)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • getChannelAudienceAttributesBuilder

      public AudienceInsightsAttributeMetadata.Builder getChannelAudienceAttributesBuilder(int index)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • getChannelAudienceAttributesOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getChannelAudienceAttributesOrBuilder(int index)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
      Specified by:
      getChannelAudienceAttributesOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceAttributesOrBuilderList

      public List<? extends AudienceInsightsAttributeMetadataOrBuilder> getChannelAudienceAttributesOrBuilderList()
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
      Specified by:
      getChannelAudienceAttributesOrBuilderList in interface YouTubeChannelInsightsOrBuilder
    • addChannelAudienceAttributesBuilder

      public AudienceInsightsAttributeMetadata.Builder addChannelAudienceAttributesBuilder()
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • addChannelAudienceAttributesBuilder

      public AudienceInsightsAttributeMetadata.Builder addChannelAudienceAttributesBuilder(int index)
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • getChannelAudienceAttributesBuilderList

      public List<AudienceInsightsAttributeMetadata.Builder> getChannelAudienceAttributesBuilderList()
       The types of audiences and demographics linked to the channel's main
       audience. Audiences and demographics have a breakdown of subscriber share
       across dimensions of the same value, such as Age Range, Gender, and User
       Interest.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_audience_attributes = 7;
    • getChannelAttributesList

      public List<AudienceInsightsAttributeMetadata> getChannelAttributesList()
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
      Specified by:
      getChannelAttributesList in interface YouTubeChannelInsightsOrBuilder
    • getChannelAttributesCount

      public int getChannelAttributesCount()
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
      Specified by:
      getChannelAttributesCount in interface YouTubeChannelInsightsOrBuilder
    • getChannelAttributes

      public AudienceInsightsAttributeMetadata getChannelAttributes(int index)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
      Specified by:
      getChannelAttributes in interface YouTubeChannelInsightsOrBuilder
    • setChannelAttributes

      public YouTubeChannelInsights.Builder setChannelAttributes(int index, AudienceInsightsAttributeMetadata value)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • setChannelAttributes

      public YouTubeChannelInsights.Builder setChannelAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • addChannelAttributes

       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • addChannelAttributes

      public YouTubeChannelInsights.Builder addChannelAttributes(int index, AudienceInsightsAttributeMetadata value)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • addChannelAttributes

      public YouTubeChannelInsights.Builder addChannelAttributes(AudienceInsightsAttributeMetadata.Builder builderForValue)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • addChannelAttributes

      public YouTubeChannelInsights.Builder addChannelAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • addAllChannelAttributes

      public YouTubeChannelInsights.Builder addAllChannelAttributes(Iterable<? extends AudienceInsightsAttributeMetadata> values)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • clearChannelAttributes

      public YouTubeChannelInsights.Builder clearChannelAttributes()
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • removeChannelAttributes

      public YouTubeChannelInsights.Builder removeChannelAttributes(int index)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • getChannelAttributesBuilder

      public AudienceInsightsAttributeMetadata.Builder getChannelAttributesBuilder(int index)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • getChannelAttributesOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getChannelAttributesOrBuilder(int index)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
      Specified by:
      getChannelAttributesOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • getChannelAttributesOrBuilderList

      public List<? extends AudienceInsightsAttributeMetadataOrBuilder> getChannelAttributesOrBuilderList()
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
      Specified by:
      getChannelAttributesOrBuilderList in interface YouTubeChannelInsightsOrBuilder
    • addChannelAttributesBuilder

      public AudienceInsightsAttributeMetadata.Builder addChannelAttributesBuilder()
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • addChannelAttributesBuilder

      public AudienceInsightsAttributeMetadata.Builder addChannelAttributesBuilder(int index)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • getChannelAttributesBuilderList

      public List<AudienceInsightsAttributeMetadata.Builder> getChannelAttributesBuilderList()
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
    • getTopVideosList

      public List<AudienceInsightsAttributeMetadata> getTopVideosList()
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
      Specified by:
      getTopVideosList in interface YouTubeChannelInsightsOrBuilder
    • getTopVideosCount

      public int getTopVideosCount()
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
      Specified by:
      getTopVideosCount in interface YouTubeChannelInsightsOrBuilder
    • getTopVideos

      public AudienceInsightsAttributeMetadata getTopVideos(int index)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
      Specified by:
      getTopVideos in interface YouTubeChannelInsightsOrBuilder
    • setTopVideos

      public YouTubeChannelInsights.Builder setTopVideos(int index, AudienceInsightsAttributeMetadata value)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • setTopVideos

      public YouTubeChannelInsights.Builder setTopVideos(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • addTopVideos

       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • addTopVideos

      public YouTubeChannelInsights.Builder addTopVideos(int index, AudienceInsightsAttributeMetadata value)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • addTopVideos

       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • addTopVideos

      public YouTubeChannelInsights.Builder addTopVideos(int index, AudienceInsightsAttributeMetadata.Builder builderForValue)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • addAllTopVideos

       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • clearTopVideos

      public YouTubeChannelInsights.Builder clearTopVideos()
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • removeTopVideos

      public YouTubeChannelInsights.Builder removeTopVideos(int index)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • getTopVideosBuilder

      public AudienceInsightsAttributeMetadata.Builder getTopVideosBuilder(int index)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • getTopVideosOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getTopVideosOrBuilder(int index)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
      Specified by:
      getTopVideosOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • getTopVideosOrBuilderList

      public List<? extends AudienceInsightsAttributeMetadataOrBuilder> getTopVideosOrBuilderList()
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
      Specified by:
      getTopVideosOrBuilderList in interface YouTubeChannelInsightsOrBuilder
    • addTopVideosBuilder

      public AudienceInsightsAttributeMetadata.Builder addTopVideosBuilder()
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • addTopVideosBuilder

      public AudienceInsightsAttributeMetadata.Builder addTopVideosBuilder(int index)
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • getTopVideosBuilderList

      public List<AudienceInsightsAttributeMetadata.Builder> getTopVideosBuilderList()
       The top 10 videos for the channel.
       
      repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;
    • getChannelType

      public String getChannelType()
       Metadata string associated with the type of channel.
       
      string channel_type = 6;
      Specified by:
      getChannelType in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The channelType.
    • getChannelTypeBytes

      public com.google.protobuf.ByteString getChannelTypeBytes()
       Metadata string associated with the type of channel.
       
      string channel_type = 6;
      Specified by:
      getChannelTypeBytes in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The bytes for channelType.
    • setChannelType

      public YouTubeChannelInsights.Builder setChannelType(String value)
       Metadata string associated with the type of channel.
       
      string channel_type = 6;
      Parameters:
      value - The channelType to set.
      Returns:
      This builder for chaining.
    • clearChannelType

      public YouTubeChannelInsights.Builder clearChannelType()
       Metadata string associated with the type of channel.
       
      string channel_type = 6;
      Returns:
      This builder for chaining.
    • setChannelTypeBytes

      public YouTubeChannelInsights.Builder setChannelTypeBytes(com.google.protobuf.ByteString value)
       Metadata string associated with the type of channel.
       
      string channel_type = 6;
      Parameters:
      value - The bytes for channelType to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final YouTubeChannelInsights.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
    • mergeUnknownFields

      public final YouTubeChannelInsights.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>