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