Class YouTubeChannelInsights

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.services.YouTubeChannelInsights
All Implemented Interfaces:
YouTubeChannelInsightsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class YouTubeChannelInsights extends com.google.protobuf.GeneratedMessageV3 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.v18.services.YouTubeChannelInsights
See Also:
  • Field Details

    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • YOUTUBE_CHANNEL_FIELD_NUMBER

      public static final int YOUTUBE_CHANNEL_FIELD_NUMBER
      See Also:
    • CHANNEL_METRICS_FIELD_NUMBER

      public static final int CHANNEL_METRICS_FIELD_NUMBER
      See Also:
    • CHANNEL_AUDIENCE_DEMOGRAPHICS_FIELD_NUMBER

      public static final int CHANNEL_AUDIENCE_DEMOGRAPHICS_FIELD_NUMBER
      See Also:
    • CHANNEL_ATTRIBUTES_FIELD_NUMBER

      public static final int CHANNEL_ATTRIBUTES_FIELD_NUMBER
      See Also:
    • CHANNEL_TYPE_FIELD_NUMBER

      public static final int CHANNEL_TYPE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • 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.
    • hasYoutubeChannel

      public boolean hasYoutubeChannel()
       The YouTube Channel ID.
       
      .google.ads.googleads.v18.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.v18.common.YouTubeChannelInfo youtube_channel = 2;
      Specified by:
      getYoutubeChannel in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The youtubeChannel.
    • getYoutubeChannelOrBuilder

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

      public boolean hasChannelMetrics()
       The metrics for a YouTube Channel.
       
      .google.ads.googleads.v18.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.v18.services.YouTubeMetrics channel_metrics = 3;
      Specified by:
      getChannelMetrics in interface YouTubeChannelInsightsOrBuilder
      Returns:
      The channelMetrics.
    • getChannelMetricsOrBuilder

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

      public List<AudienceInsightsAttributeMetadata> getChannelAudienceDemographicsList()
       The types of audiences and demographics associated with a channel's main
       audience. Audiences and demographics will have a breakdown of subscriber
       share across dimensions of the same value.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_audience_demographics = 4;
      Specified by:
      getChannelAudienceDemographicsList in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceDemographicsOrBuilderList

      public List<? extends AudienceInsightsAttributeMetadataOrBuilder> getChannelAudienceDemographicsOrBuilderList()
       The types of audiences and demographics associated with a channel's main
       audience. Audiences and demographics will have a breakdown of subscriber
       share across dimensions of the same value.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_audience_demographics = 4;
      Specified by:
      getChannelAudienceDemographicsOrBuilderList in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceDemographicsCount

      public int getChannelAudienceDemographicsCount()
       The types of audiences and demographics associated with a channel's main
       audience. Audiences and demographics will have a breakdown of subscriber
       share across dimensions of the same value.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_audience_demographics = 4;
      Specified by:
      getChannelAudienceDemographicsCount in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceDemographics

      public AudienceInsightsAttributeMetadata getChannelAudienceDemographics(int index)
       The types of audiences and demographics associated with a channel's main
       audience. Audiences and demographics will have a breakdown of subscriber
       share across dimensions of the same value.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_audience_demographics = 4;
      Specified by:
      getChannelAudienceDemographics in interface YouTubeChannelInsightsOrBuilder
    • getChannelAudienceDemographicsOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getChannelAudienceDemographicsOrBuilder(int index)
       The types of audiences and demographics associated with a channel's main
       audience. Audiences and demographics will have a breakdown of subscriber
       share across dimensions of the same value.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_audience_demographics = 4;
      Specified by:
      getChannelAudienceDemographicsOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • getChannelAttributesList

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

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

      public int getChannelAttributesCount()
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v18.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.v18.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
      Specified by:
      getChannelAttributes in interface YouTubeChannelInsightsOrBuilder
    • getChannelAttributesOrBuilder

      public AudienceInsightsAttributeMetadataOrBuilder getChannelAttributesOrBuilder(int index)
       The attributes associated with the content made by a channel.
       
      repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_attributes = 5;
      Specified by:
      getChannelAttributesOrBuilder in interface YouTubeChannelInsightsOrBuilder
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static YouTubeChannelInsights parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static YouTubeChannelInsights parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static YouTubeChannelInsights parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static YouTubeChannelInsights parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static YouTubeChannelInsights.Builder newBuilder()
    • newBuilder

      public static YouTubeChannelInsights.Builder newBuilder(YouTubeChannelInsights prototype)
    • toBuilder

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

      protected YouTubeChannelInsights.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static YouTubeChannelInsights getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<YouTubeChannelInsights> parser()
    • getParserForType

      public com.google.protobuf.Parser<YouTubeChannelInsights> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public YouTubeChannelInsights getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder