Class SegmentFilter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.SegmentFilter
All Implemented Interfaces:
SegmentFilterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class SegmentFilter extends com.google.protobuf.GeneratedMessage implements SegmentFilterOrBuilder
 An expression to filter dimension or metric values.
 
Protobuf type google.analytics.data.v1alpha.SegmentFilter
See Also:
  • Field Details

    • FIELD_NAME_FIELD_NUMBER

      public static final int FIELD_NAME_FIELD_NUMBER
      See Also:
    • STRING_FILTER_FIELD_NUMBER

      public static final int STRING_FILTER_FIELD_NUMBER
      See Also:
    • IN_LIST_FILTER_FIELD_NUMBER

      public static final int IN_LIST_FILTER_FIELD_NUMBER
      See Also:
    • NUMERIC_FILTER_FIELD_NUMBER

      public static final int NUMERIC_FILTER_FIELD_NUMBER
      See Also:
    • BETWEEN_FILTER_FIELD_NUMBER

      public static final int BETWEEN_FILTER_FIELD_NUMBER
      See Also:
    • FILTER_SCOPING_FIELD_NUMBER

      public static final int FILTER_SCOPING_FIELD_NUMBER
      See Also:
  • 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
    • getOneFilterCase

      public SegmentFilter.OneFilterCase getOneFilterCase()
      Specified by:
      getOneFilterCase in interface SegmentFilterOrBuilder
    • getFieldName

      public String getFieldName()
       The dimension name or metric name.
       
      string field_name = 1;
      Specified by:
      getFieldName in interface SegmentFilterOrBuilder
      Returns:
      The fieldName.
    • getFieldNameBytes

      public com.google.protobuf.ByteString getFieldNameBytes()
       The dimension name or metric name.
       
      string field_name = 1;
      Specified by:
      getFieldNameBytes in interface SegmentFilterOrBuilder
      Returns:
      The bytes for fieldName.
    • hasStringFilter

      public boolean hasStringFilter()
       Strings related filter.
       
      .google.analytics.data.v1alpha.StringFilter string_filter = 4;
      Specified by:
      hasStringFilter in interface SegmentFilterOrBuilder
      Returns:
      Whether the stringFilter field is set.
    • getStringFilter

      public StringFilter getStringFilter()
       Strings related filter.
       
      .google.analytics.data.v1alpha.StringFilter string_filter = 4;
      Specified by:
      getStringFilter in interface SegmentFilterOrBuilder
      Returns:
      The stringFilter.
    • getStringFilterOrBuilder

      public StringFilterOrBuilder getStringFilterOrBuilder()
       Strings related filter.
       
      .google.analytics.data.v1alpha.StringFilter string_filter = 4;
      Specified by:
      getStringFilterOrBuilder in interface SegmentFilterOrBuilder
    • hasInListFilter

      public boolean hasInListFilter()
       A filter for in list values.
       
      .google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
      Specified by:
      hasInListFilter in interface SegmentFilterOrBuilder
      Returns:
      Whether the inListFilter field is set.
    • getInListFilter

      public InListFilter getInListFilter()
       A filter for in list values.
       
      .google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
      Specified by:
      getInListFilter in interface SegmentFilterOrBuilder
      Returns:
      The inListFilter.
    • getInListFilterOrBuilder

      public InListFilterOrBuilder getInListFilterOrBuilder()
       A filter for in list values.
       
      .google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
      Specified by:
      getInListFilterOrBuilder in interface SegmentFilterOrBuilder
    • hasNumericFilter

      public boolean hasNumericFilter()
       A filter for numeric or date values.
       
      .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
      Specified by:
      hasNumericFilter in interface SegmentFilterOrBuilder
      Returns:
      Whether the numericFilter field is set.
    • getNumericFilter

      public NumericFilter getNumericFilter()
       A filter for numeric or date values.
       
      .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
      Specified by:
      getNumericFilter in interface SegmentFilterOrBuilder
      Returns:
      The numericFilter.
    • getNumericFilterOrBuilder

      public NumericFilterOrBuilder getNumericFilterOrBuilder()
       A filter for numeric or date values.
       
      .google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
      Specified by:
      getNumericFilterOrBuilder in interface SegmentFilterOrBuilder
    • hasBetweenFilter

      public boolean hasBetweenFilter()
       A filter for between two values.
       
      .google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
      Specified by:
      hasBetweenFilter in interface SegmentFilterOrBuilder
      Returns:
      Whether the betweenFilter field is set.
    • getBetweenFilter

      public BetweenFilter getBetweenFilter()
       A filter for between two values.
       
      .google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
      Specified by:
      getBetweenFilter in interface SegmentFilterOrBuilder
      Returns:
      The betweenFilter.
    • getBetweenFilterOrBuilder

      public BetweenFilterOrBuilder getBetweenFilterOrBuilder()
       A filter for between two values.
       
      .google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
      Specified by:
      getBetweenFilterOrBuilder in interface SegmentFilterOrBuilder
    • hasFilterScoping

      public boolean hasFilterScoping()
       Specifies the scope for the filter.
       
      .google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
      Specified by:
      hasFilterScoping in interface SegmentFilterOrBuilder
      Returns:
      Whether the filterScoping field is set.
    • getFilterScoping

      public SegmentFilterScoping getFilterScoping()
       Specifies the scope for the filter.
       
      .google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
      Specified by:
      getFilterScoping in interface SegmentFilterOrBuilder
      Returns:
      The filterScoping.
    • getFilterScopingOrBuilder

      public SegmentFilterScopingOrBuilder getFilterScopingOrBuilder()
       Specifies the scope for the filter.
       
      .google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
      Specified by:
      getFilterScopingOrBuilder in interface SegmentFilterOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SegmentFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SegmentFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SegmentFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SegmentFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SegmentFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SegmentFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SegmentFilter parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SegmentFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SegmentFilter parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SegmentFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SegmentFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SegmentFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SegmentFilter.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SegmentFilter.Builder newBuilder()
    • newBuilder

      public static SegmentFilter.Builder newBuilder(SegmentFilter prototype)
    • toBuilder

      public SegmentFilter.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SegmentFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static SegmentFilter getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SegmentFilter> parser()
    • getParserForType

      public com.google.protobuf.Parser<SegmentFilter> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public SegmentFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder