Class SessionSegmentCriteria.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SessionSegmentCriteria.Builder>
com.google.analytics.data.v1alpha.SessionSegmentCriteria.Builder
All Implemented Interfaces:
SessionSegmentCriteriaOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SessionSegmentCriteria

public static final class SessionSegmentCriteria.Builder extends com.google.protobuf.GeneratedMessage.Builder<SessionSegmentCriteria.Builder> implements SessionSegmentCriteriaOrBuilder
 A session matches a criteria if the session's events meet the conditions in
 the criteria.
 
Protobuf type google.analytics.data.v1alpha.SessionSegmentCriteria
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SessionSegmentCriteria.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SessionSegmentCriteria.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SessionSegmentCriteria.Builder>
    • getDefaultInstanceForType

      public SessionSegmentCriteria getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SessionSegmentCriteria build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SessionSegmentCriteria buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SessionSegmentCriteria.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionSegmentCriteria.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<SessionSegmentCriteria.Builder>
    • mergeFrom

      public SessionSegmentCriteria.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SessionSegmentCriteria.Builder>
      Throws:
      IOException
    • getAndConditionGroupsList

      public List<SessionSegmentConditionGroup> getAndConditionGroupsList()
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
      Specified by:
      getAndConditionGroupsList in interface SessionSegmentCriteriaOrBuilder
    • getAndConditionGroupsCount

      public int getAndConditionGroupsCount()
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
      Specified by:
      getAndConditionGroupsCount in interface SessionSegmentCriteriaOrBuilder
    • getAndConditionGroups

      public SessionSegmentConditionGroup getAndConditionGroups(int index)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
      Specified by:
      getAndConditionGroups in interface SessionSegmentCriteriaOrBuilder
    • setAndConditionGroups

      public SessionSegmentCriteria.Builder setAndConditionGroups(int index, SessionSegmentConditionGroup value)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • setAndConditionGroups

      public SessionSegmentCriteria.Builder setAndConditionGroups(int index, SessionSegmentConditionGroup.Builder builderForValue)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public SessionSegmentCriteria.Builder addAndConditionGroups(SessionSegmentConditionGroup value)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public SessionSegmentCriteria.Builder addAndConditionGroups(int index, SessionSegmentConditionGroup value)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public SessionSegmentCriteria.Builder addAndConditionGroups(SessionSegmentConditionGroup.Builder builderForValue)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public SessionSegmentCriteria.Builder addAndConditionGroups(int index, SessionSegmentConditionGroup.Builder builderForValue)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • addAllAndConditionGroups

      public SessionSegmentCriteria.Builder addAllAndConditionGroups(Iterable<? extends SessionSegmentConditionGroup> values)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • clearAndConditionGroups

      public SessionSegmentCriteria.Builder clearAndConditionGroups()
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • removeAndConditionGroups

      public SessionSegmentCriteria.Builder removeAndConditionGroups(int index)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • getAndConditionGroupsBuilder

      public SessionSegmentConditionGroup.Builder getAndConditionGroupsBuilder(int index)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • getAndConditionGroupsOrBuilder

      public SessionSegmentConditionGroupOrBuilder getAndConditionGroupsOrBuilder(int index)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
      Specified by:
      getAndConditionGroupsOrBuilder in interface SessionSegmentCriteriaOrBuilder
    • getAndConditionGroupsOrBuilderList

      public List<? extends SessionSegmentConditionGroupOrBuilder> getAndConditionGroupsOrBuilderList()
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
      Specified by:
      getAndConditionGroupsOrBuilderList in interface SessionSegmentCriteriaOrBuilder
    • addAndConditionGroupsBuilder

      public SessionSegmentConditionGroup.Builder addAndConditionGroupsBuilder()
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroupsBuilder

      public SessionSegmentConditionGroup.Builder addAndConditionGroupsBuilder(int index)
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;
    • getAndConditionGroupsBuilderList

      public List<SessionSegmentConditionGroup.Builder> getAndConditionGroupsBuilderList()
       A session matches this criteria if the session matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.SessionSegmentConditionGroup and_condition_groups = 1;