Class SessionSegmentCriteria.Builder (0.43.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1alpha.SessionSegmentConditionGroup>
Returns
TypeDescription
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
NameDescription
valueSessionSegmentConditionGroup
Returns
TypeDescription
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
NameDescription
builderForValueSessionSegmentConditionGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSessionSegmentConditionGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSessionSegmentConditionGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SessionSegmentConditionGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SessionSegmentCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides

build()

public SessionSegmentCriteria build()
Returns
TypeDescription
SessionSegmentCriteria

buildPartial()

public SessionSegmentCriteria buildPartial()
Returns
TypeDescription
SessionSegmentCriteria

clear()

public SessionSegmentCriteria.Builder clear()
Returns
TypeDescription
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
TypeDescription
SessionSegmentCriteria.Builder

clearField(Descriptors.FieldDescriptor field)

public SessionSegmentCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SessionSegmentCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides

clone()

public SessionSegmentCriteria.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1alpha.SessionSegmentConditionGroupOrBuilder>

getDefaultInstanceForType()

public SessionSegmentCriteria getDefaultInstanceForType()
Returns
TypeDescription
SessionSegmentCriteria

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SessionSegmentCriteria other)

public SessionSegmentCriteria.Builder mergeFrom(SessionSegmentCriteria other)
Parameter
NameDescription
otherSessionSegmentCriteria
Returns
TypeDescription
SessionSegmentCriteria.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SessionSegmentCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SessionSegmentCriteria.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SessionSegmentCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueSessionSegmentConditionGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSessionSegmentConditionGroup.Builder
Returns
TypeDescription
SessionSegmentCriteria.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SessionSegmentCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides

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

public SessionSegmentCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SessionSegmentCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides