public static class FirestoreAdminStubSettings.Builder extends StubSettings.Builder<FirestoreAdminStubSettings,FirestoreAdminStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(FirestoreAdminStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
FirestoreAdminStubSettings.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.
|
FirestoreAdminStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(FirestoreAdminStubSettings settings)
public FirestoreAdminStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 FirestoreAdminStubSettings build() throws IOException
build
in class StubSettings.Builder<FirestoreAdminStubSettings,FirestoreAdminStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.