Interface UserSegmentExclusionOrBuilder (0.46.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the userExclusionCriteria field is set.