Class AudienceSequenceFilter.AudienceSequenceStep.Builder

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

public static final class AudienceSequenceFilter.AudienceSequenceStep.Builder extends com.google.protobuf.GeneratedMessage.Builder<AudienceSequenceFilter.AudienceSequenceStep.Builder> implements AudienceSequenceFilter.AudienceSequenceStepOrBuilder
 A condition that must occur in the specified step order for this user
 to match the sequence.
 
Protobuf type google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep
  • 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<AudienceSequenceFilter.AudienceSequenceStep.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<AudienceSequenceFilter.AudienceSequenceStep.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<AudienceSequenceFilter.AudienceSequenceStep.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public AudienceSequenceFilter.AudienceSequenceStep.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<AudienceSequenceFilter.AudienceSequenceStep.Builder>
    • mergeFrom

    • isInitialized

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

      public AudienceSequenceFilter.AudienceSequenceStep.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<AudienceSequenceFilter.AudienceSequenceStep.Builder>
      Throws:
      IOException
    • getScopeValue

      public int getScopeValue()
       Required. Immutable. Specifies the scope for this step.
       
      .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getScopeValue in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
      Returns:
      The enum numeric value on the wire for scope.
    • setScopeValue

      public AudienceSequenceFilter.AudienceSequenceStep.Builder setScopeValue(int value)
       Required. Immutable. Specifies the scope for this step.
       
      .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for scope to set.
      Returns:
      This builder for chaining.
    • getScope

      public AudienceFilterScope getScope()
       Required. Immutable. Specifies the scope for this step.
       
      .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getScope in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
      Returns:
      The scope.
    • setScope

       Required. Immutable. Specifies the scope for this step.
       
      .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The scope to set.
      Returns:
      This builder for chaining.
    • clearScope

       Required. Immutable. Specifies the scope for this step.
       
      .google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getImmediatelyFollows

      public boolean getImmediatelyFollows()
       Optional. If true, the event satisfying this step must be the very next
       event after the event satisfying the last step. If unset or false, this
       step indirectly follows the prior step; for example, there may be
       events between the prior step and this step. It is ignored for the
       first step.
       
      bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getImmediatelyFollows in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
      Returns:
      The immediatelyFollows.
    • setImmediatelyFollows

      public AudienceSequenceFilter.AudienceSequenceStep.Builder setImmediatelyFollows(boolean value)
       Optional. If true, the event satisfying this step must be the very next
       event after the event satisfying the last step. If unset or false, this
       step indirectly follows the prior step; for example, there may be
       events between the prior step and this step. It is ignored for the
       first step.
       
      bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The immediatelyFollows to set.
      Returns:
      This builder for chaining.
    • clearImmediatelyFollows

      public AudienceSequenceFilter.AudienceSequenceStep.Builder clearImmediatelyFollows()
       Optional. If true, the event satisfying this step must be the very next
       event after the event satisfying the last step. If unset or false, this
       step indirectly follows the prior step; for example, there may be
       events between the prior step and this step. It is ignored for the
       first step.
       
      bool immediately_follows = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasConstraintDuration

      public boolean hasConstraintDuration()
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasConstraintDuration in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
      Returns:
      Whether the constraintDuration field is set.
    • getConstraintDuration

      public com.google.protobuf.Duration getConstraintDuration()
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConstraintDuration in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
      Returns:
      The constraintDuration.
    • setConstraintDuration

      public AudienceSequenceFilter.AudienceSequenceStep.Builder setConstraintDuration(com.google.protobuf.Duration value)
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setConstraintDuration

      public AudienceSequenceFilter.AudienceSequenceStep.Builder setConstraintDuration(com.google.protobuf.Duration.Builder builderForValue)
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeConstraintDuration

      public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeConstraintDuration(com.google.protobuf.Duration value)
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearConstraintDuration

      public AudienceSequenceFilter.AudienceSequenceStep.Builder clearConstraintDuration()
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getConstraintDurationBuilder

      public com.google.protobuf.Duration.Builder getConstraintDurationBuilder()
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getConstraintDurationOrBuilder

      public com.google.protobuf.DurationOrBuilder getConstraintDurationOrBuilder()
       Optional. When set, this step must be satisfied within the
       constraint_duration of the previous step (For example,  t[i] - t[i-1] <=
       constraint_duration). If not set, there is no duration requirement (the
       duration is effectively unlimited). It is ignored for the first step.
       
      .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getConstraintDurationOrBuilder in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
    • hasFilterExpression

      public boolean hasFilterExpression()
       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasFilterExpression in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
      Returns:
      Whether the filterExpression field is set.
    • getFilterExpression

      public AudienceFilterExpression getFilterExpression()
       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFilterExpression in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder
      Returns:
      The filterExpression.
    • setFilterExpression

       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • setFilterExpression

       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • mergeFilterExpression

       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • clearFilterExpression

       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • getFilterExpressionBuilder

      public AudienceFilterExpression.Builder getFilterExpressionBuilder()
       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
    • getFilterExpressionOrBuilder

      public AudienceFilterExpressionOrBuilder getFilterExpressionOrBuilder()
       Required. Immutable. A logical expression of Audience dimension, metric,
       or event filters in each step.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFilterExpressionOrBuilder in interface AudienceSequenceFilter.AudienceSequenceStepOrBuilder