Class AudienceEventFilter

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

@Generated public final class AudienceEventFilter extends com.google.protobuf.GeneratedMessage implements AudienceEventFilterOrBuilder
 A filter that matches events of a single event name. If an event parameter
 is specified, only the subset of events that match both the single event name
 and the parameter filter expressions match this event filter.
 
Protobuf type google.analytics.admin.v1alpha.AudienceEventFilter
See Also:
  • Field Details

    • EVENT_NAME_FIELD_NUMBER

      public static final int EVENT_NAME_FIELD_NUMBER
      See Also:
    • EVENT_PARAMETER_FILTER_EXPRESSION_FIELD_NUMBER

      public static final int EVENT_PARAMETER_FILTER_EXPRESSION_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
    • getEventName

      public String getEventName()
       Required. Immutable. The name of the event to match against.
       
      string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getEventName in interface AudienceEventFilterOrBuilder
      Returns:
      The eventName.
    • getEventNameBytes

      public com.google.protobuf.ByteString getEventNameBytes()
       Required. Immutable. The name of the event to match against.
       
      string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getEventNameBytes in interface AudienceEventFilterOrBuilder
      Returns:
      The bytes for eventName.
    • hasEventParameterFilterExpression

      public boolean hasEventParameterFilterExpression()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEventParameterFilterExpression in interface AudienceEventFilterOrBuilder
      Returns:
      Whether the eventParameterFilterExpression field is set.
    • getEventParameterFilterExpression

      public AudienceFilterExpression getEventParameterFilterExpression()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventParameterFilterExpression in interface AudienceEventFilterOrBuilder
      Returns:
      The eventParameterFilterExpression.
    • getEventParameterFilterExpressionOrBuilder

      public AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventParameterFilterExpressionOrBuilder in interface AudienceEventFilterOrBuilder
    • 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 AudienceEventFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AudienceEventFilter.Builder newBuilder()
    • newBuilder

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

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

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

      public static AudienceEventFilter getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AudienceEventFilter> 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 AudienceEventFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder