public static final class UserSegmentExclusion.Builder extends GeneratedMessageV3.Builder<UserSegmentExclusion.Builder> implements UserSegmentExclusionOrBuilder
Specifies which users are excluded in this segment.
Protobuf type google.analytics.data.v1alpha.UserSegmentExclusion
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentExclusion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UserSegmentExclusion build()
buildPartial()
public UserSegmentExclusion buildPartial()
clear()
public UserSegmentExclusion.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UserSegmentExclusion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserSegmentExclusion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
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;
clone()
public UserSegmentExclusion.Builder clone()
Overrides
getDefaultInstanceForType()
public UserSegmentExclusion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UserSegmentExclusion other)
public UserSegmentExclusion.Builder mergeFrom(UserSegmentExclusion other)
public UserSegmentExclusion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UserSegmentExclusion.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentExclusion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
setField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentExclusion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserSegmentExclusion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentExclusion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
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;
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;
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 | int
The enum numeric value on the wire for userExclusionDuration to set.
|