Class FunnelStep.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FunnelStep.Builder>
com.google.analytics.data.v1alpha.FunnelStep.Builder
- All Implemented Interfaces:
FunnelStepOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FunnelStep
public static final class FunnelStep.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The condition that your users must meet to be included in this step of the funnel journey.If true, this step must directly follow the previous step.The distinctive name for this step.If specified, this step must complete within this duration of the completion of the prior step.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe condition that your users must meet to be included in this step of the funnel journey.The condition that your users must meet to be included in this step of the funnel journey.The condition that your users must meet to be included in this step of the funnel journey.booleanIf true, this step must directly follow the previous step.getName()The distinctive name for this step.com.google.protobuf.ByteStringThe distinctive name for this step.com.google.protobuf.DurationIf specified, this step must complete within this duration of the completion of the prior step.com.google.protobuf.Duration.BuilderIf specified, this step must complete within this duration of the completion of the prior step.com.google.protobuf.DurationOrBuilderIf specified, this step must complete within this duration of the completion of the prior step.booleanThe condition that your users must meet to be included in this step of the funnel journey.booleanIf specified, this step must complete within this duration of the completion of the prior step.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe condition that your users must meet to be included in this step of the funnel journey.mergeFrom(FunnelStep other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeWithinDurationFromPriorStep(com.google.protobuf.Duration value) If specified, this step must complete within this duration of the completion of the prior step.The condition that your users must meet to be included in this step of the funnel journey.setFilterExpression(FunnelFilterExpression.Builder builderForValue) The condition that your users must meet to be included in this step of the funnel journey.setIsDirectlyFollowedBy(boolean value) If true, this step must directly follow the previous step.The distinctive name for this step.setNameBytes(com.google.protobuf.ByteString value) The distinctive name for this step.setWithinDurationFromPriorStep(com.google.protobuf.Duration value) If specified, this step must complete within this duration of the completion of the prior step.setWithinDurationFromPriorStep(com.google.protobuf.Duration.Builder builderForValue) If specified, this step must complete within this duration of the completion of the prior step.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FunnelStep.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FunnelStep.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FunnelStep.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FunnelStep.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FunnelStep.Builder>
-
mergeFrom
public FunnelStep.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FunnelStep.Builder>- Throws:
IOException
-
getName
The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (for example "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;- Specified by:
getNamein interfaceFunnelStepOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (for example "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;- Specified by:
getNameBytesin interfaceFunnelStepOrBuilder- Returns:
- The bytes for name.
-
setName
The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (for example "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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (for example "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:
- This builder for chaining.
-
setNameBytes
The distinctive name for this step. If unspecified, steps will be named by a 1 based indexed name (for example "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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getIsDirectlyFollowedByin interfaceFunnelStepOrBuilder- Returns:
- The isDirectlyFollowedBy.
-
setIsDirectlyFollowedBy
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;- Parameters:
value- The isDirectlyFollowedBy to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasWithinDurationFromPriorStepin interfaceFunnelStepOrBuilder- Returns:
- Whether the withinDurationFromPriorStep field is set.
-
getWithinDurationFromPriorStep
public com.google.protobuf.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;- Specified by:
getWithinDurationFromPriorStepin interfaceFunnelStepOrBuilder- Returns:
- The withinDurationFromPriorStep.
-
setWithinDurationFromPriorStep
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; -
setWithinDurationFromPriorStep
public FunnelStep.Builder setWithinDurationFromPriorStep(com.google.protobuf.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; -
mergeWithinDurationFromPriorStep
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; -
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; -
getWithinDurationFromPriorStepBuilder
public com.google.protobuf.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; -
getWithinDurationFromPriorStepOrBuilder
public com.google.protobuf.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;- Specified by:
getWithinDurationFromPriorStepOrBuilderin interfaceFunnelStepOrBuilder
-
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;- Specified by:
hasFilterExpressionin interfaceFunnelStepOrBuilder- Returns:
- Whether the filterExpression field is set.
-
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;- Specified by:
getFilterExpressionin interfaceFunnelStepOrBuilder- Returns:
- The filterExpression.
-
setFilterExpression
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; -
setFilterExpression
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; -
mergeFilterExpression
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; -
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; -
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; -
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;- Specified by:
getFilterExpressionOrBuilderin interfaceFunnelStepOrBuilder
-