Class FunnelEventFilter.Builder (0.64.0)

public static final class FunnelEventFilter.Builder extends GeneratedMessageV3.Builder<FunnelEventFilter.Builder> implements FunnelEventFilterOrBuilder

Creates a filter that matches events of a single event name. If a parameter filter expression 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.data.v1alpha.FunnelEventFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FunnelEventFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FunnelEventFilter.Builder
Overrides

build()

public FunnelEventFilter build()
Returns
Type Description
FunnelEventFilter

buildPartial()

public FunnelEventFilter buildPartial()
Returns
Type Description
FunnelEventFilter

clear()

public FunnelEventFilter.Builder clear()
Returns
Type Description
FunnelEventFilter.Builder
Overrides

clearEventName()

public FunnelEventFilter.Builder clearEventName()

This filter matches events of this single event name. Event name is required.

optional string event_name = 1;

Returns
Type Description
FunnelEventFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FunnelEventFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FunnelEventFilter.Builder
Overrides

clearFunnelParameterFilterExpression()

public FunnelEventFilter.Builder clearFunnelParameterFilterExpression()

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Returns
Type Description
FunnelEventFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FunnelEventFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FunnelEventFilter.Builder
Overrides

clone()

public FunnelEventFilter.Builder clone()
Returns
Type Description
FunnelEventFilter.Builder
Overrides

getDefaultInstanceForType()

public FunnelEventFilter getDefaultInstanceForType()
Returns
Type Description
FunnelEventFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEventName()

public String getEventName()

This filter matches events of this single event name. Event name is required.

optional string event_name = 1;

Returns
Type Description
String

The eventName.

getEventNameBytes()

public ByteString getEventNameBytes()

This filter matches events of this single event name. Event name is required.

optional string event_name = 1;

Returns
Type Description
ByteString

The bytes for eventName.

getFunnelParameterFilterExpression()

public FunnelParameterFilterExpression getFunnelParameterFilterExpression()

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Returns
Type Description
FunnelParameterFilterExpression

The funnelParameterFilterExpression.

getFunnelParameterFilterExpressionBuilder()

public FunnelParameterFilterExpression.Builder getFunnelParameterFilterExpressionBuilder()

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Returns
Type Description
FunnelParameterFilterExpression.Builder

getFunnelParameterFilterExpressionOrBuilder()

public FunnelParameterFilterExpressionOrBuilder getFunnelParameterFilterExpressionOrBuilder()

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Returns
Type Description
FunnelParameterFilterExpressionOrBuilder

hasEventName()

public boolean hasEventName()

This filter matches events of this single event name. Event name is required.

optional string event_name = 1;

Returns
Type Description
boolean

Whether the eventName field is set.

hasFunnelParameterFilterExpression()

public boolean hasFunnelParameterFilterExpression()

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Returns
Type Description
boolean

Whether the funnelParameterFilterExpression field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FunnelEventFilter other)

public FunnelEventFilter.Builder mergeFrom(FunnelEventFilter other)
Parameter
Name Description
other FunnelEventFilter
Returns
Type Description
FunnelEventFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FunnelEventFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FunnelEventFilter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FunnelEventFilter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FunnelEventFilter.Builder
Overrides

mergeFunnelParameterFilterExpression(FunnelParameterFilterExpression value)

public FunnelEventFilter.Builder mergeFunnelParameterFilterExpression(FunnelParameterFilterExpression value)

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Parameter
Name Description
value FunnelParameterFilterExpression
Returns
Type Description
FunnelEventFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FunnelEventFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FunnelEventFilter.Builder
Overrides

setEventName(String value)

public FunnelEventFilter.Builder setEventName(String value)

This filter matches events of this single event name. Event name is required.

optional string event_name = 1;

Parameter
Name Description
value String

The eventName to set.

Returns
Type Description
FunnelEventFilter.Builder

This builder for chaining.

setEventNameBytes(ByteString value)

public FunnelEventFilter.Builder setEventNameBytes(ByteString value)

This filter matches events of this single event name. Event name is required.

optional string event_name = 1;

Parameter
Name Description
value ByteString

The bytes for eventName to set.

Returns
Type Description
FunnelEventFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FunnelEventFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FunnelEventFilter.Builder
Overrides

setFunnelParameterFilterExpression(FunnelParameterFilterExpression value)

public FunnelEventFilter.Builder setFunnelParameterFilterExpression(FunnelParameterFilterExpression value)

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Parameter
Name Description
value FunnelParameterFilterExpression
Returns
Type Description
FunnelEventFilter.Builder

setFunnelParameterFilterExpression(FunnelParameterFilterExpression.Builder builderForValue)

public FunnelEventFilter.Builder setFunnelParameterFilterExpression(FunnelParameterFilterExpression.Builder builderForValue)

If specified, this filter matches events that match both the single event name and the parameter filter expressions.

Inside the parameter filter expression, only parameter filters are available.

optional .google.analytics.data.v1alpha.FunnelParameterFilterExpression funnel_parameter_filter_expression = 2;

Parameter
Name Description
builderForValue FunnelParameterFilterExpression.Builder
Returns
Type Description
FunnelEventFilter.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FunnelEventFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FunnelEventFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FunnelEventFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FunnelEventFilter.Builder
Overrides