Class EventSegmentCriteria.Builder (0.15.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.data.v1alpha.EventSegmentConditionGroup>
Returns
TypeDescription
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
NameDescription
valueEventSegmentConditionGroup
Returns
TypeDescription
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
NameDescription
builderForValueEventSegmentConditionGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueEventSegmentConditionGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventSegmentConditionGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EventSegmentConditionGroup.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentCriteria.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides

build()

public EventSegmentCriteria build()
Returns
TypeDescription
EventSegmentCriteria

buildPartial()

public EventSegmentCriteria buildPartial()
Returns
TypeDescription
EventSegmentCriteria

clear()

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

clearField(Descriptors.FieldDescriptor field)

public EventSegmentCriteria.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EventSegmentCriteria.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides

clone()

public EventSegmentCriteria.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EventSegmentCriteria other)

public EventSegmentCriteria.Builder mergeFrom(EventSegmentCriteria other)
Parameter
NameDescription
otherEventSegmentCriteria
Returns
TypeDescription
EventSegmentCriteria.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventSegmentCriteria.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EventSegmentCriteria.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentCriteria.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueEventSegmentConditionGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueEventSegmentConditionGroup.Builder
Returns
TypeDescription
EventSegmentCriteria.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentCriteria.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides

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

public EventSegmentCriteria.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentCriteria.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventSegmentCriteria.Builder
Overrides