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
Static Fields
AND_GROUP_FIELD_NUMBER
public static final int AND_GROUP_FIELD_NUMBER
Field Value
DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER
public static final int DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER
Field Value
EVENT_FILTER_FIELD_NUMBER
public static final int EVENT_FILTER_FIELD_NUMBER
Field Value
NOT_EXPRESSION_FIELD_NUMBER
public static final int NOT_EXPRESSION_FIELD_NUMBER
Field Value
OR_GROUP_FIELD_NUMBER
public static final int OR_GROUP_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AudienceFilterExpression getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AudienceFilterExpression.Builder newBuilder()
Returns
newBuilder(AudienceFilterExpression prototype)
public static AudienceFilterExpression.Builder newBuilder(AudienceFilterExpression prototype)
Parameter
Returns
public static AudienceFilterExpression parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AudienceFilterExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AudienceFilterExpression parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AudienceFilterExpression parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AudienceFilterExpression parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AudienceFilterExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AudienceFilterExpression parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AudienceFilterExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AudienceFilterExpression parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AudienceFilterExpression> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public AudienceFilterExpression getDefaultInstanceForType()
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
getExprCase()
public AudienceFilterExpression.ExprCase getExprCase()
Returns
getNotExpression()
public AudienceFilterExpression getNotExpression()
A filter expression to be NOT'ed (i.e., 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
getNotExpressionOrBuilder()
public AudienceFilterExpressionOrBuilder getNotExpressionOrBuilder()
A filter expression to be NOT'ed (i.e., 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
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;
Returns
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;
Returns
getParserForType()
public Parser<AudienceFilterExpression> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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 (i.e., 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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AudienceFilterExpression.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AudienceFilterExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AudienceFilterExpression.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions