public static class FirestoreAdminSettings.Builder extends ClientSettings.Builder<FirestoreAdminSettings,FirestoreAdminSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(FirestoreAdminSettings settings) |
protected |
Builder(FirestoreAdminStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
FirestoreAdminSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
FirestoreAdminSettings |
build() |
UnaryCallSettings.Builder<com.google.firestore.admin.v1.CreateIndexRequest,Operation> |
createIndexSettings()
Returns the builder for the settings used for calls to createIndex.
|
UnaryCallSettings.Builder<com.google.firestore.admin.v1.DeleteIndexRequest,Empty> |
deleteIndexSettings()
Returns the builder for the settings used for calls to deleteIndex.
|
UnaryCallSettings.Builder<com.google.firestore.admin.v1.ExportDocumentsRequest,Operation> |
exportDocumentsSettings()
Returns the builder for the settings used for calls to exportDocuments.
|
UnaryCallSettings.Builder<com.google.firestore.admin.v1.GetFieldRequest,com.google.firestore.admin.v1.Field> |
getFieldSettings()
Returns the builder for the settings used for calls to getField.
|
UnaryCallSettings.Builder<com.google.firestore.admin.v1.GetIndexRequest,com.google.firestore.admin.v1.Index> |
getIndexSettings()
Returns the builder for the settings used for calls to getIndex.
|
FirestoreAdminStubSettings.Builder |
getStubSettingsBuilder() |
UnaryCallSettings.Builder<com.google.firestore.admin.v1.ImportDocumentsRequest,Operation> |
importDocumentsSettings()
Returns the builder for the settings used for calls to importDocuments.
|
PagedCallSettings.Builder<com.google.firestore.admin.v1.ListFieldsRequest,com.google.firestore.admin.v1.ListFieldsResponse,FirestoreAdminClient.ListFieldsPagedResponse> |
listFieldsSettings()
Returns the builder for the settings used for calls to listFields.
|
PagedCallSettings.Builder<com.google.firestore.admin.v1.ListIndexesRequest,com.google.firestore.admin.v1.ListIndexesResponse,FirestoreAdminClient.ListIndexesPagedResponse> |
listIndexesSettings()
Returns the builder for the settings used for calls to listIndexes.
|
UnaryCallSettings.Builder<com.google.firestore.admin.v1.UpdateFieldRequest,Operation> |
updateFieldSettings()
Returns the builder for the settings used for calls to updateField.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(FirestoreAdminSettings settings)
protected Builder(FirestoreAdminStubSettings.Builder stubSettings)
public FirestoreAdminStubSettings.Builder getStubSettingsBuilder()
public FirestoreAdminSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.firestore.admin.v1.CreateIndexRequest,Operation> createIndexSettings()
public PagedCallSettings.Builder<com.google.firestore.admin.v1.ListIndexesRequest,com.google.firestore.admin.v1.ListIndexesResponse,FirestoreAdminClient.ListIndexesPagedResponse> listIndexesSettings()
public UnaryCallSettings.Builder<com.google.firestore.admin.v1.GetIndexRequest,com.google.firestore.admin.v1.Index> getIndexSettings()
public UnaryCallSettings.Builder<com.google.firestore.admin.v1.DeleteIndexRequest,Empty> deleteIndexSettings()
public UnaryCallSettings.Builder<com.google.firestore.admin.v1.ImportDocumentsRequest,Operation> importDocumentsSettings()
public UnaryCallSettings.Builder<com.google.firestore.admin.v1.ExportDocumentsRequest,Operation> exportDocumentsSettings()
public UnaryCallSettings.Builder<com.google.firestore.admin.v1.GetFieldRequest,com.google.firestore.admin.v1.Field> getFieldSettings()
public PagedCallSettings.Builder<com.google.firestore.admin.v1.ListFieldsRequest,com.google.firestore.admin.v1.ListFieldsResponse,FirestoreAdminClient.ListFieldsPagedResponse> listFieldsSettings()
public UnaryCallSettings.Builder<com.google.firestore.admin.v1.UpdateFieldRequest,Operation> updateFieldSettings()
public FirestoreAdminSettings build() throws IOException
build
in class ClientSettings.Builder<FirestoreAdminSettings,FirestoreAdminSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.