public final class FirestoreOptions extends com.google.cloud.ServiceOptions<Firestore,FirestoreOptions>
| Modifier and Type | Class and Description |
|---|---|
static class |
FirestoreOptions.Builder |
static class |
FirestoreOptions.DefaultFirestoreFactory |
static class |
FirestoreOptions.DefaultFirestoreRpcFactory |
| Modifier | Constructor and Description |
|---|---|
protected |
FirestoreOptions(FirestoreOptions.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areTimestampsInSnapshotsEnabled()
Returns whether or not
DocumentSnapshots return timestamp fields as
Timestamps. |
boolean |
equals(Object o) |
com.google.api.gax.core.CredentialsProvider |
getCredentialsProvider() |
String |
getDatabaseId() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
getDefaultCredentialsProviderBuilder() |
protected String |
getDefaultHost() |
static FirestoreOptions |
getDefaultInstance()
Returns a default
FirestoreOptions instance. |
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
getDefaultTransportChannelProviderBuilder() |
static com.google.cloud.grpc.GrpcTransportOptions.Builder |
getDefaultTransportOptionsBuilder() |
protected Set<String> |
getScopes() |
com.google.api.gax.rpc.TransportChannelProvider |
getTransportChannelProvider() |
int |
hashCode() |
static FirestoreOptions.Builder |
newBuilder() |
protected boolean |
projectIdRequired() |
FirestoreOptions.Builder |
toBuilder() |
baseEquals, baseHashCode, defaultRetrySettings, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultProject, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUserAgent, newInstance, shouldRefreshRpc, shouldRefreshService@InternalApi(value="This class should only be extended within google-cloud-java") protected FirestoreOptions(FirestoreOptions.Builder builder)
public static FirestoreOptions getDefaultInstance()
FirestoreOptions instance.protected boolean projectIdRequired()
projectIdRequired in class com.google.cloud.ServiceOptions<Firestore,FirestoreOptions>protected String getDefaultHost()
getDefaultHost in class com.google.cloud.ServiceOptions<Firestore,FirestoreOptions>public String getDatabaseId()
public com.google.api.gax.core.CredentialsProvider getCredentialsProvider()
public com.google.api.gax.rpc.TransportChannelProvider getTransportChannelProvider()
@Nonnull public static com.google.cloud.grpc.GrpcTransportOptions.Builder getDefaultTransportOptionsBuilder()
@Nonnull public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder getDefaultTransportChannelProviderBuilder()
@Nonnull public static com.google.api.gax.core.GoogleCredentialsProvider.Builder getDefaultCredentialsProviderBuilder()
public boolean areTimestampsInSnapshotsEnabled()
DocumentSnapshots return timestamp fields as
Timestamps.protected Set<String> getScopes()
getScopes in class com.google.cloud.ServiceOptions<Firestore,FirestoreOptions>@Nonnull public FirestoreOptions.Builder toBuilder()
toBuilder in class com.google.cloud.ServiceOptions<Firestore,FirestoreOptions>@Nonnull public static FirestoreOptions.Builder newBuilder()
Copyright © 2019 Google LLC. All rights reserved.