Package com.google.cloud.firestore
Class FirestoreOptions
java.lang.Object
com.google.cloud.ServiceOptions<Firestore,FirestoreOptions>
com.google.cloud.firestore.FirestoreOptions
- All Implemented Interfaces:
Serializable
public final class FirestoreOptions
extends com.google.cloud.ServiceOptions<Firestore,FirestoreOptions>
A Factory class to create new Firestore instances.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
Fields inherited from class com.google.cloud.ServiceOptions
clientLibToken, CREDENTIAL_ENV_NAME, credentials -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.api.gax.core.CredentialsProviderstatic com.google.api.gax.core.GoogleCredentialsProvider.Builderprotected Stringstatic FirestoreOptionsReturns a defaultFirestoreOptionsinstance.static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builderstatic com.google.cloud.grpc.GrpcTransportOptions.Buildercom.google.api.gax.rpc.TransportChannelProviderinthashCode()static FirestoreOptions.Builderprotected booleanMethods inherited from class com.google.cloud.ServiceOptions
baseEquals, baseHashCode, defaultRetrySettings, getApiTracerFactory, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultProject, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getQuotaProjectId, getResolvedApiaryHost, getResolvedHost, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUniverseDomain, getUserAgent, hasValidUniverseDomain, newInstance, shouldRefreshRpc, shouldRefreshService
-
Constructor Details
-
FirestoreOptions
@InternalApi("This class should only be extended within google-cloud-java") protected FirestoreOptions(FirestoreOptions.Builder builder)
-
-
Method Details
-
getDefaultInstance
Returns a defaultFirestoreOptionsinstance. -
projectIdRequired
protected boolean projectIdRequired()- Overrides:
projectIdRequiredin classcom.google.cloud.ServiceOptions<Firestore,FirestoreOptions>
-
getDefaultHost
- Overrides:
getDefaultHostin classcom.google.cloud.ServiceOptions<Firestore,FirestoreOptions>
-
getDatabaseId
-
getCredentialsProvider
public com.google.api.gax.core.CredentialsProvider getCredentialsProvider() -
getTransportChannelProvider
public com.google.api.gax.rpc.TransportChannelProvider getTransportChannelProvider() -
getEmulatorHost
-
getDefaultTransportOptionsBuilder
@Nonnull public static com.google.cloud.grpc.GrpcTransportOptions.Builder getDefaultTransportOptionsBuilder() -
getDefaultTransportChannelProviderBuilder
@Nonnull public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder getDefaultTransportChannelProviderBuilder() -
getDefaultCredentialsProviderBuilder
@Nonnull public static com.google.api.gax.core.GoogleCredentialsProvider.Builder getDefaultCredentialsProviderBuilder() -
getScopes
- Specified by:
getScopesin classcom.google.cloud.ServiceOptions<Firestore,FirestoreOptions>
-
equals
-
hashCode
public int hashCode() -
toBuilder
- Specified by:
toBuilderin classcom.google.cloud.ServiceOptions<Firestore,FirestoreOptions>
-
newBuilder
-