Class EventSegmentCriteria.Builder (0.63.0)

public static final class EventSegmentCriteria.Builder extends GeneratedMessageV3.Builder<EventSegmentCriteria.Builder> implements EventSegmentCriteriaOrBuilder

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

Protobuf type google.analytics.data.v1alpha.EventSegmentCriteria

Static Methods

getDescriptor()

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

Methods

addAllAndConditionGroups(Iterable<? extends EventSegmentConditionGroup> values)

public EventSegmentCriteria.Builder addAllAndConditionGroups(Iterable<? extends EventSegmentConditionGroup> values)

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
values Iterable<? extends com.google.analytics.data.v1alpha.EventSegmentConditionGroup>
Returns
Type Description
EventSegmentCriteria.Builder

addAndConditionGroups(EventSegmentConditionGroup value)

public EventSegmentCriteria.Builder addAndConditionGroups(EventSegmentConditionGroup value)

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
value EventSegmentConditionGroup
Returns
Type Description
EventSegmentCriteria.Builder

addAndConditionGroups(EventSegmentConditionGroup.Builder builderForValue)

public EventSegmentCriteria.Builder addAndConditionGroups(EventSegmentConditionGroup.Builder builderForValue)

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
builderForValue EventSegmentConditionGroup.Builder
Returns
Type Description
EventSegmentCriteria.Builder

addAndConditionGroups(int index, EventSegmentConditionGroup value)

public EventSegmentCriteria.Builder addAndConditionGroups(int index, EventSegmentConditionGroup value)

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

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

Parameters
Name Description
index int
value EventSegmentConditionGroup
Returns
Type Description
EventSegmentCriteria.Builder

addAndConditionGroups(int index, EventSegmentConditionGroup.Builder builderForValue)

public EventSegmentCriteria.Builder addAndConditionGroups(int index, EventSegmentConditionGroup.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue EventSegmentConditionGroup.Builder
Returns
Type Description
EventSegmentCriteria.Builder

addAndConditionGroupsBuilder()

public EventSegmentConditionGroup.Builder addAndConditionGroupsBuilder()

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
EventSegmentConditionGroup.Builder

addAndConditionGroupsBuilder(int index)

public EventSegmentConditionGroup.Builder addAndConditionGroupsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

build()

public EventSegmentCriteria build()
Returns
Type Description
EventSegmentCriteria

buildPartial()

public EventSegmentCriteria buildPartial()
Returns
Type Description
EventSegmentCriteria

clear()

public EventSegmentCriteria.Builder clear()
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

clearAndConditionGroups()

public EventSegmentCriteria.Builder clearAndConditionGroups()

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
EventSegmentCriteria.Builder

clearField(Descriptors.FieldDescriptor field)

public EventSegmentCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EventSegmentCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

clone()

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

getAndConditionGroupsBuilder(int index)

public EventSegmentConditionGroup.Builder getAndConditionGroupsBuilder(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.Builder

getAndConditionGroupsBuilderList()

public List<EventSegmentConditionGroup.Builder> getAndConditionGroupsBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EventSegmentCriteria other)

public EventSegmentCriteria.Builder mergeFrom(EventSegmentCriteria other)
Parameter
Name Description
other EventSegmentCriteria
Returns
Type Description
EventSegmentCriteria.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventSegmentCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventSegmentCriteria.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EventSegmentCriteria.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

removeAndConditionGroups(int index)

public EventSegmentCriteria.Builder removeAndConditionGroups(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
EventSegmentCriteria.Builder

setAndConditionGroups(int index, EventSegmentConditionGroup value)

public EventSegmentCriteria.Builder setAndConditionGroups(int index, EventSegmentConditionGroup value)

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

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

Parameters
Name Description
index int
value EventSegmentConditionGroup
Returns
Type Description
EventSegmentCriteria.Builder

setAndConditionGroups(int index, EventSegmentConditionGroup.Builder builderForValue)

public EventSegmentCriteria.Builder setAndConditionGroups(int index, EventSegmentConditionGroup.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue EventSegmentConditionGroup.Builder
Returns
Type Description
EventSegmentCriteria.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EventSegmentCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EventSegmentCriteria.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventSegmentCriteria.Builder
Overrides