Class AccessFilterExpression.Builder (0.40.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.v1beta.AccessFilterExpression

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AccessFilterExpression build()
Returns
TypeDescription
AccessFilterExpression

buildPartial()

public AccessFilterExpression buildPartial()
Returns
TypeDescription
AccessFilterExpression

clear()

public AccessFilterExpression.Builder clear()
Returns
TypeDescription
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.v1beta.AccessFilter access_filter = 4;

Returns
TypeDescription
AccessFilterExpression.Builder

clearAndGroup()

public AccessFilterExpression.Builder clearAndGroup()

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

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

Returns
TypeDescription
AccessFilterExpression.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNotExpression()

public AccessFilterExpression.Builder clearNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
AccessFilterExpression.Builder

clearOneExpression()

public AccessFilterExpression.Builder clearOneExpression()
Returns
TypeDescription
AccessFilterExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AccessFilterExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AccessFilterExpression.Builder
Overrides

clearOrGroup()

public AccessFilterExpression.Builder clearOrGroup()

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

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

Returns
TypeDescription
AccessFilterExpression.Builder

clone()

public AccessFilterExpression.Builder clone()
Returns
TypeDescription
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.v1beta.AccessFilter access_filter = 4;

Returns
TypeDescription
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.v1beta.AccessFilter access_filter = 4;

Returns
TypeDescription
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.v1beta.AccessFilter access_filter = 4;

Returns
TypeDescription
AccessFilterOrBuilder

getAndGroup()

public AccessFilterExpressionList getAndGroup()

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

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

Returns
TypeDescription
AccessFilterExpressionList

The andGroup.

getAndGroupBuilder()

public AccessFilterExpressionList.Builder getAndGroupBuilder()

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

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

Returns
TypeDescription
AccessFilterExpressionList.Builder

getAndGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getAndGroupOrBuilder()

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

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

Returns
TypeDescription
AccessFilterExpressionListOrBuilder

getDefaultInstanceForType()

public AccessFilterExpression getDefaultInstanceForType()
Returns
TypeDescription
AccessFilterExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNotExpression()

public AccessFilterExpression getNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
AccessFilterExpression

The notExpression.

getNotExpressionBuilder()

public AccessFilterExpression.Builder getNotExpressionBuilder()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
AccessFilterExpression.Builder

getNotExpressionOrBuilder()

public AccessFilterExpressionOrBuilder getNotExpressionOrBuilder()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
AccessFilterExpressionOrBuilder

getOneExpressionCase()

public AccessFilterExpression.OneExpressionCase getOneExpressionCase()
Returns
TypeDescription
AccessFilterExpression.OneExpressionCase

getOrGroup()

public AccessFilterExpressionList getOrGroup()

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

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

Returns
TypeDescription
AccessFilterExpressionList

The orGroup.

getOrGroupBuilder()

public AccessFilterExpressionList.Builder getOrGroupBuilder()

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

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

Returns
TypeDescription
AccessFilterExpressionList.Builder

getOrGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getOrGroupOrBuilder()

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

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

Returns
TypeDescription
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.v1beta.AccessFilter access_filter = 4;

Returns
TypeDescription
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.v1beta.AccessFilterExpressionList and_group = 1;

Returns
TypeDescription
boolean

Whether the andGroup field is set.

hasNotExpression()

public boolean hasNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
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.v1beta.AccessFilterExpressionList 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

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.v1beta.AccessFilter access_filter = 4;

Parameter
NameDescription
valueAccessFilter
Returns
TypeDescription
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.v1beta.AccessFilterExpressionList and_group = 1;

Parameter
NameDescription
valueAccessFilterExpressionList
Returns
TypeDescription
AccessFilterExpression.Builder

mergeFrom(AccessFilterExpression other)

public AccessFilterExpression.Builder mergeFrom(AccessFilterExpression other)
Parameter
NameDescription
otherAccessFilterExpression
Returns
TypeDescription
AccessFilterExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AccessFilterExpression.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AccessFilterExpression.Builder
Overrides

mergeNotExpression(AccessFilterExpression value)

public AccessFilterExpression.Builder mergeNotExpression(AccessFilterExpression value)

The FilterExpression is NOT of not_expression.

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

Parameter
NameDescription
valueAccessFilterExpression
Returns
TypeDescription
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.v1beta.AccessFilterExpressionList or_group = 2;

Parameter
NameDescription
valueAccessFilterExpressionList
Returns
TypeDescription
AccessFilterExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AccessFilterExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta.AccessFilter access_filter = 4;

Parameter
NameDescription
valueAccessFilter
Returns
TypeDescription
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.v1beta.AccessFilter access_filter = 4;

Parameter
NameDescription
builderForValueAccessFilter.Builder
Returns
TypeDescription
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.v1beta.AccessFilterExpressionList and_group = 1;

Parameter
NameDescription
valueAccessFilterExpressionList
Returns
TypeDescription
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.v1beta.AccessFilterExpressionList and_group = 1;

Parameter
NameDescription
builderForValueAccessFilterExpressionList.Builder
Returns
TypeDescription
AccessFilterExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNotExpression(AccessFilterExpression value)

public AccessFilterExpression.Builder setNotExpression(AccessFilterExpression value)

The FilterExpression is NOT of not_expression.

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

Parameter
NameDescription
valueAccessFilterExpression
Returns
TypeDescription
AccessFilterExpression.Builder

setNotExpression(AccessFilterExpression.Builder builderForValue)

public AccessFilterExpression.Builder setNotExpression(AccessFilterExpression.Builder builderForValue)

The FilterExpression is NOT of not_expression.

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

Parameter
NameDescription
builderForValueAccessFilterExpression.Builder
Returns
TypeDescription
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.v1beta.AccessFilterExpressionList or_group = 2;

Parameter
NameDescription
valueAccessFilterExpressionList
Returns
TypeDescription
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.v1beta.AccessFilterExpressionList or_group = 2;

Parameter
NameDescription
builderForValueAccessFilterExpressionList.Builder
Returns
TypeDescription
AccessFilterExpression.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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