Class AudienceSequenceFilter.AudienceSequenceStep.Builder (0.16.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public AudienceSequenceFilter.AudienceSequenceStep build()
Returns

buildPartial()

public AudienceSequenceFilter.AudienceSequenceStep buildPartial()
Returns

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

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

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

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

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

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

mergeFrom(AudienceSequenceFilter.AudienceSequenceStep other)

public AudienceSequenceFilter.AudienceSequenceStep.Builder mergeFrom(AudienceSequenceFilter.AudienceSequenceStep other)
Parameter Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceSequenceFilter.AudienceSequenceStep.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns 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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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 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 Overrides