Interface SessionSegmentExclusionOrBuilder (0.51.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sessionExclusionCriteria field is set.