Class AudienceEventFilter (0.59.0)

public final class AudienceEventFilter extends GeneratedMessageV3 implements AudienceEventFilterOrBuilder

A filter that matches events of a single event name. If an event parameter is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.

Protobuf type google.analytics.admin.v1alpha.AudienceEventFilter

Static Fields

EVENT_NAME_FIELD_NUMBER

public static final int EVENT_NAME_FIELD_NUMBER
Field Value
Type Description
int

EVENT_PARAMETER_FILTER_EXPRESSION_FIELD_NUMBER

public static final int EVENT_PARAMETER_FILTER_EXPRESSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AudienceEventFilter getDefaultInstance()
Returns
Type Description
AudienceEventFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AudienceEventFilter.Builder newBuilder()
Returns
Type Description
AudienceEventFilter.Builder

newBuilder(AudienceEventFilter prototype)

public static AudienceEventFilter.Builder newBuilder(AudienceEventFilter prototype)
Parameter
Name Description
prototype AudienceEventFilter
Returns
Type Description
AudienceEventFilter.Builder

parseDelimitedFrom(InputStream input)

public static AudienceEventFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceEventFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AudienceEventFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AudienceEventFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AudienceEventFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AudienceEventFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AudienceEventFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceEventFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AudienceEventFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceEventFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AudienceEventFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudienceEventFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AudienceEventFilter> parser()
Returns
Type Description
Parser<AudienceEventFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AudienceEventFilter getDefaultInstanceForType()
Returns
Type Description
AudienceEventFilter

getEventName()

public String getEventName()

Required. Immutable. The name of the event to match against.

string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The eventName.

getEventNameBytes()

public ByteString getEventNameBytes()

Required. Immutable. The name of the event to match against.

string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for eventName.

getEventParameterFilterExpression()

public AudienceFilterExpression getEventParameterFilterExpression()

Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (For example, nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.

.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudienceFilterExpression

The eventParameterFilterExpression.

getEventParameterFilterExpressionOrBuilder()

public AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder()

Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (For example, nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.

.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudienceFilterExpressionOrBuilder

getParserForType()

public Parser<AudienceEventFilter> getParserForType()
Returns
Type Description
Parser<AudienceEventFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEventParameterFilterExpression()

public boolean hasEventParameterFilterExpression()

Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (For example, nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.

.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the eventParameterFilterExpression field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AudienceEventFilter.Builder newBuilderForType()
Returns
Type Description
AudienceEventFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AudienceEventFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AudienceEventFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AudienceEventFilter.Builder toBuilder()
Returns
Type Description
AudienceEventFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException