Class SegmentFilterExpression

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.SegmentFilterExpression
All Implemented Interfaces:
SegmentFilterExpressionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SegmentFilterExpression extends com.google.protobuf.GeneratedMessage implements SegmentFilterExpressionOrBuilder
 Expresses combinations of segment filters.
 
Protobuf type google.analytics.data.v1alpha.SegmentFilterExpression
See Also:
  • Field Details

    • AND_GROUP_FIELD_NUMBER

      public static final int AND_GROUP_FIELD_NUMBER
      See Also:
    • OR_GROUP_FIELD_NUMBER

      public static final int OR_GROUP_FIELD_NUMBER
      See Also:
    • NOT_EXPRESSION_FIELD_NUMBER

      public static final int NOT_EXPRESSION_FIELD_NUMBER
      See Also:
    • SEGMENT_FILTER_FIELD_NUMBER

      public static final int SEGMENT_FILTER_FIELD_NUMBER
      See Also:
    • SEGMENT_EVENT_FILTER_FIELD_NUMBER

      public static final int SEGMENT_EVENT_FILTER_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
    • getExprCase

      public SegmentFilterExpression.ExprCase getExprCase()
      Specified by:
      getExprCase in interface SegmentFilterExpressionOrBuilder
    • hasAndGroup

      public boolean hasAndGroup()
       The SegmentFilterExpression in `andGroup` have an AND relationship.
       
      .google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
      Specified by:
      hasAndGroup in interface SegmentFilterExpressionOrBuilder
      Returns:
      Whether the andGroup field is set.
    • getAndGroup

      public SegmentFilterExpressionList getAndGroup()
       The SegmentFilterExpression in `andGroup` have an AND relationship.
       
      .google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
      Specified by:
      getAndGroup in interface SegmentFilterExpressionOrBuilder
      Returns:
      The andGroup.
    • getAndGroupOrBuilder

      public SegmentFilterExpressionListOrBuilder getAndGroupOrBuilder()
       The SegmentFilterExpression in `andGroup` have an AND relationship.
       
      .google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
      Specified by:
      getAndGroupOrBuilder in interface SegmentFilterExpressionOrBuilder
    • hasOrGroup

      public boolean hasOrGroup()
       The SegmentFilterExpression in `orGroup` have an OR relationship.
       
      .google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
      Specified by:
      hasOrGroup in interface SegmentFilterExpressionOrBuilder
      Returns:
      Whether the orGroup field is set.
    • getOrGroup

      public SegmentFilterExpressionList getOrGroup()
       The SegmentFilterExpression in `orGroup` have an OR relationship.
       
      .google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
      Specified by:
      getOrGroup in interface SegmentFilterExpressionOrBuilder
      Returns:
      The orGroup.
    • getOrGroupOrBuilder

      public SegmentFilterExpressionListOrBuilder getOrGroupOrBuilder()
       The SegmentFilterExpression in `orGroup` have an OR relationship.
       
      .google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
      Specified by:
      getOrGroupOrBuilder in interface SegmentFilterExpressionOrBuilder
    • hasNotExpression

      public boolean hasNotExpression()
       The SegmentFilterExpression is NOT of `notExpression`.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
      Specified by:
      hasNotExpression in interface SegmentFilterExpressionOrBuilder
      Returns:
      Whether the notExpression field is set.
    • getNotExpression

      public SegmentFilterExpression getNotExpression()
       The SegmentFilterExpression is NOT of `notExpression`.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
      Specified by:
      getNotExpression in interface SegmentFilterExpressionOrBuilder
      Returns:
      The notExpression.
    • getNotExpressionOrBuilder

      public SegmentFilterExpressionOrBuilder getNotExpressionOrBuilder()
       The SegmentFilterExpression is NOT of `notExpression`.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
      Specified by:
      getNotExpressionOrBuilder in interface SegmentFilterExpressionOrBuilder
    • hasSegmentFilter

      public boolean hasSegmentFilter()
       A primitive segment filter.
       
      .google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
      Specified by:
      hasSegmentFilter in interface SegmentFilterExpressionOrBuilder
      Returns:
      Whether the segmentFilter field is set.
    • getSegmentFilter

      public SegmentFilter getSegmentFilter()
       A primitive segment filter.
       
      .google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
      Specified by:
      getSegmentFilter in interface SegmentFilterExpressionOrBuilder
      Returns:
      The segmentFilter.
    • getSegmentFilterOrBuilder

      public SegmentFilterOrBuilder getSegmentFilterOrBuilder()
       A primitive segment filter.
       
      .google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
      Specified by:
      getSegmentFilterOrBuilder in interface SegmentFilterExpressionOrBuilder
    • hasSegmentEventFilter

      public boolean hasSegmentEventFilter()
       Creates a filter that matches events of a single event name. If a
       parameter filter expression is specified, only the subset of events that
       match both the single event name and the parameter filter expressions
       match this event filter.
       
      .google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;
      Specified by:
      hasSegmentEventFilter in interface SegmentFilterExpressionOrBuilder
      Returns:
      Whether the segmentEventFilter field is set.
    • getSegmentEventFilter

      public SegmentEventFilter getSegmentEventFilter()
       Creates a filter that matches events of a single event name. If a
       parameter filter expression is specified, only the subset of events that
       match both the single event name and the parameter filter expressions
       match this event filter.
       
      .google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;
      Specified by:
      getSegmentEventFilter in interface SegmentFilterExpressionOrBuilder
      Returns:
      The segmentEventFilter.
    • getSegmentEventFilterOrBuilder

      public SegmentEventFilterOrBuilder getSegmentEventFilterOrBuilder()
       Creates a filter that matches events of a single event name. If a
       parameter filter expression is specified, only the subset of events that
       match both the single event name and the parameter filter expressions
       match this event filter.
       
      .google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;
      Specified by:
      getSegmentEventFilterOrBuilder in interface SegmentFilterExpressionOrBuilder
    • 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 SegmentFilterExpression parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SegmentFilterExpression.Builder newBuilder()
    • newBuilder

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

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

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

      public static SegmentFilterExpression getDefaultInstance()
    • parser

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

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