Class EventSegmentCriteria (0.45.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static EventSegmentCriteria getDefaultInstance()
Returns
TypeDescription
EventSegmentCriteria

getDescriptor()

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

newBuilder()

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

newBuilder(EventSegmentCriteria prototype)

public static EventSegmentCriteria.Builder newBuilder(EventSegmentCriteria prototype)
Parameter
NameDescription
prototypeEventSegmentCriteria
Returns
TypeDescription
EventSegmentCriteria.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.data.v1alpha.EventSegmentConditionGroupOrBuilder>

getDefaultInstanceForType()

public EventSegmentCriteria getDefaultInstanceForType()
Returns
TypeDescription
EventSegmentCriteria

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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