Class UserSequenceStep.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder>
com.google.analytics.data.v1alpha.UserSequenceStep.Builder
All Implemented Interfaces:
UserSequenceStepOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UserSequenceStep

public static final class UserSequenceStep.Builder extends com.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder> implements UserSequenceStepOrBuilder
 A condition that must occur in the specified step order for this user
 to match the sequence.
 
Protobuf type google.analytics.data.v1alpha.UserSequenceStep
  • 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.Builder<UserSequenceStep.Builder>
    • clear

      public UserSequenceStep.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder>
    • getDefaultInstanceForType

      public UserSequenceStep getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UserSequenceStep build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UserSequenceStep buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UserSequenceStep.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserSequenceStep.Builder>
    • mergeFrom

      public UserSequenceStep.Builder mergeFrom(UserSequenceStep other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder>
    • mergeFrom

      public UserSequenceStep.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UserSequenceStep.Builder>
      Throws:
      IOException
    • getIsDirectlyFollowedBy

      public boolean getIsDirectlyFollowedBy()
       If true, the event satisfying this step must be the very next event
       after the event satifying the last step. If false, this step indirectly
       follows the prior step; for example, there may be events between the
       prior step and this step. `isDirectlyFollowedBy` must be false for
       the first step.
       
      bool is_directly_followed_by = 1;
      Specified by:
      getIsDirectlyFollowedBy in interface UserSequenceStepOrBuilder
      Returns:
      The isDirectlyFollowedBy.
    • setIsDirectlyFollowedBy

      public UserSequenceStep.Builder setIsDirectlyFollowedBy(boolean value)
       If true, the event satisfying this step must be the very next event
       after the event satifying the last step. If false, this step indirectly
       follows the prior step; for example, there may be events between the
       prior step and this step. `isDirectlyFollowedBy` must be false for
       the first step.
       
      bool is_directly_followed_by = 1;
      Parameters:
      value - The isDirectlyFollowedBy to set.
      Returns:
      This builder for chaining.
    • clearIsDirectlyFollowedBy

      public UserSequenceStep.Builder clearIsDirectlyFollowedBy()
       If true, the event satisfying this step must be the very next event
       after the event satifying the last step. If false, this step indirectly
       follows the prior step; for example, there may be events between the
       prior step and this step. `isDirectlyFollowedBy` must be false for
       the first step.
       
      bool is_directly_followed_by = 1;
      Returns:
      This builder for chaining.
    • getStepScopingValue

      public int getStepScopingValue()
       This sequence step must be satisfied in the scoping for the user to
       match the sequence. For example if `sequenceScoping =
       WITHIN_SAME_SESSION`, this sequence steps must complete within one
       session for the user to match the sequence. `stepScoping =
       ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping =
       ACROSS_ALL_SESSIONS`.
      
       Optional. If unspecified, `stepScoping` uses the same
       `UserCriteriaScoping` as the `sequenceScoping`.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2;
      Specified by:
      getStepScopingValue in interface UserSequenceStepOrBuilder
      Returns:
      The enum numeric value on the wire for stepScoping.
    • setStepScopingValue

      public UserSequenceStep.Builder setStepScopingValue(int value)
       This sequence step must be satisfied in the scoping for the user to
       match the sequence. For example if `sequenceScoping =
       WITHIN_SAME_SESSION`, this sequence steps must complete within one
       session for the user to match the sequence. `stepScoping =
       ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping =
       ACROSS_ALL_SESSIONS`.
      
       Optional. If unspecified, `stepScoping` uses the same
       `UserCriteriaScoping` as the `sequenceScoping`.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2;
      Parameters:
      value - The enum numeric value on the wire for stepScoping to set.
      Returns:
      This builder for chaining.
    • getStepScoping

      public UserCriteriaScoping getStepScoping()
       This sequence step must be satisfied in the scoping for the user to
       match the sequence. For example if `sequenceScoping =
       WITHIN_SAME_SESSION`, this sequence steps must complete within one
       session for the user to match the sequence. `stepScoping =
       ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping =
       ACROSS_ALL_SESSIONS`.
      
       Optional. If unspecified, `stepScoping` uses the same
       `UserCriteriaScoping` as the `sequenceScoping`.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2;
      Specified by:
      getStepScoping in interface UserSequenceStepOrBuilder
      Returns:
      The stepScoping.
    • setStepScoping

      public UserSequenceStep.Builder setStepScoping(UserCriteriaScoping value)
       This sequence step must be satisfied in the scoping for the user to
       match the sequence. For example if `sequenceScoping =
       WITHIN_SAME_SESSION`, this sequence steps must complete within one
       session for the user to match the sequence. `stepScoping =
       ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping =
       ACROSS_ALL_SESSIONS`.
      
       Optional. If unspecified, `stepScoping` uses the same
       `UserCriteriaScoping` as the `sequenceScoping`.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2;
      Parameters:
      value - The stepScoping to set.
      Returns:
      This builder for chaining.
    • clearStepScoping

      public UserSequenceStep.Builder clearStepScoping()
       This sequence step must be satisfied in the scoping for the user to
       match the sequence. For example if `sequenceScoping =
       WITHIN_SAME_SESSION`, this sequence steps must complete within one
       session for the user to match the sequence. `stepScoping =
       ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping =
       ACROSS_ALL_SESSIONS`.
      
       Optional. If unspecified, `stepScoping` uses the same
       `UserCriteriaScoping` as the `sequenceScoping`.
       
      .google.analytics.data.v1alpha.UserCriteriaScoping step_scoping = 2;
      Returns:
      This builder for chaining.
    • hasSegmentFilterExpression

      public boolean hasSegmentFilterExpression()
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
      Specified by:
      hasSegmentFilterExpression in interface UserSequenceStepOrBuilder
      Returns:
      Whether the segmentFilterExpression field is set.
    • getSegmentFilterExpression

      public SegmentFilterExpression getSegmentFilterExpression()
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
      Specified by:
      getSegmentFilterExpression in interface UserSequenceStepOrBuilder
      Returns:
      The segmentFilterExpression.
    • setSegmentFilterExpression

      public UserSequenceStep.Builder setSegmentFilterExpression(SegmentFilterExpression value)
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
    • setSegmentFilterExpression

      public UserSequenceStep.Builder setSegmentFilterExpression(SegmentFilterExpression.Builder builderForValue)
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
    • mergeSegmentFilterExpression

      public UserSequenceStep.Builder mergeSegmentFilterExpression(SegmentFilterExpression value)
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
    • clearSegmentFilterExpression

      public UserSequenceStep.Builder clearSegmentFilterExpression()
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
    • getSegmentFilterExpressionBuilder

      public SegmentFilterExpression.Builder getSegmentFilterExpressionBuilder()
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
    • getSegmentFilterExpressionOrBuilder

      public SegmentFilterExpressionOrBuilder getSegmentFilterExpressionOrBuilder()
       A user matches this sequence step if their events match this
       expression. Expressions express criteria on dimension, metrics,
       and/or parameters.
       
      .google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 3;
      Specified by:
      getSegmentFilterExpressionOrBuilder in interface UserSequenceStepOrBuilder