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