Class FunnelStep.Builder (0.25.0)

public static final class FunnelStep.Builder extends GeneratedMessageV3.Builder<FunnelStep.Builder> implements FunnelStepOrBuilder

Steps define the user journey you want to measure. Steps contain one or more conditions that your users must meet to be included in that step of the funnel journey.

Protobuf type google.analytics.data.v1alpha.FunnelStep

Implements

FunnelStepOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FunnelStep build()
Returns
TypeDescription
FunnelStep

buildPartial()

public FunnelStep buildPartial()
Returns
TypeDescription
FunnelStep

clear()

public FunnelStep.Builder clear()
Returns
TypeDescription
FunnelStep.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FunnelStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FunnelStep.Builder
Overrides

clearFilterExpression()

public FunnelStep.Builder clearFilterExpression()

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Returns
TypeDescription
FunnelStep.Builder

clearIsDirectlyFollowedBy()

public FunnelStep.Builder clearIsDirectlyFollowedBy()

If true, this step must directly follow the previous step. If false, there can be events between the previous step and this step. If unspecified, isDirectlyFollowedBy is treated as false.

bool is_directly_followed_by = 2;

Returns
TypeDescription
FunnelStep.Builder

This builder for chaining.

clearName()

public FunnelStep.Builder clearName()

The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines string value returned by the funnelStepName dimension. For example, specifying name = Purchase in the request's third funnel step will produce 3. Purchase in the funnel report response.

string name = 1;

Returns
TypeDescription
FunnelStep.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearWithinDurationFromPriorStep()

public FunnelStep.Builder clearWithinDurationFromPriorStep()

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Returns
TypeDescription
FunnelStep.Builder

clone()

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

getDefaultInstanceForType()

public FunnelStep getDefaultInstanceForType()
Returns
TypeDescription
FunnelStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilterExpression()

public FunnelFilterExpression getFilterExpression()

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Returns
TypeDescription
FunnelFilterExpression

The filterExpression.

getFilterExpressionBuilder()

public FunnelFilterExpression.Builder getFilterExpressionBuilder()

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Returns
TypeDescription
FunnelFilterExpression.Builder

getFilterExpressionOrBuilder()

public FunnelFilterExpressionOrBuilder getFilterExpressionOrBuilder()

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Returns
TypeDescription
FunnelFilterExpressionOrBuilder

getIsDirectlyFollowedBy()

public boolean getIsDirectlyFollowedBy()

If true, this step must directly follow the previous step. If false, there can be events between the previous step and this step. If unspecified, isDirectlyFollowedBy is treated as false.

bool is_directly_followed_by = 2;

Returns
TypeDescription
boolean

The isDirectlyFollowedBy.

getName()

public String getName()

The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines string value returned by the funnelStepName dimension. For example, specifying name = Purchase in the request's third funnel step will produce 3. Purchase in the funnel report response.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines string value returned by the funnelStepName dimension. For example, specifying name = Purchase in the request's third funnel step will produce 3. Purchase in the funnel report response.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getWithinDurationFromPriorStep()

public Duration getWithinDurationFromPriorStep()

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Returns
TypeDescription
Duration

The withinDurationFromPriorStep.

getWithinDurationFromPriorStepBuilder()

public Duration.Builder getWithinDurationFromPriorStepBuilder()

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Returns
TypeDescription
Builder

getWithinDurationFromPriorStepOrBuilder()

public DurationOrBuilder getWithinDurationFromPriorStepOrBuilder()

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Returns
TypeDescription
DurationOrBuilder

hasFilterExpression()

public boolean hasFilterExpression()

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Returns
TypeDescription
boolean

Whether the filterExpression field is set.

hasWithinDurationFromPriorStep()

public boolean hasWithinDurationFromPriorStep()

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Returns
TypeDescription
boolean

Whether the withinDurationFromPriorStep field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFilterExpression(FunnelFilterExpression value)

public FunnelStep.Builder mergeFilterExpression(FunnelFilterExpression value)

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Parameter
NameDescription
valueFunnelFilterExpression
Returns
TypeDescription
FunnelStep.Builder

mergeFrom(FunnelStep other)

public FunnelStep.Builder mergeFrom(FunnelStep other)
Parameter
NameDescription
otherFunnelStep
Returns
TypeDescription
FunnelStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public FunnelStep.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FunnelStep.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FunnelStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FunnelStep.Builder
Overrides

mergeWithinDurationFromPriorStep(Duration value)

public FunnelStep.Builder mergeWithinDurationFromPriorStep(Duration value)

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
FunnelStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilterExpression(FunnelFilterExpression value)

public FunnelStep.Builder setFilterExpression(FunnelFilterExpression value)

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Parameter
NameDescription
valueFunnelFilterExpression
Returns
TypeDescription
FunnelStep.Builder

setFilterExpression(FunnelFilterExpression.Builder builderForValue)

public FunnelStep.Builder setFilterExpression(FunnelFilterExpression.Builder builderForValue)

The condition that your users must meet to be included in this step of the funnel journey.

.google.analytics.data.v1alpha.FunnelFilterExpression filter_expression = 4;

Parameter
NameDescription
builderForValueFunnelFilterExpression.Builder
Returns
TypeDescription
FunnelStep.Builder

setIsDirectlyFollowedBy(boolean value)

public FunnelStep.Builder setIsDirectlyFollowedBy(boolean value)

If true, this step must directly follow the previous step. If false, there can be events between the previous step and this step. If unspecified, isDirectlyFollowedBy is treated as false.

bool is_directly_followed_by = 2;

Parameter
NameDescription
valueboolean

The isDirectlyFollowedBy to set.

Returns
TypeDescription
FunnelStep.Builder

This builder for chaining.

setName(String value)

public FunnelStep.Builder setName(String value)

The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines string value returned by the funnelStepName dimension. For example, specifying name = Purchase in the request's third funnel step will produce 3. Purchase in the funnel report response.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
FunnelStep.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FunnelStep.Builder setNameBytes(ByteString value)

The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines string value returned by the funnelStepName dimension. For example, specifying name = Purchase in the request's third funnel step will produce 3. Purchase in the funnel report response.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
FunnelStep.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setWithinDurationFromPriorStep(Duration value)

public FunnelStep.Builder setWithinDurationFromPriorStep(Duration value)

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
FunnelStep.Builder

setWithinDurationFromPriorStep(Duration.Builder builderForValue)

public FunnelStep.Builder setWithinDurationFromPriorStep(Duration.Builder builderForValue)

If specified, this step must complete within this duration of the completion of the prior step. withinDurationFromPriorStep is inclusive of the endpoint at the microsecond granularity. For example a duration of 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 microsecond. withinDurationFromPriorStep is optional, and if unspecified, steps may be separated by any time duration.

optional .google.protobuf.Duration within_duration_from_prior_step = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
FunnelStep.Builder