Interface UserSegmentConditionGroupOrBuilder (0.57.0)

public interface UserSegmentConditionGroupOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConditionScoping()

public abstract 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;

Returns
Type Description
UserCriteriaScoping

The conditionScoping.

getConditionScopingValue()

public abstract 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;

Returns
Type Description
int

The enum numeric value on the wire for conditionScoping.

getSegmentFilterExpression()

public abstract 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;

Returns
Type Description
SegmentFilterExpression

The segmentFilterExpression.

getSegmentFilterExpressionOrBuilder()

public abstract 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;

Returns
Type Description
SegmentFilterExpressionOrBuilder

hasSegmentFilterExpression()

public abstract 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;

Returns
Type Description
boolean

Whether the segmentFilterExpression field is set.