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()
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>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Funnel.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addSteps(FunnelStep value)
public Funnel.Builder addSteps(FunnelStep value)
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
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;
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;
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;
addStepsBuilder()
public FunnelStep.Builder addStepsBuilder()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
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
|
build()
buildPartial()
public Funnel buildPartial()
clear()
public Funnel.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Funnel.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Funnel.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSteps()
public Funnel.Builder clearSteps()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
clone()
public Funnel.Builder clone()
Overrides
getDefaultInstanceForType()
public Funnel getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getStepsBuilderList()
public List<FunnelStep.Builder> getStepsBuilderList()
The sequential steps of this funnel.
repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Funnel other)
public Funnel.Builder mergeFrom(Funnel other)
Parameter |
---|
Name | Description |
other | Funnel
|
public Funnel.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Funnel.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Funnel.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Funnel.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Funnel.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final Funnel.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides