public static final class FilterExpression.Builder extends GeneratedMessageV3.Builder<FilterExpression.Builder> implements FilterExpressionOrBuilder
To express dimension or metric filters. The fields in the same
FilterExpression need to be either all dimensions or all metrics.
Protobuf type google.analytics.data.v1alpha.FilterExpression
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FilterExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public FilterExpression build()
Returns
buildPartial()
public FilterExpression buildPartial()
Returns
clear()
public FilterExpression.Builder clear()
Returns
Overrides
clearAndGroup()
public FilterExpression.Builder clearAndGroup()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Returns
clearExpr()
public FilterExpression.Builder clearExpr()
Returns
clearField(Descriptors.FieldDescriptor field)
public FilterExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFilter()
public FilterExpression.Builder clearFilter()
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.data.v1alpha.Filter filter = 4;
Returns
clearNotExpression()
public FilterExpression.Builder clearNotExpression()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public FilterExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOrGroup()
public FilterExpression.Builder clearOrGroup()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Returns
clone()
public FilterExpression.Builder clone()
Returns
Overrides
getAndGroup()
public FilterExpressionList getAndGroup()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Returns
getAndGroupBuilder()
public FilterExpressionList.Builder getAndGroupBuilder()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Returns
getAndGroupOrBuilder()
public FilterExpressionListOrBuilder getAndGroupOrBuilder()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Returns
getDefaultInstanceForType()
public FilterExpression getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getExprCase()
public FilterExpression.ExprCase getExprCase()
Returns
getFilter()
public Filter getFilter()
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.data.v1alpha.Filter filter = 4;
Returns
Type | Description |
Filter | The filter.
|
getFilterBuilder()
public Filter.Builder getFilterBuilder()
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.data.v1alpha.Filter filter = 4;
Returns
getFilterOrBuilder()
public FilterOrBuilder getFilterOrBuilder()
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.data.v1alpha.Filter filter = 4;
Returns
getNotExpression()
public FilterExpression getNotExpression()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Returns
getNotExpressionBuilder()
public FilterExpression.Builder getNotExpressionBuilder()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Returns
getNotExpressionOrBuilder()
public FilterExpressionOrBuilder getNotExpressionOrBuilder()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Returns
getOrGroup()
public FilterExpressionList getOrGroup()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Returns
getOrGroupBuilder()
public FilterExpressionList.Builder getOrGroupBuilder()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Returns
getOrGroupOrBuilder()
public FilterExpressionListOrBuilder getOrGroupOrBuilder()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Returns
hasAndGroup()
public boolean hasAndGroup()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Returns
Type | Description |
boolean | Whether the andGroup field is set.
|
hasFilter()
public boolean hasFilter()
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.data.v1alpha.Filter filter = 4;
Returns
Type | Description |
boolean | Whether the filter field is set.
|
hasNotExpression()
public boolean hasNotExpression()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Returns
Type | Description |
boolean | Whether the notExpression field is set.
|
hasOrGroup()
public boolean hasOrGroup()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Returns
Type | Description |
boolean | Whether the orGroup field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAndGroup(FilterExpressionList value)
public FilterExpression.Builder mergeAndGroup(FilterExpressionList value)
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Parameter
Returns
mergeFilter(Filter value)
public FilterExpression.Builder mergeFilter(Filter 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.data.v1alpha.Filter filter = 4;
Parameter
Returns
mergeFrom(FilterExpression other)
public FilterExpression.Builder mergeFrom(FilterExpression other)
Parameter
Returns
public FilterExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public FilterExpression.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeNotExpression(FilterExpression value)
public FilterExpression.Builder mergeNotExpression(FilterExpression value)
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Parameter
Returns
mergeOrGroup(FilterExpressionList value)
public FilterExpression.Builder mergeOrGroup(FilterExpressionList value)
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FilterExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAndGroup(FilterExpressionList value)
public FilterExpression.Builder setAndGroup(FilterExpressionList value)
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Parameter
Returns
setAndGroup(FilterExpressionList.Builder builderForValue)
public FilterExpression.Builder setAndGroup(FilterExpressionList.Builder builderForValue)
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public FilterExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFilter(Filter value)
public FilterExpression.Builder setFilter(Filter 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.data.v1alpha.Filter filter = 4;
Parameter
Returns
setFilter(Filter.Builder builderForValue)
public FilterExpression.Builder setFilter(Filter.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.data.v1alpha.Filter filter = 4;
Parameter
Returns
setNotExpression(FilterExpression value)
public FilterExpression.Builder setNotExpression(FilterExpression value)
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Parameter
Returns
setNotExpression(FilterExpression.Builder builderForValue)
public FilterExpression.Builder setNotExpression(FilterExpression.Builder builderForValue)
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
Parameter
Returns
setOrGroup(FilterExpressionList value)
public FilterExpression.Builder setOrGroup(FilterExpressionList value)
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Parameter
Returns
setOrGroup(FilterExpressionList.Builder builderForValue)
public FilterExpression.Builder setOrGroup(FilterExpressionList.Builder builderForValue)
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FilterExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FilterExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides