Class AccessFilter (0.59.0)

public final class AccessFilter extends GeneratedMessageV3 implements AccessFilterOrBuilder

An expression to filter dimension or metric values.

Protobuf type google.analytics.admin.v1beta.AccessFilter

Static Fields

BETWEEN_FILTER_FIELD_NUMBER

public static final int BETWEEN_FILTER_FIELD_NUMBER
Field Value
Type Description
int

FIELD_NAME_FIELD_NUMBER

public static final int FIELD_NAME_FIELD_NUMBER
Field Value
Type Description
int

IN_LIST_FILTER_FIELD_NUMBER

public static final int IN_LIST_FILTER_FIELD_NUMBER
Field Value
Type Description
int

NUMERIC_FILTER_FIELD_NUMBER

public static final int NUMERIC_FILTER_FIELD_NUMBER
Field Value
Type Description
int

STRING_FILTER_FIELD_NUMBER

public static final int STRING_FILTER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AccessFilter getDefaultInstance()
Returns
Type Description
AccessFilter

getDescriptor()

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

newBuilder()

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

newBuilder(AccessFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBetweenFilter()

public AccessBetweenFilter getBetweenFilter()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
AccessBetweenFilter

The betweenFilter.

getBetweenFilterOrBuilder()

public AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
AccessBetweenFilterOrBuilder

getDefaultInstanceForType()

public AccessFilter getDefaultInstanceForType()
Returns
Type Description
AccessFilter

getFieldName()

public String getFieldName()

The dimension name or metric name.

string field_name = 1;

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

The dimension name or metric name.

string field_name = 1;

Returns
Type Description
ByteString

The bytes for fieldName.

getInListFilter()

public AccessInListFilter getInListFilter()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
AccessInListFilter

The inListFilter.

getInListFilterOrBuilder()

public AccessInListFilterOrBuilder getInListFilterOrBuilder()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
AccessInListFilterOrBuilder

getNumericFilter()

public AccessNumericFilter getNumericFilter()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
AccessNumericFilter

The numericFilter.

getNumericFilterOrBuilder()

public AccessNumericFilterOrBuilder getNumericFilterOrBuilder()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
AccessNumericFilterOrBuilder

getOneFilterCase()

public AccessFilter.OneFilterCase getOneFilterCase()
Returns
Type Description
AccessFilter.OneFilterCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringFilter()

public AccessStringFilter getStringFilter()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Returns
Type Description
AccessStringFilter

The stringFilter.

getStringFilterOrBuilder()

public AccessStringFilterOrBuilder getStringFilterOrBuilder()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Returns
Type Description
AccessStringFilterOrBuilder

hasBetweenFilter()

public boolean hasBetweenFilter()

A filter for two values.

.google.analytics.admin.v1beta.AccessBetweenFilter between_filter = 5;

Returns
Type Description
boolean

Whether the betweenFilter field is set.

hasInListFilter()

public boolean hasInListFilter()

A filter for in list values.

.google.analytics.admin.v1beta.AccessInListFilter in_list_filter = 3;

Returns
Type Description
boolean

Whether the inListFilter field is set.

hasNumericFilter()

public boolean hasNumericFilter()

A filter for numeric or date values.

.google.analytics.admin.v1beta.AccessNumericFilter numeric_filter = 4;

Returns
Type Description
boolean

Whether the numericFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

Strings related filter.

.google.analytics.admin.v1beta.AccessStringFilter string_filter = 2;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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