Class AccessFilter (0.34.0)

public final class AccessFilter extends GeneratedMessageV3 implements AccessFilterOrBuilder

An expression to filter dimension or metric values.

Protobuf type google.analytics.admin.v1alpha.AccessFilter

Static Fields

BETWEEN_FILTER_FIELD_NUMBER

public static final int BETWEEN_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

FIELD_NAME_FIELD_NUMBER

public static final int FIELD_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

IN_LIST_FILTER_FIELD_NUMBER

public static final int IN_LIST_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

NUMERIC_FILTER_FIELD_NUMBER

public static final int NUMERIC_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

STRING_FILTER_FIELD_NUMBER

public static final int STRING_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AccessFilter getDefaultInstance()
Returns
TypeDescription
AccessFilter

getDescriptor()

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

newBuilder()

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

newBuilder(AccessFilter prototype)

public static AccessFilter.Builder newBuilder(AccessFilter prototype)
Parameter
NameDescription
prototypeAccessFilter
Returns
TypeDescription
AccessFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBetweenFilter()

public AccessBetweenFilter getBetweenFilter()

A filter for two values.

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

Returns
TypeDescription
AccessBetweenFilter

The betweenFilter.

getBetweenFilterOrBuilder()

public AccessBetweenFilterOrBuilder getBetweenFilterOrBuilder()

A filter for two values.

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

Returns
TypeDescription
AccessBetweenFilterOrBuilder

getDefaultInstanceForType()

public AccessFilter getDefaultInstanceForType()
Returns
TypeDescription
AccessFilter

getFieldName()

public String getFieldName()

The dimension name or metric name.

string field_name = 1;

Returns
TypeDescription
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

The dimension name or metric name.

string field_name = 1;

Returns
TypeDescription
ByteString

The bytes for fieldName.

getInListFilter()

public AccessInListFilter getInListFilter()

A filter for in list values.

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

Returns
TypeDescription
AccessInListFilter

The inListFilter.

getInListFilterOrBuilder()

public AccessInListFilterOrBuilder getInListFilterOrBuilder()

A filter for in list values.

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

Returns
TypeDescription
AccessInListFilterOrBuilder

getNumericFilter()

public AccessNumericFilter getNumericFilter()

A filter for numeric or date values.

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

Returns
TypeDescription
AccessNumericFilter

The numericFilter.

getNumericFilterOrBuilder()

public AccessNumericFilterOrBuilder getNumericFilterOrBuilder()

A filter for numeric or date values.

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

Returns
TypeDescription
AccessNumericFilterOrBuilder

getOneFilterCase()

public AccessFilter.OneFilterCase getOneFilterCase()
Returns
TypeDescription
AccessFilter.OneFilterCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStringFilter()

public AccessStringFilter getStringFilter()

Strings related filter.

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

Returns
TypeDescription
AccessStringFilter

The stringFilter.

getStringFilterOrBuilder()

public AccessStringFilterOrBuilder getStringFilterOrBuilder()

Strings related filter.

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

Returns
TypeDescription
AccessStringFilterOrBuilder

hasBetweenFilter()

public boolean hasBetweenFilter()

A filter for two values.

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

Returns
TypeDescription
boolean

Whether the betweenFilter field is set.

hasInListFilter()

public boolean hasInListFilter()

A filter for in list values.

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

Returns
TypeDescription
boolean

Whether the inListFilter field is set.

hasNumericFilter()

public boolean hasNumericFilter()

A filter for numeric or date values.

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

Returns
TypeDescription
boolean

Whether the numericFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

Strings related filter.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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