Class FirestoreV1.BatchGetDocuments.Builder
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.firestore.FirestoreV1.BatchGetDocuments.Builder
-
- Enclosing class:
- FirestoreV1.BatchGetDocuments
public static final class FirestoreV1.BatchGetDocuments.Builder extends java.lang.Object
A type safe builder forFirestoreV1.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()
.- See Also:
FirestoreIO.v1()
,FirestoreV1.read()
,FirestoreV1.Read.batchGetDocuments()
,FirestoreV1.BatchGetDocuments
,BatchGetDocumentsRequest
,BatchGetDocumentsResponse
, google.firestore.v1.Firestore.BatchGetDocuments, google.firestore.v1.BatchGetDocumentsRequest, google.firestore.v1.BatchGetDocumentsResponse
-
-
Constructor Summary
Constructors Constructor Description Builder(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock, org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory, RpcQosOptions rpcQosOptions, @Nullable org.joda.time.Instant readTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FirestoreV1.BatchGetDocuments
build()
Create a new instance ofTransform
from the current builder state.BldrT
withReadTime(@Nullable org.joda.time.Instant readTime)
BldrT
withRpcQosOptions(RpcQosOptions rpcQosOptions)
Specify theRpcQosOptions
that will be used when bootstrapping the QOS of each running instance of theTransform
created by this builder.
-
-
-
Constructor Detail
-
Builder
public Builder(org.apache.beam.sdk.io.gcp.firestore.JodaClock clock, org.apache.beam.sdk.io.gcp.firestore.FirestoreStatefulComponentFactory firestoreStatefulComponentFactory, RpcQosOptions rpcQosOptions, @Nullable org.joda.time.Instant readTime)
-
-
Method Detail
-
build
public FirestoreV1.BatchGetDocuments build()
Create a new instance ofTransform
from the current builder state.- Returns:
- a new instance of
Transform
from the current builder state.
-
withReadTime
public final BldrT withReadTime(@Nullable org.joda.time.Instant readTime)
-
withRpcQosOptions
public final BldrT withRpcQosOptions(RpcQosOptions rpcQosOptions)
Specify theRpcQosOptions
that will be used when bootstrapping the QOS of each running instance of theTransform
created by this builder.NOTE This method behaves as set, mutating the value in this builder instance.
- Parameters:
rpcQosOptions
- The QOS Options to use when bootstrapping and running the builtTransform
.- Returns:
- this builder
- See Also:
RpcQosOptions
,RpcQosOptions.defaultOptions()
,RpcQosOptions.newBuilder()
-
-