Package | Description |
---|---|
com.google.cloud.firestore |
Modifier and Type | Method and Description |
---|---|
static FirestoreOptions.Builder |
FirestoreOptions.newBuilder() |
FirestoreOptions.Builder |
FirestoreOptions.Builder.setChannelProvider(com.google.api.gax.rpc.TransportChannelProvider channelProvider)
Sets the
TransportChannelProvider to use with this Firestore client. |
FirestoreOptions.Builder |
FirestoreOptions.Builder.setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
Sets the
CredentialsProvider to use with this Firestore client. |
FirestoreOptions.Builder |
FirestoreOptions.Builder.setDatabaseId(String databaseId)
Sets the database ID to use with this Firestore client.
|
FirestoreOptions.Builder |
FirestoreOptions.Builder.setTimestampsInSnapshotsEnabled(boolean value)
Deprecated.
This setting now defaults to true and will be removed in a future release. If you
are already setting it to true, just remove the setting. If you are setting it to false,
you should update your code to expect
Timestamps
instead of Dates and then remove the setting. |
FirestoreOptions.Builder |
FirestoreOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions transportOptions)
Sets the
TransportOptions to use with this Firestore client. |
FirestoreOptions.Builder |
FirestoreOptions.toBuilder() |
Constructor and Description |
---|
FirestoreOptions(FirestoreOptions.Builder builder) |
Copyright © 2019 Google LLC. All rights reserved.