Class SessionSegmentCriteria (0.65.0)

public final class SessionSegmentCriteria extends GeneratedMessageV3 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 Fields

AND_CONDITION_GROUPS_FIELD_NUMBER

public static final int AND_CONDITION_GROUPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SessionSegmentCriteria getDefaultInstance()
Returns
Type Description
SessionSegmentCriteria

getDescriptor()

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

newBuilder()

public static SessionSegmentCriteria.Builder newBuilder()
Returns
Type Description
SessionSegmentCriteria.Builder

newBuilder(SessionSegmentCriteria prototype)

public static SessionSegmentCriteria.Builder newBuilder(SessionSegmentCriteria prototype)
Parameter
Name Description
prototype SessionSegmentCriteria
Returns
Type Description
SessionSegmentCriteria.Builder

parseDelimitedFrom(InputStream input)

public static SessionSegmentCriteria parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SessionSegmentCriteria parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SessionSegmentCriteria parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SessionSegmentCriteria parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SessionSegmentCriteria parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SessionSegmentCriteria parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SessionSegmentCriteria
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SessionSegmentCriteria> parser()
Returns
Type Description
Parser<SessionSegmentCriteria>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

getParserForType()

public Parser<SessionSegmentCriteria> getParserForType()
Returns
Type Description
Parser<SessionSegmentCriteria>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SessionSegmentCriteria.Builder newBuilderForType()
Returns
Type Description
SessionSegmentCriteria.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SessionSegmentCriteria.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SessionSegmentCriteria.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SessionSegmentCriteria.Builder toBuilder()
Returns
Type Description
SessionSegmentCriteria.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException