Class FunnelEventFilter.Builder (0.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FunnelEventFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FunnelEventFilter.Builder
Overrides

build()

public FunnelEventFilter build()
Returns
TypeDescription
FunnelEventFilter

buildPartial()

public FunnelEventFilter buildPartial()
Returns
TypeDescription
FunnelEventFilter

clear()

public FunnelEventFilter.Builder clear()
Returns
TypeDescription
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
TypeDescription
FunnelEventFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FunnelEventFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FunnelEventFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public FunnelEventFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FunnelEventFilter.Builder
Overrides

clone()

public FunnelEventFilter.Builder clone()
Returns
TypeDescription
FunnelEventFilter.Builder
Overrides

getDefaultInstanceForType()

public FunnelEventFilter getDefaultInstanceForType()
Returns
TypeDescription
FunnelEventFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FunnelParameterFilterExpressionOrBuilder

hasEventName()

public boolean hasEventName()

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

optional string event_name = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the funnelParameterFilterExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FunnelEventFilter other)

public FunnelEventFilter.Builder mergeFrom(FunnelEventFilter other)
Parameter
NameDescription
otherFunnelEventFilter
Returns
TypeDescription
FunnelEventFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FunnelEventFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FunnelEventFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FunnelEventFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueFunnelParameterFilterExpression
Returns
TypeDescription
FunnelEventFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FunnelEventFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The eventName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for eventName to set.

Returns
TypeDescription
FunnelEventFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FunnelEventFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFunnelParameterFilterExpression
Returns
TypeDescription
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
NameDescription
builderForValueFunnelParameterFilterExpression.Builder
Returns
TypeDescription
FunnelEventFilter.Builder

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

public FunnelEventFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FunnelEventFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FunnelEventFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FunnelEventFilter.Builder
Overrides