Class NumericFilter (0.63.0)

public final class NumericFilter extends GeneratedMessageV3 implements NumericFilterOrBuilder

Filters for numeric or date values.

Protobuf type google.analytics.data.v1alpha.NumericFilter

Static Fields

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
Type Description
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static NumericFilter getDefaultInstance()
Returns
Type Description
NumericFilter

getDescriptor()

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

newBuilder()

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

newBuilder(NumericFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NumericFilter getDefaultInstanceForType()
Returns
Type Description
NumericFilter

getOperation()

public NumericFilter.Operation getOperation()

The operation type for this filter.

.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;

Returns
Type Description
NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation type for this filter.

.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;

Returns
Type Description
int

The enum numeric value on the wire for operation.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getValue()

public NumericValue getValue()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
NumericValue

The value.

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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