public final class AudienceFilterExpression extends GeneratedMessageV3 implements AudienceFilterExpressionOrBuilder
A logical expression of Audience dimension, metric, or event filters.
Protobuf type google.analytics.admin.v1alpha.AudienceFilterExpression
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
AND_GROUP_FIELD_NUMBER
public static final int AND_GROUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER
public static final int DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EVENT_FILTER_FIELD_NUMBER
public static final int EVENT_FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NOT_EXPRESSION_FIELD_NUMBER
public static final int NOT_EXPRESSION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OR_GROUP_FIELD_NUMBER
public static final int OR_GROUP_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AudienceFilterExpression getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AudienceFilterExpression.Builder newBuilder()
newBuilder(AudienceFilterExpression prototype)
public static AudienceFilterExpression.Builder newBuilder(AudienceFilterExpression prototype)
public static AudienceFilterExpression parseDelimitedFrom(InputStream input)
public static AudienceFilterExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AudienceFilterExpression parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AudienceFilterExpression parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(CodedInputStream input)
public static AudienceFilterExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(InputStream input)
public static AudienceFilterExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AudienceFilterExpression parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AudienceFilterExpression> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAndGroup()
public AudienceFilterExpressionList getAndGroup()
A list of expressions to be AND’ed together. It can only contain
AudienceFilterExpressions with or_group. This must be set for the top
level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
getAndGroupOrBuilder()
public AudienceFilterExpressionListOrBuilder getAndGroupOrBuilder()
A list of expressions to be AND’ed together. It can only contain
AudienceFilterExpressions with or_group. This must be set for the top
level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
getDefaultInstanceForType()
public AudienceFilterExpression getDefaultInstanceForType()
getDimensionOrMetricFilter()
public AudienceDimensionOrMetricFilter getDimensionOrMetricFilter()
A filter on a single dimension or metric. This cannot be set on the top
level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;
getDimensionOrMetricFilterOrBuilder()
public AudienceDimensionOrMetricFilterOrBuilder getDimensionOrMetricFilterOrBuilder()
A filter on a single dimension or metric. This cannot be set on the top
level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;
getEventFilter()
public AudienceEventFilter getEventFilter()
Creates a filter that matches a specific event. This cannot be set on the
top level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;
getEventFilterOrBuilder()
public AudienceEventFilterOrBuilder getEventFilterOrBuilder()
Creates a filter that matches a specific event. This cannot be set on the
top level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;
getExprCase()
public AudienceFilterExpression.ExprCase getExprCase()
getNotExpression()
public AudienceFilterExpression getNotExpression()
A filter expression to be NOT'ed (For example, inverted, complemented).
It can only include a dimension_or_metric_filter. This cannot be set on
the top level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
getNotExpressionOrBuilder()
public AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder()
A filter expression to be NOT'ed (For example, inverted, complemented).
It can only include a dimension_or_metric_filter. This cannot be set on
the top level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
getOrGroup()
public AudienceFilterExpressionList getOrGroup()
A list of expressions to OR’ed together. It cannot contain
AudienceFilterExpressions with and_group or or_group.
.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
getOrGroupOrBuilder()
public AudienceFilterExpressionListOrBuilder getOrGroupOrBuilder()
A list of expressions to OR’ed together. It cannot contain
AudienceFilterExpressions with and_group or or_group.
.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
getParserForType()
public Parser<AudienceFilterExpression> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasAndGroup()
public boolean hasAndGroup()
A list of expressions to be AND’ed together. It can only contain
AudienceFilterExpressions with or_group. This must be set for the top
level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceFilterExpressionList and_group = 1;
Returns |
Type |
Description |
boolean |
Whether the andGroup field is set.
|
hasDimensionOrMetricFilter()
public boolean hasDimensionOrMetricFilter()
A filter on a single dimension or metric. This cannot be set on the top
level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter dimension_or_metric_filter = 4;
Returns |
Type |
Description |
boolean |
Whether the dimensionOrMetricFilter field is set.
|
hasEventFilter()
public boolean hasEventFilter()
Creates a filter that matches a specific event. This cannot be set on the
top level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceEventFilter event_filter = 5;
Returns |
Type |
Description |
boolean |
Whether the eventFilter field is set.
|
hasNotExpression()
public boolean hasNotExpression()
A filter expression to be NOT'ed (For example, inverted, complemented).
It can only include a dimension_or_metric_filter. This cannot be set on
the top level AudienceFilterExpression.
.google.analytics.admin.v1alpha.AudienceFilterExpression not_expression = 3;
Returns |
Type |
Description |
boolean |
Whether the notExpression field is set.
|
hasOrGroup()
public boolean hasOrGroup()
A list of expressions to OR’ed together. It cannot contain
AudienceFilterExpressions with and_group or or_group.
.google.analytics.admin.v1alpha.AudienceFilterExpressionList or_group = 2;
Returns |
Type |
Description |
boolean |
Whether the orGroup field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AudienceFilterExpression.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AudienceFilterExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AudienceFilterExpression.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides