Class Funnel.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Funnel.Builder>
com.google.analytics.data.v1alpha.Funnel.Builder
All Implemented Interfaces:
FunnelOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Funnel

public static final class Funnel.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Funnel.Builder>
    • clear

      public Funnel.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Funnel.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Funnel.Builder>
    • getDefaultInstanceForType

      public Funnel getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Funnel build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Funnel buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Funnel.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Funnel.Builder>
    • mergeFrom

      public Funnel.Builder mergeFrom(Funnel other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Funnel.Builder>
    • mergeFrom

      public Funnel.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Funnel.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      getIsOpenFunnel in interface FunnelOrBuilder
      Returns:
      The isOpenFunnel.
    • setIsOpenFunnel

      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;
      Parameters:
      value - The isOpenFunnel to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • getStepsList

      public List<FunnelStep> getStepsList()
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
      Specified by:
      getStepsList in interface FunnelOrBuilder
    • getStepsCount

      public int getStepsCount()
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
      Specified by:
      getStepsCount in interface FunnelOrBuilder
    • getSteps

      public FunnelStep getSteps(int index)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
      Specified by:
      getSteps in interface FunnelOrBuilder
    • setSteps

      public Funnel.Builder setSteps(int index, FunnelStep value)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • setSteps

      public Funnel.Builder setSteps(int index, FunnelStep.Builder builderForValue)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • addSteps

      public Funnel.Builder addSteps(FunnelStep value)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • addSteps

      public Funnel.Builder addSteps(int index, FunnelStep value)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • addSteps

      public Funnel.Builder addSteps(FunnelStep.Builder builderForValue)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • addSteps

      public Funnel.Builder addSteps(int index, FunnelStep.Builder builderForValue)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • addAllSteps

      public Funnel.Builder addAllSteps(Iterable<? extends FunnelStep> values)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • clearSteps

      public Funnel.Builder clearSteps()
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • removeSteps

      public Funnel.Builder removeSteps(int index)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • getStepsBuilder

      public FunnelStep.Builder getStepsBuilder(int index)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • getStepsOrBuilder

      public FunnelStepOrBuilder getStepsOrBuilder(int index)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
      Specified by:
      getStepsOrBuilder in interface FunnelOrBuilder
    • getStepsOrBuilderList

      public List<? extends FunnelStepOrBuilder> getStepsOrBuilderList()
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
      Specified by:
      getStepsOrBuilderList in interface FunnelOrBuilder
    • addStepsBuilder

      public FunnelStep.Builder addStepsBuilder()
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • addStepsBuilder

      public FunnelStep.Builder addStepsBuilder(int index)
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;
    • getStepsBuilderList

      public List<FunnelStep.Builder> getStepsBuilderList()
       The sequential steps of this funnel.
       
      repeated .google.analytics.data.v1alpha.FunnelStep steps = 2;