- 0.63.0 (latest)
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UserSegmentSequenceGroup.BuilderImplements
UserSegmentSequenceGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentSequenceGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
value | UserSequenceStep |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
builderForValue | UserSequenceStep.Builder |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | UserSequenceStep |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | UserSequenceStep.Builder |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Type | Description |
UserSequenceStep.Builder |
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 |
Returns | |
---|---|
Type | Description |
UserSequenceStep.Builder |
build()
public UserSegmentSequenceGroup build()
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup |
buildPartial()
public UserSegmentSequenceGroup buildPartial()
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup |
clear()
public UserSegmentSequenceGroup.Builder clear()
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
clearField(Descriptors.FieldDescriptor field)
public UserSegmentSequenceGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UserSegmentSequenceGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
clone()
public UserSegmentSequenceGroup.Builder clone()
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
getDefaultInstanceForType()
public UserSegmentSequenceGroup getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
Builder |
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 | |
---|---|
Type | Description |
DurationOrBuilder |
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 | |
---|---|
Type | Description |
UserCriteriaScoping | The sequenceScoping. |
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 |
Returns | |
---|---|
Type | Description |
UserSequenceStep |
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 |
Returns | |
---|---|
Type | Description |
UserSequenceStep.Builder |
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 | |
---|---|
Type | Description |
List<Builder> |
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;
Returns | |
---|---|
Type | Description |
List<UserSequenceStep> |
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 |
Returns | |
---|---|
Type | Description |
UserSequenceStepOrBuilder |
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(UserSegmentSequenceGroup other)
public UserSegmentSequenceGroup.Builder mergeFrom(UserSegmentSequenceGroup other)
Parameter | |
---|---|
Name | Description |
other | UserSegmentSequenceGroup |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UserSegmentSequenceGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UserSegmentSequenceGroup.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentSequenceGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UserSegmentSequenceGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UserSegmentSequenceGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
value | Duration |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Type | Description |
UserSegmentSequenceGroup.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;
Parameter | |
---|---|
Name | Description |
value | UserCriteriaScoping The sequenceScoping to set. |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder | This builder for chaining. |
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 | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UserSegmentSequenceGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | UserSequenceStep |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | UserSequenceStep.Builder |
Returns | |
---|---|
Type | Description |
UserSegmentSequenceGroup.Builder |