public interface FirestoreOptions
extends org.apache.beam.sdk.options.PipelineOptions
org.apache.beam.sdk.options.PipelineOptions.AtomicLongFactory, org.apache.beam.sdk.options.PipelineOptions.CheckEnabled, org.apache.beam.sdk.options.PipelineOptions.DirectRunner, org.apache.beam.sdk.options.PipelineOptions.JobNameFactory, org.apache.beam.sdk.options.PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.String |
getEmulatorHost()
A host port pair to allow connecting to a Cloud Firestore emulator instead of the live service.
|
java.lang.String |
getFirestoreDb()
The Firestore database ID to connect to.
|
java.lang.String |
getFirestoreHost()
A host port pair to allow connecting to a Cloud Firestore instead of the default live service.
|
void |
setEmulatorHost(java.lang.String host)
Define a host port pair to allow connecting to a Cloud Firestore emulator instead of the live
service.
|
void |
setFirestoreDb(java.lang.String firestoreDb)
Set the Firestore database ID to connect to.
|
void |
setFirestoreHost(java.lang.String host)
Define a host port pair to allow connecting to a Cloud Firestore instead of the default live
service.
|
@Nullable java.lang.String getEmulatorHost()
FIRESTORE_EMULATOR_HOST
environment variable is also set.FirestoreOptions.Builder.setEmulatorHost(java.lang.String)
void setEmulatorHost(java.lang.String host)
FIRESTORE_EMULATOR_HOST
environment variable is also set.host
- the emulator host and port to connect toFirestoreOptions.Builder.setEmulatorHost(java.lang.String)
@Default.String(value="(default)") java.lang.String getFirestoreDb()
void setFirestoreDb(java.lang.String firestoreDb)
@Default.String(value="batch-firestore.googleapis.com:443") java.lang.String getFirestoreHost()
void setFirestoreHost(java.lang.String host)
host
- the host and port to connect to