Class StructuredPipeline (3.35.1)

public final class StructuredPipeline extends GeneratedMessageV3 implements StructuredPipelineOrBuilder

A Firestore query represented as an ordered list of operations / stages.

This is considered the top-level function which plans and executes a query. It is logically equivalent to query(stages, options), but prevents the client from having to build a function wrapper.

Protobuf type google.firestore.v1.StructuredPipeline

Static Fields

OPTIONS_FIELD_NUMBER

public static final int OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

PIPELINE_FIELD_NUMBER

public static final int PIPELINE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StructuredPipeline getDefaultInstance()
Returns
Type Description
StructuredPipeline

getDescriptor()

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

newBuilder()

public static StructuredPipeline.Builder newBuilder()
Returns
Type Description
StructuredPipeline.Builder

newBuilder(StructuredPipeline prototype)

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

parseDelimitedFrom(InputStream input)

public static StructuredPipeline parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredPipeline
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StructuredPipeline parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StructuredPipeline
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static StructuredPipeline parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StructuredPipeline
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StructuredPipeline parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredPipeline
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StructuredPipeline parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StructuredPipeline
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<StructuredPipeline> parser()
Returns
Type Description
Parser<StructuredPipeline>

Methods

containsOptions(String key)

public boolean containsOptions(String key)

Optional. Optional query-level arguments.

map<string, .google.firestore.v1.Value> options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public StructuredPipeline getDefaultInstanceForType()
Returns
Type Description
StructuredPipeline

getOptions() (deprecated)

public Map<String,Value> getOptions()

Use #getOptionsMap() instead.

Returns
Type Description
Map<String,Value>

getOptionsCount()

public int getOptionsCount()

Optional. Optional query-level arguments.

map<string, .google.firestore.v1.Value> options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getOptionsMap()

public Map<String,Value> getOptionsMap()

Optional. Optional query-level arguments.

map<string, .google.firestore.v1.Value> options = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,Value>

getOptionsOrDefault(String key, Value defaultValue)

public Value getOptionsOrDefault(String key, Value defaultValue)

Optional. Optional query-level arguments.

map<string, .google.firestore.v1.Value> options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getOptionsOrThrow(String key)

public Value getOptionsOrThrow(String key)

Optional. Optional query-level arguments.

map<string, .google.firestore.v1.Value> options = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Value

getParserForType()

public Parser<StructuredPipeline> getParserForType()
Returns
Type Description
Parser<StructuredPipeline>
Overrides

getPipeline()

public Pipeline getPipeline()

Required. The pipeline query to execute.

.google.firestore.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Pipeline

The pipeline.

getPipelineOrBuilder()

public PipelineOrBuilder getPipelineOrBuilder()

Required. The pipeline query to execute.

.google.firestore.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PipelineOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasPipeline()

public boolean hasPipeline()

Required. The pipeline query to execute.

.google.firestore.v1.Pipeline pipeline = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the pipeline field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StructuredPipeline.Builder newBuilderForType()
Returns
Type Description
StructuredPipeline.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StructuredPipeline.Builder toBuilder()
Returns
Type Description
StructuredPipeline.Builder

writeTo(CodedOutputStream output)

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