public sealed class Pipeline.Types.Stage : IMessage<Pipeline.Types.Stage>, IEquatable<Pipeline.Types.Stage>, IDeepCloneable<Pipeline.Types.Stage>, IBufferMessage, IMessageReference documentation and code samples for the Firestore v1 API class Pipeline.Types.Stage.
A single operation within a pipeline.
A stage is made up of a unique name, and a list of arguments. The exact number of arguments & types is dependent on the stage type.
To give an example, the stage filter(state = "MD") would be encoded as:
name: "filter"
args {
function_value {
name: "eq"
args { field_reference_value: "state" }
args { string_value: "MD" }
}
}
See public documentation for the full list.
Implements
IMessagePipelineTypesStage, IEquatablePipelineTypesStage, IDeepCloneablePipelineTypesStage, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
Stage()
public Stage()Stage(Stage)
public Stage(Pipeline.Types.Stage other)| Parameter | |
|---|---|
| Name | Description |
other |
PipelineTypesStage |
Properties
Args
public RepeatedField<Value> Args { get; }Optional. Ordered list of arguments the given stage expects.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldValue |
|
Name
public string Name { get; set; }Required. The name of the stage to evaluate.
Requires:
- must be in snake case (lower case with underscore separator).
| Property Value | |
|---|---|
| Type | Description |
string |
|
Options
public MapField<string, Value> Options { get; }Optional. Optional named arguments that certain functions may support.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringValue |
|