Class ConversionValueRuleSet.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
- com.google.ads.googleads.v14.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.v14.resources.ConversionValueRuleSet
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConversionValueRuleSet.Builder
addAllConversionActionCategories(java.lang.Iterable<? extends ConversionActionCategoryEnum.ConversionActionCategory> values)
Immutable.ConversionValueRuleSet.Builder
addAllConversionActionCategoriesValue(java.lang.Iterable<java.lang.Integer> values)
Immutable.ConversionValueRuleSet.Builder
addAllConversionValueRules(java.lang.Iterable<java.lang.String> values)
Resource names of rules within the rule set.ConversionValueRuleSet.Builder
addAllDimensions(java.lang.Iterable<? extends ValueRuleSetDimensionEnum.ValueRuleSetDimension> values)
Defines dimensions for Value Rule conditions.ConversionValueRuleSet.Builder
addAllDimensionsValue(java.lang.Iterable<java.lang.Integer> values)
Defines dimensions for Value Rule conditions.ConversionValueRuleSet.Builder
addConversionActionCategories(ConversionActionCategoryEnum.ConversionActionCategory value)
Immutable.ConversionValueRuleSet.Builder
addConversionActionCategoriesValue(int value)
Immutable.ConversionValueRuleSet.Builder
addConversionValueRules(java.lang.String value)
Resource names of rules within the rule set.ConversionValueRuleSet.Builder
addConversionValueRulesBytes(com.google.protobuf.ByteString value)
Resource names of rules within the rule set.ConversionValueRuleSet.Builder
addDimensions(ValueRuleSetDimensionEnum.ValueRuleSetDimension value)
Defines dimensions for Value Rule conditions.ConversionValueRuleSet.Builder
addDimensionsValue(int value)
Defines dimensions for Value Rule conditions.ConversionValueRuleSet.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ConversionValueRuleSet
build()
ConversionValueRuleSet
buildPartial()
ConversionValueRuleSet.Builder
clear()
ConversionValueRuleSet.Builder
clearAttachmentType()
Immutable.ConversionValueRuleSet.Builder
clearCampaign()
The resource name of the campaign when the conversion value rule set is attached to a campaign.ConversionValueRuleSet.Builder
clearConversionActionCategories()
Immutable.ConversionValueRuleSet.Builder
clearConversionValueRules()
Resource names of rules within the rule set.ConversionValueRuleSet.Builder
clearDimensions()
Defines dimensions for Value Rule conditions.ConversionValueRuleSet.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConversionValueRuleSet.Builder
clearId()
Output only.ConversionValueRuleSet.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConversionValueRuleSet.Builder
clearOwnerCustomer()
Output only.ConversionValueRuleSet.Builder
clearResourceName()
Immutable.ConversionValueRuleSet.Builder
clearStatus()
Output only.ConversionValueRuleSet.Builder
clone()
ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType
getAttachmentType()
Immutable.int
getAttachmentTypeValue()
Immutable.java.lang.String
getCampaign()
The resource name of the campaign when the conversion value rule set is attached to a campaign.com.google.protobuf.ByteString
getCampaignBytes()
The resource name of the campaign when the conversion value rule set is attached to a campaign.ConversionActionCategoryEnum.ConversionActionCategory
getConversionActionCategories(int index)
Immutable.int
getConversionActionCategoriesCount()
Immutable.java.util.List<ConversionActionCategoryEnum.ConversionActionCategory>
getConversionActionCategoriesList()
Immutable.int
getConversionActionCategoriesValue(int index)
Immutable.java.util.List<java.lang.Integer>
getConversionActionCategoriesValueList()
Immutable.java.lang.String
getConversionValueRules(int index)
Resource names of rules within the rule set.com.google.protobuf.ByteString
getConversionValueRulesBytes(int index)
Resource names of rules within the rule set.int
getConversionValueRulesCount()
Resource names of rules within the rule set.com.google.protobuf.ProtocolStringList
getConversionValueRulesList()
Resource names of rules within the rule set.ConversionValueRuleSet
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ValueRuleSetDimensionEnum.ValueRuleSetDimension
getDimensions(int index)
Defines dimensions for Value Rule conditions.int
getDimensionsCount()
Defines dimensions for Value Rule conditions.java.util.List<ValueRuleSetDimensionEnum.ValueRuleSetDimension>
getDimensionsList()
Defines dimensions for Value Rule conditions.int
getDimensionsValue(int index)
Defines dimensions for Value Rule conditions.java.util.List<java.lang.Integer>
getDimensionsValueList()
Defines dimensions for Value Rule conditions.long
getId()
Output only.java.lang.String
getOwnerCustomer()
Output only.com.google.protobuf.ByteString
getOwnerCustomerBytes()
Output only.java.lang.String
getResourceName()
Immutable.com.google.protobuf.ByteString
getResourceNameBytes()
Immutable.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus
getStatus()
Output only.int
getStatusValue()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ConversionValueRuleSet.Builder
mergeFrom(ConversionValueRuleSet other)
ConversionValueRuleSet.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConversionValueRuleSet.Builder
mergeFrom(com.google.protobuf.Message other)
ConversionValueRuleSet.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConversionValueRuleSet.Builder
setAttachmentType(ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType value)
Immutable.ConversionValueRuleSet.Builder
setAttachmentTypeValue(int value)
Immutable.ConversionValueRuleSet.Builder
setCampaign(java.lang.String value)
The resource name of the campaign when the conversion value rule set is attached to a campaign.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.ConversionValueRuleSet.Builder
setConversionActionCategories(int index, ConversionActionCategoryEnum.ConversionActionCategory value)
Immutable.ConversionValueRuleSet.Builder
setConversionActionCategoriesValue(int index, int value)
Immutable.ConversionValueRuleSet.Builder
setConversionValueRules(int index, java.lang.String value)
Resource names of rules within the rule set.ConversionValueRuleSet.Builder
setDimensions(int index, ValueRuleSetDimensionEnum.ValueRuleSetDimension value)
Defines dimensions for Value Rule conditions.ConversionValueRuleSet.Builder
setDimensionsValue(int index, int value)
Defines dimensions for Value Rule conditions.ConversionValueRuleSet.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ConversionValueRuleSet.Builder
setId(long value)
Output only.ConversionValueRuleSet.Builder
setOwnerCustomer(java.lang.String value)
Output only.ConversionValueRuleSet.Builder
setOwnerCustomerBytes(com.google.protobuf.ByteString value)
Output only.ConversionValueRuleSet.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ConversionValueRuleSet.Builder
setResourceName(java.lang.String value)
Immutable.ConversionValueRuleSet.Builder
setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable.ConversionValueRuleSet.Builder
setStatus(ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus value)
Output only.ConversionValueRuleSet.Builder
setStatusValue(int value)
Output only.ConversionValueRuleSet.Builder
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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
clear
public ConversionValueRuleSet.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
getDefaultInstanceForType
public ConversionValueRuleSet getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConversionValueRuleSet build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConversionValueRuleSet buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConversionValueRuleSet.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
setField
public ConversionValueRuleSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
clearField
public ConversionValueRuleSet.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
clearOneof
public ConversionValueRuleSet.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
addRepeatedField
public ConversionValueRuleSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
mergeFrom
public ConversionValueRuleSet.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConversionValueRuleSet.Builder>
-
mergeFrom
public ConversionValueRuleSet.Builder mergeFrom(ConversionValueRuleSet other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getResourceName
in 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:
getResourceNameBytes
in 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:
getId
in 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:
getConversionValueRulesList
in 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:
getConversionValueRulesCount
in 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:
getConversionValueRules
in 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:
getConversionValueRulesBytes
in 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.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
- Specified by:
getDimensionsList
in 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.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
- Specified by:
getDimensionsCount
in 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.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
- Specified by:
getDimensions
in 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.v14.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.v14.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.v14.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.v14.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.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
- Specified by:
getDimensionsValueList
in 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.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
- Specified by:
getDimensionsValue
in 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.v14.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for dimensions to set.- Returns:
- This builder for chaining.
-
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.v14.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.v14.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:
getOwnerCustomer
in 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:
getOwnerCustomerBytes
in 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.v14.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAttachmentTypeValue
in 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.v14.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.v14.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getAttachmentType
in 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.v14.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.v14.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:
getCampaign
in 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:
getCampaignBytes
in 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.v14.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatusValue
in 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.v14.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.v14.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStatus
in 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.v14.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.v14.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.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getConversionActionCategoriesList
in 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.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getConversionActionCategoriesCount
in 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.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getConversionActionCategories
in 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.v14.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.v14.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.v14.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.v14.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.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getConversionActionCategoriesValueList
in 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.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getConversionActionCategoriesValue
in 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.v14.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for conversionActionCategories to set.- Returns:
- This builder for chaining.
-
addConversionActionCategoriesValue
public ConversionValueRuleSet.Builder addConversionActionCategoriesValue(int value)
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v14.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.v14.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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
mergeUnknownFields
public final ConversionValueRuleSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
-