Class EventSegmentCriteria.Builder

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

public static final class EventSegmentCriteria.Builder extends com.google.protobuf.GeneratedMessage.Builder<EventSegmentCriteria.Builder> implements EventSegmentCriteriaOrBuilder
 An event matches a criteria if the event meet the conditions in the
 criteria.
 
Protobuf type google.analytics.data.v1alpha.EventSegmentCriteria
  • 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<EventSegmentCriteria.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<EventSegmentCriteria.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<EventSegmentCriteria.Builder>
    • getDefaultInstanceForType

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

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

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

      public EventSegmentCriteria.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<EventSegmentCriteria.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<EventSegmentCriteria.Builder>
    • mergeFrom

      public EventSegmentCriteria.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<EventSegmentCriteria.Builder>
      Throws:
      IOException
    • getAndConditionGroupsList

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

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

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

      public EventSegmentCriteria.Builder setAndConditionGroups(int index, EventSegmentConditionGroup value)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • setAndConditionGroups

      public EventSegmentCriteria.Builder setAndConditionGroups(int index, EventSegmentConditionGroup.Builder builderForValue)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public EventSegmentCriteria.Builder addAndConditionGroups(EventSegmentConditionGroup value)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public EventSegmentCriteria.Builder addAndConditionGroups(int index, EventSegmentConditionGroup value)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public EventSegmentCriteria.Builder addAndConditionGroups(EventSegmentConditionGroup.Builder builderForValue)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • addAndConditionGroups

      public EventSegmentCriteria.Builder addAndConditionGroups(int index, EventSegmentConditionGroup.Builder builderForValue)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • addAllAndConditionGroups

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

      public EventSegmentCriteria.Builder clearAndConditionGroups()
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • removeAndConditionGroups

      public EventSegmentCriteria.Builder removeAndConditionGroups(int index)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
    • getAndConditionGroupsBuilder

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

      public EventSegmentConditionGroupOrBuilder getAndConditionGroupsOrBuilder(int index)
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
      Specified by:
      getAndConditionGroupsOrBuilder in interface EventSegmentCriteriaOrBuilder
    • getAndConditionGroupsOrBuilderList

      public List<? extends EventSegmentConditionGroupOrBuilder> getAndConditionGroupsOrBuilderList()
       An event matches this criteria if the event matches each of these
       `andConditionGroups`.
       
      repeated .google.analytics.data.v1alpha.EventSegmentConditionGroup and_condition_groups = 1;
      Specified by:
      getAndConditionGroupsOrBuilderList in interface EventSegmentCriteriaOrBuilder
    • addAndConditionGroupsBuilder

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

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

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