Class AudienceSequenceFilter.AudienceSequenceStep.Builder (0.22.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceSequenceFilter.AudienceSequenceStep build()
Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep

buildPartial()

public AudienceSequenceFilter.AudienceSequenceStep buildPartial()
Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep

clear()

public AudienceSequenceFilter.AudienceSequenceStep.Builder clear()
Returns
TypeDescription
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 (i.e., 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
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder

clearField(Descriptors.FieldDescriptor field)

public AudienceSequenceFilter.AudienceSequenceStep.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AudienceSequenceFilter.AudienceSequenceStep.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

clone()

public AudienceSequenceFilter.AudienceSequenceStep.Builder clone()
Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder
Overrides

getConstraintDuration()

public Duration getConstraintDuration()

Optional. When set, this step must be satisfied within the constraint_duration of the previous step (i.e., 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
TypeDescription
Duration

The constraintDuration.

getConstraintDurationBuilder()

public Duration.Builder getConstraintDurationBuilder()

Optional. When set, this step must be satisfied within the constraint_duration of the previous step (i.e., 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
TypeDescription
Builder

getConstraintDurationOrBuilder()

public DurationOrBuilder getConstraintDurationOrBuilder()

Optional. When set, this step must be satisfied within the constraint_duration of the previous step (i.e., 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
TypeDescription
DurationOrBuilder

getDefaultInstanceForType()

public AudienceSequenceFilter.AudienceSequenceStep getDefaultInstanceForType()
Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 (i.e., 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
TypeDescription
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
TypeDescription
boolean

Whether the filterExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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 (i.e., 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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpression
Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder

mergeFrom(AudienceSequenceFilter.AudienceSequenceStep other)

public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeFrom(AudienceSequenceFilter.AudienceSequenceStep other)
Parameter
NameDescription
otherAudienceSequenceFilter.AudienceSequenceStep
Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceSequenceFilter.AudienceSequenceStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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 (i.e., 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
NameDescription
valueDuration
Returns
TypeDescription
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 (i.e., 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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AudienceSequenceFilter.AudienceSequenceStep.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueAudienceFilterExpression
Returns
TypeDescription
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
NameDescription
builderForValueAudienceFilterExpression.Builder
Returns
TypeDescription
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
NameDescription
valueboolean

The immediatelyFollows to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAudienceFilterScope

The scope to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
AudienceSequenceFilter.AudienceSequenceStep.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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