Class AudienceFilterExpression (0.28.0)

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
TypeDescription
int

DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER

public static final int DIMENSION_OR_METRIC_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

EVENT_FILTER_FIELD_NUMBER

public static final int EVENT_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

NOT_EXPRESSION_FIELD_NUMBER

public static final int NOT_EXPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

OR_GROUP_FIELD_NUMBER

public static final int OR_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AudienceFilterExpression getDefaultInstance()
Returns
TypeDescription
AudienceFilterExpression

getDescriptor()

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

newBuilder()

public static AudienceFilterExpression.Builder newBuilder()
Returns
TypeDescription
AudienceFilterExpression.Builder

newBuilder(AudienceFilterExpression prototype)

public static AudienceFilterExpression.Builder newBuilder(AudienceFilterExpression prototype)
Parameter
NameDescription
prototypeAudienceFilterExpression
Returns
TypeDescription
AudienceFilterExpression.Builder

parseDelimitedFrom(InputStream input)

public static AudienceFilterExpression parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AudienceFilterExpression parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AudienceFilterExpression parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AudienceFilterExpression parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AudienceFilterExpression parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AudienceFilterExpression parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AudienceFilterExpression> parser()
Returns
TypeDescription
Parser<AudienceFilterExpression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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
TypeDescription
AudienceFilterExpressionList

The andGroup.

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
TypeDescription
AudienceFilterExpressionListOrBuilder

getDefaultInstanceForType()

public AudienceFilterExpression getDefaultInstanceForType()
Returns
TypeDescription
AudienceFilterExpression

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
TypeDescription
AudienceDimensionOrMetricFilter

The dimensionOrMetricFilter.

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
TypeDescription
AudienceDimensionOrMetricFilterOrBuilder

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
TypeDescription
AudienceEventFilter

The eventFilter.

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
TypeDescription
AudienceEventFilterOrBuilder

getExprCase()

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

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;

Returns
TypeDescription
AudienceFilterExpression

The notExpression.

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;

Returns
TypeDescription
AudienceFilterExpressionOrBuilder

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
TypeDescription
AudienceFilterExpressionList

The orGroup.

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
TypeDescription
AudienceFilterExpressionListOrBuilder

getParserForType()

public Parser<AudienceFilterExpression> getParserForType()
Returns
TypeDescription
Parser<AudienceFilterExpression>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the orGroup field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AudienceFilterExpression.Builder newBuilderForType()
Returns
TypeDescription
AudienceFilterExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AudienceFilterExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AudienceFilterExpression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AudienceFilterExpression.Builder toBuilder()
Returns
TypeDescription
AudienceFilterExpression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException