Class SegmentFilterExpression.Builder (0.64.0)

public static final class SegmentFilterExpression.Builder extends GeneratedMessageV3.Builder<SegmentFilterExpression.Builder> implements SegmentFilterExpressionOrBuilder

Expresses combinations of segment filters.

Protobuf type google.analytics.data.v1alpha.SegmentFilterExpression

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SegmentFilterExpression build()
Returns
Type Description
SegmentFilterExpression

buildPartial()

public SegmentFilterExpression buildPartial()
Returns
Type Description
SegmentFilterExpression

clear()

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

clearAndGroup()

public SegmentFilterExpression.Builder clearAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Returns
Type Description
SegmentFilterExpression.Builder

clearExpr()

public SegmentFilterExpression.Builder clearExpr()
Returns
Type Description
SegmentFilterExpression.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNotExpression()

public SegmentFilterExpression.Builder clearNotExpression()

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Returns
Type Description
SegmentFilterExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrGroup()

public SegmentFilterExpression.Builder clearOrGroup()

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Returns
Type Description
SegmentFilterExpression.Builder

clearSegmentEventFilter()

public SegmentFilterExpression.Builder clearSegmentEventFilter()

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Returns
Type Description
SegmentFilterExpression.Builder

clearSegmentFilter()

public SegmentFilterExpression.Builder clearSegmentFilter()

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Returns
Type Description
SegmentFilterExpression.Builder

clone()

public SegmentFilterExpression.Builder clone()
Returns
Type Description
SegmentFilterExpression.Builder
Overrides

getAndGroup()

public SegmentFilterExpressionList getAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Returns
Type Description
SegmentFilterExpressionList

The andGroup.

getAndGroupBuilder()

public SegmentFilterExpressionList.Builder getAndGroupBuilder()

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Returns
Type Description
SegmentFilterExpressionList.Builder

getAndGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getAndGroupOrBuilder()

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Returns
Type Description
SegmentFilterExpressionListOrBuilder

getDefaultInstanceForType()

public SegmentFilterExpression getDefaultInstanceForType()
Returns
Type Description
SegmentFilterExpression

getDescriptorForType()

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

getExprCase()

public SegmentFilterExpression.ExprCase getExprCase()
Returns
Type Description
SegmentFilterExpression.ExprCase

getNotExpression()

public SegmentFilterExpression getNotExpression()

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Returns
Type Description
SegmentFilterExpression

The notExpression.

getNotExpressionBuilder()

public SegmentFilterExpression.Builder getNotExpressionBuilder()

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Returns
Type Description
SegmentFilterExpression.Builder

getNotExpressionOrBuilder()

public SegmentFilterExpressionOrBuilder getNotExpressionOrBuilder()

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Returns
Type Description
SegmentFilterExpressionOrBuilder

getOrGroup()

public SegmentFilterExpressionList getOrGroup()

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Returns
Type Description
SegmentFilterExpressionList

The orGroup.

getOrGroupBuilder()

public SegmentFilterExpressionList.Builder getOrGroupBuilder()

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Returns
Type Description
SegmentFilterExpressionList.Builder

getOrGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getOrGroupOrBuilder()

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Returns
Type Description
SegmentFilterExpressionListOrBuilder

getSegmentEventFilter()

public SegmentEventFilter getSegmentEventFilter()

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Returns
Type Description
SegmentEventFilter

The segmentEventFilter.

getSegmentEventFilterBuilder()

public SegmentEventFilter.Builder getSegmentEventFilterBuilder()

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Returns
Type Description
SegmentEventFilter.Builder

getSegmentEventFilterOrBuilder()

public SegmentEventFilterOrBuilder getSegmentEventFilterOrBuilder()

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Returns
Type Description
SegmentEventFilterOrBuilder

getSegmentFilter()

public SegmentFilter getSegmentFilter()

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Returns
Type Description
SegmentFilter

The segmentFilter.

getSegmentFilterBuilder()

public SegmentFilter.Builder getSegmentFilterBuilder()

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Returns
Type Description
SegmentFilter.Builder

getSegmentFilterOrBuilder()

public SegmentFilterOrBuilder getSegmentFilterOrBuilder()

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Returns
Type Description
SegmentFilterOrBuilder

hasAndGroup()

public boolean hasAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Returns
Type Description
boolean

Whether the andGroup field is set.

hasNotExpression()

public boolean hasNotExpression()

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Returns
Type Description
boolean

Whether the notExpression field is set.

hasOrGroup()

public boolean hasOrGroup()

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Returns
Type Description
boolean

Whether the orGroup field is set.

hasSegmentEventFilter()

public boolean hasSegmentEventFilter()

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Returns
Type Description
boolean

Whether the segmentEventFilter field is set.

hasSegmentFilter()

public boolean hasSegmentFilter()

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Returns
Type Description
boolean

Whether the segmentFilter field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAndGroup(SegmentFilterExpressionList value)

public SegmentFilterExpression.Builder mergeAndGroup(SegmentFilterExpressionList value)

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Parameter
Name Description
value SegmentFilterExpressionList
Returns
Type Description
SegmentFilterExpression.Builder

mergeFrom(SegmentFilterExpression other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotExpression(SegmentFilterExpression value)

public SegmentFilterExpression.Builder mergeNotExpression(SegmentFilterExpression value)

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Parameter
Name Description
value SegmentFilterExpression
Returns
Type Description
SegmentFilterExpression.Builder

mergeOrGroup(SegmentFilterExpressionList value)

public SegmentFilterExpression.Builder mergeOrGroup(SegmentFilterExpressionList value)

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Parameter
Name Description
value SegmentFilterExpressionList
Returns
Type Description
SegmentFilterExpression.Builder

mergeSegmentEventFilter(SegmentEventFilter value)

public SegmentFilterExpression.Builder mergeSegmentEventFilter(SegmentEventFilter value)

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Parameter
Name Description
value SegmentEventFilter
Returns
Type Description
SegmentFilterExpression.Builder

mergeSegmentFilter(SegmentFilter value)

public SegmentFilterExpression.Builder mergeSegmentFilter(SegmentFilter value)

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Parameter
Name Description
value SegmentFilter
Returns
Type Description
SegmentFilterExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAndGroup(SegmentFilterExpressionList value)

public SegmentFilterExpression.Builder setAndGroup(SegmentFilterExpressionList value)

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Parameter
Name Description
value SegmentFilterExpressionList
Returns
Type Description
SegmentFilterExpression.Builder

setAndGroup(SegmentFilterExpressionList.Builder builderForValue)

public SegmentFilterExpression.Builder setAndGroup(SegmentFilterExpressionList.Builder builderForValue)

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Parameter
Name Description
builderForValue SegmentFilterExpressionList.Builder
Returns
Type Description
SegmentFilterExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotExpression(SegmentFilterExpression value)

public SegmentFilterExpression.Builder setNotExpression(SegmentFilterExpression value)

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Parameter
Name Description
value SegmentFilterExpression
Returns
Type Description
SegmentFilterExpression.Builder

setNotExpression(SegmentFilterExpression.Builder builderForValue)

public SegmentFilterExpression.Builder setNotExpression(SegmentFilterExpression.Builder builderForValue)

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Parameter
Name Description
builderForValue SegmentFilterExpression.Builder
Returns
Type Description
SegmentFilterExpression.Builder

setOrGroup(SegmentFilterExpressionList value)

public SegmentFilterExpression.Builder setOrGroup(SegmentFilterExpressionList value)

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Parameter
Name Description
value SegmentFilterExpressionList
Returns
Type Description
SegmentFilterExpression.Builder

setOrGroup(SegmentFilterExpressionList.Builder builderForValue)

public SegmentFilterExpression.Builder setOrGroup(SegmentFilterExpressionList.Builder builderForValue)

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Parameter
Name Description
builderForValue SegmentFilterExpressionList.Builder
Returns
Type Description
SegmentFilterExpression.Builder

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

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

setSegmentEventFilter(SegmentEventFilter value)

public SegmentFilterExpression.Builder setSegmentEventFilter(SegmentEventFilter value)

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Parameter
Name Description
value SegmentEventFilter
Returns
Type Description
SegmentFilterExpression.Builder

setSegmentEventFilter(SegmentEventFilter.Builder builderForValue)

public SegmentFilterExpression.Builder setSegmentEventFilter(SegmentEventFilter.Builder builderForValue)

Creates a filter that matches events of a single event name. If a parameter filter expression is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;

Parameter
Name Description
builderForValue SegmentEventFilter.Builder
Returns
Type Description
SegmentFilterExpression.Builder

setSegmentFilter(SegmentFilter value)

public SegmentFilterExpression.Builder setSegmentFilter(SegmentFilter value)

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Parameter
Name Description
value SegmentFilter
Returns
Type Description
SegmentFilterExpression.Builder

setSegmentFilter(SegmentFilter.Builder builderForValue)

public SegmentFilterExpression.Builder setSegmentFilter(SegmentFilter.Builder builderForValue)

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Parameter
Name Description
builderForValue SegmentFilter.Builder
Returns
Type Description
SegmentFilterExpression.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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