Send feedback Class AccessFilterExpression (0.22.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.22.0 keyboard_arrow_down
public final class AccessFilterExpression extends GeneratedMessageV3 implements AccessFilterExpressionOrBuilder
Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.
Protobuf type google.analytics.admin.v1alpha.AccessFilterExpression
Static Fields ACCESS_FILTER_FIELD_NUMBER
public static final int ACCESS_FILTER_FIELD_NUMBER
Field Value AND_GROUP_FIELD_NUMBER
public static final int AND_GROUP_FIELD_NUMBER
Field Value NOT_EXPRESSION_FIELD_NUMBER
public static final int NOT_EXPRESSION_FIELD_NUMBER
Field Value OR_GROUP_FIELD_NUMBER
public static final int OR_GROUP_FIELD_NUMBER
Field Value Static Methods getDefaultInstance()
public static AccessFilterExpression getDefaultInstance ()
Returns getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns newBuilder()
public static AccessFilterExpression . Builder newBuilder ()
Returns newBuilder(AccessFilterExpression )
public static AccessFilterExpression . Builder newBuilder ( AccessFilterExpression )
Parameter Returns
public static AccessFilterExpression parseDelimitedFrom ( InputStream input )
Parameter Returns Exceptions
public static AccessFilterExpression parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(byte[] data)
public static AccessFilterExpression parseFrom ( byte [] data )
Parameter Name Description data
byte []
Returns Exceptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccessFilterExpression parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteString data)
public static AccessFilterExpression parseFrom ( ByteString data )
Parameter Returns Exceptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccessFilterExpression parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static AccessFilterExpression parseFrom ( CodedInputStream input )
Parameter Returns Exceptions
public static AccessFilterExpression parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static AccessFilterExpression parseFrom ( InputStream input )
Parameter Returns Exceptions
public static AccessFilterExpression parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteBuffer data)
public static AccessFilterExpression parseFrom ( ByteBuffer data )
Parameter Returns Exceptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccessFilterExpression parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parser()
public static Parser<AccessFilterExpression> parser ()
Returns Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Returns Overrides getAccessFilter()
public AccessFilter getAccessFilter ()
A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
Returns getAccessFilterOrBuilder()
public AccessFilterOrBuilder getAccessFilterOrBuilder ()
A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
Returns getAndGroup()
public AccessFilterExpressionList getAndGroup ()
Each of the FilterExpressions in the and_group has an AND relationship.
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
Returns getAndGroupOrBuilder()
public AccessFilterExpressionListOrBuilder getAndGroupOrBuilder ()
Each of the FilterExpressions in the and_group has an AND relationship.
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
Returns getDefaultInstanceForType()
public AccessFilterExpression getDefaultInstanceForType ()
Returns getNotExpression()
public AccessFilterExpression getNotExpression ()
The FilterExpression is NOT of not_expression.
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
Returns getNotExpressionOrBuilder()
public AccessFilterExpressionOrBuilder getNotExpressionOrBuilder ()
The FilterExpression is NOT of not_expression.
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
Returns getOneExpressionCase()
public AccessFilterExpression . OneExpressionCase getOneExpressionCase ()
Returns getOrGroup()
public AccessFilterExpressionList getOrGroup ()
Each of the FilterExpressions in the or_group has an OR relationship.
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
Returns getOrGroupOrBuilder()
public AccessFilterExpressionListOrBuilder getOrGroupOrBuilder ()
Each of the FilterExpressions in the or_group has an OR relationship.
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
Returns getParserForType()
public Parser<AccessFilterExpression> getParserForType ()
Returns Overrides getSerializedSize()
public int getSerializedSize ()
Returns Overrides getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns Overrides hasAccessFilter()
public boolean hasAccessFilter ()
A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.
.google.analytics.admin.v1alpha.AccessFilter access_filter = 4;
Returns Type Description boolean
Whether the accessFilter field is set.
hasAndGroup()
public boolean hasAndGroup ()
Each of the FilterExpressions in the and_group has an AND relationship.
.google.analytics.admin.v1alpha.AccessFilterExpressionList and_group = 1;
Returns Type Description boolean
Whether the andGroup field is set.
hasNotExpression()
public boolean hasNotExpression ()
The FilterExpression is NOT of not_expression.
.google.analytics.admin.v1alpha.AccessFilterExpression not_expression = 3;
Returns Type Description boolean
Whether the notExpression field is set.
hasOrGroup()
public boolean hasOrGroup ()
Each of the FilterExpressions in the or_group has an OR relationship.
.google.analytics.admin.v1alpha.AccessFilterExpressionList or_group = 2;
Returns Type Description boolean
Whether the orGroup field is set.
hashCode() Returns Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns Overrides isInitialized()
public final boolean isInitialized ()
Returns Overrides newBuilderForType()
public AccessFilterExpression . Builder newBuilderForType ()
Returns newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccessFilterExpression . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter Returns Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter Returns Overrides toBuilder()
public AccessFilterExpression . Builder toBuilder ()
Returns writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter Overrides Exceptions Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-17 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-17 UTC."],[[["The page provides documentation for the `AccessFilterExpression` class within the Google Analytics Admin API's Java library, specifically version 0.22.0."],["`AccessFilterExpression` is a class that allows the expression of dimension or metric filters, which requires that fields in the same expression be of either dimensions or metrics."],["The content shows the different available versions of this class, from version 0.14.0 to 0.70.0, with 0.70.0 being the latest version."],["The page details the inheritance hierarchy of the class, showing that it extends `GeneratedMessageV3` and implements `AccessFilterExpressionOrBuilder`, alongside other inherited members."],["The page highlights the methods and fields of the class, including static methods for creating instances and parsing, instance methods for filtering and getting field values, and a description of static fields with their corresponding number values."]]],[]]