Class SegmentFilterExpression (0.63.0)

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
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()
Returns
Type Description
SegmentFilterExpression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SegmentFilterExpression.Builder newBuilder()
Returns
Type Description
SegmentFilterExpression.Builder

newBuilder(SegmentFilterExpression prototype)

public static SegmentFilterExpression.Builder newBuilder(SegmentFilterExpression prototype)
Parameter
Name Description
prototype SegmentFilterExpression
Returns
Type Description
SegmentFilterExpression.Builder

parseDelimitedFrom(InputStream input)

public static SegmentFilterExpression parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SegmentFilterExpression parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SegmentFilterExpression parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SegmentFilterExpression parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SegmentFilterExpression parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SegmentFilterExpression parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SegmentFilterExpression
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SegmentFilterExpression> parser()
Returns
Type Description
Parser<SegmentFilterExpression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAndGroup()

public SegmentFilterExpressionList getAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Returns
Type Description
SegmentFilterExpressionList

The andGroup.

getAndGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getAndGroupOrBuilder()

The SegmentFilterExpression in andGroup have an AND relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList and_group = 1;

Returns
Type Description
SegmentFilterExpressionListOrBuilder

getDefaultInstanceForType()

public SegmentFilterExpression getDefaultInstanceForType()
Returns
Type Description
SegmentFilterExpression

getExprCase()

public SegmentFilterExpression.ExprCase getExprCase()
Returns
Type Description
SegmentFilterExpression.ExprCase

getNotExpression()

public SegmentFilterExpression getNotExpression()

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Returns
Type Description
SegmentFilterExpression

The notExpression.

getNotExpressionOrBuilder()

public SegmentFilterExpressionOrBuilder getNotExpressionOrBuilder()

The SegmentFilterExpression is NOT of notExpression.

.google.analytics.data.v1alpha.SegmentFilterExpression not_expression = 3;

Returns
Type Description
SegmentFilterExpressionOrBuilder

getOrGroup()

public SegmentFilterExpressionList getOrGroup()

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Returns
Type Description
SegmentFilterExpressionList

The orGroup.

getOrGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getOrGroupOrBuilder()

The SegmentFilterExpression in orGroup have an OR relationship.

.google.analytics.data.v1alpha.SegmentFilterExpressionList or_group = 2;

Returns
Type Description
SegmentFilterExpressionListOrBuilder

getParserForType()

public Parser<SegmentFilterExpression> getParserForType()
Returns
Type Description
Parser<SegmentFilterExpression>
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
Type Description
SegmentEventFilter

The segmentEventFilter.

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
Type Description
SegmentEventFilterOrBuilder

getSegmentFilter()

public SegmentFilter getSegmentFilter()

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Returns
Type Description
SegmentFilter

The segmentFilter.

getSegmentFilterOrBuilder()

public SegmentFilterOrBuilder getSegmentFilterOrBuilder()

A primitive segment filter.

.google.analytics.data.v1alpha.SegmentFilter segment_filter = 4;

Returns
Type Description
SegmentFilterOrBuilder

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SegmentFilterExpression.Builder newBuilderForType()
Returns
Type Description
SegmentFilterExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SegmentFilterExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SegmentFilterExpression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SegmentFilterExpression.Builder toBuilder()
Returns
Type Description
SegmentFilterExpression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException