public interface FirestoreOptions extends PipelineOptions
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, 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.
|
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.
|
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@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)