Send feedback Class AccessFilterExpression (0.62.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.62.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.v1beta.AccessFilterExpression
Inherited Members com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields ACCESS_FILTER_FIELD_NUMBER
public static final int ACCESS_FILTER_FIELD_NUMBER
Field Value Type Description int
AND_GROUP_FIELD_NUMBER
public static final int AND_GROUP_FIELD_NUMBER
Field Value Type Description int
NOT_EXPRESSION_FIELD_NUMBER
public static final int NOT_EXPRESSION_FIELD_NUMBER
Field Value Type Description int
OR_GROUP_FIELD_NUMBER
public static final int OR_GROUP_FIELD_NUMBER
Field Value Type Description int
Static Methods getDefaultInstance()
public static AccessFilterExpression getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AccessFilterExpression . Builder newBuilder ()
newBuilder(AccessFilterExpression )
public static AccessFilterExpression . Builder newBuilder ( AccessFilterExpression )
public static AccessFilterExpression parseDelimitedFrom ( InputStream input )
public static AccessFilterExpression parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AccessFilterExpression parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AccessFilterExpression parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AccessFilterExpression parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AccessFilterExpression parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AccessFilterExpression parseFrom ( CodedInputStream input )
public static AccessFilterExpression parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AccessFilterExpression parseFrom ( InputStream input )
public static AccessFilterExpression parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AccessFilterExpression parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AccessFilterExpression parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AccessFilterExpression> parser ()
Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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.v1beta.AccessFilter access_filter = 4;
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.v1beta.AccessFilter access_filter = 4;
getAndGroup()
public AccessFilterExpressionList getAndGroup ()
Each of the FilterExpressions in the and_group has an AND relationship.
.google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1;
getAndGroupOrBuilder()
public AccessFilterExpressionListOrBuilder getAndGroupOrBuilder ()
Each of the FilterExpressions in the and_group has an AND relationship.
.google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1;
getDefaultInstanceForType()
public AccessFilterExpression getDefaultInstanceForType ()
getNotExpression()
public AccessFilterExpression getNotExpression ()
The FilterExpression is NOT of not_expression.
.google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3;
getNotExpressionOrBuilder()
public AccessFilterExpressionOrBuilder getNotExpressionOrBuilder ()
The FilterExpression is NOT of not_expression.
.google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3;
getOneExpressionCase()
public AccessFilterExpression . OneExpressionCase getOneExpressionCase ()
getOrGroup()
public AccessFilterExpressionList getOrGroup ()
Each of the FilterExpressions in the or_group has an OR relationship.
.google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2;
getOrGroupOrBuilder()
public AccessFilterExpressionListOrBuilder getOrGroupOrBuilder ()
Each of the FilterExpressions in the or_group has an OR relationship.
.google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2;
getParserForType()
public Parser<AccessFilterExpression> getParserForType ()
Overrides getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
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.v1beta.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.v1beta.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.v1beta.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.v1beta.AccessFilterExpressionList or_group = 2;
Returns Type Description boolean
Whether the orGroup field is set.
hashCode() Returns Type Description int
Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides newBuilderForType()
public AccessFilterExpression . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AccessFilterExpression . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides toBuilder()
public AccessFilterExpression . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides 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-06-05 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-06-05 UTC."],[[["The document details various versions of `AccessFilterExpression`, a class used for expressing dimension or metric filters within Google Analytics Admin, with version 0.70.0 being the latest, and 0.62.0 being the one documented here."],["`AccessFilterExpression` is a final class that extends `GeneratedMessageV3` and implements `AccessFilterExpressionOrBuilder`, indicating its role in filter expressions."],["The class is part of the `com.google.analytics.admin.v1beta` package and represents a protobuf type, allowing it to be used in the configuration of Google Analytics."],["The documentation provides details on inherited members and static methods for `AccessFilterExpression` including how to instantiate, parse, and interact with it, for developers integrating Google Analytics Admin."],["`AccessFilterExpression` can be configured as a single filter, an AND group, an OR group, or as a NOT of another expression, providing the flexibility needed for defining complex filtering requirements."]]],[]]