Interface SessionSegmentExclusionOrBuilder (0.54.0)

public interface SessionSegmentExclusionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSessionExclusionCriteria()

public abstract SessionSegmentCriteria getSessionExclusionCriteria()

If a session meets this condition, the session is excluded from membership in the segment for the sessionExclusionDuration.

.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;

Returns
Type Description
SessionSegmentCriteria

The sessionExclusionCriteria.

getSessionExclusionCriteriaOrBuilder()

public abstract SessionSegmentCriteriaOrBuilder getSessionExclusionCriteriaOrBuilder()

If a session meets this condition, the session is excluded from membership in the segment for the sessionExclusionDuration.

.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;

Returns
Type Description
SessionSegmentCriteriaOrBuilder

getSessionExclusionDuration()

public abstract SessionExclusionDuration getSessionExclusionDuration()

Specifies how long an exclusion will last if a session matches the sessionExclusionCriteria.

Optional. If unspecified, a sessionExclusionDuration of SESSION_EXCLUSION_TEMPORARY is used.

.google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;

Returns
Type Description
SessionExclusionDuration

The sessionExclusionDuration.

getSessionExclusionDurationValue()

public abstract int getSessionExclusionDurationValue()

Specifies how long an exclusion will last if a session matches the sessionExclusionCriteria.

Optional. If unspecified, a sessionExclusionDuration of SESSION_EXCLUSION_TEMPORARY is used.

.google.analytics.data.v1alpha.SessionExclusionDuration session_exclusion_duration = 1;

Returns
Type Description
int

The enum numeric value on the wire for sessionExclusionDuration.

hasSessionExclusionCriteria()

public abstract boolean hasSessionExclusionCriteria()

If a session meets this condition, the session is excluded from membership in the segment for the sessionExclusionDuration.

.google.analytics.data.v1alpha.SessionSegmentCriteria session_exclusion_criteria = 2;

Returns
Type Description
boolean

Whether the sessionExclusionCriteria field is set.