Summary: Ctors | Methods | Inherited Methods | [Expand All]
public static final class

# FirebaseOptions.Builder

extends Object

java.lang.Object
↳ | com.google.firebase.FirebaseOptions.Builder

## Class Overview

Builder for constructing FirebaseOptions.

## Summary

Public Constructors
| FirebaseOptions.Builder() Constructs an empty builder.
| FirebaseOptions.Builder(FirebaseOptions options) Initializes the builder's values from the options object.

Public Methods
FirebaseOptions | build()
FirebaseOptions.Builder | setApiKey(String apiKey)
FirebaseOptions.Builder | setApplicationId(String applicationId)
FirebaseOptions.Builder | setDatabaseUrl(String databaseUrl)
FirebaseOptions.Builder | setGcmSenderId(String gcmSenderId)
FirebaseOptions.Builder | setStorageBucket(String storageBucket)

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Constructors

#### public FirebaseOptions.Builder ()

Constructs an empty builder.

#### public FirebaseOptions.Builder (FirebaseOptions options)

Initializes the builder's values from the options object.

The new builder is not backed by this objects values, that is changes made to the new builder don't change the values of the origin object.

## Public Methods

#### public FirebaseOptions build ()

#### public FirebaseOptions.Builder setApiKey (String apiKey)

#### public FirebaseOptions.Builder setApplicationId (String applicationId)

#### public FirebaseOptions.Builder setDatabaseUrl (String databaseUrl)

#### public FirebaseOptions.Builder setGcmSenderId (String gcmSenderId)

#### public FirebaseOptions.Builder setStorageBucket (String storageBucket)