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
OP_FIELD_NUMBER
public static final int OP_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static StructuredQuery.UnaryFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static StructuredQuery.UnaryFilter.Builder newBuilder()
Returns
newBuilder(StructuredQuery.UnaryFilter prototype)
public static StructuredQuery.UnaryFilter.Builder newBuilder(StructuredQuery.UnaryFilter prototype)
Parameter
Returns
public static StructuredQuery.UnaryFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.UnaryFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StructuredQuery.UnaryFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.UnaryFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StructuredQuery.UnaryFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.UnaryFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StructuredQuery.UnaryFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.UnaryFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StructuredQuery.UnaryFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StructuredQuery.UnaryFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StructuredQuery.UnaryFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StructuredQuery.UnaryFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StructuredQuery.UnaryFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public StructuredQuery.UnaryFilter getDefaultInstanceForType()
Returns
getField()
public StructuredQuery.FieldReference getField()
The field to which to apply the operator.
.google.firestore.v1.StructuredQuery.FieldReference field = 2;
Returns
getFieldOrBuilder()
public StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder()
The field to which to apply the operator.
.google.firestore.v1.StructuredQuery.FieldReference field = 2;
Returns
getOp()
public StructuredQuery.UnaryFilter.Operator getOp()
The unary operator to apply.
.google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1;
Returns
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
getParserForType()
public Parser<StructuredQuery.UnaryFilter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public StructuredQuery.UnaryFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StructuredQuery.UnaryFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public StructuredQuery.UnaryFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions