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
Inherited Members
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
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceSequenceFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public AudienceSequenceFilter build()
Returns
buildPartial()
public AudienceSequenceFilter buildPartial()
Returns
clear()
public AudienceSequenceFilter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AudienceSequenceFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceSequenceFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
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
clone()
public AudienceSequenceFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AudienceSequenceFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AudienceSequenceFilter other)
public AudienceSequenceFilter.Builder mergeFrom(AudienceSequenceFilter other)
Parameter
Returns
public AudienceSequenceFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AudienceSequenceFilter.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceSequenceFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceSequenceFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceSequenceFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
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
Returns
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
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceSequenceFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides