- 0.64.0 (latest)
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
public static final class EventEditRule.Builder extends GeneratedMessageV3.Builder<EventEditRule.Builder> implements EventEditRuleOrBuilder
An Event Edit Rule defines conditions that will trigger the creation of an entirely new event based upon matched criteria of a source event. Additional mutations of the parameters from the source event can be defined.
Unlike Event Create rules, Event Edit Rules are applied in their defined order.
Event Edit rules can't be used to modify an event created from an Event Create rule.
Protobuf type google.analytics.admin.v1alpha.EventEditRule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EventEditRule.BuilderImplements
EventEditRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllEventConditions(Iterable<? extends MatchingCondition> values)
public EventEditRule.Builder addAllEventConditions(Iterable<? extends MatchingCondition> values)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.analytics.admin.v1alpha.MatchingCondition> |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addAllParameterMutations(Iterable<? extends ParameterMutation> values)
public EventEditRule.Builder addAllParameterMutations(Iterable<? extends ParameterMutation> values)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.analytics.admin.v1alpha.ParameterMutation> |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addEventConditions(MatchingCondition value)
public EventEditRule.Builder addEventConditions(MatchingCondition value)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
MatchingCondition |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addEventConditions(MatchingCondition.Builder builderForValue)
public EventEditRule.Builder addEventConditions(MatchingCondition.Builder builderForValue)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
MatchingCondition.Builder |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addEventConditions(int index, MatchingCondition value)
public EventEditRule.Builder addEventConditions(int index, MatchingCondition value)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MatchingCondition |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addEventConditions(int index, MatchingCondition.Builder builderForValue)
public EventEditRule.Builder addEventConditions(int index, MatchingCondition.Builder builderForValue)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MatchingCondition.Builder |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addEventConditionsBuilder()
public MatchingCondition.Builder addEventConditionsBuilder()
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MatchingCondition.Builder |
addEventConditionsBuilder(int index)
public MatchingCondition.Builder addEventConditionsBuilder(int index)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MatchingCondition.Builder |
addParameterMutations(ParameterMutation value)
public EventEditRule.Builder addParameterMutations(ParameterMutation value)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ParameterMutation |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addParameterMutations(ParameterMutation.Builder builderForValue)
public EventEditRule.Builder addParameterMutations(ParameterMutation.Builder builderForValue)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ParameterMutation.Builder |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addParameterMutations(int index, ParameterMutation value)
public EventEditRule.Builder addParameterMutations(int index, ParameterMutation value)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ParameterMutation |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addParameterMutations(int index, ParameterMutation.Builder builderForValue)
public EventEditRule.Builder addParameterMutations(int index, ParameterMutation.Builder builderForValue)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ParameterMutation.Builder |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
addParameterMutationsBuilder()
public ParameterMutation.Builder addParameterMutationsBuilder()
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ParameterMutation.Builder |
addParameterMutationsBuilder(int index)
public ParameterMutation.Builder addParameterMutationsBuilder(int index)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterMutation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventEditRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
build()
public EventEditRule build()
Returns | |
---|---|
Type | Description |
EventEditRule |
buildPartial()
public EventEditRule buildPartial()
Returns | |
---|---|
Type | Description |
EventEditRule |
clear()
public EventEditRule.Builder clear()
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
clearDisplayName()
public EventEditRule.Builder clearDisplayName()
Required. The display name of this event edit rule. Maximum of 255 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
clearEventConditions()
public EventEditRule.Builder clearEventConditions()
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
clearField(Descriptors.FieldDescriptor field)
public EventEditRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
clearName()
public EventEditRule.Builder clearName()
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public EventEditRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
clearParameterMutations()
public EventEditRule.Builder clearParameterMutations()
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
clearProcessingOrder()
public EventEditRule.Builder clearProcessingOrder()
Output only. The order for which this rule will be processed. Rules with an order value lower than this will be processed before this rule, rules with an order value higher than this will be processed after this rule. New event edit rules will be assigned an order value at the end of the order.
This value does not apply to event create rules.
int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
clone()
public EventEditRule.Builder clone()
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
getDefaultInstanceForType()
public EventEditRule getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
EventEditRule |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Required. The display name of this event edit rule. Maximum of 255 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Required. The display name of this event edit rule. Maximum of 255 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getEventConditions(int index)
public MatchingCondition getEventConditions(int index)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MatchingCondition |
getEventConditionsBuilder(int index)
public MatchingCondition.Builder getEventConditionsBuilder(int index)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MatchingCondition.Builder |
getEventConditionsBuilderList()
public List<MatchingCondition.Builder> getEventConditionsBuilderList()
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getEventConditionsCount()
public int getEventConditionsCount()
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getEventConditionsList()
public List<MatchingCondition> getEventConditionsList()
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<MatchingCondition> |
getEventConditionsOrBuilder(int index)
public MatchingConditionOrBuilder getEventConditionsOrBuilder(int index)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MatchingConditionOrBuilder |
getEventConditionsOrBuilderList()
public List<? extends MatchingConditionOrBuilder> getEventConditionsOrBuilderList()
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.analytics.admin.v1alpha.MatchingConditionOrBuilder> |
getName()
public String getName()
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParameterMutations(int index)
public ParameterMutation getParameterMutations(int index)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterMutation |
getParameterMutationsBuilder(int index)
public ParameterMutation.Builder getParameterMutationsBuilder(int index)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterMutation.Builder |
getParameterMutationsBuilderList()
public List<ParameterMutation.Builder> getParameterMutationsBuilderList()
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getParameterMutationsCount()
public int getParameterMutationsCount()
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getParameterMutationsList()
public List<ParameterMutation> getParameterMutationsList()
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<ParameterMutation> |
getParameterMutationsOrBuilder(int index)
public ParameterMutationOrBuilder getParameterMutationsOrBuilder(int index)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterMutationOrBuilder |
getParameterMutationsOrBuilderList()
public List<? extends ParameterMutationOrBuilder> getParameterMutationsOrBuilderList()
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.analytics.admin.v1alpha.ParameterMutationOrBuilder> |
getProcessingOrder()
public long getProcessingOrder()
Output only. The order for which this rule will be processed. Rules with an order value lower than this will be processed before this rule, rules with an order value higher than this will be processed after this rule. New event edit rules will be assigned an order value at the end of the order.
This value does not apply to event create rules.
int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
long |
The processingOrder. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(EventEditRule other)
public EventEditRule.Builder mergeFrom(EventEditRule other)
Parameter | |
---|---|
Name | Description |
other |
EventEditRule |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public EventEditRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public EventEditRule.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventEditRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
removeEventConditions(int index)
public EventEditRule.Builder removeEventConditions(int index)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
removeParameterMutations(int index)
public EventEditRule.Builder removeParameterMutations(int index)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
setDisplayName(String value)
public EventEditRule.Builder setDisplayName(String value)
Required. The display name of this event edit rule. Maximum of 255 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public EventEditRule.Builder setDisplayNameBytes(ByteString value)
Required. The display name of this event edit rule. Maximum of 255 characters.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
setEventConditions(int index, MatchingCondition value)
public EventEditRule.Builder setEventConditions(int index, MatchingCondition value)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MatchingCondition |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
setEventConditions(int index, MatchingCondition.Builder builderForValue)
public EventEditRule.Builder setEventConditions(int index, MatchingCondition.Builder builderForValue)
Required. Conditions on the source event must match for this rule to be applied. Must have at least one condition, and can have up to 10 max.
repeated .google.analytics.admin.v1alpha.MatchingCondition event_conditions = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MatchingCondition.Builder |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public EventEditRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
setName(String value)
public EventEditRule.Builder setName(String value)
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public EventEditRule.Builder setNameBytes(ByteString value)
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{data_stream}/eventEditRules/{event_edit_rule}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
setParameterMutations(int index, ParameterMutation value)
public EventEditRule.Builder setParameterMutations(int index, ParameterMutation value)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ParameterMutation |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
setParameterMutations(int index, ParameterMutation.Builder builderForValue)
public EventEditRule.Builder setParameterMutations(int index, ParameterMutation.Builder builderForValue)
Required. Parameter mutations define parameter behavior on the new event, and are applied in order. A maximum of 20 mutations can be applied.
repeated .google.analytics.admin.v1alpha.ParameterMutation parameter_mutations = 4 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ParameterMutation.Builder |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
setProcessingOrder(long value)
public EventEditRule.Builder setProcessingOrder(long value)
Output only. The order for which this rule will be processed. Rules with an order value lower than this will be processed before this rule, rules with an order value higher than this will be processed after this rule. New event edit rules will be assigned an order value at the end of the order.
This value does not apply to event create rules.
int64 processing_order = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
long The processingOrder to set. |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventEditRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final EventEditRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
EventEditRule.Builder |