Class AudienceSequenceFilter.AudienceSequenceStep.Builder (0.62.0)

public static final class AudienceSequenceFilter.AudienceSequenceStep.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

build()

public AudienceSequenceFilter.AudienceSequenceStep build()
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep

buildPartial()

public AudienceSequenceFilter.AudienceSequenceStep buildPartial()
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep

clear()

public AudienceSequenceFilter.AudienceSequenceStep.Builder clear()
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

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];

Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

clearField(Descriptors.FieldDescriptor field)

public AudienceSequenceFilter.AudienceSequenceStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

clearFilterExpression()

public AudienceSequenceFilter.AudienceSequenceStep.Builder 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];

Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

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
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudienceSequenceFilter.AudienceSequenceStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

clearScope()

public AudienceSequenceFilter.AudienceSequenceStep.Builder 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
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

clone()

public AudienceSequenceFilter.AudienceSequenceStep.Builder clone()
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

getConstraintDuration()

public 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];

Returns
Type Description
Duration

The constraintDuration.

getConstraintDurationBuilder()

public 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];

Returns
Type Description
Builder

getConstraintDurationOrBuilder()

public 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];

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

public AudienceSequenceFilter.AudienceSequenceStep getDefaultInstanceForType()
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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];

Returns
Type Description
AudienceFilterExpression

The filterExpression.

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];

Returns
Type Description
AudienceFilterExpression.Builder

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];

Returns
Type Description
AudienceFilterExpressionOrBuilder

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];

Returns
Type Description
boolean

The immediatelyFollows.

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];

Returns
Type Description
AudienceFilterScope

The scope.

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];

Returns
Type Description
int

The enum numeric value on the wire for scope.

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];

Returns
Type Description
boolean

Whether the constraintDuration field is set.

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];

Returns
Type Description
boolean

Whether the filterExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConstraintDuration(Duration value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeConstraintDuration(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];

Parameter
Name Description
value Duration
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

mergeFilterExpression(AudienceFilterExpression value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeFilterExpression(AudienceFilterExpression value)

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];

Parameter
Name Description
value AudienceFilterExpression
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

mergeFrom(AudienceSequenceFilter.AudienceSequenceStep other)

public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeFrom(AudienceSequenceFilter.AudienceSequenceStep other)
Parameter
Name Description
other AudienceSequenceFilter.AudienceSequenceStep
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceSequenceFilter.AudienceSequenceStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

setConstraintDuration(Duration value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder setConstraintDuration(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];

Parameter
Name Description
value Duration
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

setConstraintDuration(Duration.Builder builderForValue)

public AudienceSequenceFilter.AudienceSequenceStep.Builder setConstraintDuration(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

setFilterExpression(AudienceFilterExpression value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder setFilterExpression(AudienceFilterExpression value)

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];

Parameter
Name Description
value AudienceFilterExpression
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

setFilterExpression(AudienceFilterExpression.Builder builderForValue)

public AudienceSequenceFilter.AudienceSequenceStep.Builder setFilterExpression(AudienceFilterExpression.Builder builderForValue)

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];

Parameter
Name Description
builderForValue AudienceFilterExpression.Builder
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

setImmediatelyFollows(boolean value)

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];

Parameter
Name Description
value boolean

The immediatelyFollows to set.

Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

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

public AudienceSequenceFilter.AudienceSequenceStep.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

setScope(AudienceFilterScope value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder setScope(AudienceFilterScope 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];

Parameter
Name Description
value AudienceFilterScope

The scope to set.

Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

setScopeValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for scope to set.

Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AudienceSequenceFilter.AudienceSequenceStep.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides