Class Filter.BetweenFilter (0.38.0)

public static final class Filter.BetweenFilter extends GeneratedMessageV3 implements Filter.BetweenFilterOrBuilder

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

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

getDescriptor()

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

newBuilder()

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

newBuilder(Filter.BetweenFilter prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getFromValue()

public NumericValue getFromValue()

Begins with this number.

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

Returns
TypeDescription
NumericValue

The fromValue.

getFromValueOrBuilder()

public NumericValueOrBuilder getFromValueOrBuilder()

Begins with this number.

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

Returns
TypeDescription
NumericValueOrBuilder

getParserForType()

public Parser<Filter.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.v1beta.NumericValue to_value = 2;

Returns
TypeDescription
NumericValue

The toValue.

getToValueOrBuilder()

public NumericValueOrBuilder getToValueOrBuilder()

Ends with this number.

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

Returns
TypeDescription
NumericValueOrBuilder

hasFromValue()

public boolean hasFromValue()

Begins with this number.

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

Returns
TypeDescription
boolean

Whether the fromValue field is set.

hasToValue()

public boolean hasToValue()

Ends with this number.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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