Package com.google.cloud.firestore.v1
Class FirestoreAdminSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<FirestoreAdminSettings,FirestoreAdminSettings.Builder>
com.google.cloud.firestore.v1.FirestoreAdminSettings.Builder
- Enclosing class:
- FirestoreAdminSettings
public static class FirestoreAdminSettings.Builder
extends ClientSettings.Builder<FirestoreAdminSettings,FirestoreAdminSettings.Builder>
Builder for FirestoreAdminSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(FirestoreAdminSettings settings) protectedBuilder(FirestoreAdminStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()OperationCallSettings.Builder<BulkDeleteDocumentsRequest,BulkDeleteDocumentsResponse, BulkDeleteDocumentsMetadata> Returns the builder for the settings used for calls to bulkDeleteDocuments.Returns the builder for the settings used for calls to bulkDeleteDocuments.Returns the builder for the settings used for calls to cloneDatabase.Returns the builder for the settings used for calls to cloneDatabase.Returns the builder for the settings used for calls to createBackupSchedule.Returns the builder for the settings used for calls to createDatabase.Returns the builder for the settings used for calls to createDatabase.Returns the builder for the settings used for calls to createIndex.Returns the builder for the settings used for calls to createIndex.Returns the builder for the settings used for calls to createUserCreds.UnaryCallSettings.Builder<DeleteBackupScheduleRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteBackupSchedule.UnaryCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteBackup.Returns the builder for the settings used for calls to deleteDatabase.Returns the builder for the settings used for calls to deleteDatabase.UnaryCallSettings.Builder<DeleteIndexRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteIndex.UnaryCallSettings.Builder<DeleteUserCredsRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteUserCreds.Returns the builder for the settings used for calls to disableUserCreds.Returns the builder for the settings used for calls to enableUserCreds.OperationCallSettings.Builder<ExportDocumentsRequest,ExportDocumentsResponse, ExportDocumentsMetadata> Returns the builder for the settings used for calls to exportDocuments.Returns the builder for the settings used for calls to exportDocuments.Returns the builder for the settings used for calls to getBackupSchedule.Returns the builder for the settings used for calls to getBackup.Returns the builder for the settings used for calls to getDatabase.Returns the builder for the settings used for calls to getField.Returns the builder for the settings used for calls to getIndex.Returns the builder for the settings used for calls to getUserCreds.OperationCallSettings.Builder<ImportDocumentsRequest,com.google.protobuf.Empty, ImportDocumentsMetadata> Returns the builder for the settings used for calls to importDocuments.Returns the builder for the settings used for calls to importDocuments.Returns the builder for the settings used for calls to listBackupSchedules.Returns the builder for the settings used for calls to listBackups.Returns the builder for the settings used for calls to listDatabases.PagedCallSettings.Builder<ListFieldsRequest,ListFieldsResponse, FirestoreAdminClient.ListFieldsPagedResponse> Returns the builder for the settings used for calls to listFields.PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse, FirestoreAdminClient.ListIndexesPagedResponse> Returns the builder for the settings used for calls to listIndexes.Returns the builder for the settings used for calls to listUserCreds.Returns the builder for the settings used for calls to resetUserPassword.Returns the builder for the settings used for calls to restoreDatabase.Returns the builder for the settings used for calls to restoreDatabase.Returns the builder for the settings used for calls to updateBackupSchedule.Returns the builder for the settings used for calls to updateDatabase.Returns the builder for the settings used for calls to updateDatabase.Returns the builder for the settings used for calls to updateField.Returns the builder for the settings used for calls to updateField.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public FirestoreAdminSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createIndexSettings
Returns the builder for the settings used for calls to createIndex. -
createIndexOperationSettings
public OperationCallSettings.Builder<CreateIndexRequest,Index, createIndexOperationSettings()IndexOperationMetadata> Returns the builder for the settings used for calls to createIndex. -
listIndexesSettings
public PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse, listIndexesSettings()FirestoreAdminClient.ListIndexesPagedResponse> Returns the builder for the settings used for calls to listIndexes. -
getIndexSettings
Returns the builder for the settings used for calls to getIndex. -
deleteIndexSettings
public UnaryCallSettings.Builder<DeleteIndexRequest,com.google.protobuf.Empty> deleteIndexSettings()Returns the builder for the settings used for calls to deleteIndex. -
getFieldSettings
Returns the builder for the settings used for calls to getField. -
updateFieldSettings
Returns the builder for the settings used for calls to updateField. -
updateFieldOperationSettings
public OperationCallSettings.Builder<UpdateFieldRequest,Field, updateFieldOperationSettings()FieldOperationMetadata> Returns the builder for the settings used for calls to updateField. -
listFieldsSettings
public PagedCallSettings.Builder<ListFieldsRequest,ListFieldsResponse, listFieldsSettings()FirestoreAdminClient.ListFieldsPagedResponse> Returns the builder for the settings used for calls to listFields. -
exportDocumentsSettings
Returns the builder for the settings used for calls to exportDocuments. -
exportDocumentsOperationSettings
public OperationCallSettings.Builder<ExportDocumentsRequest,ExportDocumentsResponse, exportDocumentsOperationSettings()ExportDocumentsMetadata> Returns the builder for the settings used for calls to exportDocuments. -
importDocumentsSettings
Returns the builder for the settings used for calls to importDocuments. -
importDocumentsOperationSettings
public OperationCallSettings.Builder<ImportDocumentsRequest,com.google.protobuf.Empty, importDocumentsOperationSettings()ImportDocumentsMetadata> Returns the builder for the settings used for calls to importDocuments. -
bulkDeleteDocumentsSettings
public UnaryCallSettings.Builder<BulkDeleteDocumentsRequest,Operation> bulkDeleteDocumentsSettings()Returns the builder for the settings used for calls to bulkDeleteDocuments. -
bulkDeleteDocumentsOperationSettings
public OperationCallSettings.Builder<BulkDeleteDocumentsRequest,BulkDeleteDocumentsResponse, bulkDeleteDocumentsOperationSettings()BulkDeleteDocumentsMetadata> Returns the builder for the settings used for calls to bulkDeleteDocuments. -
createDatabaseSettings
Returns the builder for the settings used for calls to createDatabase. -
createDatabaseOperationSettings
public OperationCallSettings.Builder<CreateDatabaseRequest,Database, createDatabaseOperationSettings()CreateDatabaseMetadata> Returns the builder for the settings used for calls to createDatabase. -
getDatabaseSettings
Returns the builder for the settings used for calls to getDatabase. -
listDatabasesSettings
public UnaryCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse> listDatabasesSettings()Returns the builder for the settings used for calls to listDatabases. -
updateDatabaseSettings
Returns the builder for the settings used for calls to updateDatabase. -
updateDatabaseOperationSettings
public OperationCallSettings.Builder<UpdateDatabaseRequest,Database, updateDatabaseOperationSettings()UpdateDatabaseMetadata> Returns the builder for the settings used for calls to updateDatabase. -
deleteDatabaseSettings
Returns the builder for the settings used for calls to deleteDatabase. -
deleteDatabaseOperationSettings
public OperationCallSettings.Builder<DeleteDatabaseRequest,Database, deleteDatabaseOperationSettings()DeleteDatabaseMetadata> Returns the builder for the settings used for calls to deleteDatabase. -
createUserCredsSettings
Returns the builder for the settings used for calls to createUserCreds. -
getUserCredsSettings
Returns the builder for the settings used for calls to getUserCreds. -
listUserCredsSettings
public UnaryCallSettings.Builder<ListUserCredsRequest,ListUserCredsResponse> listUserCredsSettings()Returns the builder for the settings used for calls to listUserCreds. -
enableUserCredsSettings
Returns the builder for the settings used for calls to enableUserCreds. -
disableUserCredsSettings
Returns the builder for the settings used for calls to disableUserCreds. -
resetUserPasswordSettings
Returns the builder for the settings used for calls to resetUserPassword. -
deleteUserCredsSettings
public UnaryCallSettings.Builder<DeleteUserCredsRequest,com.google.protobuf.Empty> deleteUserCredsSettings()Returns the builder for the settings used for calls to deleteUserCreds. -
getBackupSettings
Returns the builder for the settings used for calls to getBackup. -
listBackupsSettings
Returns the builder for the settings used for calls to listBackups. -
deleteBackupSettings
public UnaryCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty> deleteBackupSettings()Returns the builder for the settings used for calls to deleteBackup. -
restoreDatabaseSettings
Returns the builder for the settings used for calls to restoreDatabase. -
restoreDatabaseOperationSettings
public OperationCallSettings.Builder<RestoreDatabaseRequest,Database, restoreDatabaseOperationSettings()RestoreDatabaseMetadata> Returns the builder for the settings used for calls to restoreDatabase. -
createBackupScheduleSettings
public UnaryCallSettings.Builder<CreateBackupScheduleRequest,BackupSchedule> createBackupScheduleSettings()Returns the builder for the settings used for calls to createBackupSchedule. -
getBackupScheduleSettings
public UnaryCallSettings.Builder<GetBackupScheduleRequest,BackupSchedule> getBackupScheduleSettings()Returns the builder for the settings used for calls to getBackupSchedule. -
listBackupSchedulesSettings
public UnaryCallSettings.Builder<ListBackupSchedulesRequest,ListBackupSchedulesResponse> listBackupSchedulesSettings()Returns the builder for the settings used for calls to listBackupSchedules. -
updateBackupScheduleSettings
public UnaryCallSettings.Builder<UpdateBackupScheduleRequest,BackupSchedule> updateBackupScheduleSettings()Returns the builder for the settings used for calls to updateBackupSchedule. -
deleteBackupScheduleSettings
public UnaryCallSettings.Builder<DeleteBackupScheduleRequest,com.google.protobuf.Empty> deleteBackupScheduleSettings()Returns the builder for the settings used for calls to deleteBackupSchedule. -
cloneDatabaseSettings
Returns the builder for the settings used for calls to cloneDatabase. -
cloneDatabaseOperationSettings
public OperationCallSettings.Builder<CloneDatabaseRequest,Database, cloneDatabaseOperationSettings()CloneDatabaseMetadata> Returns the builder for the settings used for calls to cloneDatabase. -
build
- Specified by:
buildin classClientSettings.Builder<FirestoreAdminSettings,FirestoreAdminSettings.Builder> - Throws:
IOException
-