Class FirestoreOptions (3.30.2)

public final class FirestoreOptions extends ServiceOptions<Firestore,FirestoreOptions>

A Factory class to create new Firestore instances.

Inheritance

Object > com.google.cloud.ServiceOptions > FirestoreOptions

Static Methods

getDefaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder getDefaultCredentialsProviderBuilder()
Returns
Type Description
Builder

getDefaultInstance()

public static FirestoreOptions getDefaultInstance()

Returns a default FirestoreOptions instance.

Returns
Type Description
FirestoreOptions

getDefaultTransportChannelProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder getDefaultTransportChannelProviderBuilder()
Returns
Type Description
Builder

getDefaultTransportOptionsBuilder()

public static GrpcTransportOptions.Builder getDefaultTransportOptionsBuilder()
Returns
Type Description
com.google.cloud.grpc.GrpcTransportOptions.Builder

newBuilder()

public static FirestoreOptions.Builder newBuilder()
Returns
Type Description
FirestoreOptions.Builder

Constructors

FirestoreOptions(FirestoreOptions.Builder builder)

protected FirestoreOptions(FirestoreOptions.Builder builder)
Parameter
Name Description
builder FirestoreOptions.Builder

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getApiTracerFactory()

public ApiTracerFactory getApiTracerFactory()
Returns
Type Description
ApiTracerFactory
Overrides
com.google.cloud.ServiceOptions.getApiTracerFactory()

getCredentialsProvider()

public CredentialsProvider getCredentialsProvider()
Returns
Type Description
CredentialsProvider

getDatabaseId()

public String getDatabaseId()
Returns
Type Description
String

getDefaultHost()

protected String getDefaultHost()
Returns
Type Description
String
Overrides
com.google.cloud.ServiceOptions.getDefaultHost()

getEmulatorHost()

public String getEmulatorHost()
Returns
Type Description
String

getOpenTelemetryOptions()

public FirestoreOpenTelemetryOptions getOpenTelemetryOptions()
Returns
Type Description
FirestoreOpenTelemetryOptions

getScopes()

protected Set<String> getScopes()
Returns
Type Description
Set<String>
Overrides
com.google.cloud.ServiceOptions.getScopes()

getTransportChannelProvider()

public TransportChannelProvider getTransportChannelProvider()
Returns
Type Description
TransportChannelProvider

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

projectIdRequired()

protected boolean projectIdRequired()
Returns
Type Description
boolean
Overrides
com.google.cloud.ServiceOptions.projectIdRequired()

toBuilder()

public FirestoreOptions.Builder toBuilder()
Returns
Type Description
FirestoreOptions.Builder
Overrides
com.google.cloud.ServiceOptions.<B>toBuilder()