public static final class UserSegmentExclusion.Builder extends GeneratedMessage.Builder<UserSegmentExclusion.Builder> implements UserSegmentExclusionOrBuilderSpecifies which users are excluded in this segment.
Protobuf type google.analytics.data.v1alpha.UserSegmentExclusion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UserSegmentExclusion.BuilderImplements
UserSegmentExclusionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UserSegmentExclusion build()| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion |
|
buildPartial()
public UserSegmentExclusion buildPartial()| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion |
|
clear()
public UserSegmentExclusion.Builder clear()| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
|
clearUserExclusionCriteria()
public UserSegmentExclusion.Builder clearUserExclusionCriteria() 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 |
UserSegmentExclusion.Builder |
|
clearUserExclusionDuration()
public UserSegmentExclusion.Builder clearUserExclusionDuration() 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 |
UserSegmentExclusion.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public UserSegmentExclusion getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUserExclusionCriteria()
public 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. |
getUserExclusionCriteriaBuilder()
public UserSegmentCriteria.Builder getUserExclusionCriteriaBuilder() 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.Builder |
|
getUserExclusionCriteriaOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(UserSegmentExclusion other)
public UserSegmentExclusion.Builder mergeFrom(UserSegmentExclusion other)| Parameter | |
|---|---|
| Name | Description |
other |
UserSegmentExclusion |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserSegmentExclusion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UserSegmentExclusion.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
|
mergeUserExclusionCriteria(UserSegmentCriteria value)
public UserSegmentExclusion.Builder mergeUserExclusionCriteria(UserSegmentCriteria value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
UserSegmentCriteria |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
|
setUserExclusionCriteria(UserSegmentCriteria value)
public UserSegmentExclusion.Builder setUserExclusionCriteria(UserSegmentCriteria value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
UserSegmentCriteria |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
|
setUserExclusionCriteria(UserSegmentCriteria.Builder builderForValue)
public UserSegmentExclusion.Builder setUserExclusionCriteria(UserSegmentCriteria.Builder builderForValue) 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
UserSegmentCriteria.Builder |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
|
setUserExclusionDuration(UserExclusionDuration value)
public UserSegmentExclusion.Builder setUserExclusionDuration(UserExclusionDuration value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
UserExclusionDurationThe userExclusionDuration to set. |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
This builder for chaining. |
setUserExclusionDurationValue(int value)
public UserSegmentExclusion.Builder setUserExclusionDurationValue(int value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for userExclusionDuration to set. |
| Returns | |
|---|---|
| Type | Description |
UserSegmentExclusion.Builder |
This builder for chaining. |