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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentExclusion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UserSegmentExclusion build()
Returns
buildPartial()
public UserSegmentExclusion buildPartial()
Returns
clear()
public UserSegmentExclusion.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UserSegmentExclusion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserSegmentExclusion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
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
clone()
public UserSegmentExclusion.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UserSegmentExclusion getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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
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
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UserSegmentExclusion other)
public UserSegmentExclusion.Builder mergeFrom(UserSegmentExclusion other)
Parameter
Returns
public UserSegmentExclusion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UserSegmentExclusion.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentExclusion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentExclusion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserSegmentExclusion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentExclusion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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
Returns
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
Returns
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.
|
Returns