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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Funnel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addStepsBuilder()
public FunnelStep.Builder addStepsBuilder()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Returns
addStepsBuilder(int index)
public FunnelStep.Builder addStepsBuilder(int index)
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Parameter
Returns
build()
Returns
buildPartial()
public Funnel buildPartial()
Returns
clear()
public Funnel.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Funnel.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Funnel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSteps()
public Funnel.Builder clearSteps()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Returns
clone()
public Funnel.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Funnel getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
getStepsBuilder(int index)
public FunnelStep.Builder getStepsBuilder(int index)
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Parameter
Returns
getStepsBuilderList()
public List<FunnelStep.Builder> getStepsBuilderList()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Returns
getStepsCount()
public int getStepsCount()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Returns
getStepsList()
public List<FunnelStep> getStepsList()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Returns
getStepsOrBuilder(int index)
public FunnelStepOrBuilder getStepsOrBuilder(int index)
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
Parameter
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Funnel other)
public Funnel.Builder mergeFrom(Funnel other)
Parameter
Returns
public Funnel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Funnel.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Funnel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Funnel.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Funnel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Funnel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides