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
EVENT_PARAMETER_FILTER_EXPRESSION_FIELD_NUMBER
public static final int EVENT_PARAMETER_FILTER_EXPRESSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AudienceEventFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AudienceEventFilter.Builder newBuilder()
Returns
newBuilder(AudienceEventFilter prototype)
public static AudienceEventFilter.Builder newBuilder(AudienceEventFilter prototype)
Parameter
Returns
public static AudienceEventFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AudienceEventFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AudienceEventFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudienceEventFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AudienceEventFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceEventFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AudienceEventFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AudienceEventFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AudienceEventFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AudienceEventFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AudienceEventFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudienceEventFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AudienceEventFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AudienceEventFilter getDefaultInstanceForType()
Returns
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
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 (i.e., 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
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 (i.e., 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
getParserForType()
public Parser<AudienceEventFilter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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 (i.e., 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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AudienceEventFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AudienceEventFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AudienceEventFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions