public static final class UserSegmentCriteria.Builder extends GeneratedMessageV3.Builder<UserSegmentCriteria.Builder> implements UserSegmentCriteriaOrBuilder
A user matches a criteria if the user's events meet the conditions in the
criteria.
Protobuf type google.analytics.data.v1alpha.UserSegmentCriteria
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
addAllAndConditionGroups(Iterable<? extends UserSegmentConditionGroup> values)
public UserSegmentCriteria.Builder addAllAndConditionGroups(Iterable<? extends UserSegmentConditionGroup> values)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.analytics.data.v1alpha.UserSegmentConditionGroup>
|
Returns
addAllAndSequenceGroups(Iterable<? extends UserSegmentSequenceGroup> values)
public UserSegmentCriteria.Builder addAllAndSequenceGroups(Iterable<? extends UserSegmentSequenceGroup> values)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.analytics.data.v1alpha.UserSegmentSequenceGroup>
|
Returns
addAndConditionGroups(UserSegmentConditionGroup value)
public UserSegmentCriteria.Builder addAndConditionGroups(UserSegmentConditionGroup value)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Returns
addAndConditionGroups(UserSegmentConditionGroup.Builder builderForValue)
public UserSegmentCriteria.Builder addAndConditionGroups(UserSegmentConditionGroup.Builder builderForValue)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Returns
addAndConditionGroups(int index, UserSegmentConditionGroup value)
public UserSegmentCriteria.Builder addAndConditionGroups(int index, UserSegmentConditionGroup value)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameters
Returns
addAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue)
public UserSegmentCriteria.Builder addAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameters
Returns
addAndConditionGroupsBuilder()
public UserSegmentConditionGroup.Builder addAndConditionGroupsBuilder()
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Returns
addAndConditionGroupsBuilder(int index)
public UserSegmentConditionGroup.Builder addAndConditionGroupsBuilder(int index)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Returns
addAndSequenceGroups(UserSegmentSequenceGroup value)
public UserSegmentCriteria.Builder addAndSequenceGroups(UserSegmentSequenceGroup value)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Returns
addAndSequenceGroups(UserSegmentSequenceGroup.Builder builderForValue)
public UserSegmentCriteria.Builder addAndSequenceGroups(UserSegmentSequenceGroup.Builder builderForValue)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Returns
addAndSequenceGroups(int index, UserSegmentSequenceGroup value)
public UserSegmentCriteria.Builder addAndSequenceGroups(int index, UserSegmentSequenceGroup value)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameters
Returns
addAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue)
public UserSegmentCriteria.Builder addAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameters
Returns
addAndSequenceGroupsBuilder()
public UserSegmentSequenceGroup.Builder addAndSequenceGroupsBuilder()
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Returns
addAndSequenceGroupsBuilder(int index)
public UserSegmentSequenceGroup.Builder addAndSequenceGroupsBuilder(int index)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UserSegmentCriteria build()
Returns
buildPartial()
public UserSegmentCriteria buildPartial()
Returns
clear()
public UserSegmentCriteria.Builder clear()
Returns
Overrides
clearAndConditionGroups()
public UserSegmentCriteria.Builder clearAndConditionGroups()
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Returns
clearAndSequenceGroups()
public UserSegmentCriteria.Builder clearAndSequenceGroups()
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public UserSegmentCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserSegmentCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public UserSegmentCriteria.Builder clone()
Returns
Overrides
getAndConditionGroups(int index)
public UserSegmentConditionGroup getAndConditionGroups(int index)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Returns
getAndConditionGroupsBuilder(int index)
public UserSegmentConditionGroup.Builder getAndConditionGroupsBuilder(int index)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Returns
getAndConditionGroupsBuilderList()
public List<UserSegmentConditionGroup.Builder> getAndConditionGroupsBuilderList()
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Returns
getAndConditionGroupsCount()
public int getAndConditionGroupsCount()
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Returns
getAndConditionGroupsList()
public List<UserSegmentConditionGroup> getAndConditionGroupsList()
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Returns
getAndConditionGroupsOrBuilder(int index)
public UserSegmentConditionGroupOrBuilder getAndConditionGroupsOrBuilder(int index)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Returns
getAndConditionGroupsOrBuilderList()
public List<? extends UserSegmentConditionGroupOrBuilder> getAndConditionGroupsOrBuilderList()
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Returns
Type | Description |
List<? extends com.google.analytics.data.v1alpha.UserSegmentConditionGroupOrBuilder> | |
getAndSequenceGroups(int index)
public UserSegmentSequenceGroup getAndSequenceGroups(int index)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Returns
getAndSequenceGroupsBuilder(int index)
public UserSegmentSequenceGroup.Builder getAndSequenceGroupsBuilder(int index)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Returns
getAndSequenceGroupsBuilderList()
public List<UserSegmentSequenceGroup.Builder> getAndSequenceGroupsBuilderList()
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Returns
getAndSequenceGroupsCount()
public int getAndSequenceGroupsCount()
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Returns
getAndSequenceGroupsList()
public List<UserSegmentSequenceGroup> getAndSequenceGroupsList()
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Returns
getAndSequenceGroupsOrBuilder(int index)
public UserSegmentSequenceGroupOrBuilder getAndSequenceGroupsOrBuilder(int index)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Returns
getAndSequenceGroupsOrBuilderList()
public List<? extends UserSegmentSequenceGroupOrBuilder> getAndSequenceGroupsOrBuilderList()
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Returns
Type | Description |
List<? extends com.google.analytics.data.v1alpha.UserSegmentSequenceGroupOrBuilder> | |
getDefaultInstanceForType()
public UserSegmentCriteria getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(UserSegmentCriteria other)
public UserSegmentCriteria.Builder mergeFrom(UserSegmentCriteria other)
Parameter
Returns
public UserSegmentCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UserSegmentCriteria.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeAndConditionGroups(int index)
public UserSegmentCriteria.Builder removeAndConditionGroups(int index)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameter
Returns
removeAndSequenceGroups(int index)
public UserSegmentCriteria.Builder removeAndSequenceGroups(int index)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameter
Returns
setAndConditionGroups(int index, UserSegmentConditionGroup value)
public UserSegmentCriteria.Builder setAndConditionGroups(int index, UserSegmentConditionGroup value)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameters
Returns
setAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue)
public UserSegmentCriteria.Builder setAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue)
A user matches this criteria if the user matches each of these
andConditionGroups
and each of the andSequenceGroups
.
andConditionGroups
may be empty if andSequenceGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;
Parameters
Returns
setAndSequenceGroups(int index, UserSegmentSequenceGroup value)
public UserSegmentCriteria.Builder setAndSequenceGroups(int index, UserSegmentSequenceGroup value)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameters
Returns
setAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue)
public UserSegmentCriteria.Builder setAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue)
A user matches this criteria if the user matches each of these
andSequenceGroups
and each of the andConditionGroups
.
andSequenceGroups
may be empty if andConditionGroups
are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserSegmentCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides