Interface UserSegmentExclusionOrBuilder (0.65.0)

public interface UserSegmentExclusionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getUserExclusionCriteria()

public abstract UserSegmentCriteria getUserExclusionCriteria()

If a user meets this condition, the user is excluded from membership in the segment for the userExclusionDuration.

.google.analytics.data.v1alpha.UserSegmentCriteria user_exclusion_criteria = 2;

Returns
Type Description
UserSegmentCriteria

The userExclusionCriteria.

getUserExclusionCriteriaOrBuilder()

public abstract UserSegmentCriteriaOrBuilder getUserExclusionCriteriaOrBuilder()

If a user meets this condition, the user is excluded from membership in the segment for the userExclusionDuration.

.google.analytics.data.v1alpha.UserSegmentCriteria user_exclusion_criteria = 2;

Returns
Type Description
UserSegmentCriteriaOrBuilder

getUserExclusionDuration()

public abstract UserExclusionDuration getUserExclusionDuration()

Specifies how long an exclusion will last if a user matches the userExclusionCriteria.

Optional. If unspecified, userExclusionDuration of USER_EXCLUSION_TEMPORARY is used.

.google.analytics.data.v1alpha.UserExclusionDuration user_exclusion_duration = 1;

Returns
Type Description
UserExclusionDuration

The userExclusionDuration.

getUserExclusionDurationValue()

public abstract int getUserExclusionDurationValue()

Specifies how long an exclusion will last if a user matches the userExclusionCriteria.

Optional. If unspecified, userExclusionDuration of USER_EXCLUSION_TEMPORARY is used.

.google.analytics.data.v1alpha.UserExclusionDuration user_exclusion_duration = 1;

Returns
Type Description
int

The enum numeric value on the wire for userExclusionDuration.

hasUserExclusionCriteria()

public abstract boolean hasUserExclusionCriteria()

If a user meets this condition, the user is excluded from membership in the segment for the userExclusionDuration.

.google.analytics.data.v1alpha.UserSegmentCriteria user_exclusion_criteria = 2;

Returns
Type Description
boolean

Whether the userExclusionCriteria field is set.