Class SessionSegmentCriteria (0.52.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SessionSegmentCriteria getDefaultInstance()
Returns
TypeDescription
SessionSegmentCriteria

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SessionSegmentCriteria.Builder newBuilder()
Returns
TypeDescription
SessionSegmentCriteria.Builder

newBuilder(SessionSegmentCriteria prototype)

public static SessionSegmentCriteria.Builder newBuilder(SessionSegmentCriteria prototype)
Parameter
NameDescription
prototypeSessionSegmentCriteria
Returns
TypeDescription
SessionSegmentCriteria.Builder

parseDelimitedFrom(InputStream input)

public static SessionSegmentCriteria parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SessionSegmentCriteria parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SessionSegmentCriteria parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SessionSegmentCriteria parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SessionSegmentCriteria parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SessionSegmentCriteria parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SessionSegmentCriteria parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SessionSegmentCriteria
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SessionSegmentCriteria> parser()
Returns
TypeDescription
Parser<SessionSegmentCriteria>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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

getParserForType()

public Parser<SessionSegmentCriteria> getParserForType()
Returns
TypeDescription
Parser<SessionSegmentCriteria>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SessionSegmentCriteria.Builder newBuilderForType()
Returns
TypeDescription
SessionSegmentCriteria.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SessionSegmentCriteria.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SessionSegmentCriteria.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SessionSegmentCriteria.Builder toBuilder()
Returns
TypeDescription
SessionSegmentCriteria.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException