Class AudienceFilterExpression.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceFilterExpression build()
Returns
TypeDescription
AudienceFilterExpression

buildPartial()

public AudienceFilterExpression buildPartial()
Returns
TypeDescription
AudienceFilterExpression

clear()

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

clearExpr()

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

clearField(Descriptors.FieldDescriptor field)

public AudienceFilterExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
AudienceFilterExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AudienceFilterExpression.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AudienceFilterExpressionListOrBuilder

getDefaultInstanceForType()

public AudienceFilterExpression getDefaultInstanceForType()
Returns
TypeDescription
AudienceFilterExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AudienceEventFilterOrBuilder

getExprCase()

public AudienceFilterExpression.ExprCase getExprCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the orGroup field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpressionList
Returns
TypeDescription
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
NameDescription
valueAudienceDimensionOrMetricFilter
Returns
TypeDescription
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
NameDescription
valueAudienceEventFilter
Returns
TypeDescription
AudienceFilterExpression.Builder

mergeFrom(AudienceFilterExpression other)

public AudienceFilterExpression.Builder mergeFrom(AudienceFilterExpression other)
Parameter
NameDescription
otherAudienceFilterExpression
Returns
TypeDescription
AudienceFilterExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AudienceFilterExpression.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpression
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpressionList
Returns
TypeDescription
AudienceFilterExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceFilterExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpressionList
Returns
TypeDescription
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
NameDescription
builderForValueAudienceFilterExpressionList.Builder
Returns
TypeDescription
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
NameDescription
valueAudienceDimensionOrMetricFilter
Returns
TypeDescription
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
NameDescription
builderForValueAudienceDimensionOrMetricFilter.Builder
Returns
TypeDescription
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
NameDescription
valueAudienceEventFilter
Returns
TypeDescription
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
NameDescription
builderForValueAudienceEventFilter.Builder
Returns
TypeDescription
AudienceFilterExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AudienceFilterExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpression
Returns
TypeDescription
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
NameDescription
builderForValueAudienceFilterExpression.Builder
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpressionList
Returns
TypeDescription
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
NameDescription
builderForValueAudienceFilterExpressionList.Builder
Returns
TypeDescription
AudienceFilterExpression.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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