Class AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
com.google.ads.googleads.v21.resources.AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder
- All Implemented Interfaces:
AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder,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:
- AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels
public static final class AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
implements AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder
Explicitly selected channels for channel controls in Demand Gen ad groups.Protobuf type
google.ads.googleads.v21.resources.AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Whether to enable ads on the Discover channel.Whether to enable ads on the Display channel.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Whether to enable ads on the Gmail channel.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Whether to enable ads on the YouTube In-Feed channel.Whether to enable ads on the YouTube In-Stream channel.Whether to enable ads on the YouTube Shorts channel.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanWhether to enable ads on the Discover channel.booleanWhether to enable ads on the Display channel.booleangetGmail()Whether to enable ads on the Gmail channel.booleanWhether to enable ads on the YouTube In-Feed channel.booleanWhether to enable ads on the YouTube In-Stream channel.booleanWhether to enable ads on the YouTube Shorts channel.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setDiscover(boolean value) Whether to enable ads on the Discover channel.setDisplay(boolean value) Whether to enable ads on the Display channel.setGmail(boolean value) Whether to enable ads on the Gmail channel.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setYoutubeInFeed(boolean value) Whether to enable ads on the YouTube In-Feed channel.setYoutubeInStream(boolean value) Whether to enable ads on the YouTube In-Stream channel.setYoutubeShorts(boolean value) Whether to enable ads on the YouTube Shorts channel.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
clear
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
getDefaultInstanceForType
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels 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
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels buildPartial()- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
setField
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
clearField
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
clearOneof
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
setRepeatedField
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
addRepeatedField
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
mergeFrom
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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,AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
mergeFrom
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.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<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>- Throws:
IOException
-
getYoutubeInStream
public boolean getYoutubeInStream()Whether to enable ads on the YouTube In-Stream channel.
bool youtube_in_stream = 1;- Specified by:
getYoutubeInStreamin interfaceAdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder- Returns:
- The youtubeInStream.
-
setYoutubeInStream
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder setYoutubeInStream(boolean value) Whether to enable ads on the YouTube In-Stream channel.
bool youtube_in_stream = 1;- Parameters:
value- The youtubeInStream to set.- Returns:
- This builder for chaining.
-
clearYoutubeInStream
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearYoutubeInStream()Whether to enable ads on the YouTube In-Stream channel.
bool youtube_in_stream = 1;- Returns:
- This builder for chaining.
-
getYoutubeInFeed
public boolean getYoutubeInFeed()Whether to enable ads on the YouTube In-Feed channel.
bool youtube_in_feed = 2;- Specified by:
getYoutubeInFeedin interfaceAdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder- Returns:
- The youtubeInFeed.
-
setYoutubeInFeed
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder setYoutubeInFeed(boolean value) Whether to enable ads on the YouTube In-Feed channel.
bool youtube_in_feed = 2;- Parameters:
value- The youtubeInFeed to set.- Returns:
- This builder for chaining.
-
clearYoutubeInFeed
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearYoutubeInFeed()Whether to enable ads on the YouTube In-Feed channel.
bool youtube_in_feed = 2;- Returns:
- This builder for chaining.
-
getYoutubeShorts
public boolean getYoutubeShorts()Whether to enable ads on the YouTube Shorts channel.
bool youtube_shorts = 3;- Specified by:
getYoutubeShortsin interfaceAdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder- Returns:
- The youtubeShorts.
-
setYoutubeShorts
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder setYoutubeShorts(boolean value) Whether to enable ads on the YouTube Shorts channel.
bool youtube_shorts = 3;- Parameters:
value- The youtubeShorts to set.- Returns:
- This builder for chaining.
-
clearYoutubeShorts
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearYoutubeShorts()Whether to enable ads on the YouTube Shorts channel.
bool youtube_shorts = 3;- Returns:
- This builder for chaining.
-
getDiscover
public boolean getDiscover()Whether to enable ads on the Discover channel.
bool discover = 4;- Specified by:
getDiscoverin interfaceAdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder- Returns:
- The discover.
-
setDiscover
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder setDiscover(boolean value) Whether to enable ads on the Discover channel.
bool discover = 4;- Parameters:
value- The discover to set.- Returns:
- This builder for chaining.
-
clearDiscover
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearDiscover()Whether to enable ads on the Discover channel.
bool discover = 4;- Returns:
- This builder for chaining.
-
getGmail
public boolean getGmail()Whether to enable ads on the Gmail channel.
bool gmail = 5;- Specified by:
getGmailin interfaceAdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder- Returns:
- The gmail.
-
setGmail
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder setGmail(boolean value) Whether to enable ads on the Gmail channel.
bool gmail = 5;- Parameters:
value- The gmail to set.- Returns:
- This builder for chaining.
-
clearGmail
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearGmail()Whether to enable ads on the Gmail channel.
bool gmail = 5;- Returns:
- This builder for chaining.
-
getDisplay
public boolean getDisplay()Whether to enable ads on the Display channel.
bool display = 6;- Specified by:
getDisplayin interfaceAdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannelsOrBuilder- Returns:
- The display.
-
setDisplay
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder setDisplay(boolean value) Whether to enable ads on the Display channel.
bool display = 6;- Parameters:
value- The display to set.- Returns:
- This builder for chaining.
-
clearDisplay
public AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder clearDisplay()Whether to enable ads on the Display channel.
bool display = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-
mergeUnknownFields
public final AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdGroup.DemandGenAdGroupSettings.DemandGenChannelControls.DemandGenSelectedChannels.Builder>
-