public final class SegmentFilterExpression extends GeneratedMessageV3 implements SegmentFilterExpressionOrBuilder
Expresses combinations of segment filters.
Protobuf type google.analytics.data.v1alpha.SegmentFilterExpression
Static Fields
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
SEGMENT_EVENT_FILTER_FIELD_NUMBER
public static final int SEGMENT_EVENT_FILTER_FIELD_NUMBER
Field Value
SEGMENT_FILTER_FIELD_NUMBER
public static final int SEGMENT_FILTER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SegmentFilterExpression getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SegmentFilterExpression.Builder newBuilder()
Returns
newBuilder(SegmentFilterExpression prototype)
public static SegmentFilterExpression.Builder newBuilder(SegmentFilterExpression prototype)
Parameter
Returns
public static SegmentFilterExpression parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SegmentFilterExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SegmentFilterExpression parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilterExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SegmentFilterExpression parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilterExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SegmentFilterExpression parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SegmentFilterExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SegmentFilterExpression parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SegmentFilterExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SegmentFilterExpression parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilterExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SegmentFilterExpression> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAndGroup()
public SegmentFilterExpressionList getAndGroup()
The SegmentFilterExpression in andGroup
have an AND relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
Returns
getAndGroupOrBuilder()
public SegmentFilterExpressionListOrBuilder getAndGroupOrBuilder()
The SegmentFilterExpression in andGroup
have an AND relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;
Returns
getDefaultInstanceForType()
public SegmentFilterExpression getDefaultInstanceForType()
Returns
getExprCase()
public SegmentFilterExpression.ExprCase getExprCase()
Returns
getNotExpression()
public SegmentFilterExpression getNotExpression()
The SegmentFilterExpression is NOT of notExpression
.
.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
Returns
getNotExpressionOrBuilder()
public SegmentFilterExpressionOrBuilder getNotExpressionOrBuilder()
The SegmentFilterExpression is NOT of notExpression
.
.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;
Returns
getOrGroup()
public SegmentFilterExpressionList getOrGroup()
The SegmentFilterExpression in orGroup
have an OR relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
Returns
getOrGroupOrBuilder()
public SegmentFilterExpressionListOrBuilder getOrGroupOrBuilder()
The SegmentFilterExpression in orGroup
have an OR relationship.
.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;
Returns
getParserForType()
public Parser<SegmentFilterExpression> getParserForType()
Returns
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;
Returns
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;
Returns
getSegmentFilter()
public SegmentFilter getSegmentFilter()
A primitive segment filter.
.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
Returns
getSegmentFilterOrBuilder()
public SegmentFilterOrBuilder getSegmentFilterOrBuilder()
A primitive segment filter.
.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SegmentFilterExpression.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SegmentFilterExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SegmentFilterExpression.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions