Class AccessFilterExpression (0.59.0)

public final class AccessFilterExpression extends GeneratedMessageV3 implements AccessFilterExpressionOrBuilder

Expresses dimension or metric filters. The fields in the same expression need to be either all dimensions or all metrics.

Protobuf type google.analytics.admin.v1beta.AccessFilterExpression

Static Fields

ACCESS_FILTER_FIELD_NUMBER

public static final int ACCESS_FILTER_FIELD_NUMBER
Field Value
Type Description
int

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

Static Methods

getDefaultInstance()

public static AccessFilterExpression getDefaultInstance()
Returns
Type Description
AccessFilterExpression

getDescriptor()

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

newBuilder()

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

newBuilder(AccessFilterExpression prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccessFilter()

public AccessFilter getAccessFilter()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1beta.AccessFilter access_filter = 4;

Returns
Type Description
AccessFilter

The accessFilter.

getAccessFilterOrBuilder()

public AccessFilterOrBuilder getAccessFilterOrBuilder()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1beta.AccessFilter access_filter = 4;

Returns
Type Description
AccessFilterOrBuilder

getAndGroup()

public AccessFilterExpressionList getAndGroup()

Each of the FilterExpressions in the and_group has an AND relationship.

.google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1;

Returns
Type Description
AccessFilterExpressionList

The andGroup.

getAndGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getAndGroupOrBuilder()

Each of the FilterExpressions in the and_group has an AND relationship.

.google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1;

Returns
Type Description
AccessFilterExpressionListOrBuilder

getDefaultInstanceForType()

public AccessFilterExpression getDefaultInstanceForType()
Returns
Type Description
AccessFilterExpression

getNotExpression()

public AccessFilterExpression getNotExpression()

The FilterExpression is NOT of not_expression.

.google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3;

Returns
Type Description
AccessFilterExpression

The notExpression.

getNotExpressionOrBuilder()

public AccessFilterExpressionOrBuilder getNotExpressionOrBuilder()

The FilterExpression is NOT of not_expression.

.google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3;

Returns
Type Description
AccessFilterExpressionOrBuilder

getOneExpressionCase()

public AccessFilterExpression.OneExpressionCase getOneExpressionCase()
Returns
Type Description
AccessFilterExpression.OneExpressionCase

getOrGroup()

public AccessFilterExpressionList getOrGroup()

Each of the FilterExpressions in the or_group has an OR relationship.

.google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2;

Returns
Type Description
AccessFilterExpressionList

The orGroup.

getOrGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getOrGroupOrBuilder()

Each of the FilterExpressions in the or_group has an OR relationship.

.google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2;

Returns
Type Description
AccessFilterExpressionListOrBuilder

getParserForType()

public Parser<AccessFilterExpression> getParserForType()
Returns
Type Description
Parser<AccessFilterExpression>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAccessFilter()

public boolean hasAccessFilter()

A primitive filter. In the same FilterExpression, all of the filter's field names need to be either all dimensions or all metrics.

.google.analytics.admin.v1beta.AccessFilter access_filter = 4;

Returns
Type Description
boolean

Whether the accessFilter field is set.

hasAndGroup()

public boolean hasAndGroup()

Each of the FilterExpressions in the and_group has an AND relationship.

.google.analytics.admin.v1beta.AccessFilterExpressionList and_group = 1;

Returns
Type Description
boolean

Whether the andGroup field is set.

hasNotExpression()

public boolean hasNotExpression()

The FilterExpression is NOT of not_expression.

.google.analytics.admin.v1beta.AccessFilterExpression not_expression = 3;

Returns
Type Description
boolean

Whether the notExpression field is set.

hasOrGroup()

public boolean hasOrGroup()

Each of the FilterExpressions in the or_group has an OR relationship.

.google.analytics.admin.v1beta.AccessFilterExpressionList or_group = 2;

Returns
Type Description
boolean

Whether the orGroup 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 AccessFilterExpression.Builder newBuilderForType()
Returns
Type Description
AccessFilterExpression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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