Send feedback Class AudienceFilterClause (0.46.0) Stay organized with collections Save and categorize content based on your preferences.
Version 0.46.0 keyboard_arrow_down
public final class AudienceFilterClause extends GeneratedMessageV3 implements AudienceFilterClauseOrBuilder
A clause for defining either a simple or sequence filter. A filter can be inclusive (For example, users satisfying the filter clause are included in the Audience) or exclusive (For example, users satisfying the filter clause are excluded from the Audience).
Protobuf type google.analytics.admin.v1alpha.AudienceFilterClause
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 CLAUSE_TYPE_FIELD_NUMBER
public static final int CLAUSE_TYPE_FIELD_NUMBER
Field Value Type Description int
SEQUENCE_FILTER_FIELD_NUMBER
public static final int SEQUENCE_FILTER_FIELD_NUMBER
Field Value Type Description int
SIMPLE_FILTER_FIELD_NUMBER
public static final int SIMPLE_FILTER_FIELD_NUMBER
Field Value Type Description int
Static Methods getDefaultInstance()
public static AudienceFilterClause getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AudienceFilterClause . Builder newBuilder ()
newBuilder(AudienceFilterClause )
public static AudienceFilterClause . Builder newBuilder ( AudienceFilterClause )
public static AudienceFilterClause parseDelimitedFrom ( InputStream input )
public static AudienceFilterClause parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AudienceFilterClause parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AudienceFilterClause parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AudienceFilterClause parseFrom ( CodedInputStream input )
public static AudienceFilterClause parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AudienceFilterClause parseFrom ( InputStream input )
public static AudienceFilterClause parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AudienceFilterClause parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AudienceFilterClause> parser ()
Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides getClauseType()
public AudienceFilterClause . AudienceClauseType getClauseType ()
Required. Specifies whether this is an include or exclude filter clause.
.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED];
getClauseTypeValue()
public int getClauseTypeValue ()
Required. Specifies whether this is an include or exclude filter clause.
.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description int
The enum numeric value on the wire for clauseType.
getDefaultInstanceForType()
public AudienceFilterClause getDefaultInstanceForType ()
getFilterCase()
public AudienceFilterClause . FilterCase getFilterCase ()
getParserForType()
public Parser<AudienceFilterClause> getParserForType ()
Overrides getSequenceFilter()
public AudienceSequenceFilter getSequenceFilter ()
Filters that must occur in a specific order for the user to be a member of the Audience.
.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
getSequenceFilterOrBuilder()
public AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder ()
Filters that must occur in a specific order for the user to be a member of the Audience.
.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides getSimpleFilter()
public AudienceSimpleFilter getSimpleFilter ()
A simple filter that a user must satisfy to be a member of the Audience.
.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;
getSimpleFilterOrBuilder()
public AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder ()
A simple filter that a user must satisfy to be a member of the Audience.
.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;
hasSequenceFilter()
public boolean hasSequenceFilter ()
Filters that must occur in a specific order for the user to be a member of the Audience.
.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;
Returns Type Description boolean
Whether the sequenceFilter field is set.
hasSimpleFilter()
public boolean hasSimpleFilter ()
A simple filter that a user must satisfy to be a member of the Audience.
.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;
Returns Type Description boolean
Whether the simpleFilter field is set.
hashCode() Returns Type Description int
Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides isInitialized()
public final boolean isInitialized ()
Overrides newBuilderForType()
public AudienceFilterClause . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AudienceFilterClause . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides toBuilder()
public AudienceFilterClause . 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-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 latest version of the Google Analytics Admin Java documentation available is 0.70.0, which can be found within the full version list."],["This document provides a reference for the `AudienceFilterClause` class across numerous versions, ranging from 0.70.0 down to 0.14.0."],["The `AudienceFilterClause` class, an extension of `GeneratedMessageV3`, is used to define either simple or sequence filters for audience inclusion or exclusion."],["This document shows that the `AudienceFilterClause` class is part of the `com.google.analytics.admin.v1alpha` package and implements the `AudienceFilterClauseOrBuilder` interface."],["It also shows that this class includes methods and fields for defining the filter's type, such as `AudienceClauseType`, and whether it's a simple filter or sequence filter, providing details on how to use the class effectively."]]],[]]