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.v18.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,Cloneable
- Enclosing class:
- ConversionValueRuleSet
public static final class ConversionValueRuleSet.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
implements ConversionValueRuleSetOrBuilder
A conversion value rule setProtobuf type
google.ads.googleads.v18.resources.ConversionValueRuleSet-
Method Summary
Modifier and TypeMethodDescriptionaddAllConversionActionCategories(Iterable<? extends ConversionActionCategoryEnum.ConversionActionCategory> values) Immutable.Immutable.addAllConversionValueRules(Iterable<String> values) Resource names of rules within the rule set.addAllDimensions(Iterable<? extends ValueRuleSetDimensionEnum.ValueRuleSetDimension> values) Defines dimensions for Value Rule conditions.addAllDimensionsValue(Iterable<Integer> values) Defines dimensions for Value Rule conditions.Immutable.addConversionActionCategoriesValue(int value) Immutable.addConversionValueRules(String value) Resource names of rules within the rule set.addConversionValueRulesBytes(com.google.protobuf.ByteString value) Resource names of rules within the rule set.Defines dimensions for Value Rule conditions.addDimensionsValue(int value) Defines dimensions for Value Rule conditions.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Immutable.The resource name of the campaign when the conversion value rule set is attached to a campaign.Immutable.Resource names of rules within the rule set.Defines dimensions for Value Rule conditions.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Output only.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Output only.Immutable.Output only.clone()Immutable.intImmutable.The resource name of the campaign when the conversion value rule set is attached to a campaign.com.google.protobuf.ByteStringThe resource name of the campaign when the conversion value rule set is attached to a campaign.getConversionActionCategories(int index) Immutable.intImmutable.Immutable.intgetConversionActionCategoriesValue(int index) Immutable.Immutable.getConversionValueRules(int index) Resource names of rules within the rule set.com.google.protobuf.ByteStringgetConversionValueRulesBytes(int index) Resource names of rules within the rule set.intResource names of rules within the rule set.com.google.protobuf.ProtocolStringListResource names of rules within the rule set.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDimensions(int index) Defines dimensions for Value Rule conditions.intDefines dimensions for Value Rule conditions.Defines dimensions for Value Rule conditions.intgetDimensionsValue(int index) Defines dimensions for Value Rule conditions.Defines dimensions for Value Rule conditions.longgetId()Output only.Output only.com.google.protobuf.ByteStringOutput only.Immutable.com.google.protobuf.ByteStringImmutable.Output only.intOutput only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ConversionValueRuleSet other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Immutable.setAttachmentTypeValue(int value) Immutable.setCampaign(String value) The resource name of the campaign when the conversion value rule set is attached to a campaign.setCampaignBytes(com.google.protobuf.ByteString value) The resource name of the campaign when the conversion value rule set is attached to a campaign.setConversionActionCategories(int index, ConversionActionCategoryEnum.ConversionActionCategory value) Immutable.setConversionActionCategoriesValue(int index, int value) Immutable.setConversionValueRules(int index, String value) Resource names of rules within the rule set.setDimensions(int index, ValueRuleSetDimensionEnum.ValueRuleSetDimension value) Defines dimensions for Value Rule conditions.setDimensionsValue(int index, int value) Defines dimensions for Value Rule conditions.setId(long value) Output only.setOwnerCustomer(String value) Output only.setOwnerCustomerBytes(com.google.protobuf.ByteString value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.Output only.setStatusValue(int value) Output only.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConversionValueRuleSet.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConversionValueRuleSet.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
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
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
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
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
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
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
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
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
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
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
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.v18.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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Specified by:
getDimensionsCountin interfaceConversionValueRuleSetOrBuilder- Returns:
- The count of dimensions.
-
getDimensions
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.v18.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.v18.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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
value- The dimensions to add.- Returns:
- This builder for chaining.
-
addAllDimensions
public ConversionValueRuleSet.Builder addAllDimensions(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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
values- The dimensions to add.- Returns:
- This builder for chaining.
-
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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Returns:
- This builder for chaining.
-
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.v18.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.v18.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
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.v18.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
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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
value- The enum numeric value on the wire for dimensions to add.- Returns:
- This builder for chaining.
-
addAllDimensionsValue
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.v18.enums.ValueRuleSetDimensionEnum.ValueRuleSetDimension dimensions = 4;- Parameters:
values- The enum numeric values on the wire for dimensions to add.- Returns:
- This builder for chaining.
-
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
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
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
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.v18.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
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v18.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
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v18.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.v18.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The attachmentType to set.- Returns:
- This builder for chaining.
-
clearAttachmentType
Immutable. Defines the scope where the conversion value rule set is attached.
.google.ads.googleads.v18.enums.ValueRuleSetAttachmentTypeEnum.ValueRuleSetAttachmentType attachment_type = 6 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
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
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
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
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.v18.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
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v18.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
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v18.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.v18.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. The status of the conversion value rule set. ** Read-only **
.google.ads.googleads.v18.enums.ConversionValueRuleSetStatusEnum.ConversionValueRuleSetStatus status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getConversionActionCategoriesList
public List<ConversionActionCategoryEnum.ConversionActionCategory> getConversionActionCategoriesList()Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v18.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.v18.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.v18.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.v18.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.v18.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(Iterable<? extends ConversionActionCategoryEnum.ConversionActionCategory> values) Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v18.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Parameters:
values- The conversionActionCategories to add.- Returns:
- This builder for chaining.
-
clearConversionActionCategories
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v18.enums.ConversionActionCategoryEnum.ConversionActionCategory conversion_action_categories = 9 [(.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
getConversionActionCategoriesValueList
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v18.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.v18.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
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v18.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
Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v18.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(Iterable<Integer> values) Immutable. The conversion action categories of the conversion value rule set.
repeated .google.ads.googleads.v18.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>
-