Class Filter.NumericFilter (0.42.0)

public static final class Filter.NumericFilter extends GeneratedMessageV3 implements Filter.NumericFilterOrBuilder

Filters for numeric or date values.

Protobuf type google.analytics.data.v1beta.Filter.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 Filter.NumericFilter getDefaultInstance()
Returns
TypeDescription
Filter.NumericFilter

getDescriptor()

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

newBuilder()

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

newBuilder(Filter.NumericFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Filter.NumericFilter getDefaultInstanceForType()
Returns
TypeDescription
Filter.NumericFilter

getOperation()

public Filter.NumericFilter.Operation getOperation()

The operation type for this filter.

.google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1;

Returns
TypeDescription
Filter.NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation type for this filter.

.google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for operation.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getValue()

public NumericValue getValue()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValue

The value.

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

.google.analytics.data.v1beta.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 Filter.NumericFilter.Builder newBuilderForType()
Returns
TypeDescription
Filter.NumericFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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