public static final class FirestoreV1.BatchGetDocuments.Builder
extends java.lang.Object
FirestoreV1.BatchGetDocuments
allowing configuration and instantiation.
This class is part of the Firestore Connector DSL, it has a type safe builder accessible
via FirestoreIO.v1()
.
read()
.
batchGetDocuments()
.
FirestoreIO.v1()
,
FirestoreV1.read()
,
FirestoreV1.Read.batchGetDocuments()
,
FirestoreV1.BatchGetDocuments
,
BatchGetDocumentsRequest
,
BatchGetDocumentsResponse
,
google.firestore.v1.Firestore.BatchGetDocuments,
google.firestore.v1.BatchGetDocumentsRequest,
google.firestore.v1.BatchGetDocumentsResponseConstructor and Description |
---|
Builder(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock,
org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory,
RpcQosOptions rpcQosOptions,
@Nullable Instant readTime) |
Modifier and Type | Method and Description |
---|---|
FirestoreV1.BatchGetDocuments |
build()
Create a new instance of
Transform from the current builder state. |
BldrT |
withReadTime(@Nullable Instant readTime) |
BldrT |
withRpcQosOptions(RpcQosOptions rpcQosOptions)
Specify the
RpcQosOptions that will be used when bootstrapping the QOS of each
running instance of the Transform created by this builder. |
public Builder(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock, org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory, RpcQosOptions rpcQosOptions, @Nullable Instant readTime)
public FirestoreV1.BatchGetDocuments build()
Transform
from the current builder state.Transform
from the current builder state.public final BldrT withRpcQosOptions(RpcQosOptions rpcQosOptions)
RpcQosOptions
that will be used when bootstrapping the QOS of each
running instance of the Transform
created by this builder.
NOTE This method behaves as set, mutating the value in this builder instance.
rpcQosOptions
- The QOS Options to use when bootstrapping and running the built Transform
.RpcQosOptions
,
RpcQosOptions.defaultOptions()
,
RpcQosOptions.newBuilder()