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.v18.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,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 type
google.ads.googleads.v18.common.CriterionCategoryAvailability-
Method Summary
Modifier and TypeMethodDescriptionaddAllLocale(Iterable<? extends CriterionCategoryLocaleAvailability> values) Locales that are available to the category for the channel.addLocale(int index, CriterionCategoryLocaleAvailability value) Locales that are available to the category for the channel.addLocale(int index, CriterionCategoryLocaleAvailability.Builder builderForValue) Locales that are available to the category for the channel.Locales that are available to the category for the channel.addLocale(CriterionCategoryLocaleAvailability.Builder builderForValue) Locales that are available to the category for the channel.Locales that are available to the category for the channel.addLocaleBuilder(int index) Locales that are available to the category for the channel.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Channel types and subtypes that are available to the category.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Locales that are available to the category for the channel.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()Channel types and subtypes that are available to the category.Channel types and subtypes that are available to the category.Channel types and subtypes that are available to the category.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLocale(int index) Locales that are available to the category for the channel.getLocaleBuilder(int index) Locales that are available to the category for the channel.Locales that are available to the category for the channel.intLocales that are available to the category for the channel.Locales that are available to the category for the channel.getLocaleOrBuilder(int index) Locales that are available to the category for the channel.List<? extends CriterionCategoryLocaleAvailabilityOrBuilder>Locales that are available to the category for the channel.booleanChannel types and subtypes that are available to the category.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanChannel types and subtypes that are available to the category.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeLocale(int index) Locales that are available to the category for the channel.Channel types and subtypes that are available to the category.setChannel(CriterionCategoryChannelAvailability.Builder builderForValue) Channel types and subtypes that are available to the category.setLocale(int index, CriterionCategoryLocaleAvailability value) Locales that are available to the category for the channel.setLocale(int index, CriterionCategoryLocaleAvailability.Builder builderForValue) Locales that are available to the category for the channel.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, 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<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
- 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<CriterionCategoryAvailability.Builder>
-
setField
public CriterionCategoryAvailability.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<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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CriterionCategoryAvailability.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CriterionCategoryAvailability.Builder>
-
mergeFrom
-
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 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:
IOException
-
hasChannel
public boolean hasChannel()Channel types and subtypes that are available to the category.
.google.ads.googleads.v18.common.CriterionCategoryChannelAvailability channel = 1;- Specified by:
hasChannelin interfaceCriterionCategoryAvailabilityOrBuilder- Returns:
- Whether the channel field is set.
-
getChannel
Channel types and subtypes that are available to the category.
.google.ads.googleads.v18.common.CriterionCategoryChannelAvailability channel = 1;- Specified by:
getChannelin interfaceCriterionCategoryAvailabilityOrBuilder- Returns:
- The channel.
-
setChannel
Channel types and subtypes that are available to the category.
.google.ads.googleads.v18.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.v18.common.CriterionCategoryChannelAvailability channel = 1; -
mergeChannel
public CriterionCategoryAvailability.Builder mergeChannel(CriterionCategoryChannelAvailability value) Channel types and subtypes that are available to the category.
.google.ads.googleads.v18.common.CriterionCategoryChannelAvailability channel = 1; -
clearChannel
Channel types and subtypes that are available to the category.
.google.ads.googleads.v18.common.CriterionCategoryChannelAvailability channel = 1; -
getChannelBuilder
Channel types and subtypes that are available to the category.
.google.ads.googleads.v18.common.CriterionCategoryChannelAvailability channel = 1; -
getChannelOrBuilder
Channel types and subtypes that are available to the category.
.google.ads.googleads.v18.common.CriterionCategoryChannelAvailability channel = 1;- Specified by:
getChannelOrBuilderin interfaceCriterionCategoryAvailabilityOrBuilder
-
getLocaleList
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.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.v18.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocaleCountin interfaceCriterionCategoryAvailabilityOrBuilder
-
getLocale
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.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.v18.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.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
addLocale
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.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.v18.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.v18.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.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
addAllLocale
public CriterionCategoryAvailability.Builder addAllLocale(Iterable<? extends CriterionCategoryLocaleAvailability> values) Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
clearLocale
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
removeLocale
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
getLocaleBuilder
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
getLocaleOrBuilder
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocaleOrBuilderin interfaceCriterionCategoryAvailabilityOrBuilder
-
getLocaleOrBuilderList
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2;- Specified by:
getLocaleOrBuilderListin interfaceCriterionCategoryAvailabilityOrBuilder
-
addLocaleBuilder
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
addLocaleBuilder
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.common.CriterionCategoryLocaleAvailability locale = 2; -
getLocaleBuilderList
Locales that are available to the category for the channel.
repeated .google.ads.googleads.v18.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>
-