Class SegmentFilterExpression (0.20.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
TypeDescription
int

NOT_EXPRESSION_FIELD_NUMBER

public static final int NOT_EXPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

OR_GROUP_FIELD_NUMBER

public static final int OR_GROUP_FIELD_NUMBER
Field Value
TypeDescription
int

SEGMENT_EVENT_FILTER_FIELD_NUMBER

public static final int SEGMENT_EVENT_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SEGMENT_FILTER_FIELD_NUMBER

public static final int SEGMENT_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SegmentFilterExpression getDefaultInstance()
Returns
TypeDescription
SegmentFilterExpression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SegmentFilterExpression.Builder newBuilder()
Returns
TypeDescription
SegmentFilterExpression.Builder

newBuilder(SegmentFilterExpression prototype)

public static SegmentFilterExpression.Builder newBuilder(SegmentFilterExpression prototype)
Parameter
NameDescription
prototypeSegmentFilterExpression
Returns
TypeDescription
SegmentFilterExpression.Builder

parseDelimitedFrom(InputStream input)

public static SegmentFilterExpression parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SegmentFilterExpression parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SegmentFilterExpression parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SegmentFilterExpression parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SegmentFilterExpression parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SegmentFilterExpression parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SegmentFilterExpression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SegmentFilterExpression
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SegmentFilterExpression> parser()
Returns
TypeDescription
Parser<SegmentFilterExpression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAndGroup()

public SegmentFilterExpressionList getAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

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

Returns
TypeDescription
SegmentFilterExpressionList

The andGroup.

getAndGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getAndGroupOrBuilder()

The SegmentFilterExpression in andGroup have an AND relationship.

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

Returns
TypeDescription
SegmentFilterExpressionListOrBuilder

getDefaultInstanceForType()

public SegmentFilterExpression getDefaultInstanceForType()
Returns
TypeDescription
SegmentFilterExpression

getExprCase()

public SegmentFilterExpression.ExprCase getExprCase()
Returns
TypeDescription
SegmentFilterExpression.ExprCase

getNotExpression()

public SegmentFilterExpression getNotExpression()

The SegmentFilterExpression is NOT of notExpression.

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

Returns
TypeDescription
SegmentFilterExpression

The notExpression.

getNotExpressionOrBuilder()

public SegmentFilterExpressionOrBuilder getNotExpressionOrBuilder()

The SegmentFilterExpression is NOT of notExpression.

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

Returns
TypeDescription
SegmentFilterExpressionOrBuilder

getOrGroup()

public SegmentFilterExpressionList getOrGroup()

The SegmentFilterExpression in orGroup have an OR relationship.

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

Returns
TypeDescription
SegmentFilterExpressionList

The orGroup.

getOrGroupOrBuilder()

public SegmentFilterExpressionListOrBuilder getOrGroupOrBuilder()

The SegmentFilterExpression in orGroup have an OR relationship.

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

Returns
TypeDescription
SegmentFilterExpressionListOrBuilder

getParserForType()

public Parser<SegmentFilterExpression> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SegmentEventFilterOrBuilder

getSegmentFilter()

public SegmentFilter getSegmentFilter()

A primitive segment filter.

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

Returns
TypeDescription
SegmentFilter

The segmentFilter.

getSegmentFilterOrBuilder()

public SegmentFilterOrBuilder getSegmentFilterOrBuilder()

A primitive segment filter.

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

Returns
TypeDescription
SegmentFilterOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAndGroup()

public boolean hasAndGroup()

The SegmentFilterExpression in andGroup have an AND relationship.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the segmentEventFilter field is set.

hasSegmentFilter()

public boolean hasSegmentFilter()

A primitive segment filter.

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

Returns
TypeDescription
boolean

Whether the segmentFilter field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SegmentFilterExpression.Builder newBuilderForType()
Returns
TypeDescription
SegmentFilterExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SegmentFilterExpression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SegmentFilterExpression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SegmentFilterExpression.Builder toBuilder()
Returns
TypeDescription
SegmentFilterExpression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException