Class AccessFilterExpression.Builder (0.62.0)

public static final class AccessFilterExpression.Builder extends GeneratedMessageV3.Builder<AccessFilterExpression.Builder> implements AccessFilterExpressionOrBuilder

Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.

Protobuf type google.analytics.admin.v1alpha.AccessFilterExpression

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessFilterExpression build()
Returns
Type Description
AccessFilterExpression

buildPartial()

public AccessFilterExpression buildPartial()
Returns
Type Description
AccessFilterExpression

clear()

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

clearAccessFilter()

public AccessFilterExpression.Builder clearAccessFilter()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Returns
Type Description
AccessFilterExpression.Builder

clearAndGroup()

public AccessFilterExpression.Builder clearAndGroup()

Each of the FilterExpressions in the and_group has an AND relationship.

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

Returns
Type Description
AccessFilterExpression.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNotExpression()

public AccessFilterExpression.Builder clearNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
Type Description
AccessFilterExpression.Builder

clearOneExpression()

public AccessFilterExpression.Builder clearOneExpression()
Returns
Type Description
AccessFilterExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrGroup()

public AccessFilterExpression.Builder clearOrGroup()

Each of the FilterExpressions in the or_group has an OR relationship.

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

Returns
Type Description
AccessFilterExpression.Builder

clone()

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

getAccessFilter()

public AccessFilter getAccessFilter()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Returns
Type Description
AccessFilter

The accessFilter.

getAccessFilterBuilder()

public AccessFilter.Builder getAccessFilterBuilder()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Returns
Type Description
AccessFilter.Builder

getAccessFilterOrBuilder()

public AccessFilterOrBuilder getAccessFilterOrBuilder()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Returns
Type Description
AccessFilterOrBuilder

getAndGroup()

public AccessFilterExpressionList getAndGroup()

Each of the FilterExpressions in the and_group has an AND relationship.

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

Returns
Type Description
AccessFilterExpressionList

The andGroup.

getAndGroupBuilder()

public AccessFilterExpressionList.Builder getAndGroupBuilder()

Each of the FilterExpressions in the and_group has an AND relationship.

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

Returns
Type Description
AccessFilterExpressionList.Builder

getAndGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getAndGroupOrBuilder()

Each of the FilterExpressions in the and_group has an AND relationship.

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

Returns
Type Description
AccessFilterExpressionListOrBuilder

getDefaultInstanceForType()

public AccessFilterExpression getDefaultInstanceForType()
Returns
Type Description
AccessFilterExpression

getDescriptorForType()

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

getNotExpression()

public AccessFilterExpression getNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
Type Description
AccessFilterExpression

The notExpression.

getNotExpressionBuilder()

public AccessFilterExpression.Builder getNotExpressionBuilder()

The FilterExpression is NOT of not_expression.

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

Returns
Type Description
AccessFilterExpression.Builder

getNotExpressionOrBuilder()

public AccessFilterExpressionOrBuilder getNotExpressionOrBuilder()

The FilterExpression is NOT of not_expression.

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

Returns
Type Description
AccessFilterExpressionOrBuilder

getOneExpressionCase()

public AccessFilterExpression.OneExpressionCase getOneExpressionCase()
Returns
Type Description
AccessFilterExpression.OneExpressionCase

getOrGroup()

public AccessFilterExpressionList getOrGroup()

Each of the FilterExpressions in the or_group has an OR relationship.

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

Returns
Type Description
AccessFilterExpressionList

The orGroup.

getOrGroupBuilder()

public AccessFilterExpressionList.Builder getOrGroupBuilder()

Each of the FilterExpressions in the or_group has an OR relationship.

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

Returns
Type Description
AccessFilterExpressionList.Builder

getOrGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getOrGroupOrBuilder()

Each of the FilterExpressions in the or_group has an OR relationship.

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

Returns
Type Description
AccessFilterExpressionListOrBuilder

hasAccessFilter()

public boolean hasAccessFilter()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Returns
Type Description
boolean

Whether the accessFilter field is set.

hasAndGroup()

public boolean hasAndGroup()

Each of the FilterExpressions in the and_group has an AND relationship.

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

Returns
Type Description
boolean

Whether the andGroup field is set.

hasNotExpression()

public boolean hasNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
Type Description
boolean

Whether the notExpression field is set.

hasOrGroup()

public boolean hasOrGroup()

Each of the FilterExpressions in the or_group has an OR relationship.

.google.analytics.admin.v1alpha.AccessFilterExpressionList 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

mergeAccessFilter(AccessFilter value)

public AccessFilterExpression.Builder mergeAccessFilter(AccessFilter value)

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Parameter
Name Description
value AccessFilter
Returns
Type Description
AccessFilterExpression.Builder

mergeAndGroup(AccessFilterExpressionList value)

public AccessFilterExpression.Builder mergeAndGroup(AccessFilterExpressionList value)

Each of the FilterExpressions in the and_group has an AND relationship.

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

Parameter
Name Description
value AccessFilterExpressionList
Returns
Type Description
AccessFilterExpression.Builder

mergeFrom(AccessFilterExpression other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotExpression(AccessFilterExpression value)

public AccessFilterExpression.Builder mergeNotExpression(AccessFilterExpression value)

The FilterExpression is NOT of not_expression.

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

Parameter
Name Description
value AccessFilterExpression
Returns
Type Description
AccessFilterExpression.Builder

mergeOrGroup(AccessFilterExpressionList value)

public AccessFilterExpression.Builder mergeOrGroup(AccessFilterExpressionList value)

Each of the FilterExpressions in the or_group has an OR relationship.

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

Parameter
Name Description
value AccessFilterExpressionList
Returns
Type Description
AccessFilterExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccessFilter(AccessFilter value)

public AccessFilterExpression.Builder setAccessFilter(AccessFilter value)

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Parameter
Name Description
value AccessFilter
Returns
Type Description
AccessFilterExpression.Builder

setAccessFilter(AccessFilter.Builder builderForValue)

public AccessFilterExpression.Builder setAccessFilter(AccessFilter.Builder builderForValue)

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;

Parameter
Name Description
builderForValue AccessFilter.Builder
Returns
Type Description
AccessFilterExpression.Builder

setAndGroup(AccessFilterExpressionList value)

public AccessFilterExpression.Builder setAndGroup(AccessFilterExpressionList value)

Each of the FilterExpressions in the and_group has an AND relationship.

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

Parameter
Name Description
value AccessFilterExpressionList
Returns
Type Description
AccessFilterExpression.Builder

setAndGroup(AccessFilterExpressionList.Builder builderForValue)

public AccessFilterExpression.Builder setAndGroup(AccessFilterExpressionList.Builder builderForValue)

Each of the FilterExpressions in the and_group has an AND relationship.

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

Parameter
Name Description
builderForValue AccessFilterExpressionList.Builder
Returns
Type Description
AccessFilterExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotExpression(AccessFilterExpression value)

public AccessFilterExpression.Builder setNotExpression(AccessFilterExpression value)

The FilterExpression is NOT of not_expression.

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

Parameter
Name Description
value AccessFilterExpression
Returns
Type Description
AccessFilterExpression.Builder

setNotExpression(AccessFilterExpression.Builder builderForValue)

public AccessFilterExpression.Builder setNotExpression(AccessFilterExpression.Builder builderForValue)

The FilterExpression is NOT of not_expression.

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

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

setOrGroup(AccessFilterExpressionList value)

public AccessFilterExpression.Builder setOrGroup(AccessFilterExpressionList value)

Each of the FilterExpressions in the or_group has an OR relationship.

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

Parameter
Name Description
value AccessFilterExpressionList
Returns
Type Description
AccessFilterExpression.Builder

setOrGroup(AccessFilterExpressionList.Builder builderForValue)

public AccessFilterExpression.Builder setOrGroup(AccessFilterExpressionList.Builder builderForValue)

Each of the FilterExpressions in the or_group has an OR relationship.

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

Parameter
Name Description
builderForValue AccessFilterExpressionList.Builder
Returns
Type Description
AccessFilterExpression.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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