Class SessionSegmentCriteria.Builder (0.57.0)

public static final class SessionSegmentCriteria.Builder extends GeneratedMessageV3.Builder<SessionSegmentCriteria.Builder> implements SessionSegmentCriteriaOrBuilder

A session matches a criteria if the session's events meet the conditions in the criteria.

Protobuf type google.analytics.data.v1alpha.SessionSegmentCriteria

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAndConditionGroups(Iterable<? extends SessionSegmentConditionGroup> values)

public SessionSegmentCriteria.Builder addAllAndConditionGroups(Iterable<? extends SessionSegmentConditionGroup> values)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.SessionSegmentConditionGroup>
Returns
Type Description
SessionSegmentCriteria.Builder

addAndConditionGroups(SessionSegmentConditionGroup value)

public SessionSegmentCriteria.Builder addAndConditionGroups(SessionSegmentConditionGroup value)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
value SessionSegmentConditionGroup
Returns
Type Description
SessionSegmentCriteria.Builder

addAndConditionGroups(SessionSegmentConditionGroup.Builder builderForValue)

public SessionSegmentCriteria.Builder addAndConditionGroups(SessionSegmentConditionGroup.Builder builderForValue)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
builderForValue SessionSegmentConditionGroup.Builder
Returns
Type Description
SessionSegmentCriteria.Builder

addAndConditionGroups(int index, SessionSegmentConditionGroup value)

public SessionSegmentCriteria.Builder addAndConditionGroups(int index, SessionSegmentConditionGroup value)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameters
Name Description
index int
value SessionSegmentConditionGroup
Returns
Type Description
SessionSegmentCriteria.Builder

addAndConditionGroups(int index, SessionSegmentConditionGroup.Builder builderForValue)

public SessionSegmentCriteria.Builder addAndConditionGroups(int index, SessionSegmentConditionGroup.Builder builderForValue)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameters
Name Description
index int
builderForValue SessionSegmentConditionGroup.Builder
Returns
Type Description
SessionSegmentCriteria.Builder

addAndConditionGroupsBuilder()

public SessionSegmentConditionGroup.Builder addAndConditionGroupsBuilder()

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Returns
Type Description
SessionSegmentConditionGroup.Builder

addAndConditionGroupsBuilder(int index)

public SessionSegmentConditionGroup.Builder addAndConditionGroupsBuilder(int index)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionSegmentConditionGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SessionSegmentCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

build()

public SessionSegmentCriteria build()
Returns
Type Description
SessionSegmentCriteria

buildPartial()

public SessionSegmentCriteria buildPartial()
Returns
Type Description
SessionSegmentCriteria

clear()

public SessionSegmentCriteria.Builder clear()
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

clearAndConditionGroups()

public SessionSegmentCriteria.Builder clearAndConditionGroups()

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Returns
Type Description
SessionSegmentCriteria.Builder

clearField(Descriptors.FieldDescriptor field)

public SessionSegmentCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SessionSegmentCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

clone()

public SessionSegmentCriteria.Builder clone()
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

getAndConditionGroups(int index)

public SessionSegmentConditionGroup getAndConditionGroups(int index)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionSegmentConditionGroup

getAndConditionGroupsBuilder(int index)

public SessionSegmentConditionGroup.Builder getAndConditionGroupsBuilder(int index)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionSegmentConditionGroup.Builder

getAndConditionGroupsBuilderList()

public List<SessionSegmentConditionGroup.Builder> getAndConditionGroupsBuilderList()

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Returns
Type Description
List<Builder>

getAndConditionGroupsCount()

public int getAndConditionGroupsCount()

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Returns
Type Description
int

getAndConditionGroupsList()

public List<SessionSegmentConditionGroup> getAndConditionGroupsList()

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Returns
Type Description
List<SessionSegmentConditionGroup>

getAndConditionGroupsOrBuilder(int index)

public SessionSegmentConditionGroupOrBuilder getAndConditionGroupsOrBuilder(int index)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionSegmentConditionGroupOrBuilder

getAndConditionGroupsOrBuilderList()

public List<? extends SessionSegmentConditionGroupOrBuilder> getAndConditionGroupsOrBuilderList()

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.SessionSegmentConditionGroupOrBuilder>

getDefaultInstanceForType()

public SessionSegmentCriteria getDefaultInstanceForType()
Returns
Type Description
SessionSegmentCriteria

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SessionSegmentCriteria other)

public SessionSegmentCriteria.Builder mergeFrom(SessionSegmentCriteria other)
Parameter
Name Description
other SessionSegmentCriteria
Returns
Type Description
SessionSegmentCriteria.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SessionSegmentCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SessionSegmentCriteria.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SessionSegmentCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

removeAndConditionGroups(int index)

public SessionSegmentCriteria.Builder removeAndConditionGroups(int index)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SessionSegmentCriteria.Builder

setAndConditionGroups(int index, SessionSegmentConditionGroup value)

public SessionSegmentCriteria.Builder setAndConditionGroups(int index, SessionSegmentConditionGroup value)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameters
Name Description
index int
value SessionSegmentConditionGroup
Returns
Type Description
SessionSegmentCriteria.Builder

setAndConditionGroups(int index, SessionSegmentConditionGroup.Builder builderForValue)

public SessionSegmentCriteria.Builder setAndConditionGroups(int index, SessionSegmentConditionGroup.Builder builderForValue)

A session matches this criteria if the session matches each of these andConditionGroups.

repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;

Parameters
Name Description
index int
builderForValue SessionSegmentConditionGroup.Builder
Returns
Type Description
SessionSegmentCriteria.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SessionSegmentCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SessionSegmentCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SessionSegmentCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides