Class EventEditRule

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.EventEditRule
All Implemented Interfaces:
EventEditRuleOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class EventEditRule extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • EVENT_CONDITIONS_FIELD_NUMBER

      public static final int EVENT_CONDITIONS_FIELD_NUMBER
      See Also:
    • PARAMETER_MUTATIONS_FIELD_NUMBER

      public static final int PARAMETER_MUTATIONS_FIELD_NUMBER
      See Also:
    • PROCESSING_ORDER_FIELD_NUMBER

      public static final int PROCESSING_ORDER_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getName in interface EventEditRuleOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.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];
      Specified by:
      getNameBytes in interface EventEditRuleOrBuilder
      Returns:
      The bytes for name.
    • 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];
      Specified by:
      getDisplayName in interface EventEditRuleOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Required. The display name of this event edit rule. Maximum of 255
       characters.
       
      string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDisplayNameBytes in interface EventEditRuleOrBuilder
      Returns:
      The bytes for displayName.
    • 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];
      Specified by:
      getEventConditionsList in interface EventEditRuleOrBuilder
    • 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];
      Specified by:
      getEventConditionsOrBuilderList in interface EventEditRuleOrBuilder
    • 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];
      Specified by:
      getEventConditionsCount in interface EventEditRuleOrBuilder
    • getEventConditions

      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];
      Specified by:
      getEventConditions in interface EventEditRuleOrBuilder
    • getEventConditionsOrBuilder

      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];
      Specified by:
      getEventConditionsOrBuilder in interface EventEditRuleOrBuilder
    • 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];
      Specified by:
      getParameterMutationsList in interface EventEditRuleOrBuilder
    • 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];
      Specified by:
      getParameterMutationsOrBuilderList in interface EventEditRuleOrBuilder
    • 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];
      Specified by:
      getParameterMutationsCount in interface EventEditRuleOrBuilder
    • getParameterMutations

      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];
      Specified by:
      getParameterMutations in interface EventEditRuleOrBuilder
    • getParameterMutationsOrBuilder

      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];
      Specified by:
      getParameterMutationsOrBuilder in interface EventEditRuleOrBuilder
    • 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];
      Specified by:
      getProcessingOrder in interface EventEditRuleOrBuilder
      Returns:
      The processingOrder.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static EventEditRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventEditRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventEditRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventEditRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventEditRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventEditRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static EventEditRule parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventEditRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventEditRule parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static EventEditRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventEditRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static EventEditRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public EventEditRule.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static EventEditRule.Builder newBuilder()
    • newBuilder

      public static EventEditRule.Builder newBuilder(EventEditRule prototype)
    • toBuilder

      public EventEditRule.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected EventEditRule.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static EventEditRule getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<EventEditRule> parser()
    • getParserForType

      public com.google.protobuf.Parser<EventEditRule> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public EventEditRule getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder