public static class FirestoreAdminStubSettings.Builder extends StubSettings.Builder<FirestoreAdminStubSettings,FirestoreAdminStubSettings.Builder>
Builder for FirestoreAdminStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(FirestoreAdminStubSettings settings)
protected Builder(FirestoreAdminStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public FirestoreAdminStubSettings.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 FirestoreAdminStubSettings build()
Overrides
createDatabaseOperationSettings()
public OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationSettings()
Returns the builder for the settings used for calls to createDatabase.
createDatabaseSettings()
public UnaryCallSettings.Builder<CreateDatabaseRequest,Operation> createDatabaseSettings()
Returns the builder for the settings used for calls to createDatabase.
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.
deleteDatabaseOperationSettings()
public OperationCallSettings.Builder<DeleteDatabaseRequest,Database,DeleteDatabaseMetadata> deleteDatabaseOperationSettings()
Returns the builder for the settings used for calls to deleteDatabase.
deleteDatabaseSettings()
public UnaryCallSettings.Builder<DeleteDatabaseRequest,Operation> deleteDatabaseSettings()
Returns the builder for the settings used for calls to deleteDatabase.
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.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
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.
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.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |
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.