| java.lang.Object | |
| ↳ | com.google.firebase.FirebaseOptions |
Configurable Firebase options.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | FirebaseOptions.Builder | Builder for constructing FirebaseOptions. |
|||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static FirebaseOptions.Builder |
builder()
Creates an empty builder.
| ||||||||||
| int |
getConnectTimeout()
Returns the connect timeout in milliseconds, which is applied to outgoing REST calls
made by the SDK.
| ||||||||||
| Map<String, Object> |
getDatabaseAuthVariableOverride()
Returns the
auth variable to be used in Security Rules. | ||||||||||
| String |
getDatabaseUrl()
Returns the Realtime Database URL to use for data storage.
| ||||||||||
| HttpTransport |
getHttpTransport()
Returns the
HttpTransport used to call remote HTTP endpoints. | ||||||||||
| JsonFactory |
getJsonFactory()
Returns the
JsonFactory used to parse JSON when calling remote HTTP endpoints. | ||||||||||
| String |
getProjectId()
Returns the Google Cloud project ID.
| ||||||||||
| int |
getReadTimeout()
Returns the read timeout applied to outgoing REST calls in milliseconds.
| ||||||||||
| String |
getServiceAccountId()
Returns the client email address of the service account.
| ||||||||||
| String |
getStorageBucket()
Returns the name of the Google Cloud Storage bucket used for storing application data.
| ||||||||||
| int |
getWriteTimeout()
Returns the write timeout applied to outgoing REST calls in milliseconds.
| ||||||||||
| FirebaseOptions.Builder |
toBuilder()
Creates a new
Builder from the options object. | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates an empty builder.
Returns the connect timeout in milliseconds, which is applied to outgoing REST calls made by the SDK.
Returns the auth variable to be used in Security Rules.
auth variable supplied via setDatabaseAuthVariableOverride(Map) .
Returns the Realtime Database URL to use for data storage.
setDatabaseUrl(String).
Returns the HttpTransport used to call remote HTTP endpoints. This transport is
used by all services of the SDK, except for FirebaseDatabase.
HttpTransport instance.
Returns the JsonFactory used to parse JSON when calling remote HTTP endpoints.
JsonFactory instance.
Returns the Google Cloud project ID.
setProjectId(String)
Returns the read timeout applied to outgoing REST calls in milliseconds.
Returns the client email address of the service account.
setServiceAccountId(String)
Returns the name of the Google Cloud Storage bucket used for storing application data.
setStorageBucket(String)
Returns the write timeout applied to outgoing REST calls in milliseconds.
Creates a new Builder from the options object.
The new builder is not backed by this object's values; that is, changes made to the new builder don't change the values of the origin object.