Class EventSegmentCriteria (0.63.0)

public final class EventSegmentCriteria extends GeneratedMessageV3 implements EventSegmentCriteriaOrBuilder

An event matches a criteria if the event meet the conditions in the criteria.

Protobuf type google.analytics.data.v1alpha.EventSegmentCriteria

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 EventSegmentCriteria getDefaultInstance()
Returns
Type Description
EventSegmentCriteria

getDescriptor()

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

newBuilder()

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

newBuilder(EventSegmentCriteria prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAndConditionGroups(int index)

public EventSegmentConditionGroup getAndConditionGroups(int index)

An event matches this criteria if the event matches each of these andConditionGroups.

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

Parameter
Name Description
index int
Returns
Type Description
EventSegmentConditionGroup

getAndConditionGroupsCount()

public int getAndConditionGroupsCount()

An event matches this criteria if the event matches each of these andConditionGroups.

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

Returns
Type Description
int

getAndConditionGroupsList()

public List<EventSegmentConditionGroup> getAndConditionGroupsList()

An event matches this criteria if the event matches each of these andConditionGroups.

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

Returns
Type Description
List<EventSegmentConditionGroup>

getAndConditionGroupsOrBuilder(int index)

public EventSegmentConditionGroupOrBuilder getAndConditionGroupsOrBuilder(int index)

An event matches this criteria if the event matches each of these andConditionGroups.

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

Parameter
Name Description
index int
Returns
Type Description
EventSegmentConditionGroupOrBuilder

getAndConditionGroupsOrBuilderList()

public List<? extends EventSegmentConditionGroupOrBuilder> getAndConditionGroupsOrBuilderList()

An event matches this criteria if the event matches each of these andConditionGroups.

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

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

getDefaultInstanceForType()

public EventSegmentCriteria getDefaultInstanceForType()
Returns
Type Description
EventSegmentCriteria

getParserForType()

public Parser<EventSegmentCriteria> getParserForType()
Returns
Type Description
Parser<EventSegmentCriteria>
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 EventSegmentCriteria.Builder newBuilderForType()
Returns
Type Description
EventSegmentCriteria.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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