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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FilterExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FilterExpression build()
buildPartial()
public FilterExpression buildPartial()
clear()
public FilterExpression.Builder clear()
Overrides
clearAndGroup()
public FilterExpression.Builder clearAndGroup()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
clearExpr()
public FilterExpression.Builder clearExpr()
clearField(Descriptors.FieldDescriptor field)
public FilterExpression.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearNotExpression()
public FilterExpression.Builder clearNotExpression()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public FilterExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOrGroup()
public FilterExpression.Builder clearOrGroup()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
clone()
public FilterExpression.Builder clone()
Overrides
getAndGroup()
public FilterExpressionList getAndGroup()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
getAndGroupBuilder()
public FilterExpressionList.Builder getAndGroupBuilder()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
getAndGroupOrBuilder()
public FilterExpressionListOrBuilder getAndGroupOrBuilder()
The FilterExpressions in and_group have an AND relationship.
.google.analytics.data.v1alpha.FilterExpressionList and_group = 1;
getDefaultInstanceForType()
public FilterExpression getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getExprCase()
public FilterExpression.ExprCase getExprCase()
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;
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;
getNotExpression()
public FilterExpression getNotExpression()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
getNotExpressionBuilder()
public FilterExpression.Builder getNotExpressionBuilder()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
getNotExpressionOrBuilder()
public FilterExpressionOrBuilder getNotExpressionOrBuilder()
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
getOrGroup()
public FilterExpressionList getOrGroup()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
getOrGroupBuilder()
public FilterExpressionList.Builder getOrGroupBuilder()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
getOrGroupOrBuilder()
public FilterExpressionListOrBuilder getOrGroupOrBuilder()
The FilterExpressions in or_group have an OR relationship.
.google.analytics.data.v1alpha.FilterExpressionList or_group = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
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 |
Name |
Description |
value |
Filter
|
mergeFrom(FilterExpression other)
public FilterExpression.Builder mergeFrom(FilterExpression other)
public FilterExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FilterExpression.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FilterExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public FilterExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
Filter
|
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;
setNotExpression(FilterExpression value)
public FilterExpression.Builder setNotExpression(FilterExpression value)
The FilterExpression is NOT of not_expression.
.google.analytics.data.v1alpha.FilterExpression not_expression = 3;
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;
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FilterExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FilterExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides