Class AudienceEventFilter.Builder

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

public static final class AudienceEventFilter.Builder extends com.google.protobuf.GeneratedMessage.Builder<AudienceEventFilter.Builder> implements AudienceEventFilterOrBuilder
 A filter that matches events of a single event name. If an event parameter
 is specified, only the subset of events that match both the single event name
 and the parameter filter expressions match this event filter.
 
Protobuf type google.analytics.admin.v1alpha.AudienceEventFilter
  • 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<AudienceEventFilter.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<AudienceEventFilter.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<AudienceEventFilter.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public AudienceEventFilter.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<AudienceEventFilter.Builder>
      Throws:
      IOException
    • getEventName

      public String getEventName()
       Required. Immutable. The name of the event to match against.
       
      string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getEventName in interface AudienceEventFilterOrBuilder
      Returns:
      The eventName.
    • getEventNameBytes

      public com.google.protobuf.ByteString getEventNameBytes()
       Required. Immutable. The name of the event to match against.
       
      string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getEventNameBytes in interface AudienceEventFilterOrBuilder
      Returns:
      The bytes for eventName.
    • setEventName

      public AudienceEventFilter.Builder setEventName(String value)
       Required. Immutable. The name of the event to match against.
       
      string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The eventName to set.
      Returns:
      This builder for chaining.
    • clearEventName

      public AudienceEventFilter.Builder clearEventName()
       Required. Immutable. The name of the event to match against.
       
      string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setEventNameBytes

      public AudienceEventFilter.Builder setEventNameBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The name of the event to match against.
       
      string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for eventName to set.
      Returns:
      This builder for chaining.
    • hasEventParameterFilterExpression

      public boolean hasEventParameterFilterExpression()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasEventParameterFilterExpression in interface AudienceEventFilterOrBuilder
      Returns:
      Whether the eventParameterFilterExpression field is set.
    • getEventParameterFilterExpression

      public AudienceFilterExpression getEventParameterFilterExpression()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventParameterFilterExpression in interface AudienceEventFilterOrBuilder
      Returns:
      The eventParameterFilterExpression.
    • setEventParameterFilterExpression

      public AudienceEventFilter.Builder setEventParameterFilterExpression(AudienceFilterExpression value)
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setEventParameterFilterExpression

      public AudienceEventFilter.Builder setEventParameterFilterExpression(AudienceFilterExpression.Builder builderForValue)
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeEventParameterFilterExpression

      public AudienceEventFilter.Builder mergeEventParameterFilterExpression(AudienceFilterExpression value)
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearEventParameterFilterExpression

      public AudienceEventFilter.Builder clearEventParameterFilterExpression()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEventParameterFilterExpressionBuilder

      public AudienceFilterExpression.Builder getEventParameterFilterExpressionBuilder()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getEventParameterFilterExpressionOrBuilder

      public AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder()
       Optional. If specified, this filter matches events that match both the
       single event name and the parameter filter expressions. AudienceEventFilter
       inside the parameter filter expression cannot be set (For example, nested
       event filters are not supported). This should be a single and_group of
       dimension_or_metric_filter or not_expression; ANDs of ORs are not
       supported. Also, if it includes a filter for "eventCount", only that one
       will be considered; all the other filters will be ignored.
       
      .google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEventParameterFilterExpressionOrBuilder in interface AudienceEventFilterOrBuilder