Class UserSegmentCriteria.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UserSegmentCriteria.Builder>
com.google.analytics.data.v1alpha.UserSegmentCriteria.Builder
- All Implemented Interfaces:
UserSegmentCriteriaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UserSegmentCriteria
public static final class UserSegmentCriteria.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UserSegmentCriteria.Builder>
implements UserSegmentCriteriaOrBuilder
A user matches a criteria if the user's events meet the conditions in the criteria.Protobuf type
google.analytics.data.v1alpha.UserSegmentCriteria-
Method Summary
Modifier and TypeMethodDescriptionaddAllAndConditionGroups(Iterable<? extends UserSegmentConditionGroup> values) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.addAllAndSequenceGroups(Iterable<? extends UserSegmentSequenceGroup> values) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.addAndConditionGroups(int index, UserSegmentConditionGroup value) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.addAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.addAndConditionGroups(UserSegmentConditionGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.addAndConditionGroupsBuilder(int index) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.addAndSequenceGroups(int index, UserSegmentSequenceGroup value) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.addAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.addAndSequenceGroups(UserSegmentSequenceGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.addAndSequenceGroupsBuilder(int index) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.build()clear()A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.getAndConditionGroups(int index) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.getAndConditionGroupsBuilder(int index) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.intA user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.getAndConditionGroupsOrBuilder(int index) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.List<? extends UserSegmentConditionGroupOrBuilder>A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.getAndSequenceGroups(int index) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.getAndSequenceGroupsBuilder(int index) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.intA user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.getAndSequenceGroupsOrBuilder(int index) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.List<? extends UserSegmentSequenceGroupOrBuilder>A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(UserSegmentCriteria other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAndConditionGroups(int index) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.removeAndSequenceGroups(int index) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.setAndConditionGroups(int index, UserSegmentConditionGroup value) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.setAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`.setAndSequenceGroups(int index, UserSegmentSequenceGroup value) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.setAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<UserSegmentCriteria.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<UserSegmentCriteria.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<UserSegmentCriteria.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserSegmentCriteria.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UserSegmentCriteria.Builder>
-
mergeFrom
public UserSegmentCriteria.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UserSegmentCriteria.Builder>- Throws:
IOException
-
getAndConditionGroupsList
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;- Specified by:
getAndConditionGroupsListin interfaceUserSegmentCriteriaOrBuilder
-
getAndConditionGroupsCount
public int getAndConditionGroupsCount()A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;- Specified by:
getAndConditionGroupsCountin interfaceUserSegmentCriteriaOrBuilder
-
getAndConditionGroups
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;- Specified by:
getAndConditionGroupsin interfaceUserSegmentCriteriaOrBuilder
-
setAndConditionGroups
public UserSegmentCriteria.Builder setAndConditionGroups(int index, UserSegmentConditionGroup value) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
setAndConditionGroups
public UserSegmentCriteria.Builder setAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
addAndConditionGroups
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
addAndConditionGroups
public UserSegmentCriteria.Builder addAndConditionGroups(int index, UserSegmentConditionGroup value) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
addAndConditionGroups
public UserSegmentCriteria.Builder addAndConditionGroups(UserSegmentConditionGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
addAndConditionGroups
public UserSegmentCriteria.Builder addAndConditionGroups(int index, UserSegmentConditionGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
addAllAndConditionGroups
public UserSegmentCriteria.Builder addAllAndConditionGroups(Iterable<? extends UserSegmentConditionGroup> values) A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
clearAndConditionGroups
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
removeAndConditionGroups
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
getAndConditionGroupsBuilder
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
getAndConditionGroupsOrBuilder
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;- Specified by:
getAndConditionGroupsOrBuilderin interfaceUserSegmentCriteriaOrBuilder
-
getAndConditionGroupsOrBuilderList
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1;- Specified by:
getAndConditionGroupsOrBuilderListin interfaceUserSegmentCriteriaOrBuilder
-
addAndConditionGroupsBuilder
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
addAndConditionGroupsBuilder
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
getAndConditionGroupsBuilderList
A user matches this criteria if the user matches each of these `andConditionGroups` and each of the `andSequenceGroups`. `andConditionGroups` may be empty if `andSequenceGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentConditionGroup and_condition_groups = 1; -
getAndSequenceGroupsList
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;- Specified by:
getAndSequenceGroupsListin interfaceUserSegmentCriteriaOrBuilder
-
getAndSequenceGroupsCount
public int getAndSequenceGroupsCount()A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;- Specified by:
getAndSequenceGroupsCountin interfaceUserSegmentCriteriaOrBuilder
-
getAndSequenceGroups
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;- Specified by:
getAndSequenceGroupsin interfaceUserSegmentCriteriaOrBuilder
-
setAndSequenceGroups
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
setAndSequenceGroups
public UserSegmentCriteria.Builder setAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
addAndSequenceGroups
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
addAndSequenceGroups
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
addAndSequenceGroups
public UserSegmentCriteria.Builder addAndSequenceGroups(UserSegmentSequenceGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
addAndSequenceGroups
public UserSegmentCriteria.Builder addAndSequenceGroups(int index, UserSegmentSequenceGroup.Builder builderForValue) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
addAllAndSequenceGroups
public UserSegmentCriteria.Builder addAllAndSequenceGroups(Iterable<? extends UserSegmentSequenceGroup> values) A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
clearAndSequenceGroups
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
removeAndSequenceGroups
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
getAndSequenceGroupsBuilder
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
getAndSequenceGroupsOrBuilder
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;- Specified by:
getAndSequenceGroupsOrBuilderin interfaceUserSegmentCriteriaOrBuilder
-
getAndSequenceGroupsOrBuilderList
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;- Specified by:
getAndSequenceGroupsOrBuilderListin interfaceUserSegmentCriteriaOrBuilder
-
addAndSequenceGroupsBuilder
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
addAndSequenceGroupsBuilder
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2; -
getAndSequenceGroupsBuilderList
A user matches this criteria if the user matches each of these `andSequenceGroups` and each of the `andConditionGroups`. `andSequenceGroups` may be empty if `andConditionGroups` are specified.
repeated .google.analytics.data.v1alpha.UserSegmentSequenceGroup and_sequence_groups = 2;
-