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 Summary
Modifier and TypeMethodDescriptionbuild()clear()If true, the event satisfying this step must be the very next event after the event satifying the last step.A user matches this sequence step if their events match this expression.This sequence step must be satisfied in the scoping for the user to match the sequence.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf true, the event satisfying this step must be the very next event after the event satifying the last step.A user matches this sequence step if their events match this expression.A user matches this sequence step if their events match this expression.A user matches this sequence step if their events match this expression.This sequence step must be satisfied in the scoping for the user to match the sequence.intThis sequence step must be satisfied in the scoping for the user to match the sequence.booleanA user matches this sequence step if their events match this expression.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UserSequenceStep other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A user matches this sequence step if their events match this expression.setIsDirectlyFollowedBy(boolean value) If true, the event satisfying this step must be the very next event after the event satifying the last step.A user matches this sequence step if their events match this expression.setSegmentFilterExpression(SegmentFilterExpression.Builder builderForValue) A user matches this sequence step if their events match this expression.This sequence step must be satisfied in the scoping for the user to match the sequence.setStepScopingValue(int value) This sequence step must be satisfied in the scoping for the user to match the sequence.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UserSequenceStep.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserSequenceStep.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getIsDirectlyFollowedByin interfaceUserSequenceStepOrBuilder- Returns:
- The isDirectlyFollowedBy.
-
setIsDirectlyFollowedBy
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
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:
getStepScopingValuein interfaceUserSequenceStepOrBuilder- Returns:
- The enum numeric value on the wire for stepScoping.
-
setStepScopingValue
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
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:
getStepScopingin interfaceUserSequenceStepOrBuilder- Returns:
- The stepScoping.
-
setStepScoping
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
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:
hasSegmentFilterExpressionin interfaceUserSequenceStepOrBuilder- Returns:
- Whether the segmentFilterExpression field is set.
-
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:
getSegmentFilterExpressionin interfaceUserSequenceStepOrBuilder- Returns:
- The segmentFilterExpression.
-
setSegmentFilterExpression
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
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
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
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
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:
getSegmentFilterExpressionOrBuilderin interfaceUserSequenceStepOrBuilder
-