public static class FirestoreAdminSettings.Builder extends ClientSettings.Builder<FirestoreAdminSettings,FirestoreAdminSettings.Builder>
Builder for FirestoreAdminSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(FirestoreAdminSettings settings)
protected Builder(FirestoreAdminSettings settings)
Builder(FirestoreAdminStubSettings.Builder stubSettings)
protected Builder(FirestoreAdminStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
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.
build()
public FirestoreAdminSettings build()
Overrides
createIndexOperationSettings()
public OperationCallSettings.Builder<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationSettings()
Returns the builder for the settings used for calls to createIndex.
createIndexSettings()
public UnaryCallSettings.Builder<CreateIndexRequest,Operation> createIndexSettings()
Returns the builder for the settings used for calls to createIndex.
deleteIndexSettings()
public UnaryCallSettings.Builder<DeleteIndexRequest,Empty> deleteIndexSettings()
Returns the builder for the settings used for calls to deleteIndex.
exportDocumentsOperationSettings()
public OperationCallSettings.Builder<ExportDocumentsRequest,ExportDocumentsResponse,ExportDocumentsMetadata> exportDocumentsOperationSettings()
Returns the builder for the settings used for calls to exportDocuments.
exportDocumentsSettings()
public UnaryCallSettings.Builder<ExportDocumentsRequest,Operation> exportDocumentsSettings()
Returns the builder for the settings used for calls to exportDocuments.
getDatabaseSettings()
public UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()
Returns the builder for the settings used for calls to getDatabase.
getFieldSettings()
public UnaryCallSettings.Builder<GetFieldRequest,Field> getFieldSettings()
Returns the builder for the settings used for calls to getField.
getIndexSettings()
public UnaryCallSettings.Builder<GetIndexRequest,Index> getIndexSettings()
Returns the builder for the settings used for calls to getIndex.
getStubSettingsBuilder()
public FirestoreAdminStubSettings.Builder getStubSettingsBuilder()
importDocumentsOperationSettings()
public OperationCallSettings.Builder<ImportDocumentsRequest,Empty,ImportDocumentsMetadata> importDocumentsOperationSettings()
Returns the builder for the settings used for calls to importDocuments.
importDocumentsSettings()
public UnaryCallSettings.Builder<ImportDocumentsRequest,Operation> importDocumentsSettings()
Returns the builder for the settings used for calls to importDocuments.
listDatabasesSettings()
public UnaryCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse> listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.
listFieldsSettings()
public PagedCallSettings.Builder<ListFieldsRequest,ListFieldsResponse,FirestoreAdminClient.ListFieldsPagedResponse> listFieldsSettings()
Returns the builder for the settings used for calls to listFields.
listIndexesSettings()
public PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse,FirestoreAdminClient.ListIndexesPagedResponse> listIndexesSettings()
Returns the builder for the settings used for calls to listIndexes.
updateDatabaseOperationSettings()
public OperationCallSettings.Builder<UpdateDatabaseRequest,Database,UpdateDatabaseMetadata> updateDatabaseOperationSettings()
Returns the builder for the settings used for calls to updateDatabase.
updateDatabaseSettings()
public UnaryCallSettings.Builder<UpdateDatabaseRequest,Operation> updateDatabaseSettings()
Returns the builder for the settings used for calls to updateDatabase.
updateFieldOperationSettings()
public OperationCallSettings.Builder<UpdateFieldRequest,Field,FieldOperationMetadata> updateFieldOperationSettings()
Returns the builder for the settings used for calls to updateField.
updateFieldSettings()
public UnaryCallSettings.Builder<UpdateFieldRequest,Operation> updateFieldSettings()
Returns the builder for the settings used for calls to updateField.