Class NumericFilter (0.17.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
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static NumericFilter getDefaultInstance()
Returns
TypeDescription
NumericFilter

getDescriptor()

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

newBuilder()

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

newBuilder(NumericFilter prototype)

public static NumericFilter.Builder newBuilder(NumericFilter prototype)
Parameter
NameDescription
prototypeNumericFilter
Returns
TypeDescription
NumericFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public NumericFilter getDefaultInstanceForType()
Returns
TypeDescription
NumericFilter

getOperation()

public NumericFilter.Operation getOperation()

The operation type for this filter.

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

Returns
TypeDescription
NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation type for this filter.

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

Returns
TypeDescription
int

The enum numeric value on the wire for operation.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public NumericValue getValue()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValue

The value.

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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