Class Funnel.Builder (0.64.0)

public static final class Funnel.Builder extends GeneratedMessageV3.Builder<Funnel.Builder> implements FunnelOrBuilder

Configures the funnel in a funnel report request. A funnel reports on users as they pass through a sequence of steps.

Funnel exploration lets you visualize the steps your users take to complete a task and quickly see how well they are succeeding or failing at each step. For example, how do prospects become shoppers and then become buyers? How do one time buyers become repeat buyers? With this information, you can improve inefficient or abandoned customer journeys.

Protobuf type google.analytics.data.v1alpha.Funnel

Implements

FunnelOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllSteps(Iterable<? extends FunnelStep> values)

public Funnel.Builder addAllSteps(Iterable<? extends FunnelStep> values)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
values Iterable<? extends com.google.analytics.data.v1alpha.FunnelStep>
Returns
Type Description
Funnel.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSteps(FunnelStep value)

public Funnel.Builder addSteps(FunnelStep value)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
value FunnelStep
Returns
Type Description
Funnel.Builder

addSteps(FunnelStep.Builder builderForValue)

public Funnel.Builder addSteps(FunnelStep.Builder builderForValue)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
builderForValue FunnelStep.Builder
Returns
Type Description
Funnel.Builder

addSteps(int index, FunnelStep value)

public Funnel.Builder addSteps(int index, FunnelStep value)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameters
Name Description
index int
value FunnelStep
Returns
Type Description
Funnel.Builder

addSteps(int index, FunnelStep.Builder builderForValue)

public Funnel.Builder addSteps(int index, FunnelStep.Builder builderForValue)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameters
Name Description
index int
builderForValue FunnelStep.Builder
Returns
Type Description
Funnel.Builder

addStepsBuilder()

public FunnelStep.Builder addStepsBuilder()

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Returns
Type Description
FunnelStep.Builder

addStepsBuilder(int index)

public FunnelStep.Builder addStepsBuilder(int index)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
index int
Returns
Type Description
FunnelStep.Builder

build()

public Funnel build()
Returns
Type Description
Funnel

buildPartial()

public Funnel buildPartial()
Returns
Type Description
Funnel

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIsOpenFunnel()

public Funnel.Builder clearIsOpenFunnel()

In an open funnel, users can enter the funnel in any step, and in a closed funnel, users must enter the funnel in the first step. Optional. If unspecified, a closed funnel is used.

bool is_open_funnel = 1;

Returns
Type Description
Funnel.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSteps()

public Funnel.Builder clearSteps()

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Returns
Type Description
Funnel.Builder

clone()

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

getDefaultInstanceForType()

public Funnel getDefaultInstanceForType()
Returns
Type Description
Funnel

getDescriptorForType()

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

getIsOpenFunnel()

public boolean getIsOpenFunnel()

In an open funnel, users can enter the funnel in any step, and in a closed funnel, users must enter the funnel in the first step. Optional. If unspecified, a closed funnel is used.

bool is_open_funnel = 1;

Returns
Type Description
boolean

The isOpenFunnel.

getSteps(int index)

public FunnelStep getSteps(int index)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
index int
Returns
Type Description
FunnelStep

getStepsBuilder(int index)

public FunnelStep.Builder getStepsBuilder(int index)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
index int
Returns
Type Description
FunnelStep.Builder

getStepsBuilderList()

public List<FunnelStep.Builder> getStepsBuilderList()

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Returns
Type Description
List<Builder>

getStepsCount()

public int getStepsCount()

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Returns
Type Description
int

getStepsList()

public List<FunnelStep> getStepsList()

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Returns
Type Description
List<FunnelStep>

getStepsOrBuilder(int index)

public FunnelStepOrBuilder getStepsOrBuilder(int index)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
index int
Returns
Type Description
FunnelStepOrBuilder

getStepsOrBuilderList()

public List<? extends FunnelStepOrBuilder> getStepsOrBuilderList()

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Returns
Type Description
List<? extends com.google.analytics.data.v1alpha.FunnelStepOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Funnel other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSteps(int index)

public Funnel.Builder removeSteps(int index)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameter
Name Description
index int
Returns
Type Description
Funnel.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIsOpenFunnel(boolean value)

public Funnel.Builder setIsOpenFunnel(boolean value)

In an open funnel, users can enter the funnel in any step, and in a closed funnel, users must enter the funnel in the first step. Optional. If unspecified, a closed funnel is used.

bool is_open_funnel = 1;

Parameter
Name Description
value boolean

The isOpenFunnel to set.

Returns
Type Description
Funnel.Builder

This builder for chaining.

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

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

setSteps(int index, FunnelStep value)

public Funnel.Builder setSteps(int index, FunnelStep value)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameters
Name Description
index int
value FunnelStep
Returns
Type Description
Funnel.Builder

setSteps(int index, FunnelStep.Builder builderForValue)

public Funnel.Builder setSteps(int index, FunnelStep.Builder builderForValue)

The sequential steps of this funnel.

repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;

Parameters
Name Description
index int
builderForValue FunnelStep.Builder
Returns
Type Description
Funnel.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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