Class UserSegmentCriteria (0.24.0)

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

Static Fields

AND_CONDITION_GROUPS_FIELD_NUMBER

public static final int AND_CONDITION_GROUPS_FIELD_NUMBER
Field Value
TypeDescription
int

AND_SEQUENCE_GROUPS_FIELD_NUMBER

public static final int AND_SEQUENCE_GROUPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UserSegmentCriteria getDefaultInstance()
Returns
TypeDescription
UserSegmentCriteria

getDescriptor()

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

newBuilder()

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

newBuilder(UserSegmentCriteria prototype)

public static UserSegmentCriteria.Builder newBuilder(UserSegmentCriteria prototype)
Parameter
NameDescription
prototypeUserSegmentCriteria
Returns
TypeDescription
UserSegmentCriteria.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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
TypeDescription
int

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
TypeDescription
List<UserSegmentConditionGroup>

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
NameDescription
indexint
Returns
TypeDescription
UserSegmentConditionGroupOrBuilder

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
UserSegmentSequenceGroup

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
TypeDescription
int

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
TypeDescription
List<UserSegmentSequenceGroup>

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
NameDescription
indexint
Returns
TypeDescription
UserSegmentSequenceGroupOrBuilder

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
TypeDescription
List<? extends com.google.analytics.data.v1alpha.UserSegmentSequenceGroupOrBuilder>

getDefaultInstanceForType()

public UserSegmentCriteria getDefaultInstanceForType()
Returns
TypeDescription
UserSegmentCriteria

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 UserSegmentCriteria.Builder newBuilderForType()
Returns
TypeDescription
UserSegmentCriteria.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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