Class AudienceSequenceFilter.Builder (0.37.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep>
Returns
TypeDescription
AudienceSequenceFilter.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceSequenceFilter build()
Returns
TypeDescription
AudienceSequenceFilter

buildPartial()

public AudienceSequenceFilter buildPartial()
Returns
TypeDescription
AudienceSequenceFilter

clear()

public AudienceSequenceFilter.Builder clear()
Returns
TypeDescription
AudienceSequenceFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AudienceSequenceFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AudienceSequenceFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AudienceSequenceFilter getDefaultInstanceForType()
Returns
TypeDescription
AudienceSequenceFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sequenceMaximumDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AudienceSequenceFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AudienceSequenceFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
AudienceSequenceFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AudienceSequenceFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAudienceFilterScope

The scope to set.

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

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

Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
indexint
valueAudienceSequenceFilter.AudienceSequenceStep
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAudienceSequenceFilter.AudienceSequenceStep.Builder
Returns
TypeDescription
AudienceSequenceFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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