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 Summary
Modifier and TypeMethodDescriptionaddAllChannelAttributes(Iterable<? extends AudienceInsightsAttributeMetadata> values) The attributes associated with the content made by a channel.addAllChannelAudienceAttributes(Iterable<? extends AudienceInsightsAttributeMetadata> values) The types of audiences and demographics linked to the channel's main audience.addAllTopVideos(Iterable<? extends AudienceInsightsAttributeMetadata> values) The top 10 videos for the channel.addChannelAttributes(int index, AudienceInsightsAttributeMetadata value) The attributes associated with the content made by a channel.addChannelAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) The attributes associated with the content made by a channel.The attributes associated with the content made by a channel.addChannelAttributes(AudienceInsightsAttributeMetadata.Builder builderForValue) The attributes associated with the content made by a channel.The attributes associated with the content made by a channel.addChannelAttributesBuilder(int index) The attributes associated with the content made by a channel.addChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata value) The types of audiences and demographics linked to the channel's main audience.addChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) The types of audiences and demographics linked to the channel's main audience.The types of audiences and demographics linked to the channel's main audience.addChannelAudienceAttributes(AudienceInsightsAttributeMetadata.Builder builderForValue) The types of audiences and demographics linked to the channel's main audience.The types of audiences and demographics linked to the channel's main audience.addChannelAudienceAttributesBuilder(int index) The types of audiences and demographics linked to the channel's main audience.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTopVideos(int index, AudienceInsightsAttributeMetadata value) The top 10 videos for the channel.addTopVideos(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) The top 10 videos for the channel.The top 10 videos for the channel.addTopVideos(AudienceInsightsAttributeMetadata.Builder builderForValue) The top 10 videos for the channel.The top 10 videos for the channel.addTopVideosBuilder(int index) The top 10 videos for the channel.build()clear()The attributes associated with the content made by a channel.The types of audiences and demographics linked to the channel's main audience.Description of the channel.The metrics for a YouTube Channel.Metadata string associated with the type of channel.URL for the channel in the form of https://www.youtube.com/channel/{channel_id}.The country with which the channel is associated.The name of the YouTube Channel.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The unique, short, and user-visible identifier for the channel starting with an "@" symbol (such as "@youtubecreators").clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The date that the channel was created.URL for a 240px by 240px thumbnail image of the channel.The top 10 videos for the channel.The YouTube Channel ID.clone()getChannelAttributes(int index) The attributes associated with the content made by a channel.getChannelAttributesBuilder(int index) The attributes associated with the content made by a channel.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.getChannelAudienceAttributes(int index) The types of audiences and demographics linked to the channel's main audience.getChannelAudienceAttributesBuilder(int index) The types of audiences and demographics linked to the channel's main audience.The types of audiences and demographics linked to the channel's main audience.intThe types of audiences and demographics linked to the channel's main audience.The types of audiences and demographics linked to the channel's main audience.getChannelAudienceAttributesOrBuilder(int index) The types of audiences and demographics linked to the channel's main audience.List<? extends AudienceInsightsAttributeMetadataOrBuilder>The types of audiences and demographics linked to the channel's main audience.Description of the channel.com.google.protobuf.ByteStringDescription of the channel.The metrics for a YouTube Channel.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.URL for the channel in the form of https://www.youtube.com/channel/{channel_id}.com.google.protobuf.ByteStringURL for the channel in the form of https://www.youtube.com/channel/{channel_id}.The country with which the channel is associated.The country with which the channel is associated.The country with which the channel is associated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the YouTube Channel.com.google.protobuf.ByteStringThe name of the YouTube Channel.The unique, short, and user-visible identifier for the channel starting with an "@" symbol (such as "@youtubecreators").com.google.protobuf.ByteStringThe unique, short, and user-visible identifier for the channel starting with an "@" symbol (such as "@youtubecreators").The date that the channel was created.com.google.protobuf.ByteStringThe date that the channel was created.URL for a 240px by 240px thumbnail image of the channel.com.google.protobuf.ByteStringURL for a 240px by 240px thumbnail image of the channel.getTopVideos(int index) The top 10 videos for the channel.getTopVideosBuilder(int index) The top 10 videos for the channel.The top 10 videos for the channel.intThe top 10 videos for the channel.The top 10 videos for the channel.getTopVideosOrBuilder(int index) The top 10 videos for the channel.List<? extends AudienceInsightsAttributeMetadataOrBuilder>The top 10 videos for the channel.The YouTube Channel ID.The YouTube Channel ID.The YouTube Channel ID.booleanThe metrics for a YouTube Channel.booleanThe country with which the channel is associated.booleanThe YouTube Channel ID.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThe metrics for a YouTube Channel.mergeCountryLocation(LocationInfo value) The country with which the channel is associated.mergeFrom(YouTubeChannelInsights other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The YouTube Channel ID.removeChannelAttributes(int index) The attributes associated with the content made by a channel.removeChannelAudienceAttributes(int index) The types of audiences and demographics linked to the channel's main audience.removeTopVideos(int index) The top 10 videos for the channel.setChannelAttributes(int index, AudienceInsightsAttributeMetadata value) The attributes associated with the content made by a channel.setChannelAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) The attributes associated with the content made by a channel.setChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata value) The types of audiences and demographics linked to the channel's main audience.setChannelAudienceAttributes(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) The types of audiences and demographics linked to the channel's main audience.setChannelDescription(String value) Description of the channel.setChannelDescriptionBytes(com.google.protobuf.ByteString value) Description of the channel.setChannelMetrics(YouTubeMetrics value) The metrics for a YouTube Channel.setChannelMetrics(YouTubeMetrics.Builder builderForValue) The metrics for a YouTube Channel.setChannelType(String value) Metadata string associated with the type of channel.setChannelTypeBytes(com.google.protobuf.ByteString value) Metadata string associated with the type of channel.setChannelUrl(String value) URL for the channel in the form of https://www.youtube.com/channel/{channel_id}.setChannelUrlBytes(com.google.protobuf.ByteString value) URL for the channel in the form of https://www.youtube.com/channel/{channel_id}.setCountryLocation(LocationInfo value) The country with which the channel is associated.setCountryLocation(LocationInfo.Builder builderForValue) The country with which the channel is associated.setDisplayName(String value) The name of the YouTube Channel.setDisplayNameBytes(com.google.protobuf.ByteString value) The name of the YouTube Channel.The unique, short, and user-visible identifier for the channel starting with an "@" symbol (such as "@youtubecreators").setHandleBytes(com.google.protobuf.ByteString value) The unique, short, and user-visible identifier for the channel starting with an "@" symbol (such as "@youtubecreators").setPublishDate(String value) The date that the channel was created.setPublishDateBytes(com.google.protobuf.ByteString value) The date that the channel was created.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setThumbnailUrl(String value) URL for a 240px by 240px thumbnail image of the channel.setThumbnailUrlBytes(com.google.protobuf.ByteString value) URL for a 240px by 240px thumbnail image of the channel.setTopVideos(int index, AudienceInsightsAttributeMetadata value) The top 10 videos for the channel.setTopVideos(int index, AudienceInsightsAttributeMetadata.Builder builderForValue) The top 10 videos for the channel.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) The YouTube Channel ID.setYoutubeChannel(YouTubeChannelInfo.Builder builderForValue) The YouTube Channel ID.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getParentForChildrenMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setExtension, setExtensionMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtensionMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<YouTubeChannelInsights.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
setField
public YouTubeChannelInsights.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
clearField
public YouTubeChannelInsights.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
clearOneof
public YouTubeChannelInsights.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
setRepeatedField
public YouTubeChannelInsights.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
addRepeatedField
public YouTubeChannelInsights.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<YouTubeChannelInsights.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<YouTubeChannelInsights.Builder>- Throws:
IOException
-
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.
-
setDisplayName
The name of the YouTube Channel.
string display_name = 1;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The name of the YouTube Channel.
string display_name = 1;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
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:
hasYoutubeChannelin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- Whether the youtubeChannel field is set.
-
getYoutubeChannel
The YouTube Channel ID.
.google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;- Specified by:
getYoutubeChannelin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The youtubeChannel.
-
setYoutubeChannel
The YouTube Channel ID.
.google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2; -
setYoutubeChannel
The YouTube Channel ID.
.google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2; -
mergeYoutubeChannel
The YouTube Channel ID.
.google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2; -
clearYoutubeChannel
The YouTube Channel ID.
.google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2; -
getYoutubeChannelBuilder
The YouTube Channel ID.
.google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2; -
getYoutubeChannelOrBuilder
The YouTube Channel ID.
.google.ads.googleads.v21.common.YouTubeChannelInfo youtube_channel = 2;- Specified by:
getYoutubeChannelOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelUrl
URL for the channel in the form of https://www.youtube.com/channel/{channel_id}.string channel_url = 9;- Specified by:
getChannelUrlin interfaceYouTubeChannelInsightsOrBuilder- 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:
getChannelUrlBytesin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The bytes for channelUrl.
-
setChannelUrl
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
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
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
Description of the channel.
string channel_description = 10;- Specified by:
getChannelDescriptionin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The channelDescription.
-
getChannelDescriptionBytes
public com.google.protobuf.ByteString getChannelDescriptionBytes()Description of the channel.
string channel_description = 10;- Specified by:
getChannelDescriptionBytesin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The bytes for channelDescription.
-
setChannelDescription
Description of the channel.
string channel_description = 10;- Parameters:
value- The channelDescription to set.- Returns:
- This builder for chaining.
-
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
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:
getHandlein interfaceYouTubeChannelInsightsOrBuilder- 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:
getHandleBytesin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The bytes for handle.
-
setHandle
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
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
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
URL for a 240px by 240px thumbnail image of the channel.
string thumbnail_url = 12;- Specified by:
getThumbnailUrlin interfaceYouTubeChannelInsightsOrBuilder- 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:
getThumbnailUrlBytesin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The bytes for thumbnailUrl.
-
setThumbnailUrl
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
URL for a 240px by 240px thumbnail image of the channel.
string thumbnail_url = 12;- Returns:
- This builder for chaining.
-
setThumbnailUrlBytes
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
The date that the channel was created. Formatted as "yyyy-mm-dd".
string publish_date = 13;- Specified by:
getPublishDatein interfaceYouTubeChannelInsightsOrBuilder- 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:
getPublishDateBytesin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The bytes for publishDate.
-
setPublishDate
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
The date that the channel was created. Formatted as "yyyy-mm-dd".
string publish_date = 13;- Returns:
- This builder for chaining.
-
setPublishDateBytes
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:
hasCountryLocationin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- Whether the countryLocation field is set.
-
getCountryLocation
The country with which the channel is associated.
.google.ads.googleads.v21.common.LocationInfo country_location = 14;- Specified by:
getCountryLocationin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The countryLocation.
-
setCountryLocation
The country with which the channel is associated.
.google.ads.googleads.v21.common.LocationInfo country_location = 14; -
setCountryLocation
The country with which the channel is associated.
.google.ads.googleads.v21.common.LocationInfo country_location = 14; -
mergeCountryLocation
The country with which the channel is associated.
.google.ads.googleads.v21.common.LocationInfo country_location = 14; -
clearCountryLocation
The country with which the channel is associated.
.google.ads.googleads.v21.common.LocationInfo country_location = 14; -
getCountryLocationBuilder
The country with which the channel is associated.
.google.ads.googleads.v21.common.LocationInfo country_location = 14; -
getCountryLocationOrBuilder
The country with which the channel is associated.
.google.ads.googleads.v21.common.LocationInfo country_location = 14;- Specified by:
getCountryLocationOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
hasChannelMetrics
public boolean hasChannelMetrics()The metrics for a YouTube Channel.
.google.ads.googleads.v21.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.v21.services.YouTubeMetrics channel_metrics = 3;- Specified by:
getChannelMetricsin interfaceYouTubeChannelInsightsOrBuilder- Returns:
- The channelMetrics.
-
setChannelMetrics
The metrics for a YouTube Channel.
.google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3; -
setChannelMetrics
The metrics for a YouTube Channel.
.google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3; -
mergeChannelMetrics
The metrics for a YouTube Channel.
.google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3; -
clearChannelMetrics
The metrics for a YouTube Channel.
.google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3; -
getChannelMetricsBuilder
The metrics for a YouTube Channel.
.google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3; -
getChannelMetricsOrBuilder
The metrics for a YouTube Channel.
.google.ads.googleads.v21.services.YouTubeMetrics channel_metrics = 3;- Specified by:
getChannelMetricsOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAudienceAttributesListin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAudienceAttributesCountin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelAudienceAttributes
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:
getChannelAudienceAttributesin interfaceYouTubeChannelInsightsOrBuilder
-
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
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
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
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
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:
getChannelAudienceAttributesOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAudienceAttributesOrBuilderListin interfaceYouTubeChannelInsightsOrBuilder
-
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
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
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
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;- Specified by:
getChannelAttributesListin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAttributesCountin interfaceYouTubeChannelInsightsOrBuilder
-
getChannelAttributes
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;- Specified by:
getChannelAttributesin interfaceYouTubeChannelInsightsOrBuilder
-
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
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5; -
removeChannelAttributes
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5; -
getChannelAttributesBuilder
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5; -
getChannelAttributesOrBuilder
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5;- Specified by:
getChannelAttributesOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
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:
getChannelAttributesOrBuilderListin interfaceYouTubeChannelInsightsOrBuilder
-
addChannelAttributesBuilder
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5; -
addChannelAttributesBuilder
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5; -
getChannelAttributesBuilderList
The attributes associated with the content made by a channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata channel_attributes = 5; -
getTopVideosList
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;- Specified by:
getTopVideosListin interfaceYouTubeChannelInsightsOrBuilder
-
getTopVideosCount
public int getTopVideosCount()The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;- Specified by:
getTopVideosCountin interfaceYouTubeChannelInsightsOrBuilder
-
getTopVideos
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;- Specified by:
getTopVideosin interfaceYouTubeChannelInsightsOrBuilder
-
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
public YouTubeChannelInsights.Builder addTopVideos(AudienceInsightsAttributeMetadata.Builder builderForValue) 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
public YouTubeChannelInsights.Builder addAllTopVideos(Iterable<? extends AudienceInsightsAttributeMetadata> values) The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8; -
clearTopVideos
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8; -
removeTopVideos
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8; -
getTopVideosBuilder
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8; -
getTopVideosOrBuilder
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;- Specified by:
getTopVideosOrBuilderin interfaceYouTubeChannelInsightsOrBuilder
-
getTopVideosOrBuilderList
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8;- Specified by:
getTopVideosOrBuilderListin interfaceYouTubeChannelInsightsOrBuilder
-
addTopVideosBuilder
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8; -
addTopVideosBuilder
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8; -
getTopVideosBuilderList
The top 10 videos for the channel.
repeated .google.ads.googleads.v21.common.AudienceInsightsAttributeMetadata top_videos = 8; -
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.
-
setChannelType
Metadata string associated with the type of channel.
string channel_type = 6;- Parameters:
value- The channelType to set.- Returns:
- This builder for chaining.
-
clearChannelType
Metadata string associated with the type of channel.
string channel_type = 6;- Returns:
- This builder for chaining.
-
setChannelTypeBytes
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-
mergeUnknownFields
public final YouTubeChannelInsights.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<YouTubeChannelInsights.Builder>
-