Class AccessFilter

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1beta.AccessFilter
All Implemented Interfaces:
AccessFilterOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AccessFilter extends com.google.protobuf.GeneratedMessage implements AccessFilterOrBuilder
 An expression to filter dimension or metric values.
 
Protobuf type google.analytics.admin.v1beta.AccessFilter
See Also:
  • Field Details

    • 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:
    • FIELD_NAME_FIELD_NUMBER

      public static final int FIELD_NAME_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 AccessFilter.OneFilterCase getOneFilterCase()
      Specified by:
      getOneFilterCase in interface AccessFilterOrBuilder
    • hasStringFilter

      public boolean hasStringFilter()
       Strings related filter.
       
      .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;
      Specified by:
      hasStringFilter in interface AccessFilterOrBuilder
      Returns:
      Whether the stringFilter field is set.
    • getStringFilter

      public AccessStringFilter getStringFilter()
       Strings related filter.
       
      .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;
      Specified by:
      getStringFilter in interface AccessFilterOrBuilder
      Returns:
      The stringFilter.
    • getStringFilterOrBuilder

      public AccessStringFilterOrBuilder getStringFilterOrBuilder()
       Strings related filter.
       
      .google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;
      Specified by:
      getStringFilterOrBuilder in interface AccessFilterOrBuilder
    • hasInListFilter

      public boolean hasInListFilter()
       A filter for in list values.
       
      .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;
      Specified by:
      hasInListFilter in interface AccessFilterOrBuilder
      Returns:
      Whether the inListFilter field is set.
    • getInListFilter

      public AccessInListFilter getInListFilter()
       A filter for in list values.
       
      .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;
      Specified by:
      getInListFilter in interface AccessFilterOrBuilder
      Returns:
      The inListFilter.
    • getInListFilterOrBuilder

      public AccessInListFilterOrBuilder getInListFilterOrBuilder()
       A filter for in list values.
       
      .google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;
      Specified by:
      getInListFilterOrBuilder in interface AccessFilterOrBuilder
    • hasNumericFilter

      public boolean hasNumericFilter()
       A filter for numeric or date values.
       
      .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;
      Specified by:
      hasNumericFilter in interface AccessFilterOrBuilder
      Returns:
      Whether the numericFilter field is set.
    • getNumericFilter

      public AccessNumericFilter getNumericFilter()
       A filter for numeric or date values.
       
      .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;
      Specified by:
      getNumericFilter in interface AccessFilterOrBuilder
      Returns:
      The numericFilter.
    • getNumericFilterOrBuilder

      public AccessNumericFilterOrBuilder getNumericFilterOrBuilder()
       A filter for numeric or date values.
       
      .google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;
      Specified by:
      getNumericFilterOrBuilder in interface AccessFilterOrBuilder
    • hasBetweenFilter

      public boolean hasBetweenFilter()
       A filter for two values.
       
      .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;
      Specified by:
      hasBetweenFilter in interface AccessFilterOrBuilder
      Returns:
      Whether the betweenFilter field is set.
    • getBetweenFilter

      public AccessBetweenFilter getBetweenFilter()
       A filter for two values.
       
      .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;
      Specified by:
      getBetweenFilter in interface AccessFilterOrBuilder
      Returns:
      The betweenFilter.
    • getBetweenFilterOrBuilder

      public AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder()
       A filter for two values.
       
      .google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;
      Specified by:
      getBetweenFilterOrBuilder in interface AccessFilterOrBuilder
    • getFieldName

      public String getFieldName()
       The dimension name or metric name.
       
      string field_name = 1;
      Specified by:
      getFieldName in interface AccessFilterOrBuilder
      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 AccessFilterOrBuilder
      Returns:
      The bytes for fieldName.
    • 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 AccessFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AccessFilter.Builder newBuilder()
    • newBuilder

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

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

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

      public static AccessFilter getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AccessFilter> 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 AccessFilter getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder