Class ChannelGroupFilterExpression.Builder (0.26.0)

public static final class ChannelGroupFilterExpression.Builder extends GeneratedMessageV3.Builder<ChannelGroupFilterExpression.Builder> implements ChannelGroupFilterExpressionOrBuilder

A logical expression of Channel Group dimension filters.

Protobuf type google.analytics.admin.v1alpha.ChannelGroupFilterExpression

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChannelGroupFilterExpression build()
Returns
TypeDescription
ChannelGroupFilterExpression

buildPartial()

public ChannelGroupFilterExpression buildPartial()
Returns
TypeDescription
ChannelGroupFilterExpression

clear()

public ChannelGroupFilterExpression.Builder clear()
Returns
TypeDescription
ChannelGroupFilterExpression.Builder
Overrides

clearAndGroup()

public ChannelGroupFilterExpression.Builder clearAndGroup()

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

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

Returns
TypeDescription
ChannelGroupFilterExpression.Builder

clearExpr()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ChannelGroupFilterExpression.Builder clearFilter()

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Returns
TypeDescription
ChannelGroupFilterExpression.Builder

clearNotExpression()

public ChannelGroupFilterExpression.Builder clearNotExpression()

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

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

Returns
TypeDescription
ChannelGroupFilterExpression.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrGroup()

public ChannelGroupFilterExpression.Builder clearOrGroup()

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

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

Returns
TypeDescription
ChannelGroupFilterExpression.Builder

clone()

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

getAndGroup()

public ChannelGroupFilterExpressionList getAndGroup()

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

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

Returns
TypeDescription
ChannelGroupFilterExpressionList

The andGroup.

getAndGroupBuilder()

public ChannelGroupFilterExpressionList.Builder getAndGroupBuilder()

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

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

Returns
TypeDescription
ChannelGroupFilterExpressionList.Builder

getAndGroupOrBuilder()

public ChannelGroupFilterExpressionListOrBuilder getAndGroupOrBuilder()

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

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

Returns
TypeDescription
ChannelGroupFilterExpressionListOrBuilder

getDefaultInstanceForType()

public ChannelGroupFilterExpression getDefaultInstanceForType()
Returns
TypeDescription
ChannelGroupFilterExpression

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExprCase()

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

getFilter()

public ChannelGroupFilter getFilter()

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Returns
TypeDescription
ChannelGroupFilter

The filter.

getFilterBuilder()

public ChannelGroupFilter.Builder getFilterBuilder()

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Returns
TypeDescription
ChannelGroupFilter.Builder

getFilterOrBuilder()

public ChannelGroupFilterOrBuilder getFilterOrBuilder()

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Returns
TypeDescription
ChannelGroupFilterOrBuilder

getNotExpression()

public ChannelGroupFilterExpression getNotExpression()

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

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

Returns
TypeDescription
ChannelGroupFilterExpression

The notExpression.

getNotExpressionBuilder()

public ChannelGroupFilterExpression.Builder getNotExpressionBuilder()

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

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

Returns
TypeDescription
ChannelGroupFilterExpression.Builder

getNotExpressionOrBuilder()

public ChannelGroupFilterExpressionOrBuilder getNotExpressionOrBuilder()

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

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

Returns
TypeDescription
ChannelGroupFilterExpressionOrBuilder

getOrGroup()

public ChannelGroupFilterExpressionList getOrGroup()

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

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

Returns
TypeDescription
ChannelGroupFilterExpressionList

The orGroup.

getOrGroupBuilder()

public ChannelGroupFilterExpressionList.Builder getOrGroupBuilder()

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

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

Returns
TypeDescription
ChannelGroupFilterExpressionList.Builder

getOrGroupOrBuilder()

public ChannelGroupFilterExpressionListOrBuilder getOrGroupOrBuilder()

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

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

Returns
TypeDescription
ChannelGroupFilterExpressionListOrBuilder

hasAndGroup()

public boolean hasAndGroup()

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

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

Returns
TypeDescription
boolean

Whether the andGroup field is set.

hasFilter()

public boolean hasFilter()

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Returns
TypeDescription
boolean

Whether the filter field is set.

hasNotExpression()

public boolean hasNotExpression()

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

.google.analytics.admin.v1alpha.ChannelGroupFilterExpression 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 ChannelGroupFilterExpressions with and_group or or_group.

.google.analytics.admin.v1alpha.ChannelGroupFilterExpressionList 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(ChannelGroupFilterExpressionList value)

public ChannelGroupFilterExpression.Builder mergeAndGroup(ChannelGroupFilterExpressionList value)

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

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

Parameter
NameDescription
valueChannelGroupFilterExpressionList
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

mergeFilter(ChannelGroupFilter value)

public ChannelGroupFilterExpression.Builder mergeFilter(ChannelGroupFilter value)

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Parameter
NameDescription
valueChannelGroupFilter
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

mergeFrom(ChannelGroupFilterExpression other)

public ChannelGroupFilterExpression.Builder mergeFrom(ChannelGroupFilterExpression other)
Parameter
NameDescription
otherChannelGroupFilterExpression
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNotExpression(ChannelGroupFilterExpression value)

public ChannelGroupFilterExpression.Builder mergeNotExpression(ChannelGroupFilterExpression value)

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

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

Parameter
NameDescription
valueChannelGroupFilterExpression
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

mergeOrGroup(ChannelGroupFilterExpressionList value)

public ChannelGroupFilterExpression.Builder mergeOrGroup(ChannelGroupFilterExpressionList value)

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

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

Parameter
NameDescription
valueChannelGroupFilterExpressionList
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ChannelGroupFilterExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ChannelGroupFilterExpression.Builder
Overrides

setAndGroup(ChannelGroupFilterExpressionList value)

public ChannelGroupFilterExpression.Builder setAndGroup(ChannelGroupFilterExpressionList value)

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

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

Parameter
NameDescription
valueChannelGroupFilterExpressionList
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

setAndGroup(ChannelGroupFilterExpressionList.Builder builderForValue)

public ChannelGroupFilterExpression.Builder setAndGroup(ChannelGroupFilterExpressionList.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueChannelGroupFilterExpressionList.Builder
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(ChannelGroupFilter value)

public ChannelGroupFilterExpression.Builder setFilter(ChannelGroupFilter value)

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Parameter
NameDescription
valueChannelGroupFilter
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

setFilter(ChannelGroupFilter.Builder builderForValue)

public ChannelGroupFilterExpression.Builder setFilter(ChannelGroupFilter.Builder builderForValue)

A filter on a single dimension. This cannot be set on the top level ChannelGroupFilterExpression.

.google.analytics.admin.v1alpha.ChannelGroupFilter filter = 4;

Parameter
NameDescription
builderForValueChannelGroupFilter.Builder
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

setNotExpression(ChannelGroupFilterExpression value)

public ChannelGroupFilterExpression.Builder setNotExpression(ChannelGroupFilterExpression value)

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

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

Parameter
NameDescription
valueChannelGroupFilterExpression
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

setNotExpression(ChannelGroupFilterExpression.Builder builderForValue)

public ChannelGroupFilterExpression.Builder setNotExpression(ChannelGroupFilterExpression.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueChannelGroupFilterExpression.Builder
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

setOrGroup(ChannelGroupFilterExpressionList value)

public ChannelGroupFilterExpression.Builder setOrGroup(ChannelGroupFilterExpressionList value)

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

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

Parameter
NameDescription
valueChannelGroupFilterExpressionList
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

setOrGroup(ChannelGroupFilterExpressionList.Builder builderForValue)

public ChannelGroupFilterExpression.Builder setOrGroup(ChannelGroupFilterExpressionList.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueChannelGroupFilterExpressionList.Builder
Returns
TypeDescription
ChannelGroupFilterExpression.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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