Class AccessFilterExpression (0.49.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.v1alpha.AccessFilterExpression

Static Fields

ACCESS_FILTER_FIELD_NUMBER

public static final int ACCESS_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

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

Static Methods

getDefaultInstance()

public static AccessFilterExpression getDefaultInstance()
Returns
TypeDescription
AccessFilterExpression

getDescriptor()

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

newBuilder()

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

newBuilder(AccessFilterExpression prototype)

public static AccessFilterExpression.Builder newBuilder(AccessFilterExpression prototype)
Parameter
NameDescription
prototypeAccessFilterExpression
Returns
TypeDescription
AccessFilterExpression.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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.v1alpha.AccessFilter access_filter = 4;

Returns
TypeDescription
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.v1alpha.AccessFilter access_filter = 4;

Returns
TypeDescription
AccessFilterOrBuilder

getAndGroup()

public AccessFilterExpressionList getAndGroup()

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

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

Returns
TypeDescription
AccessFilterExpressionList

The andGroup.

getAndGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getAndGroupOrBuilder()

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

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

Returns
TypeDescription
AccessFilterExpressionListOrBuilder

getDefaultInstanceForType()

public AccessFilterExpression getDefaultInstanceForType()
Returns
TypeDescription
AccessFilterExpression

getNotExpression()

public AccessFilterExpression getNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
AccessFilterExpression

The notExpression.

getNotExpressionOrBuilder()

public AccessFilterExpressionOrBuilder getNotExpressionOrBuilder()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
AccessFilterExpressionOrBuilder

getOneExpressionCase()

public AccessFilterExpression.OneExpressionCase getOneExpressionCase()
Returns
TypeDescription
AccessFilterExpression.OneExpressionCase

getOrGroup()

public AccessFilterExpressionList getOrGroup()

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

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

Returns
TypeDescription
AccessFilterExpressionList

The orGroup.

getOrGroupOrBuilder()

public AccessFilterExpressionListOrBuilder getOrGroupOrBuilder()

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

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

Returns
TypeDescription
AccessFilterExpressionListOrBuilder

getParserForType()

public Parser<AccessFilterExpression> getParserForType()
Returns
TypeDescription
Parser<AccessFilterExpression>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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.v1alpha.AccessFilter access_filter = 4;

Returns
TypeDescription
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.v1alpha.AccessFilterExpressionList and_group = 1;

Returns
TypeDescription
boolean

Whether the andGroup field is set.

hasNotExpression()

public boolean hasNotExpression()

The FilterExpression is NOT of not_expression.

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

Returns
TypeDescription
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.v1alpha.AccessFilterExpressionList or_group = 2;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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