Class ConversionValueRuleSet.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
- com.google.ads.googleads.v10.resources.ConversionValueRuleSet.Builder
-
- All Implemented Interfaces:
ConversionValueRuleSetOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- ConversionValueRuleSet
public static final class ConversionValueRuleSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder> implements ConversionValueRuleSetOrBuilder
A conversion value rule set
Protobuf typegoogle.ads.googleads.v10.resources.ConversionValueRuleSet
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversionValueRuleSet.BuilderaddAllConversionActionCategories(java.lang.Iterable<? extends ConversionActionCategoryEnum.ConversionActionCategory> values)Immutable.ConversionValueRuleSet.BuilderaddAllConversionActionCategoriesValue(java.lang.Iterable<java.lang.Integer> values)Immutable.ConversionValueRuleSet.BuilderaddAllConversionValueRules(java.lang.Iterable<java.lang.String> values)Resource names of rules within the rule set.ConversionValueRuleSet.BuilderaddAllDimensions(java.lang.Iterable<? extends ValueRuleSetDimensionEnum.ValueRuleSetDimension> values)Defines dimensions for Value Rule conditions.ConversionValueRuleSet.BuilderaddAllDimensionsValue(java.lang.Iterable<java.lang.Integer> values)Defines dimensions for Value Rule conditions.ConversionValueRuleSet.BuilderaddConversionActionCategories(ConversionActionCategoryEnum.ConversionActionCategory value)Immutable.ConversionValueRuleSet.BuilderaddConversionActionCategoriesValue(int value)Immutable.ConversionValueRuleSet.BuilderaddConversionValueRules(java.lang.String value)Resource names of rules within the rule set.ConversionValueRuleSet.BuilderaddConversionValueRulesBytes(com.google.protobuf.ByteString value)Resource names of rules within the rule set.ConversionValueRuleSet.BuilderaddDimensions(ValueRuleSetDimensionEnum.ValueRuleSetDimension value)Defines dimensions for Value Rule conditions.ConversionValueRuleSet.BuilderaddDimensionsValue(int value)Defines dimensions for Value Rule conditions.ConversionValueRuleSet.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConversionValueRuleSetbuild()ConversionValueRuleSetbuildPartial()ConversionValueRuleSet.Builderclear()ConversionValueRuleSet.BuilderclearAttachmentType()Immutable.ConversionValueRuleSet.BuilderclearCampaign()The resource name of the campaign when the conversion value rule set is attached to a campaign.ConversionValueRuleSet.BuilderclearConversionActionCategories()Immutable.ConversionValueRuleSet.BuilderclearConversionValueRules()Resource names of rules within the rule set.ConversionValueRuleSet.BuilderclearDimensions()Defines dimensions for Value Rule conditions.ConversionValueRuleSet.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConversionValueRuleSet.BuilderclearId()Output only.ConversionValueRuleSet.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConversionValueRuleSet.BuilderclearOwnerCustomer()Output only.ConversionValueRuleSet.BuilderclearResourceName()Immutable.ConversionValueRuleSet.BuilderclearStatus()Output only.ConversionValueRuleSet.Builderclone()ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentTypegetAttachmentType()Immutable.intgetAttachmentTypeValue()Immutable.java.lang.StringgetCampaign()The resource name of the campaign when the conversion value rule set is attached to a campaign.com.google.protobuf.ByteStringgetCampaignBytes()The resource name of the campaign when the conversion value rule set is attached to a campaign.ConversionActionCategoryEnum.ConversionActionCategorygetConversionActionCategories(int index)Immutable.intgetConversionActionCategoriesCount()Immutable.java.util.List<ConversionActionCategoryEnum.ConversionActionCategory>getConversionActionCategoriesList()Immutable.intgetConversionActionCategoriesValue(int index)Immutable.java.util.List<java.lang.Integer>getConversionActionCategoriesValueList()Immutable.java.lang.StringgetConversionValueRules(int index)Resource names of rules within the rule set.com.google.protobuf.ByteStringgetConversionValueRulesBytes(int index)Resource names of rules within the rule set.intgetConversionValueRulesCount()Resource names of rules within the rule set.com.google.protobuf.ProtocolStringListgetConversionValueRulesList()Resource names of rules within the rule set.ConversionValueRuleSetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ValueRuleSetDimensionEnum.ValueRuleSetDimensiongetDimensions(int index)Defines dimensions for Value Rule conditions.intgetDimensionsCount()Defines dimensions for Value Rule conditions.java.util.List<ValueRuleSetDimensionEnum.ValueRuleSetDimension>getDimensionsList()Defines dimensions for Value Rule conditions.intgetDimensionsValue(int index)Defines dimensions for Value Rule conditions.java.util.List<java.lang.Integer>getDimensionsValueList()Defines dimensions for Value Rule conditions.longgetId()Output only.java.lang.StringgetOwnerCustomer()Output only.com.google.protobuf.ByteStringgetOwnerCustomerBytes()Output only.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatusgetStatus()Output only.intgetStatusValue()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConversionValueRuleSet.BuildermergeFrom(ConversionValueRuleSet other)ConversionValueRuleSet.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConversionValueRuleSet.BuildermergeFrom(com.google.protobuf.Message other)ConversionValueRuleSet.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConversionValueRuleSet.BuildersetAttachmentType(ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType value)Immutable.ConversionValueRuleSet.BuildersetAttachmentTypeValue(int value)Immutable.ConversionValueRuleSet.BuildersetCampaign(java.lang.String value)The resource name of the campaign when the conversion value rule set is attached to a campaign.ConversionValueRuleSet.BuildersetCampaignBytes(com.google.protobuf.ByteString value)The resource name of the campaign when the conversion value rule set is attached to a campaign.ConversionValueRuleSet.BuildersetConversionActionCategories(int index, ConversionActionCategoryEnum.ConversionActionCategory value)Immutable.ConversionValueRuleSet.BuildersetConversionActionCategoriesValue(int index, int value)Immutable.ConversionValueRuleSet.BuildersetConversionValueRules(int index, java.lang.String value)Resource names of rules within the rule set.ConversionValueRuleSet.BuildersetDimensions(int index, ValueRuleSetDimensionEnum.ValueRuleSetDimension value)Defines dimensions for Value Rule conditions.ConversionValueRuleSet.BuildersetDimensionsValue(int index, int value)Defines dimensions for Value Rule conditions.ConversionValueRuleSet.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)ConversionValueRuleSet.BuildersetId(long value)Output only.ConversionValueRuleSet.BuildersetOwnerCustomer(java.lang.String value)Output only.ConversionValueRuleSet.BuildersetOwnerCustomerBytes(com.google.protobuf.ByteString value)Output only.ConversionValueRuleSet.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)ConversionValueRuleSet.BuildersetResourceName(java.lang.String value)Immutable.ConversionValueRuleSet.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.ConversionValueRuleSet.BuildersetStatus(ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus value)Output only.ConversionValueRuleSet.BuildersetStatusValue(int value)Output only.ConversionValueRuleSet.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<ConversionValueRuleSet.Builder>
-
clear
public ConversionValueRuleSet.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<ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
-
getDefaultInstanceForType
public ConversionValueRuleSet getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversionValueRuleSet build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversionValueRuleSet buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
-
setField
public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
-
clearField
public ConversionValueRuleSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
clearOneof
public ConversionValueRuleSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
setRepeatedField
public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
-
addRepeatedField
public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>
-
mergeFrom
public ConversionValueRuleSet.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionValueRuleSet.Builder>
-
mergeFrom
public ConversionValueRuleSet.Builder mergeFrom(ConversionValueRuleSet other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
mergeFrom
public ConversionValueRuleSet.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<ConversionValueRuleSet.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the conversion value rule set. Conversion value rule set resource names have the form: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceConversionValueRuleSetOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the conversion value rule set. Conversion value rule set resource names have the form: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceConversionValueRuleSetOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public ConversionValueRuleSet.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the conversion value rule set. Conversion value rule set resource names have the form: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public ConversionValueRuleSet.Builder clearResourceName()
Immutable. The resource name of the conversion value rule set. Conversion value rule set resource names have the form: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public ConversionValueRuleSet.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the conversion value rule set. Conversion value rule set resource names have the form: `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getId
public long getId()
Output only. The ID of the conversion value rule set.
int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceConversionValueRuleSetOrBuilder- Returns:
- The id.
-
setId
public ConversionValueRuleSet.Builder setId(long value)
Output only. The ID of the conversion value rule set.
int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public ConversionValueRuleSet.Builder clearId()
Output only. The ID of the conversion value rule set.
int64 id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getConversionValueRulesList
public com.google.protobuf.ProtocolStringList getConversionValueRulesList()
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getConversionValueRulesListin interfaceConversionValueRuleSetOrBuilder- Returns:
- A list containing the conversionValueRules.
-
getConversionValueRulesCount
public int getConversionValueRulesCount()
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getConversionValueRulesCountin interfaceConversionValueRuleSetOrBuilder- Returns:
- The count of conversionValueRules.
-
getConversionValueRules
public java.lang.String getConversionValueRules(int index)
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getConversionValueRulesin interfaceConversionValueRuleSetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The conversionValueRules at the given index.
-
getConversionValueRulesBytes
public com.google.protobuf.ByteString getConversionValueRulesBytes(int index)
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Specified by:
getConversionValueRulesBytesin interfaceConversionValueRuleSetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the conversionValueRules at the given index.
-
setConversionValueRules
public ConversionValueRuleSet.Builder setConversionValueRules(int index, java.lang.String value)
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Parameters:
index- The index to set the value at.value- The conversionValueRules to set.- Returns:
- This builder for chaining.
-
addConversionValueRules
public ConversionValueRuleSet.Builder addConversionValueRules(java.lang.String value)
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The conversionValueRules to add.- Returns:
- This builder for chaining.
-
addAllConversionValueRules
public ConversionValueRuleSet.Builder addAllConversionValueRules(java.lang.Iterable<java.lang.String> values)
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Parameters:
values- The conversionValueRules to add.- Returns:
- This builder for chaining.
-
clearConversionValueRules
public ConversionValueRuleSet.Builder clearConversionValueRules()
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
addConversionValueRulesBytes
public ConversionValueRuleSet.Builder addConversionValueRulesBytes(com.google.protobuf.ByteString value)
Resource names of rules within the rule set.
repeated string conversion_value_rules = 3 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes of the conversionValueRules to add.- Returns:
- This builder for chaining.
-
getDimensionsList
public java.util.List<ValueRuleSetDimensionEnum.ValueRuleSetDimension> getDimensionsList()
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Specified by:
getDimensionsListin interfaceConversionValueRuleSetOrBuilder- Returns:
- A list containing the dimensions.
-
getDimensionsCount
public int getDimensionsCount()
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Specified by:
getDimensionsCountin interfaceConversionValueRuleSetOrBuilder- Returns:
- The count of dimensions.
-
getDimensions
public ValueRuleSetDimensionEnum.ValueRuleSetDimension getDimensions(int index)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Specified by:
getDimensionsin interfaceConversionValueRuleSetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The dimensions at the given index.
-
setDimensions
public ConversionValueRuleSet.Builder setDimensions(int index, ValueRuleSetDimensionEnum.ValueRuleSetDimension value)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
index- The index to set the value at.value- The dimensions to set.- Returns:
- This builder for chaining.
-
addDimensions
public ConversionValueRuleSet.Builder addDimensions(ValueRuleSetDimensionEnum.ValueRuleSetDimension value)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
value- The dimensions to add.- Returns:
- This builder for chaining.
-
addAllDimensions
public ConversionValueRuleSet.Builder addAllDimensions(java.lang.Iterable<? extends ValueRuleSetDimensionEnum.ValueRuleSetDimension> values)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
values- The dimensions to add.- Returns:
- This builder for chaining.
-
clearDimensions
public ConversionValueRuleSet.Builder clearDimensions()
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Returns:
- This builder for chaining.
-
getDimensionsValueList
public java.util.List<java.lang.Integer> getDimensionsValueList()
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Specified by:
getDimensionsValueListin interfaceConversionValueRuleSetOrBuilder- Returns:
- A list containing the enum numeric values on the wire for dimensions.
-
getDimensionsValue
public int getDimensionsValue(int index)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Specified by:
getDimensionsValuein interfaceConversionValueRuleSetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of dimensions at the given index.
-
setDimensionsValue
public ConversionValueRuleSet.Builder setDimensionsValue(int index, int value)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of dimensions at the given index.
-
addDimensionsValue
public ConversionValueRuleSet.Builder addDimensionsValue(int value)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
value- The enum numeric value on the wire for dimensions to add.- Returns:
- This builder for chaining.
-
addAllDimensionsValue
public ConversionValueRuleSet.Builder addAllDimensionsValue(java.lang.Iterable<java.lang.Integer> values)
Defines dimensions for Value Rule conditions. The condition types of value rules within this value rule set must be of these dimensions. The first entry in this list is the primary dimension of the included value rules. When using value rule primary dimension segmentation, conversion values will be segmented into the values adjusted by value rules and the original values, if some value rules apply.
repeated .google.ads.googleads.v10.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
values- The enum numeric values on the wire for dimensions to add.- Returns:
- This builder for chaining.
-
getOwnerCustomer
public java.lang.String getOwnerCustomer()
Output only. The resource name of the conversion value rule set's owner customer. When the value rule set is inherited from a manager customer, owner_customer will be the resource name of the manager whereas the customer in the resource_name will be of the requesting serving customer. ** Read-only **
string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getOwnerCustomerin interfaceConversionValueRuleSetOrBuilder- Returns:
- The ownerCustomer.
-
getOwnerCustomerBytes
public com.google.protobuf.ByteString getOwnerCustomerBytes()
Output only. The resource name of the conversion value rule set's owner customer. When the value rule set is inherited from a manager customer, owner_customer will be the resource name of the manager whereas the customer in the resource_name will be of the requesting serving customer. ** Read-only **
string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getOwnerCustomerBytesin interfaceConversionValueRuleSetOrBuilder- Returns:
- The bytes for ownerCustomer.
-
setOwnerCustomer
public ConversionValueRuleSet.Builder setOwnerCustomer(java.lang.String value)
Output only. The resource name of the conversion value rule set's owner customer. When the value rule set is inherited from a manager customer, owner_customer will be the resource name of the manager whereas the customer in the resource_name will be of the requesting serving customer. ** Read-only **
string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The ownerCustomer to set.- Returns:
- This builder for chaining.
-
clearOwnerCustomer
public ConversionValueRuleSet.Builder clearOwnerCustomer()
Output only. The resource name of the conversion value rule set's owner customer. When the value rule set is inherited from a manager customer, owner_customer will be the resource name of the manager whereas the customer in the resource_name will be of the requesting serving customer. ** Read-only **
string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setOwnerCustomerBytes
public ConversionValueRuleSet.Builder setOwnerCustomerBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the conversion value rule set's owner customer. When the value rule set is inherited from a manager customer, owner_customer will be the resource name of the manager whereas the customer in the resource_name will be of the requesting serving customer. ** Read-only **
string owner_customer = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for ownerCustomer to set.- Returns:
- This builder for chaining.
-
getAttachmentTypeValue
public int getAttachmentTypeValue()
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v10.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAttachmentTypeValuein interfaceConversionValueRuleSetOrBuilder- Returns:
- The enum numeric value on the wire for attachmentType.
-
setAttachmentTypeValue
public ConversionValueRuleSet.Builder setAttachmentTypeValue(int value)
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v10.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for attachmentType to set.- Returns:
- This builder for chaining.
-
getAttachmentType
public ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType getAttachmentType()
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v10.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getAttachmentTypein interfaceConversionValueRuleSetOrBuilder- Returns:
- The attachmentType.
-
setAttachmentType
public ConversionValueRuleSet.Builder setAttachmentType(ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType value)
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v10.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The attachmentType to set.- Returns:
- This builder for chaining.
-
clearAttachmentType
public ConversionValueRuleSet.Builder clearAttachmentType()
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v10.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
getCampaign
public java.lang.String getCampaign()
The resource name of the campaign when the conversion value rule set is attached to a campaign.
string campaign = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceConversionValueRuleSetOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()
The resource name of the campaign when the conversion value rule set is attached to a campaign.
string campaign = 7 [(.google.api.resource_reference) = { ... }- Specified by:
getCampaignBytesin interfaceConversionValueRuleSetOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
public ConversionValueRuleSet.Builder setCampaign(java.lang.String value)
The resource name of the campaign when the conversion value rule set is attached to a campaign.
string campaign = 7 [(.google.api.resource_reference) = { ... }- Parameters:
value- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
public ConversionValueRuleSet.Builder clearCampaign()
The resource name of the campaign when the conversion value rule set is attached to a campaign.
string campaign = 7 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCampaignBytes
public ConversionValueRuleSet.Builder setCampaignBytes(com.google.protobuf.ByteString value)
The resource name of the campaign when the conversion value rule set is attached to a campaign.
string campaign = 7 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v10.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusValuein interfaceConversionValueRuleSetOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public ConversionValueRuleSet.Builder setStatusValue(int value)
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v10.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus getStatus()
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v10.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceConversionValueRuleSetOrBuilder- Returns:
- The status.
-
setStatus
public ConversionValueRuleSet.Builder setStatus(ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus value)
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v10.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public ConversionValueRuleSet.Builder clearStatus()
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v10.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getConversionActionCategoriesList
public java.util.List<ConversionActionCategoryEnum.ConversionActionCategory> getConversionActionCategoriesList()
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConversionActionCategoriesListin interfaceConversionValueRuleSetOrBuilder- Returns:
- A list containing the conversionActionCategories.
-
getConversionActionCategoriesCount
public int getConversionActionCategoriesCount()
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConversionActionCategoriesCountin interfaceConversionValueRuleSetOrBuilder- Returns:
- The count of conversionActionCategories.
-
getConversionActionCategories
public ConversionActionCategoryEnum.ConversionActionCategory getConversionActionCategories(int index)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConversionActionCategoriesin interfaceConversionValueRuleSetOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The conversionActionCategories at the given index.
-
setConversionActionCategories
public ConversionValueRuleSet.Builder setConversionActionCategories(int index, ConversionActionCategoryEnum.ConversionActionCategory value)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
index- The index to set the value at.value- The conversionActionCategories to set.- Returns:
- This builder for chaining.
-
addConversionActionCategories
public ConversionValueRuleSet.Builder addConversionActionCategories(ConversionActionCategoryEnum.ConversionActionCategory value)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The conversionActionCategories to add.- Returns:
- This builder for chaining.
-
addAllConversionActionCategories
public ConversionValueRuleSet.Builder addAllConversionActionCategories(java.lang.Iterable<? extends ConversionActionCategoryEnum.ConversionActionCategory> values)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
values- The conversionActionCategories to add.- Returns:
- This builder for chaining.
-
clearConversionActionCategories
public ConversionValueRuleSet.Builder clearConversionActionCategories()
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
getConversionActionCategoriesValueList
public java.util.List<java.lang.Integer> getConversionActionCategoriesValueList()
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConversionActionCategoriesValueListin interfaceConversionValueRuleSetOrBuilder- Returns:
- A list containing the enum numeric values on the wire for conversionActionCategories.
-
getConversionActionCategoriesValue
public int getConversionActionCategoriesValue(int index)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getConversionActionCategoriesValuein interfaceConversionValueRuleSetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of conversionActionCategories at the given index.
-
setConversionActionCategoriesValue
public ConversionValueRuleSet.Builder setConversionActionCategoriesValue(int index, int value)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of conversionActionCategories at the given index.
-
addConversionActionCategoriesValue
public ConversionValueRuleSet.Builder addConversionActionCategoriesValue(int value)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for conversionActionCategories to add.- Returns:
- This builder for chaining.
-
addAllConversionActionCategoriesValue
public ConversionValueRuleSet.Builder addAllConversionActionCategoriesValue(java.lang.Iterable<java.lang.Integer> values)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v10.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
values- The enum numeric values on the wire for conversionActionCategories to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConversionValueRuleSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
mergeUnknownFields
public final ConversionValueRuleSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
-