Class UserSegmentConditionGroup

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

@Generated public final class UserSegmentConditionGroup extends com.google.protobuf.GeneratedMessage implements UserSegmentConditionGroupOrBuilder
 Conditions tell Analytics what data to include in or exclude from the
 segment.
 
Protobuf type google.analytics.data.v1alpha.UserSegmentConditionGroup
See Also:
  • Field Details

    • CONDITION_SCOPING_FIELD_NUMBER

      public static final int CONDITION_SCOPING_FIELD_NUMBER
      See Also:
    • SEGMENT_FILTER_EXPRESSION_FIELD_NUMBER

      public static final int SEGMENT_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
    • getConditionScopingValue

      public int getConditionScopingValue()
       Data is included or excluded from the segment based on if it matches
       the condition group. This scoping defines how many events the
       `segmentFilterExpression` is evaluated on before the condition group
       is determined to be matched or not. For example if `conditionScoping =
       USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all
       events in a session, and then, the condition group is determined to be
       matched or not for this user. For example if `conditionScoping =
       USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single
       event, and then, the condition group is determined to be matched or not for
       this user.
      
       Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is
       used.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping condition_scoping = 1;
      Specified by:
      getConditionScopingValue in interface UserSegmentConditionGroupOrBuilder
      Returns:
      The enum numeric value on the wire for conditionScoping.
    • getConditionScoping

      public UserCriteriaScoping getConditionScoping()
       Data is included or excluded from the segment based on if it matches
       the condition group. This scoping defines how many events the
       `segmentFilterExpression` is evaluated on before the condition group
       is determined to be matched or not. For example if `conditionScoping =
       USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all
       events in a session, and then, the condition group is determined to be
       matched or not for this user. For example if `conditionScoping =
       USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single
       event, and then, the condition group is determined to be matched or not for
       this user.
      
       Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is
       used.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping condition_scoping = 1;
      Specified by:
      getConditionScoping in interface UserSegmentConditionGroupOrBuilder
      Returns:
      The conditionScoping.
    • hasSegmentFilterExpression

      public boolean hasSegmentFilterExpression()
       Data is included or excluded from the segment based on if it matches
       this expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
      Specified by:
      hasSegmentFilterExpression in interface UserSegmentConditionGroupOrBuilder
      Returns:
      Whether the segmentFilterExpression field is set.
    • getSegmentFilterExpression

      public SegmentFilterExpression getSegmentFilterExpression()
       Data is included or excluded from the segment based on if it matches
       this expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
      Specified by:
      getSegmentFilterExpression in interface UserSegmentConditionGroupOrBuilder
      Returns:
      The segmentFilterExpression.
    • getSegmentFilterExpressionOrBuilder

      public SegmentFilterExpressionOrBuilder getSegmentFilterExpressionOrBuilder()
       Data is included or excluded from the segment based on if it matches
       this expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
      Specified by:
      getSegmentFilterExpressionOrBuilder in interface UserSegmentConditionGroupOrBuilder
    • 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 UserSegmentConditionGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UserSegmentConditionGroup.Builder newBuilder()
    • newBuilder

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

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static UserSegmentConditionGroup getDefaultInstance()
    • parser

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

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