Class SegmentFilterExpression.Builder (0.48.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SegmentFilterExpression build()
Returns
TypeDescription
SegmentFilterExpression

buildPartial()

public SegmentFilterExpression buildPartial()
Returns
TypeDescription
SegmentFilterExpression

clear()

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

clearExpr()

public SegmentFilterExpression.Builder clearExpr()
Returns
TypeDescription
SegmentFilterExpression.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNotExpression()

public SegmentFilterExpression.Builder clearNotExpression()

The SegmentFilterExpression is NOT of notExpression.

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

Returns
TypeDescription
SegmentFilterExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SegmentFilterExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SegmentFilterExpression.Builder

clearSegmentFilter()

public SegmentFilterExpression.Builder clearSegmentFilter()

A primitive segment filter.

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

Returns
TypeDescription
SegmentFilterExpression.Builder

clone()

public SegmentFilterExpression.Builder clone()
Returns
TypeDescription
SegmentFilterExpression.Builder
Overrides

getAndGroup()

public SegmentFilterExpressionList getAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

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

Returns
TypeDescription
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
TypeDescription
SegmentFilterExpressionList.Builder

getAndGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getAndGroupOrBuilder()

The SegmentFilterExpression in andGroup have an AND relationship.

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

Returns
TypeDescription
SegmentFilterExpressionListOrBuilder

getDefaultInstanceForType()

public SegmentFilterExpression getDefaultInstanceForType()
Returns
TypeDescription
SegmentFilterExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExprCase()

public SegmentFilterExpression.ExprCase getExprCase()
Returns
TypeDescription
SegmentFilterExpression.ExprCase

getNotExpression()

public SegmentFilterExpression getNotExpression()

The SegmentFilterExpression is NOT of notExpression.

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

Returns
TypeDescription
SegmentFilterExpression

The notExpression.

getNotExpressionBuilder()

public SegmentFilterExpression.Builder getNotExpressionBuilder()

The SegmentFilterExpression is NOT of notExpression.

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

Returns
TypeDescription
SegmentFilterExpression.Builder

getNotExpressionOrBuilder()

public SegmentFilterExpressionOrBuilder getNotExpressionOrBuilder()

The SegmentFilterExpression is NOT of notExpression.

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

Returns
TypeDescription
SegmentFilterExpressionOrBuilder

getOrGroup()

public SegmentFilterExpressionList getOrGroup()

The SegmentFilterExpression in orGroup have an OR relationship.

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

Returns
TypeDescription
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
TypeDescription
SegmentFilterExpressionList.Builder

getOrGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getOrGroupOrBuilder()

The SegmentFilterExpression in orGroup have an OR relationship.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SegmentEventFilterOrBuilder

getSegmentFilter()

public SegmentFilter getSegmentFilter()

A primitive segment filter.

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

Returns
TypeDescription
SegmentFilter

The segmentFilter.

getSegmentFilterBuilder()

public SegmentFilter.Builder getSegmentFilterBuilder()

A primitive segment filter.

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

Returns
TypeDescription
SegmentFilter.Builder

getSegmentFilterOrBuilder()

public SegmentFilterOrBuilder getSegmentFilterOrBuilder()

A primitive segment filter.

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

Returns
TypeDescription
SegmentFilterOrBuilder

hasAndGroup()

public boolean hasAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the segmentEventFilter field is set.

hasSegmentFilter()

public boolean hasSegmentFilter()

A primitive segment filter.

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

Returns
TypeDescription
boolean

Whether the segmentFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpressionList
Returns
TypeDescription
SegmentFilterExpression.Builder

mergeFrom(SegmentFilterExpression other)

public SegmentFilterExpression.Builder mergeFrom(SegmentFilterExpression other)
Parameter
NameDescription
otherSegmentFilterExpression
Returns
TypeDescription
SegmentFilterExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SegmentFilterExpression.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpression
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpressionList
Returns
TypeDescription
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
NameDescription
valueSegmentEventFilter
Returns
TypeDescription
SegmentFilterExpression.Builder

mergeSegmentFilter(SegmentFilter value)

public SegmentFilterExpression.Builder mergeSegmentFilter(SegmentFilter value)

A primitive segment filter.

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

Parameter
NameDescription
valueSegmentFilter
Returns
TypeDescription
SegmentFilterExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SegmentFilterExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpressionList
Returns
TypeDescription
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
NameDescription
builderForValueSegmentFilterExpressionList.Builder
Returns
TypeDescription
SegmentFilterExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SegmentFilterExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpression
Returns
TypeDescription
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
NameDescription
builderForValueSegmentFilterExpression.Builder
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpressionList
Returns
TypeDescription
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
NameDescription
builderForValueSegmentFilterExpressionList.Builder
Returns
TypeDescription
SegmentFilterExpression.Builder

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

public SegmentFilterExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSegmentEventFilter
Returns
TypeDescription
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
NameDescription
builderForValueSegmentEventFilter.Builder
Returns
TypeDescription
SegmentFilterExpression.Builder

setSegmentFilter(SegmentFilter value)

public SegmentFilterExpression.Builder setSegmentFilter(SegmentFilter value)

A primitive segment filter.

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

Parameter
NameDescription
valueSegmentFilter
Returns
TypeDescription
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
NameDescription
builderForValueSegmentFilter.Builder
Returns
TypeDescription
SegmentFilterExpression.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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