Class AudienceFilterExpression.Builder (0.59.0)

public static final class AudienceFilterExpression.Builder extends GeneratedMessageV3.Builder<AudienceFilterExpression.Builder> implements AudienceFilterExpressionOrBuilder

A logical expression of Audience dimension, metric, or event filters.

Protobuf type google.analytics.admin.v1alpha.AudienceFilterExpression

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceFilterExpression build()
Returns
Type Description
AudienceFilterExpression

buildPartial()

public AudienceFilterExpression buildPartial()
Returns
Type Description
AudienceFilterExpression

clear()

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

clearAndGroup()

public AudienceFilterExpression.Builder clearAndGroup()

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Returns
Type Description
AudienceFilterExpression.Builder

clearDimensionOrMetricFilter()

public AudienceFilterExpression.Builder clearDimensionOrMetricFilter()

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Returns
Type Description
AudienceFilterExpression.Builder

clearEventFilter()

public AudienceFilterExpression.Builder clearEventFilter()

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Returns
Type Description
AudienceFilterExpression.Builder

clearExpr()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNotExpression()

public AudienceFilterExpression.Builder clearNotExpression()

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

Returns
Type Description
AudienceFilterExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrGroup()

public AudienceFilterExpression.Builder clearOrGroup()

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Returns
Type Description
AudienceFilterExpression.Builder

clone()

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

getAndGroup()

public AudienceFilterExpressionList getAndGroup()

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Returns
Type Description
AudienceFilterExpressionList

The andGroup.

getAndGroupBuilder()

public AudienceFilterExpressionList.Builder getAndGroupBuilder()

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Returns
Type Description
AudienceFilterExpressionList.Builder

getAndGroupOrBuilder()

public AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder()

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Returns
Type Description
AudienceFilterExpressionListOrBuilder

getDefaultInstanceForType()

public AudienceFilterExpression getDefaultInstanceForType()
Returns
Type Description
AudienceFilterExpression

getDescriptorForType()

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

getDimensionOrMetricFilter()

public AudienceDimensionOrMetricFilter getDimensionOrMetricFilter()

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Returns
Type Description
AudienceDimensionOrMetricFilter

The dimensionOrMetricFilter.

getDimensionOrMetricFilterBuilder()

public AudienceDimensionOrMetricFilter.Builder getDimensionOrMetricFilterBuilder()

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Returns
Type Description
AudienceDimensionOrMetricFilter.Builder

getDimensionOrMetricFilterOrBuilder()

public AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder()

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Returns
Type Description
AudienceDimensionOrMetricFilterOrBuilder

getEventFilter()

public AudienceEventFilter getEventFilter()

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Returns
Type Description
AudienceEventFilter

The eventFilter.

getEventFilterBuilder()

public AudienceEventFilter.Builder getEventFilterBuilder()

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Returns
Type Description
AudienceEventFilter.Builder

getEventFilterOrBuilder()

public AudienceEventFilterOrBuilder getEventFilterOrBuilder()

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Returns
Type Description
AudienceEventFilterOrBuilder

getExprCase()

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

getNotExpression()

public AudienceFilterExpression getNotExpression()

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

Returns
Type Description
AudienceFilterExpression

The notExpression.

getNotExpressionBuilder()

public AudienceFilterExpression.Builder getNotExpressionBuilder()

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

Returns
Type Description
AudienceFilterExpression.Builder

getNotExpressionOrBuilder()

public AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder()

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

Returns
Type Description
AudienceFilterExpressionOrBuilder

getOrGroup()

public AudienceFilterExpressionList getOrGroup()

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Returns
Type Description
AudienceFilterExpressionList

The orGroup.

getOrGroupBuilder()

public AudienceFilterExpressionList.Builder getOrGroupBuilder()

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Returns
Type Description
AudienceFilterExpressionList.Builder

getOrGroupOrBuilder()

public AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder()

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Returns
Type Description
AudienceFilterExpressionListOrBuilder

hasAndGroup()

public boolean hasAndGroup()

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Returns
Type Description
boolean

Whether the andGroup field is set.

hasDimensionOrMetricFilter()

public boolean hasDimensionOrMetricFilter()

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Returns
Type Description
boolean

Whether the dimensionOrMetricFilter field is set.

hasEventFilter()

public boolean hasEventFilter()

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Returns
Type Description
boolean

Whether the eventFilter field is set.

hasNotExpression()

public boolean hasNotExpression()

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

Returns
Type Description
boolean

Whether the notExpression field is set.

hasOrGroup()

public boolean hasOrGroup()

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Returns
Type Description
boolean

Whether the orGroup field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAndGroup(AudienceFilterExpressionList value)

public AudienceFilterExpression.Builder mergeAndGroup(AudienceFilterExpressionList value)

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Parameter
Name Description
value AudienceFilterExpressionList
Returns
Type Description
AudienceFilterExpression.Builder

mergeDimensionOrMetricFilter(AudienceDimensionOrMetricFilter value)

public AudienceFilterExpression.Builder mergeDimensionOrMetricFilter(AudienceDimensionOrMetricFilter value)

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Parameter
Name Description
value AudienceDimensionOrMetricFilter
Returns
Type Description
AudienceFilterExpression.Builder

mergeEventFilter(AudienceEventFilter value)

public AudienceFilterExpression.Builder mergeEventFilter(AudienceEventFilter value)

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Parameter
Name Description
value AudienceEventFilter
Returns
Type Description
AudienceFilterExpression.Builder

mergeFrom(AudienceFilterExpression other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotExpression(AudienceFilterExpression value)

public AudienceFilterExpression.Builder mergeNotExpression(AudienceFilterExpression value)

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

Parameter
Name Description
value AudienceFilterExpression
Returns
Type Description
AudienceFilterExpression.Builder

mergeOrGroup(AudienceFilterExpressionList value)

public AudienceFilterExpression.Builder mergeOrGroup(AudienceFilterExpressionList value)

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Parameter
Name Description
value AudienceFilterExpressionList
Returns
Type Description
AudienceFilterExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAndGroup(AudienceFilterExpressionList value)

public AudienceFilterExpression.Builder setAndGroup(AudienceFilterExpressionList value)

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Parameter
Name Description
value AudienceFilterExpressionList
Returns
Type Description
AudienceFilterExpression.Builder

setAndGroup(AudienceFilterExpressionList.Builder builderForValue)

public AudienceFilterExpression.Builder setAndGroup(AudienceFilterExpressionList.Builder builderForValue)

A list of expressions to be AND’ed together. It can only contain AudienceFilterExpressions with or_group. This must be set for the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;

Parameter
Name Description
builderForValue AudienceFilterExpressionList.Builder
Returns
Type Description
AudienceFilterExpression.Builder

setDimensionOrMetricFilter(AudienceDimensionOrMetricFilter value)

public AudienceFilterExpression.Builder setDimensionOrMetricFilter(AudienceDimensionOrMetricFilter value)

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Parameter
Name Description
value AudienceDimensionOrMetricFilter
Returns
Type Description
AudienceFilterExpression.Builder

setDimensionOrMetricFilter(AudienceDimensionOrMetricFilter.Builder builderForValue)

public AudienceFilterExpression.Builder setDimensionOrMetricFilter(AudienceDimensionOrMetricFilter.Builder builderForValue)

A filter on a single dimension or metric. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;

Parameter
Name Description
builderForValue AudienceDimensionOrMetricFilter.Builder
Returns
Type Description
AudienceFilterExpression.Builder

setEventFilter(AudienceEventFilter value)

public AudienceFilterExpression.Builder setEventFilter(AudienceEventFilter value)

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Parameter
Name Description
value AudienceEventFilter
Returns
Type Description
AudienceFilterExpression.Builder

setEventFilter(AudienceEventFilter.Builder builderForValue)

public AudienceFilterExpression.Builder setEventFilter(AudienceEventFilter.Builder builderForValue)

Creates a filter that matches a specific event. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;

Parameter
Name Description
builderForValue AudienceEventFilter.Builder
Returns
Type Description
AudienceFilterExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotExpression(AudienceFilterExpression value)

public AudienceFilterExpression.Builder setNotExpression(AudienceFilterExpression value)

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

Parameter
Name Description
value AudienceFilterExpression
Returns
Type Description
AudienceFilterExpression.Builder

setNotExpression(AudienceFilterExpression.Builder builderForValue)

public AudienceFilterExpression.Builder setNotExpression(AudienceFilterExpression.Builder builderForValue)

A filter expression to be NOT'ed (For example, inverted, complemented). It can only include a dimension_or_metric_filter. This cannot be set on the top level AudienceFilterExpression.

.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;

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

setOrGroup(AudienceFilterExpressionList value)

public AudienceFilterExpression.Builder setOrGroup(AudienceFilterExpressionList value)

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Parameter
Name Description
value AudienceFilterExpressionList
Returns
Type Description
AudienceFilterExpression.Builder

setOrGroup(AudienceFilterExpressionList.Builder builderForValue)

public AudienceFilterExpression.Builder setOrGroup(AudienceFilterExpressionList.Builder builderForValue)

A list of expressions to OR’ed together. It cannot contain AudienceFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;

Parameter
Name Description
builderForValue AudienceFilterExpressionList.Builder
Returns
Type Description
AudienceFilterExpression.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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