Class CriterionCategoryAvailability.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
- com.google.ads.googleads.v14.common.CriterionCategoryAvailability.Builder
-
- All Implemented Interfaces:
CriterionCategoryAvailabilityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- CriterionCategoryAvailability
public static final class CriterionCategoryAvailability.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder> implements CriterionCategoryAvailabilityOrBuilder
Information of category availability, per advertising channel.
Protobuf typegoogle.ads.googleads.v14.common.CriterionCategoryAvailability
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CriterionCategoryAvailability.BuilderaddAllLocale(java.lang.Iterable<? extends CriterionCategoryLocaleAvailability> values)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuilderaddLocale(int index, CriterionCategoryLocaleAvailability value)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuilderaddLocale(int index, CriterionCategoryLocaleAvailability.Builder builderForValue)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuilderaddLocale(CriterionCategoryLocaleAvailability value)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuilderaddLocale(CriterionCategoryLocaleAvailability.Builder builderForValue)Locales that are available to the category for the channel.CriterionCategoryLocaleAvailability.BuilderaddLocaleBuilder()Locales that are available to the category for the channel.CriterionCategoryLocaleAvailability.BuilderaddLocaleBuilder(int index)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CriterionCategoryAvailabilitybuild()CriterionCategoryAvailabilitybuildPartial()CriterionCategoryAvailability.Builderclear()CriterionCategoryAvailability.BuilderclearChannel()Channel types and subtypes that are available to the category.CriterionCategoryAvailability.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CriterionCategoryAvailability.BuilderclearLocale()Locales that are available to the category for the channel.CriterionCategoryAvailability.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CriterionCategoryAvailability.Builderclone()CriterionCategoryChannelAvailabilitygetChannel()Channel types and subtypes that are available to the category.CriterionCategoryChannelAvailability.BuildergetChannelBuilder()Channel types and subtypes that are available to the category.CriterionCategoryChannelAvailabilityOrBuildergetChannelOrBuilder()Channel types and subtypes that are available to the category.CriterionCategoryAvailabilitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()CriterionCategoryLocaleAvailabilitygetLocale(int index)Locales that are available to the category for the channel.CriterionCategoryLocaleAvailability.BuildergetLocaleBuilder(int index)Locales that are available to the category for the channel.java.util.List<CriterionCategoryLocaleAvailability.Builder>getLocaleBuilderList()Locales that are available to the category for the channel.intgetLocaleCount()Locales that are available to the category for the channel.java.util.List<CriterionCategoryLocaleAvailability>getLocaleList()Locales that are available to the category for the channel.CriterionCategoryLocaleAvailabilityOrBuildergetLocaleOrBuilder(int index)Locales that are available to the category for the channel.java.util.List<? extends CriterionCategoryLocaleAvailabilityOrBuilder>getLocaleOrBuilderList()Locales that are available to the category for the channel.booleanhasChannel()Channel types and subtypes that are available to the category.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CriterionCategoryAvailability.BuildermergeChannel(CriterionCategoryChannelAvailability value)Channel types and subtypes that are available to the category.CriterionCategoryAvailability.BuildermergeFrom(CriterionCategoryAvailability other)CriterionCategoryAvailability.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CriterionCategoryAvailability.BuildermergeFrom(com.google.protobuf.Message other)CriterionCategoryAvailability.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CriterionCategoryAvailability.BuilderremoveLocale(int index)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuildersetChannel(CriterionCategoryChannelAvailability value)Channel types and subtypes that are available to the category.CriterionCategoryAvailability.BuildersetChannel(CriterionCategoryChannelAvailability.Builder builderForValue)Channel types and subtypes that are available to the category.CriterionCategoryAvailability.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)CriterionCategoryAvailability.BuildersetLocale(int index, CriterionCategoryLocaleAvailability value)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuildersetLocale(int index, CriterionCategoryLocaleAvailability.Builder builderForValue)Locales that are available to the category for the channel.CriterionCategoryAvailability.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)CriterionCategoryAvailability.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<CriterionCategoryAvailability.Builder>
-
clear
public CriterionCategoryAvailability.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<CriterionCategoryAvailability.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<CriterionCategoryAvailability.Builder>
-
getDefaultInstanceForType
public CriterionCategoryAvailability getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CriterionCategoryAvailability build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CriterionCategoryAvailability buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CriterionCategoryAvailability.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<CriterionCategoryAvailability.Builder>
-
setField
public CriterionCategoryAvailability.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
clearField
public CriterionCategoryAvailability.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
clearOneof
public CriterionCategoryAvailability.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
setRepeatedField
public CriterionCategoryAvailability.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
addRepeatedField
public CriterionCategoryAvailability.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
mergeFrom
public CriterionCategoryAvailability.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CriterionCategoryAvailability.Builder>
-
mergeFrom
public CriterionCategoryAvailability.Builder mergeFrom(CriterionCategoryAvailability other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
mergeFrom
public CriterionCategoryAvailability.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CriterionCategoryAvailability.Builder>- Throws:
java.io.IOException
-
hasChannel
public boolean hasChannel()
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;- Specified by:
hasChannelin interfaceCriterionCategoryAvailabilityOrBuilder- Returns:
- Whether the channel field is set.
-
getChannel
public CriterionCategoryChannelAvailability getChannel()
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;- Specified by:
getChannelin interfaceCriterionCategoryAvailabilityOrBuilder- Returns:
- The channel.
-
setChannel
public CriterionCategoryAvailability.Builder setChannel(CriterionCategoryChannelAvailability value)
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;
-
setChannel
public CriterionCategoryAvailability.Builder setChannel(CriterionCategoryChannelAvailability.Builder builderForValue)
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;
-
mergeChannel
public CriterionCategoryAvailability.Builder mergeChannel(CriterionCategoryChannelAvailability value)
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;
-
clearChannel
public CriterionCategoryAvailability.Builder clearChannel()
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;
-
getChannelBuilder
public CriterionCategoryChannelAvailability.Builder getChannelBuilder()
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;
-
getChannelOrBuilder
public CriterionCategoryChannelAvailabilityOrBuilder getChannelOrBuilder()
Channel types and subtypes that are available to the category.
.google.ads.googleads.v14.common.CriterionCategoryChannelAvailability channel = 1;- Specified by:
getChannelOrBuilderin interfaceCriterionCategoryAvailabilityOrBuilder
-
getLocaleList
public java.util.List<CriterionCategoryLocaleAvailability> getLocaleList()
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocaleListin interfaceCriterionCategoryAvailabilityOrBuilder
-
getLocaleCount
public int getLocaleCount()
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocaleCountin interfaceCriterionCategoryAvailabilityOrBuilder
-
getLocale
public CriterionCategoryLocaleAvailability getLocale(int index)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocalein interfaceCriterionCategoryAvailabilityOrBuilder
-
setLocale
public CriterionCategoryAvailability.Builder setLocale(int index, CriterionCategoryLocaleAvailability value)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
setLocale
public CriterionCategoryAvailability.Builder setLocale(int index, CriterionCategoryLocaleAvailability.Builder builderForValue)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
addLocale
public CriterionCategoryAvailability.Builder addLocale(CriterionCategoryLocaleAvailability value)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
addLocale
public CriterionCategoryAvailability.Builder addLocale(int index, CriterionCategoryLocaleAvailability value)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
addLocale
public CriterionCategoryAvailability.Builder addLocale(CriterionCategoryLocaleAvailability.Builder builderForValue)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
addLocale
public CriterionCategoryAvailability.Builder addLocale(int index, CriterionCategoryLocaleAvailability.Builder builderForValue)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
addAllLocale
public CriterionCategoryAvailability.Builder addAllLocale(java.lang.Iterable<? extends CriterionCategoryLocaleAvailability> values)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
clearLocale
public CriterionCategoryAvailability.Builder clearLocale()
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
removeLocale
public CriterionCategoryAvailability.Builder removeLocale(int index)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
getLocaleBuilder
public CriterionCategoryLocaleAvailability.Builder getLocaleBuilder(int index)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
getLocaleOrBuilder
public CriterionCategoryLocaleAvailabilityOrBuilder getLocaleOrBuilder(int index)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocaleOrBuilderin interfaceCriterionCategoryAvailabilityOrBuilder
-
getLocaleOrBuilderList
public java.util.List<? extends CriterionCategoryLocaleAvailabilityOrBuilder> getLocaleOrBuilderList()
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocaleOrBuilderListin interfaceCriterionCategoryAvailabilityOrBuilder
-
addLocaleBuilder
public CriterionCategoryLocaleAvailability.Builder addLocaleBuilder()
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
addLocaleBuilder
public CriterionCategoryLocaleAvailability.Builder addLocaleBuilder(int index)
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
getLocaleBuilderList
public java.util.List<CriterionCategoryLocaleAvailability.Builder> getLocaleBuilderList()
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v14.common.CriterionCategoryLocaleAvailability locale = 2;
-
setUnknownFields
public final CriterionCategoryAvailability.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
mergeUnknownFields
public final CriterionCategoryAvailability.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
-