Class StructuredQuery.UnaryFilter (3.21.4)

public static final class StructuredQuery.UnaryFilter extends GeneratedMessageV3 implements StructuredQuery.UnaryFilterOrBuilder

A filter with a single operand.

Protobuf type google.firestore.v1.StructuredQuery.UnaryFilter

Static Fields

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
Type Description
int

OP_FIELD_NUMBER

public static final int OP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StructuredQuery.UnaryFilter getDefaultInstance()
Returns
Type Description
StructuredQuery.UnaryFilter

getDescriptor()

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

newBuilder()

public static StructuredQuery.UnaryFilter.Builder newBuilder()
Returns
Type Description
StructuredQuery.UnaryFilter.Builder

newBuilder(StructuredQuery.UnaryFilter prototype)

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

parseDelimitedFrom(InputStream input)

public static StructuredQuery.UnaryFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredQuery.UnaryFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StructuredQuery.UnaryFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StructuredQuery.UnaryFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static StructuredQuery.UnaryFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StructuredQuery.UnaryFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StructuredQuery.UnaryFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredQuery.UnaryFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StructuredQuery.UnaryFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StructuredQuery.UnaryFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<StructuredQuery.UnaryFilter> parser()
Returns
Type Description
Parser<UnaryFilter>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StructuredQuery.UnaryFilter getDefaultInstanceForType()
Returns
Type Description
StructuredQuery.UnaryFilter

getField()

public StructuredQuery.FieldReference getField()

The field to which to apply the operator.

.google.firestore.v1.StructuredQuery.FieldReference field = 2;

Returns
Type Description
StructuredQuery.FieldReference

The field.

getFieldOrBuilder()

public StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()

The field to which to apply the operator.

.google.firestore.v1.StructuredQuery.FieldReference field = 2;

Returns
Type Description
StructuredQuery.FieldReferenceOrBuilder

getOp()

public StructuredQuery.UnaryFilter.Operator getOp()

The unary operator to apply.

.google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1;

Returns
Type Description
StructuredQuery.UnaryFilter.Operator

The op.

getOpValue()

public int getOpValue()

The unary operator to apply.

.google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1;

Returns
Type Description
int

The enum numeric value on the wire for op.

getOperandTypeCase()

public StructuredQuery.UnaryFilter.OperandTypeCase getOperandTypeCase()
Returns
Type Description
StructuredQuery.UnaryFilter.OperandTypeCase

getParserForType()

public Parser<StructuredQuery.UnaryFilter> getParserForType()
Returns
Type Description
Parser<UnaryFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasField()

public boolean hasField()

The field to which to apply the operator.

.google.firestore.v1.StructuredQuery.FieldReference field = 2;

Returns
Type Description
boolean

Whether the field 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 StructuredQuery.UnaryFilter.Builder newBuilderForType()
Returns
Type Description
StructuredQuery.UnaryFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StructuredQuery.UnaryFilter.Builder toBuilder()
Returns
Type Description
StructuredQuery.UnaryFilter.Builder

writeTo(CodedOutputStream output)

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