public final class FirestoreOptions extends ServiceOptions<Firestore,FirestoreOptions>
A Factory class to create new Firestore instances.
Inherited Members
com.google.cloud.ServiceOptions.<B>toBuilder()
com.google.cloud.ServiceOptions.<T>getFromServiceLoader(java.lang.Class<? extends T>,T)
com.google.cloud.ServiceOptions.<T>newInstance(java.lang.String)
com.google.cloud.ServiceOptions.baseEquals(com.google.cloud.ServiceOptions<?,?>)
com.google.cloud.ServiceOptions.baseHashCode()
com.google.cloud.ServiceOptions.defaultRetrySettings()
com.google.cloud.ServiceOptions.getApiTracerFactory()
com.google.cloud.ServiceOptions.getAppEngineAppId()
com.google.cloud.ServiceOptions.getAppEngineProjectId()
com.google.cloud.ServiceOptions.getAppEngineProjectIdFromAppId()
com.google.cloud.ServiceOptions.getApplicationName()
com.google.cloud.ServiceOptions.getClientLibToken()
com.google.cloud.ServiceOptions.getClock()
com.google.cloud.ServiceOptions.getCredentials()
com.google.cloud.ServiceOptions.getDefaultHost()
com.google.cloud.ServiceOptions.getDefaultProject()
com.google.cloud.ServiceOptions.getDefaultProjectId()
com.google.cloud.ServiceOptions.getDefaultRetrySettings()
com.google.cloud.ServiceOptions.getGoogApiClientLibName()
com.google.cloud.ServiceOptions.getGoogleCloudProjectId()
com.google.cloud.ServiceOptions.getHost()
com.google.cloud.ServiceOptions.getLibraryName()
com.google.cloud.ServiceOptions.getLibraryVersion()
com.google.cloud.ServiceOptions.getMergedHeaderProvider(com.google.api.gax.rpc.HeaderProvider)
com.google.cloud.ServiceOptions.getNoRetrySettings()
com.google.cloud.ServiceOptions.getProjectId()
com.google.cloud.ServiceOptions.getQuotaProjectId()
com.google.cloud.ServiceOptions.getResolvedApiaryHost(java.lang.String)
com.google.cloud.ServiceOptions.getResolvedHost(java.lang.String)
com.google.cloud.ServiceOptions.getRetrySettings()
com.google.cloud.ServiceOptions.getRpc()
com.google.cloud.ServiceOptions.getScopedCredentials()
com.google.cloud.ServiceOptions.getScopes()
com.google.cloud.ServiceOptions.getService()
com.google.cloud.ServiceOptions.getServiceAccountProjectId()
com.google.cloud.ServiceOptions.getTransportOptions()
com.google.cloud.ServiceOptions.getUniverseDomain()
com.google.cloud.ServiceOptions.getUserAgent()
com.google.cloud.ServiceOptions.hasValidUniverseDomain()
com.google.cloud.ServiceOptions.projectIdRequired()
com.google.cloud.ServiceOptions.shouldRefreshRpc(com.google.cloud.ServiceRpc)
com.google.cloud.ServiceOptions.shouldRefreshService(ServiceT)
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 |
getApiTracerFactory()
public ApiTracerFactory getApiTracerFactory()
Returns | |
---|---|
Type | Description |
ApiTracerFactory |
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 |
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()
com.google.cloud.ServiceOptions.getScopes()
getTransportChannelProvider()
public TransportChannelProvider getTransportChannelProvider()
Returns | |
---|---|
Type | Description |
TransportChannelProvider |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
projectIdRequired()
protected boolean projectIdRequired()
Returns | |
---|---|
Type | Description |
boolean |
com.google.cloud.ServiceOptions.projectIdRequired()
toBuilder()
public FirestoreOptions.Builder toBuilder()
Returns | |
---|---|
Type | Description |
FirestoreOptions.Builder |
com.google.cloud.ServiceOptions.<B>toBuilder()