public static final class UserSegmentSequenceGroup.Builder extends GeneratedMessageV3.Builder<UserSegmentSequenceGroup.Builder> implements UserSegmentSequenceGroupOrBuilder
Define conditions that must occur in a specific order for the user to be
a member of the segment.
Protobuf type google.analytics.data.v1alpha.UserSegmentSequenceGroup
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()
Methods
addAllUserSequenceSteps(Iterable<? extends UserSequenceStep> values)
public UserSegmentSequenceGroup.Builder addAllUserSequenceSteps(Iterable<? extends UserSequenceStep> values)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.analytics.data.v1alpha.UserSequenceStep>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentSequenceGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addUserSequenceSteps(UserSequenceStep value)
public UserSegmentSequenceGroup.Builder addUserSequenceSteps(UserSequenceStep value)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
addUserSequenceSteps(UserSequenceStep.Builder builderForValue)
public UserSegmentSequenceGroup.Builder addUserSequenceSteps(UserSequenceStep.Builder builderForValue)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
addUserSequenceSteps(int index, UserSequenceStep value)
public UserSegmentSequenceGroup.Builder addUserSequenceSteps(int index, UserSequenceStep value)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
addUserSequenceSteps(int index, UserSequenceStep.Builder builderForValue)
public UserSegmentSequenceGroup.Builder addUserSequenceSteps(int index, UserSequenceStep.Builder builderForValue)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
addUserSequenceStepsBuilder()
public UserSequenceStep.Builder addUserSequenceStepsBuilder()
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
addUserSequenceStepsBuilder(int index)
public UserSequenceStep.Builder addUserSequenceStepsBuilder(int index)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Parameter |
---|
Name | Description |
index | int
|
build()
public UserSegmentSequenceGroup build()
buildPartial()
public UserSegmentSequenceGroup buildPartial()
clear()
public UserSegmentSequenceGroup.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UserSegmentSequenceGroup.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UserSegmentSequenceGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSequenceMaximumDuration()
public UserSegmentSequenceGroup.Builder clearSequenceMaximumDuration()
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
clearSequenceScoping()
public UserSegmentSequenceGroup.Builder clearSequenceScoping()
All sequence steps must be satisfied in the scoping for the user to
match the sequence. For example if sequenceScoping =
USER_CRITERIA_WITHIN_SAME_SESSION
, all sequence steps must complete within
one session for the user to match the sequence. sequenceScoping =
USER_CRITERIA_WITHIN_SAME_EVENT
is not supported.
Optional. If unspecified, conditionScoping = ACROSS_ALL_SESSIONS
is
used.
.google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1;
clearUserSequenceSteps()
public UserSegmentSequenceGroup.Builder clearUserSequenceSteps()
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
clone()
public UserSegmentSequenceGroup.Builder clone()
Overrides
getDefaultInstanceForType()
public UserSegmentSequenceGroup getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSequenceMaximumDuration()
public Duration getSequenceMaximumDuration()
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
Returns |
---|
Type | Description |
Duration | The sequenceMaximumDuration.
|
getSequenceMaximumDurationBuilder()
public Duration.Builder getSequenceMaximumDurationBuilder()
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
getSequenceMaximumDurationOrBuilder()
public DurationOrBuilder getSequenceMaximumDurationOrBuilder()
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
getSequenceScoping()
public UserCriteriaScoping getSequenceScoping()
All sequence steps must be satisfied in the scoping for the user to
match the sequence. For example if sequenceScoping =
USER_CRITERIA_WITHIN_SAME_SESSION
, all sequence steps must complete within
one session for the user to match the sequence. sequenceScoping =
USER_CRITERIA_WITHIN_SAME_EVENT
is not supported.
Optional. If unspecified, conditionScoping = ACROSS_ALL_SESSIONS
is
used.
.google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1;
getSequenceScopingValue()
public int getSequenceScopingValue()
All sequence steps must be satisfied in the scoping for the user to
match the sequence. For example if sequenceScoping =
USER_CRITERIA_WITHIN_SAME_SESSION
, all sequence steps must complete within
one session for the user to match the sequence. sequenceScoping =
USER_CRITERIA_WITHIN_SAME_EVENT
is not supported.
Optional. If unspecified, conditionScoping = ACROSS_ALL_SESSIONS
is
used.
.google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for sequenceScoping.
|
getUserSequenceSteps(int index)
public UserSequenceStep getUserSequenceSteps(int index)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Parameter |
---|
Name | Description |
index | int
|
getUserSequenceStepsBuilder(int index)
public UserSequenceStep.Builder getUserSequenceStepsBuilder(int index)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Parameter |
---|
Name | Description |
index | int
|
getUserSequenceStepsBuilderList()
public List<UserSequenceStep.Builder> getUserSequenceStepsBuilderList()
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
getUserSequenceStepsCount()
public int getUserSequenceStepsCount()
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Returns |
---|
Type | Description |
int | |
getUserSequenceStepsList()
public List<UserSequenceStep> getUserSequenceStepsList()
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
getUserSequenceStepsOrBuilder(int index)
public UserSequenceStepOrBuilder getUserSequenceStepsOrBuilder(int index)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Parameter |
---|
Name | Description |
index | int
|
getUserSequenceStepsOrBuilderList()
public List<? extends UserSequenceStepOrBuilder> getUserSequenceStepsOrBuilderList()
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Returns |
---|
Type | Description |
List<? extends com.google.analytics.data.v1alpha.UserSequenceStepOrBuilder> | |
hasSequenceMaximumDuration()
public boolean hasSequenceMaximumDuration()
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
Returns |
---|
Type | Description |
boolean | Whether the sequenceMaximumDuration field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UserSegmentSequenceGroup other)
public UserSegmentSequenceGroup.Builder mergeFrom(UserSegmentSequenceGroup other)
public UserSegmentSequenceGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UserSegmentSequenceGroup.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSequenceMaximumDuration(Duration value)
public UserSegmentSequenceGroup.Builder mergeSequenceMaximumDuration(Duration value)
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentSequenceGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeUserSequenceSteps(int index)
public UserSegmentSequenceGroup.Builder removeUserSequenceSteps(int index)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentSequenceGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserSegmentSequenceGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSequenceMaximumDuration(Duration value)
public UserSegmentSequenceGroup.Builder setSequenceMaximumDuration(Duration value)
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
setSequenceMaximumDuration(Duration.Builder builderForValue)
public UserSegmentSequenceGroup.Builder setSequenceMaximumDuration(Duration.Builder builderForValue)
Defines the time period in which the whole sequence must occur; for
example, 30 Minutes. sequenceMaximumDuration
is inclusive
of the endpoint at the microsecond granularity. For example a sequence
with a maximum duration of 5 seconds can be completed at 4.9 or 5.0
seconds, but not 5 seconds and 1 microsecond.
sequenceMaximumDuration
is optional, and if unspecified, sequences can
be completed in any time duration.
.google.protobuf.Duration sequence_maximum_duration = 2;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setSequenceScoping(UserCriteriaScoping value)
public UserSegmentSequenceGroup.Builder setSequenceScoping(UserCriteriaScoping value)
All sequence steps must be satisfied in the scoping for the user to
match the sequence. For example if sequenceScoping =
USER_CRITERIA_WITHIN_SAME_SESSION
, all sequence steps must complete within
one session for the user to match the sequence. sequenceScoping =
USER_CRITERIA_WITHIN_SAME_EVENT
is not supported.
Optional. If unspecified, conditionScoping = ACROSS_ALL_SESSIONS
is
used.
.google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1;
setSequenceScopingValue(int value)
public UserSegmentSequenceGroup.Builder setSequenceScopingValue(int value)
All sequence steps must be satisfied in the scoping for the user to
match the sequence. For example if sequenceScoping =
USER_CRITERIA_WITHIN_SAME_SESSION
, all sequence steps must complete within
one session for the user to match the sequence. sequenceScoping =
USER_CRITERIA_WITHIN_SAME_EVENT
is not supported.
Optional. If unspecified, conditionScoping = ACROSS_ALL_SESSIONS
is
used.
.google.analytics.data.v1alpha.UserCriteriaScoping sequence_scoping = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for sequenceScoping to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentSequenceGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUserSequenceSteps(int index, UserSequenceStep value)
public UserSegmentSequenceGroup.Builder setUserSequenceSteps(int index, UserSequenceStep value)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;
setUserSequenceSteps(int index, UserSequenceStep.Builder builderForValue)
public UserSegmentSequenceGroup.Builder setUserSequenceSteps(int index, UserSequenceStep.Builder builderForValue)
An ordered sequence of condition steps. A user's events must complete
each step in order for the user to match the
UserSegmentSequenceGroup
.
repeated .google.analytics.data.v1alpha.UserSequenceStep user_sequence_steps = 3;