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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classYouTube Channel insights, and its metadata (such as channel name and channel ID), returned for a creator insights response.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetChannelAttributes(int index) The attributes associated with the content made by a channel.intThe attributes associated with the content made by a channel.The attributes associated with the content made by a channel.getChannelAttributesOrBuilder(int index) The attributes associated with the content made by a channel.List<? extends AudienceInsightsAttributeMetadataOrBuilder>The attributes associated with the content made by a channel.getChannelAudienceDemographics(int index) The types of audiences and demographics associated with a channel's main audience.intThe types of audiences and demographics associated with a channel's main audience.The types of audiences and demographics associated with a channel's main audience.getChannelAudienceDemographicsOrBuilder(int index) The types of audiences and demographics associated with a channel's main audience.List<? extends AudienceInsightsAttributeMetadataOrBuilder>The types of audiences and demographics associated with a channel's main audience.The metrics for a YouTube Channel.The metrics for a YouTube Channel.Metadata string associated with the type of channel.com.google.protobuf.ByteStringMetadata string associated with the type of channel.static YouTubeChannelInsightsstatic final com.google.protobuf.Descriptors.DescriptorThe name of the YouTube Channel.com.google.protobuf.ByteStringThe name of the YouTube Channel.com.google.protobuf.Parser<YouTubeChannelInsights>intThe YouTube Channel ID.The YouTube Channel ID.booleanThe metrics for a YouTube Channel.inthashCode()booleanThe YouTube Channel ID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(YouTubeChannelInsights prototype) protected YouTubeChannelInsights.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static YouTubeChannelInsightsparseDelimitedFrom(InputStream input) static YouTubeChannelInsightsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static YouTubeChannelInsightsparseFrom(byte[] data) static YouTubeChannelInsightsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static YouTubeChannelInsightsparseFrom(com.google.protobuf.ByteString data) static YouTubeChannelInsightsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static YouTubeChannelInsightsparseFrom(com.google.protobuf.CodedInputStream input) static YouTubeChannelInsightsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static YouTubeChannelInsightsparseFrom(InputStream input) static YouTubeChannelInsightsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static YouTubeChannelInsightsparseFrom(ByteBuffer data) static YouTubeChannelInsightsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<YouTubeChannelInsights>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getDisplayName
The name of the YouTube Channel.
string display_name = 1;- Specified by:
getDisplayNamein interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The name of the YouTube Channel.
string display_name = 1;- Specified by:
getDisplayNameBytesin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The bytes for displayName.
-
hasYoutubeChannel
public boolean hasYoutubeChannel()The YouTube Channel ID.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 2;- Specified by:
hasYoutubeChannelin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- Whether the youtubeChannel field is set.
-
getYoutubeChannel
The YouTube Channel ID.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 2;- Specified by:
getYoutubeChannelin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The youtubeChannel.
-
getYoutubeChannelOrBuilder
The YouTube Channel ID.
.google.ads.googleads.v18.common.YouTubeChannelInfo youtube_channel = 2;- Specified by:
getYoutubeChannelOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
hasChannelMetrics
public boolean hasChannelMetrics()The metrics for a YouTube Channel.
.google.ads.googleads.v18.services.YouTubeMetrics channel_metrics = 3;- Specified by:
hasChannelMetricsin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- Whether the channelMetrics field is set.
-
getChannelMetrics
The metrics for a YouTube Channel.
.google.ads.googleads.v18.services.YouTubeMetrics channel_metrics = 3;- Specified by:
getChannelMetricsin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The channelMetrics.
-
getChannelMetricsOrBuilder
The metrics for a YouTube Channel.
.google.ads.googleads.v18.services.YouTubeMetrics channel_metrics = 3;- Specified by:
getChannelMetricsOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAudienceDemographicsListin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAudienceDemographicsOrBuilderListin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAudienceDemographicsCountin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelAudienceDemographics
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:
getChannelAudienceDemographicsin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAudienceDemographicsOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelAttributesList
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_attributes = 5;- Specified by:
getChannelAttributesListin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAttributesOrBuilderListin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAttributesCountin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelAttributes
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_attributes = 5;- Specified by:
getChannelAttributesin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelAttributesOrBuilder
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v18.common.AudienceInsightsAttributeMetadata channel_attributes = 5;- Specified by:
getChannelAttributesOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelType
Metadata string associated with the type of channel.
string channel_type = 6;- Specified by:
getChannelTypein interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The channelType.
-
getChannelTypeBytes
public com.google.protobuf.ByteString getChannelTypeBytes()Metadata string associated with the type of channel.
string channel_type = 6;- Specified by:
getChannelTypeBytesin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The bytes for channelType.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static YouTubeChannelInsights parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected YouTubeChannelInsights.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-