Class PlannableTargeting
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.ads.googleads.v10.services.PlannableTargeting
-
- All Implemented Interfaces:
PlannableTargetingOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
public final class PlannableTargeting extends com.google.protobuf.GeneratedMessageV3 implements PlannableTargetingOrBuilder
The targeting for which traffic metrics will be reported.
Protobuf typegoogle.ads.googleads.v10.services.PlannableTargeting- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlannableTargeting.BuilderThe targeting for which traffic metrics will be reported.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAGE_RANGES_FIELD_NUMBERstatic intDEVICES_FIELD_NUMBERstatic intGENDERS_FIELD_NUMBERstatic intNETWORKS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)ReachPlanAgeRangeEnum.ReachPlanAgeRangegetAgeRanges(int index)Allowed plannable age ranges for the product for which metrics will be reported.intgetAgeRangesCount()Allowed plannable age ranges for the product for which metrics will be reported.java.util.List<ReachPlanAgeRangeEnum.ReachPlanAgeRange>getAgeRangesList()Allowed plannable age ranges for the product for which metrics will be reported.intgetAgeRangesValue(int index)Allowed plannable age ranges for the product for which metrics will be reported.java.util.List<java.lang.Integer>getAgeRangesValueList()Allowed plannable age ranges for the product for which metrics will be reported.static PlannableTargetinggetDefaultInstance()PlannableTargetinggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DeviceInfogetDevices(int index)Targetable devices for the ad product.intgetDevicesCount()Targetable devices for the ad product.java.util.List<DeviceInfo>getDevicesList()Targetable devices for the ad product.DeviceInfoOrBuildergetDevicesOrBuilder(int index)Targetable devices for the ad product.java.util.List<? extends DeviceInfoOrBuilder>getDevicesOrBuilderList()Targetable devices for the ad product.GenderInfogetGenders(int index)Targetable genders for the ad product.intgetGendersCount()Targetable genders for the ad product.java.util.List<GenderInfo>getGendersList()Targetable genders for the ad product.GenderInfoOrBuildergetGendersOrBuilder(int index)Targetable genders for the ad product.java.util.List<? extends GenderInfoOrBuilder>getGendersOrBuilderList()Targetable genders for the ad product.ReachPlanNetworkEnum.ReachPlanNetworkgetNetworks(int index)Targetable networks for the ad product.intgetNetworksCount()Targetable networks for the ad product.java.util.List<ReachPlanNetworkEnum.ReachPlanNetwork>getNetworksList()Targetable networks for the ad product.intgetNetworksValue(int index)Targetable networks for the ad product.java.util.List<java.lang.Integer>getNetworksValueList()Targetable networks for the ad product.com.google.protobuf.Parser<PlannableTargeting>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PlannableTargeting.BuildernewBuilder()static PlannableTargeting.BuildernewBuilder(PlannableTargeting prototype)PlannableTargeting.BuildernewBuilderForType()protected PlannableTargeting.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PlannableTargetingparseDelimitedFrom(java.io.InputStream input)static PlannableTargetingparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlannableTargetingparseFrom(byte[] data)static PlannableTargetingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlannableTargetingparseFrom(com.google.protobuf.ByteString data)static PlannableTargetingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlannableTargetingparseFrom(com.google.protobuf.CodedInputStream input)static PlannableTargetingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlannableTargetingparseFrom(java.io.InputStream input)static PlannableTargetingparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlannableTargetingparseFrom(java.nio.ByteBuffer data)static PlannableTargetingparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PlannableTargeting>parser()PlannableTargeting.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AGE_RANGES_FIELD_NUMBER
public static final int AGE_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENDERS_FIELD_NUMBER
public static final int GENDERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEVICES_FIELD_NUMBER
public static final int DEVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORKS_FIELD_NUMBER
public static final int NETWORKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getAgeRangesList
public java.util.List<ReachPlanAgeRangeEnum.ReachPlanAgeRange> getAgeRangesList()
Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values.
repeated .google.ads.googleads.v10.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1;- Specified by:
getAgeRangesListin interfacePlannableTargetingOrBuilder- Returns:
- A list containing the ageRanges.
-
getAgeRangesCount
public int getAgeRangesCount()
Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values.
repeated .google.ads.googleads.v10.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1;- Specified by:
getAgeRangesCountin interfacePlannableTargetingOrBuilder- Returns:
- The count of ageRanges.
-
getAgeRanges
public ReachPlanAgeRangeEnum.ReachPlanAgeRange getAgeRanges(int index)
Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values.
repeated .google.ads.googleads.v10.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1;- Specified by:
getAgeRangesin interfacePlannableTargetingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ageRanges at the given index.
-
getAgeRangesValueList
public java.util.List<java.lang.Integer> getAgeRangesValueList()
Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values.
repeated .google.ads.googleads.v10.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1;- Specified by:
getAgeRangesValueListin interfacePlannableTargetingOrBuilder- Returns:
- A list containing the enum numeric values on the wire for ageRanges.
-
getAgeRangesValue
public int getAgeRangesValue(int index)
Allowed plannable age ranges for the product for which metrics will be reported. Actual targeting is computed by mapping this age range onto standard Google common.AgeRangeInfo values.
repeated .google.ads.googleads.v10.enums.ReachPlanAgeRangeEnum.ReachPlanAgeRange age_ranges = 1;- Specified by:
getAgeRangesValuein interfacePlannableTargetingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of ageRanges at the given index.
-
getGendersList
public java.util.List<GenderInfo> getGendersList()
Targetable genders for the ad product.
repeated .google.ads.googleads.v10.common.GenderInfo genders = 2;- Specified by:
getGendersListin interfacePlannableTargetingOrBuilder
-
getGendersOrBuilderList
public java.util.List<? extends GenderInfoOrBuilder> getGendersOrBuilderList()
Targetable genders for the ad product.
repeated .google.ads.googleads.v10.common.GenderInfo genders = 2;- Specified by:
getGendersOrBuilderListin interfacePlannableTargetingOrBuilder
-
getGendersCount
public int getGendersCount()
Targetable genders for the ad product.
repeated .google.ads.googleads.v10.common.GenderInfo genders = 2;- Specified by:
getGendersCountin interfacePlannableTargetingOrBuilder
-
getGenders
public GenderInfo getGenders(int index)
Targetable genders for the ad product.
repeated .google.ads.googleads.v10.common.GenderInfo genders = 2;- Specified by:
getGendersin interfacePlannableTargetingOrBuilder
-
getGendersOrBuilder
public GenderInfoOrBuilder getGendersOrBuilder(int index)
Targetable genders for the ad product.
repeated .google.ads.googleads.v10.common.GenderInfo genders = 2;- Specified by:
getGendersOrBuilderin interfacePlannableTargetingOrBuilder
-
getDevicesList
public java.util.List<DeviceInfo> getDevicesList()
Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER and GOOGLE_PREFERRED_SHORT products.
repeated .google.ads.googleads.v10.common.DeviceInfo devices = 3;- Specified by:
getDevicesListin interfacePlannableTargetingOrBuilder
-
getDevicesOrBuilderList
public java.util.List<? extends DeviceInfoOrBuilder> getDevicesOrBuilderList()
Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER and GOOGLE_PREFERRED_SHORT products.
repeated .google.ads.googleads.v10.common.DeviceInfo devices = 3;- Specified by:
getDevicesOrBuilderListin interfacePlannableTargetingOrBuilder
-
getDevicesCount
public int getDevicesCount()
Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER and GOOGLE_PREFERRED_SHORT products.
repeated .google.ads.googleads.v10.common.DeviceInfo devices = 3;- Specified by:
getDevicesCountin interfacePlannableTargetingOrBuilder
-
getDevices
public DeviceInfo getDevices(int index)
Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER and GOOGLE_PREFERRED_SHORT products.
repeated .google.ads.googleads.v10.common.DeviceInfo devices = 3;- Specified by:
getDevicesin interfacePlannableTargetingOrBuilder
-
getDevicesOrBuilder
public DeviceInfoOrBuilder getDevicesOrBuilder(int index)
Targetable devices for the ad product. TABLET device targeting is automatically applied to reported metrics when MOBILE targeting is selected for CPM_MASTHEAD, GOOGLE_PREFERRED_BUMPER and GOOGLE_PREFERRED_SHORT products.
repeated .google.ads.googleads.v10.common.DeviceInfo devices = 3;- Specified by:
getDevicesOrBuilderin interfacePlannableTargetingOrBuilder
-
getNetworksList
public java.util.List<ReachPlanNetworkEnum.ReachPlanNetwork> getNetworksList()
Targetable networks for the ad product.
repeated .google.ads.googleads.v10.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4;- Specified by:
getNetworksListin interfacePlannableTargetingOrBuilder- Returns:
- A list containing the networks.
-
getNetworksCount
public int getNetworksCount()
Targetable networks for the ad product.
repeated .google.ads.googleads.v10.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4;- Specified by:
getNetworksCountin interfacePlannableTargetingOrBuilder- Returns:
- The count of networks.
-
getNetworks
public ReachPlanNetworkEnum.ReachPlanNetwork getNetworks(int index)
Targetable networks for the ad product.
repeated .google.ads.googleads.v10.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4;- Specified by:
getNetworksin interfacePlannableTargetingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The networks at the given index.
-
getNetworksValueList
public java.util.List<java.lang.Integer> getNetworksValueList()
Targetable networks for the ad product.
repeated .google.ads.googleads.v10.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4;- Specified by:
getNetworksValueListin interfacePlannableTargetingOrBuilder- Returns:
- A list containing the enum numeric values on the wire for networks.
-
getNetworksValue
public int getNetworksValue(int index)
Targetable networks for the ad product.
repeated .google.ads.googleads.v10.enums.ReachPlanNetworkEnum.ReachPlanNetwork networks = 4;- Specified by:
getNetworksValuein interfacePlannableTargetingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of networks at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PlannableTargeting parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlannableTargeting parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlannableTargeting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlannableTargeting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlannableTargeting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlannableTargeting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlannableTargeting parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PlannableTargeting parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PlannableTargeting parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static PlannableTargeting parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PlannableTargeting parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static PlannableTargeting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public PlannableTargeting.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PlannableTargeting.Builder newBuilder()
-
newBuilder
public static PlannableTargeting.Builder newBuilder(PlannableTargeting prototype)
-
toBuilder
public PlannableTargeting.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PlannableTargeting.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PlannableTargeting getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PlannableTargeting> parser()
-
getParserForType
public com.google.protobuf.Parser<PlannableTargeting> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PlannableTargeting getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-