Class LineupAttributeMetadata.SampleChannel.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
com.google.ads.googleads.v20.common.LineupAttributeMetadata.SampleChannel.Builder
- All Implemented Interfaces:
LineupAttributeMetadata.SampleChannelOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LineupAttributeMetadata.SampleChannel
public static final class LineupAttributeMetadata.SampleChannel.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
implements LineupAttributeMetadata.SampleChannelOrBuilder
A YouTube channel returned as an example of the content in a lineup.Protobuf type
google.ads.googleads.v20.common.LineupAttributeMetadata.SampleChannel-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The name of the sample channel.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) A YouTube channel.Metadata for the sample channel.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the sample channel.com.google.protobuf.ByteStringThe name of the sample channel.A YouTube channel.A YouTube channel.Metadata for the sample channel.Metadata for the sample channel.Metadata for the sample channel.A YouTube channel.booleanA YouTube channel.booleanMetadata for the sample channel.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A YouTube channel.Metadata for the sample channel.setDisplayName(String value) The name of the sample channel.setDisplayNameBytes(com.google.protobuf.ByteString value) The name of the sample channel.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A YouTube channel.setYoutubeChannel(YouTubeChannelInfo.Builder builderForValue) A YouTube channel.Metadata for the sample channel.setYoutubeChannelMetadata(YouTubeChannelAttributeMetadata.Builder builderForValue) Metadata for the sample channel.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.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()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.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<LineupAttributeMetadata.SampleChannel.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.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
-
getDefaultInstanceForType
- 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<LineupAttributeMetadata.SampleChannel.Builder>
-
setField
public LineupAttributeMetadata.SampleChannel.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<LineupAttributeMetadata.SampleChannel.Builder>
-
clearField
public LineupAttributeMetadata.SampleChannel.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
-
clearOneof
public LineupAttributeMetadata.SampleChannel.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
-
setRepeatedField
public LineupAttributeMetadata.SampleChannel.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<LineupAttributeMetadata.SampleChannel.Builder>
-
addRepeatedField
public LineupAttributeMetadata.SampleChannel.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<LineupAttributeMetadata.SampleChannel.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LineupAttributeMetadata.SampleChannel.Builder>
-
mergeFrom
public LineupAttributeMetadata.SampleChannel.Builder mergeFrom(LineupAttributeMetadata.SampleChannel other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
-
mergeFrom
public LineupAttributeMetadata.SampleChannel.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<LineupAttributeMetadata.SampleChannel.Builder>- Throws:
IOException
-
hasYoutubeChannel
public boolean hasYoutubeChannel()A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1;- Specified by:
hasYoutubeChannelin interfaceLineupAttributeMetadata.SampleChannelOrBuilder- Returns:
- Whether the youtubeChannel field is set.
-
getYoutubeChannel
A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1;- Specified by:
getYoutubeChannelin interfaceLineupAttributeMetadata.SampleChannelOrBuilder- Returns:
- The youtubeChannel.
-
setYoutubeChannel
A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1; -
setYoutubeChannel
public LineupAttributeMetadata.SampleChannel.Builder setYoutubeChannel(YouTubeChannelInfo.Builder builderForValue) A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1; -
mergeYoutubeChannel
A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1; -
clearYoutubeChannel
A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1; -
getYoutubeChannelBuilder
A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1; -
getYoutubeChannelOrBuilder
A YouTube channel.
.google.ads.googleads.v20.common.YouTubeChannelInfo youtube_channel = 1;- Specified by:
getYoutubeChannelOrBuilderin interfaceLineupAttributeMetadata.SampleChannelOrBuilder
-
getDisplayName
The name of the sample channel.
string display_name = 2;- Specified by:
getDisplayNamein interfaceLineupAttributeMetadata.SampleChannelOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()The name of the sample channel.
string display_name = 2;- Specified by:
getDisplayNameBytesin interfaceLineupAttributeMetadata.SampleChannelOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
The name of the sample channel.
string display_name = 2;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
The name of the sample channel.
string display_name = 2;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public LineupAttributeMetadata.SampleChannel.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) The name of the sample channel.
string display_name = 2;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasYoutubeChannelMetadata
public boolean hasYoutubeChannelMetadata()Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3;- Specified by:
hasYoutubeChannelMetadatain interfaceLineupAttributeMetadata.SampleChannelOrBuilder- Returns:
- Whether the youtubeChannelMetadata field is set.
-
getYoutubeChannelMetadata
Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3;- Specified by:
getYoutubeChannelMetadatain interfaceLineupAttributeMetadata.SampleChannelOrBuilder- Returns:
- The youtubeChannelMetadata.
-
setYoutubeChannelMetadata
public LineupAttributeMetadata.SampleChannel.Builder setYoutubeChannelMetadata(YouTubeChannelAttributeMetadata value) Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; -
setYoutubeChannelMetadata
public LineupAttributeMetadata.SampleChannel.Builder setYoutubeChannelMetadata(YouTubeChannelAttributeMetadata.Builder builderForValue) Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; -
mergeYoutubeChannelMetadata
public LineupAttributeMetadata.SampleChannel.Builder mergeYoutubeChannelMetadata(YouTubeChannelAttributeMetadata value) Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; -
clearYoutubeChannelMetadata
Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; -
getYoutubeChannelMetadataBuilder
Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3; -
getYoutubeChannelMetadataOrBuilder
Metadata for the sample channel.
.google.ads.googleads.v20.common.YouTubeChannelAttributeMetadata youtube_channel_metadata = 3;- Specified by:
getYoutubeChannelMetadataOrBuilderin interfaceLineupAttributeMetadata.SampleChannelOrBuilder
-
setUnknownFields
public final LineupAttributeMetadata.SampleChannel.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
-
mergeUnknownFields
public final LineupAttributeMetadata.SampleChannel.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LineupAttributeMetadata.SampleChannel.Builder>
-