Send feedback
Class SegmentFilterExpression (0.67.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class SegmentFilterExpression extends GeneratedMessageV3 implements SegmentFilterExpressionOrBuilder
Expresses combinations of segment filters.
Protobuf type google.analytics.data.v1alpha.SegmentFilterExpression
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
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
SEGMENT_EVENT_FILTER_FIELD_NUMBER
public static final int SEGMENT_EVENT_FILTER_FIELD_NUMBER
Field Value
Type
Description
int
SEGMENT_FILTER_FIELD_NUMBER
public static final int SEGMENT_FILTER_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static SegmentFilterExpression getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SegmentFilterExpression . Builder newBuilder ()
newBuilder(SegmentFilterExpression prototype)
public static SegmentFilterExpression . Builder newBuilder ( SegmentFilterExpression prototype )
public static SegmentFilterExpression parseDelimitedFrom ( InputStream input )
public static SegmentFilterExpression parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SegmentFilterExpression parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilterExpression parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SegmentFilterExpression parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilterExpression parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SegmentFilterExpression parseFrom ( CodedInputStream input )
public static SegmentFilterExpression parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SegmentFilterExpression parseFrom ( InputStream input )
public static SegmentFilterExpression parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SegmentFilterExpression parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilterExpression parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SegmentFilterExpression> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAndGroup()
public SegmentFilterExpressionList getAndGroup ()
The SegmentFilterExpression in andGroup
have an AND relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
getAndGroupOrBuilder()
public SegmentFilterExpressionListOrBuilder getAndGroupOrBuilder ()
The SegmentFilterExpression in andGroup
have an AND relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
getDefaultInstanceForType()
public SegmentFilterExpression getDefaultInstanceForType ()
getExprCase()
public SegmentFilterExpression . ExprCase getExprCase ()
getNotExpression()
public SegmentFilterExpression getNotExpression ()
The SegmentFilterExpression is NOT of notExpression
.
.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
getNotExpressionOrBuilder()
public SegmentFilterExpressionOrBuilder getNotExpressionOrBuilder ()
The SegmentFilterExpression is NOT of notExpression
.
.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
getOrGroup()
public SegmentFilterExpressionList getOrGroup ()
The SegmentFilterExpression in orGroup
have an OR relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
getOrGroupOrBuilder()
public SegmentFilterExpressionListOrBuilder getOrGroupOrBuilder ()
The SegmentFilterExpression in orGroup
have an OR relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
getParserForType()
public Parser<SegmentFilterExpression> getParserForType ()
Overrides
getSegmentEventFilter()
public SegmentEventFilter getSegmentEventFilter ()
Creates a filter that matches events of a single event name. If a
parameter filter expression is specified, only the subset of events that
match both the single event name and the parameter filter expressions
match this event filter.
.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;
getSegmentEventFilterOrBuilder()
public SegmentEventFilterOrBuilder getSegmentEventFilterOrBuilder ()
Creates a filter that matches events of a single event name. If a
parameter filter expression is specified, only the subset of events that
match both the single event name and the parameter filter expressions
match this event filter.
.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;
getSegmentFilter()
public SegmentFilter getSegmentFilter ()
A primitive segment filter.
.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
getSegmentFilterOrBuilder()
public SegmentFilterOrBuilder getSegmentFilterOrBuilder ()
A primitive segment filter.
.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasAndGroup()
public boolean hasAndGroup ()
The SegmentFilterExpression in andGroup
have an AND relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
Returns
Type
Description
boolean
Whether the andGroup field is set.
hasNotExpression()
public boolean hasNotExpression ()
The SegmentFilterExpression is NOT of notExpression
.
.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
Returns
Type
Description
boolean
Whether the notExpression field is set.
hasOrGroup()
public boolean hasOrGroup ()
The SegmentFilterExpression in orGroup
have an OR relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
Returns
Type
Description
boolean
Whether the orGroup field is set.
hasSegmentEventFilter()
public boolean hasSegmentEventFilter ()
Creates a filter that matches events of a single event name. If a
parameter filter expression is specified, only the subset of events that
match both the single event name and the parameter filter expressions
match this event filter.
.google.analytics.data.v1alpha.SegmentEventFilter segment_event_filter = 5;
Returns
Type
Description
boolean
Whether the segmentEventFilter field is set.
hasSegmentFilter()
public boolean hasSegmentFilter ()
A primitive segment filter.
.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
Returns
Type
Description
boolean
Whether the segmentFilter field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SegmentFilterExpression . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SegmentFilterExpression . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public SegmentFilterExpression . 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-01-28 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-01-28 UTC."],[],[]]