Interface CriterionCategoryChannelAvailabilityOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CriterionCategoryChannelAvailability,CriterionCategoryChannelAvailability.Builder
public interface CriterionCategoryChannelAvailabilityOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdvertisingChannelSubTypeEnum.AdvertisingChannelSubTypegetAdvertisingChannelSubType(int index)Channel subtypes under the channel type the category is available to.intgetAdvertisingChannelSubTypeCount()Channel subtypes under the channel type the category is available to.java.util.List<AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType>getAdvertisingChannelSubTypeList()Channel subtypes under the channel type the category is available to.intgetAdvertisingChannelSubTypeValue(int index)Channel subtypes under the channel type the category is available to.java.util.List<java.lang.Integer>getAdvertisingChannelSubTypeValueList()Channel subtypes under the channel type the category is available to.AdvertisingChannelTypeEnum.AdvertisingChannelTypegetAdvertisingChannelType()Channel type the category is available to.intgetAdvertisingChannelTypeValue()Channel type the category is available to.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityModegetAvailabilityMode()Format of the channel availability.intgetAvailabilityModeValue()Format of the channel availability.booleangetIncludeDefaultChannelSubType()Whether default channel sub type is included.booleanhasIncludeDefaultChannelSubType()Whether default channel sub type is included.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAvailabilityModeValue
int getAvailabilityModeValue()
Format of the channel availability. Can be ALL_CHANNELS (the rest of the fields will not be set), CHANNEL_TYPE (only advertising_channel_type type will be set, the category is available to all sub types under it) or CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, advertising_channel_sub_type, and include_default_channel_sub_type will all be set).
.google.ads.googleads.v10.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1;- Returns:
- The enum numeric value on the wire for availabilityMode.
-
getAvailabilityMode
CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode getAvailabilityMode()
Format of the channel availability. Can be ALL_CHANNELS (the rest of the fields will not be set), CHANNEL_TYPE (only advertising_channel_type type will be set, the category is available to all sub types under it) or CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, advertising_channel_sub_type, and include_default_channel_sub_type will all be set).
.google.ads.googleads.v10.enums.CriterionCategoryChannelAvailabilityModeEnum.CriterionCategoryChannelAvailabilityMode availability_mode = 1;- Returns:
- The availabilityMode.
-
getAdvertisingChannelTypeValue
int getAdvertisingChannelTypeValue()
Channel type the category is available to.
.google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2;- Returns:
- The enum numeric value on the wire for advertisingChannelType.
-
getAdvertisingChannelType
AdvertisingChannelTypeEnum.AdvertisingChannelType getAdvertisingChannelType()
Channel type the category is available to.
.google.ads.googleads.v10.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2;- Returns:
- The advertisingChannelType.
-
getAdvertisingChannelSubTypeList
java.util.List<AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType> getAdvertisingChannelSubTypeList()
Channel subtypes under the channel type the category is available to.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;- Returns:
- A list containing the advertisingChannelSubType.
-
getAdvertisingChannelSubTypeCount
int getAdvertisingChannelSubTypeCount()
Channel subtypes under the channel type the category is available to.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;- Returns:
- The count of advertisingChannelSubType.
-
getAdvertisingChannelSubType
AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType getAdvertisingChannelSubType(int index)
Channel subtypes under the channel type the category is available to.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;- Parameters:
index- The index of the element to return.- Returns:
- The advertisingChannelSubType at the given index.
-
getAdvertisingChannelSubTypeValueList
java.util.List<java.lang.Integer> getAdvertisingChannelSubTypeValueList()
Channel subtypes under the channel type the category is available to.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;- Returns:
- A list containing the enum numeric values on the wire for advertisingChannelSubType.
-
getAdvertisingChannelSubTypeValue
int getAdvertisingChannelSubTypeValue(int index)
Channel subtypes under the channel type the category is available to.
repeated .google.ads.googleads.v10.enums.AdvertisingChannelSubTypeEnum.AdvertisingChannelSubType advertising_channel_sub_type = 3;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of advertisingChannelSubType at the given index.
-
hasIncludeDefaultChannelSubType
boolean hasIncludeDefaultChannelSubType()
Whether default channel sub type is included. For example, advertising_channel_type being DISPLAY and include_default_channel_sub_type being false means that the default display campaign where channel sub type is not set is not included in this availability configuration.
optional bool include_default_channel_sub_type = 5;- Returns:
- Whether the includeDefaultChannelSubType field is set.
-
getIncludeDefaultChannelSubType
boolean getIncludeDefaultChannelSubType()
Whether default channel sub type is included. For example, advertising_channel_type being DISPLAY and include_default_channel_sub_type being false means that the default display campaign where channel sub type is not set is not included in this availability configuration.
optional bool include_default_channel_sub_type = 5;- Returns:
- The includeDefaultChannelSubType.
-
-