Class AudienceSequenceFilter.Builder (0.59.0)

public static final class AudienceSequenceFilter.Builder extends GeneratedMessageV3.Builder<AudienceSequenceFilter.Builder> implements AudienceSequenceFilterOrBuilder

Defines filters that must occur in a specific order for the user to be a member of the Audience.

Protobuf type google.analytics.admin.v1alpha.AudienceSequenceFilter

Static Methods

getDescriptor()

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

Methods

addAllSequenceSteps(Iterable<? extends AudienceSequenceFilter.AudienceSequenceStep> values)

public AudienceSequenceFilter.Builder addAllSequenceSteps(Iterable<? extends AudienceSequenceFilter.AudienceSequenceStep> values)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep>
Returns
Type Description
AudienceSequenceFilter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSequenceSteps(AudienceSequenceFilter.AudienceSequenceStep value)

public AudienceSequenceFilter.Builder addSequenceSteps(AudienceSequenceFilter.AudienceSequenceStep value)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

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

addSequenceSteps(AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue)

public AudienceSequenceFilter.Builder addSequenceSteps(AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

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

addSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep value)

public AudienceSequenceFilter.Builder addSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep value)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value AudienceSequenceFilter.AudienceSequenceStep
Returns
Type Description
AudienceSequenceFilter.Builder

addSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue)

public AudienceSequenceFilter.Builder addSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue AudienceSequenceFilter.AudienceSequenceStep.Builder
Returns
Type Description
AudienceSequenceFilter.Builder

addSequenceStepsBuilder()

public AudienceSequenceFilter.AudienceSequenceStep.Builder addSequenceStepsBuilder()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

addSequenceStepsBuilder(int index)

public AudienceSequenceFilter.AudienceSequenceStep.Builder addSequenceStepsBuilder(int index)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

build()

public AudienceSequenceFilter build()
Returns
Type Description
AudienceSequenceFilter

buildPartial()

public AudienceSequenceFilter buildPartial()
Returns
Type Description
AudienceSequenceFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScope()

public AudienceSequenceFilter.Builder clearScope()

Required. Immutable. Specifies the scope for this filter.

.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AudienceSequenceFilter.Builder

This builder for chaining.

clearSequenceMaximumDuration()

public AudienceSequenceFilter.Builder clearSequenceMaximumDuration()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AudienceSequenceFilter.Builder

clearSequenceSteps()

public AudienceSequenceFilter.Builder clearSequenceSteps()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudienceSequenceFilter.Builder

clone()

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

getDefaultInstanceForType()

public AudienceSequenceFilter getDefaultInstanceForType()
Returns
Type Description
AudienceSequenceFilter

getDescriptorForType()

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

getScope()

public AudienceFilterScope getScope()

Required. Immutable. Specifies the scope for this filter.

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

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

getSequenceMaximumDuration()

public Duration getSequenceMaximumDuration()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The sequenceMaximumDuration.

getSequenceMaximumDurationBuilder()

public Duration.Builder getSequenceMaximumDurationBuilder()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getSequenceMaximumDurationOrBuilder()

public DurationOrBuilder getSequenceMaximumDurationOrBuilder()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getSequenceSteps(int index)

public AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep

getSequenceStepsBuilder(int index)

public AudienceSequenceFilter.AudienceSequenceStep.Builder getSequenceStepsBuilder(int index)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep.Builder

getSequenceStepsBuilderList()

public List<AudienceSequenceFilter.AudienceSequenceStep.Builder> getSequenceStepsBuilderList()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getSequenceStepsCount()

public int getSequenceStepsCount()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getSequenceStepsList()

public List<AudienceSequenceFilter.AudienceSequenceStep> getSequenceStepsList()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<AudienceSequenceStep>

getSequenceStepsOrBuilder(int index)

public AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder(int index)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStepOrBuilder

getSequenceStepsOrBuilderList()

public List<? extends AudienceSequenceFilter.AudienceSequenceStepOrBuilder> getSequenceStepsOrBuilderList()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder>

hasSequenceMaximumDuration()

public boolean hasSequenceMaximumDuration()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sequenceMaximumDuration field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AudienceSequenceFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSequenceMaximumDuration(Duration value)

public AudienceSequenceFilter.Builder mergeSequenceMaximumDuration(Duration value)

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
AudienceSequenceFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeSequenceSteps(int index)

public AudienceSequenceFilter.Builder removeSequenceSteps(int index)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceSequenceFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setScope(AudienceFilterScope value)

public AudienceSequenceFilter.Builder setScope(AudienceFilterScope value)

Required. Immutable. Specifies the scope for this filter.

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

This builder for chaining.

setScopeValue(int value)

public AudienceSequenceFilter.Builder setScopeValue(int value)

Required. Immutable. Specifies the scope for this filter.

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

This builder for chaining.

setSequenceMaximumDuration(Duration value)

public AudienceSequenceFilter.Builder setSequenceMaximumDuration(Duration value)

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
AudienceSequenceFilter.Builder

setSequenceMaximumDuration(Duration.Builder builderForValue)

public AudienceSequenceFilter.Builder setSequenceMaximumDuration(Duration.Builder builderForValue)

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AudienceSequenceFilter.Builder

setSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep value)

public AudienceSequenceFilter.Builder setSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep value)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value AudienceSequenceFilter.AudienceSequenceStep
Returns
Type Description
AudienceSequenceFilter.Builder

setSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue)

public AudienceSequenceFilter.Builder setSequenceSteps(int index, AudienceSequenceFilter.AudienceSequenceStep.Builder builderForValue)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue AudienceSequenceFilter.AudienceSequenceStep.Builder
Returns
Type Description
AudienceSequenceFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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