Class UserSegmentSequenceGroup

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

@Generated public final class UserSegmentSequenceGroup extends com.google.protobuf.GeneratedMessage implements UserSegmentSequenceGroupOrBuilder
 Define conditions that must occur in a specific order for the user to be
 a member of the segment.
 
Protobuf type google.analytics.data.v1alpha.UserSegmentSequenceGroup
See Also:
  • Field Details

    • SEQUENCE_SCOPING_FIELD_NUMBER

      public static final int SEQUENCE_SCOPING_FIELD_NUMBER
      See Also:
    • SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER

      public static final int SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER
      See Also:
    • USER_SEQUENCE_STEPS_FIELD_NUMBER

      public static final int USER_SEQUENCE_STEPS_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
    • getSequenceScopingValue

      public int getSequenceScopingValue()
       All sequence steps must be satisfied in the scoping for the user to
       match the sequence. For example if `sequenceScoping =
       USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within
       one session for the user to match the sequence. `sequenceScoping =
       USER_CRITERIA_WITHIN_SAME_EVENT` is not supported.
      
       Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is
       used.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1;
      Specified by:
      getSequenceScopingValue in interface UserSegmentSequenceGroupOrBuilder
      Returns:
      The enum numeric value on the wire for sequenceScoping.
    • getSequenceScoping

      public UserCriteriaScoping getSequenceScoping()
       All sequence steps must be satisfied in the scoping for the user to
       match the sequence. For example if `sequenceScoping =
       USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within
       one session for the user to match the sequence. `sequenceScoping =
       USER_CRITERIA_WITHIN_SAME_EVENT` is not supported.
      
       Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is
       used.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1;
      Specified by:
      getSequenceScoping in interface UserSegmentSequenceGroupOrBuilder
      Returns:
      The sequenceScoping.
    • hasSequenceMaximumDuration

      public boolean hasSequenceMaximumDuration()
       Defines the time period in which the whole sequence must occur; for
       example, 30 Minutes. `sequenceMaximumDuration` is inclusive
       of the endpoint at the microsecond granularity. For example a sequence
       with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
       seconds, but not 5 seconds and 1 microsecond.
      
       `sequenceMaximumDuration` is optional, and if unspecified, sequences can
       be completed in any time duration.
       
      .google.protobuf.Duration sequence_maximum_duration = 2;
      Specified by:
      hasSequenceMaximumDuration in interface UserSegmentSequenceGroupOrBuilder
      Returns:
      Whether the sequenceMaximumDuration field is set.
    • getSequenceMaximumDuration

      public com.google.protobuf.Duration getSequenceMaximumDuration()
       Defines the time period in which the whole sequence must occur; for
       example, 30 Minutes. `sequenceMaximumDuration` is inclusive
       of the endpoint at the microsecond granularity. For example a sequence
       with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
       seconds, but not 5 seconds and 1 microsecond.
      
       `sequenceMaximumDuration` is optional, and if unspecified, sequences can
       be completed in any time duration.
       
      .google.protobuf.Duration sequence_maximum_duration = 2;
      Specified by:
      getSequenceMaximumDuration in interface UserSegmentSequenceGroupOrBuilder
      Returns:
      The sequenceMaximumDuration.
    • getSequenceMaximumDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getSequenceMaximumDurationOrBuilder()
       Defines the time period in which the whole sequence must occur; for
       example, 30 Minutes. `sequenceMaximumDuration` is inclusive
       of the endpoint at the microsecond granularity. For example a sequence
       with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
       seconds, but not 5 seconds and 1 microsecond.
      
       `sequenceMaximumDuration` is optional, and if unspecified, sequences can
       be completed in any time duration.
       
      .google.protobuf.Duration sequence_maximum_duration = 2;
      Specified by:
      getSequenceMaximumDurationOrBuilder in interface UserSegmentSequenceGroupOrBuilder
    • getUserSequenceStepsList

      public List<UserSequenceStep> getUserSequenceStepsList()
       An ordered sequence of condition steps. A user's events must complete
       each step in order for the user to match the
       `UserSegmentSequenceGroup`.
       
      repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
      Specified by:
      getUserSequenceStepsList in interface UserSegmentSequenceGroupOrBuilder
    • getUserSequenceStepsOrBuilderList

      public List<? extends UserSequenceStepOrBuilder> getUserSequenceStepsOrBuilderList()
       An ordered sequence of condition steps. A user's events must complete
       each step in order for the user to match the
       `UserSegmentSequenceGroup`.
       
      repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
      Specified by:
      getUserSequenceStepsOrBuilderList in interface UserSegmentSequenceGroupOrBuilder
    • getUserSequenceStepsCount

      public int getUserSequenceStepsCount()
       An ordered sequence of condition steps. A user's events must complete
       each step in order for the user to match the
       `UserSegmentSequenceGroup`.
       
      repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
      Specified by:
      getUserSequenceStepsCount in interface UserSegmentSequenceGroupOrBuilder
    • getUserSequenceSteps

      public UserSequenceStep getUserSequenceSteps(int index)
       An ordered sequence of condition steps. A user's events must complete
       each step in order for the user to match the
       `UserSegmentSequenceGroup`.
       
      repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
      Specified by:
      getUserSequenceSteps in interface UserSegmentSequenceGroupOrBuilder
    • getUserSequenceStepsOrBuilder

      public UserSequenceStepOrBuilder getUserSequenceStepsOrBuilder(int index)
       An ordered sequence of condition steps. A user's events must complete
       each step in order for the user to match the
       `UserSegmentSequenceGroup`.
       
      repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
      Specified by:
      getUserSequenceStepsOrBuilder in interface UserSegmentSequenceGroupOrBuilder
    • 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 UserSegmentSequenceGroup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static UserSegmentSequenceGroup.Builder newBuilder()
    • newBuilder

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

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

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

      public static UserSegmentSequenceGroup getDefaultInstance()
    • parser

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

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