Interface UserListRuleInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UserListRuleInfo,UserListRuleInfo.Builder
public interface UserListRuleInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetRuleItemGroups(int index) List of rule item groups that defines this rule.intList of rule item groups that defines this rule.List of rule item groups that defines this rule.getRuleItemGroupsOrBuilder(int index) List of rule item groups that defines this rule.List<? extends UserListRuleItemGroupInfoOrBuilder>List of rule item groups that defines this rule.Rule type is used to determine how to group rule items.intRule type is used to determine how to group rule items.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRuleTypeValue
int getRuleTypeValue()Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive normal form). That is, rule items will be ANDed together within rule item groups and the groups themselves will be ORed together. OR of ANDs is the only supported type for FlexibleRuleUserList.
.google.ads.googleads.v18.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1;- Returns:
- The enum numeric value on the wire for ruleType.
-
getRuleType
UserListRuleTypeEnum.UserListRuleType getRuleType()Rule type is used to determine how to group rule items. The default is OR of ANDs (disjunctive normal form). That is, rule items will be ANDed together within rule item groups and the groups themselves will be ORed together. OR of ANDs is the only supported type for FlexibleRuleUserList.
.google.ads.googleads.v18.enums.UserListRuleTypeEnum.UserListRuleType rule_type = 1;- Returns:
- The ruleType.
-
getRuleItemGroupsList
List<UserListRuleItemGroupInfo> getRuleItemGroupsList()List of rule item groups that defines this rule. Rule item groups are grouped together based on rule_type.
repeated .google.ads.googleads.v18.common.UserListRuleItemGroupInfo rule_item_groups = 2; -
getRuleItemGroups
List of rule item groups that defines this rule. Rule item groups are grouped together based on rule_type.
repeated .google.ads.googleads.v18.common.UserListRuleItemGroupInfo rule_item_groups = 2; -
getRuleItemGroupsCount
int getRuleItemGroupsCount()List of rule item groups that defines this rule. Rule item groups are grouped together based on rule_type.
repeated .google.ads.googleads.v18.common.UserListRuleItemGroupInfo rule_item_groups = 2; -
getRuleItemGroupsOrBuilderList
List<? extends UserListRuleItemGroupInfoOrBuilder> getRuleItemGroupsOrBuilderList()List of rule item groups that defines this rule. Rule item groups are grouped together based on rule_type.
repeated .google.ads.googleads.v18.common.UserListRuleItemGroupInfo rule_item_groups = 2; -
getRuleItemGroupsOrBuilder
List of rule item groups that defines this rule. Rule item groups are grouped together based on rule_type.
repeated .google.ads.googleads.v18.common.UserListRuleItemGroupInfo rule_item_groups = 2;
-