Class BetweenFilter (0.42.0)

public final class BetweenFilter extends GeneratedMessageV3 implements BetweenFilterOrBuilder

To express that the result needs to be between two numbers (inclusive).

Protobuf type google.analytics.data.v1alpha.BetweenFilter

Static Fields

FROM_VALUE_FIELD_NUMBER

public static final int FROM_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

TO_VALUE_FIELD_NUMBER

public static final int TO_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BetweenFilter getDefaultInstance()
Returns
TypeDescription
BetweenFilter

getDescriptor()

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

newBuilder()

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

newBuilder(BetweenFilter prototype)

public static BetweenFilter.Builder newBuilder(BetweenFilter prototype)
Parameter
NameDescription
prototypeBetweenFilter
Returns
TypeDescription
BetweenFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BetweenFilter getDefaultInstanceForType()
Returns
TypeDescription
BetweenFilter

getFromValue()

public NumericValue getFromValue()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
TypeDescription
NumericValue

The fromValue.

getFromValueOrBuilder()

public NumericValueOrBuilder getFromValueOrBuilder()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
TypeDescription
NumericValueOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getToValue()

public NumericValue getToValue()

Ends with this number.

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

Returns
TypeDescription
NumericValue

The toValue.

getToValueOrBuilder()

public NumericValueOrBuilder getToValueOrBuilder()

Ends with this number.

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

Returns
TypeDescription
NumericValueOrBuilder

hasFromValue()

public boolean hasFromValue()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
TypeDescription
boolean

Whether the fromValue field is set.

hasToValue()

public boolean hasToValue()

Ends with this number.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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