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