Class DatastoreAdminSettings.Builder (2.9.1)

See more code actions.
public static class DatastoreAdminSettings.Builder extends ClientSettings.Builder<DatastoreAdminSettings,DatastoreAdminSettings.Builder>

Builder for DatastoreAdminSettings.

java.lang.Object > ClientSettings.Builder > DatastoreAdminSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DatastoreAdminSettings settings)

protected Builder(DatastoreAdminSettings settings)
Parameter
NameDescription
settingsDatastoreAdminSettings

Builder(DatastoreAdminStubSettings.Builder stubSettings)

protected Builder(DatastoreAdminStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDatastoreAdminStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DatastoreAdminSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,Void>
Returns

build()

public DatastoreAdminSettings build()
Returns
TypeDescription
DatastoreAdminSettings
Overrides Exceptions
TypeDescription
IOException

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

deleteIndexOperationSettings()

public OperationCallSettings.Builder<DeleteIndexRequest,Index,IndexOperationMetadata> deleteIndexOperationSettings()

Returns the builder for the settings used for calls to deleteIndex.

Returns

deleteIndexSettings()

public UnaryCallSettings.Builder<DeleteIndexRequest,Operation> deleteIndexSettings()

Returns the builder for the settings used for calls to deleteIndex.

Returns

exportEntitiesOperationSettings()

public OperationCallSettings.Builder<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata> exportEntitiesOperationSettings()

Returns the builder for the settings used for calls to exportEntities.

Returns

exportEntitiesSettings()

public UnaryCallSettings.Builder<ExportEntitiesRequest,Operation> exportEntitiesSettings()

Returns the builder for the settings used for calls to exportEntities.

Returns

getIndexSettings()

public UnaryCallSettings.Builder<GetIndexRequest,Index> getIndexSettings()

Returns the builder for the settings used for calls to getIndex.

Returns
TypeDescription
Builder<GetIndexRequest,Index>

getStubSettingsBuilder()

public DatastoreAdminStubSettings.Builder getStubSettingsBuilder()
Returns

importEntitiesOperationSettings()

public OperationCallSettings.Builder<ImportEntitiesRequest,Empty,ImportEntitiesMetadata> importEntitiesOperationSettings()

Returns the builder for the settings used for calls to importEntities.

Returns

importEntitiesSettings()

public UnaryCallSettings.Builder<ImportEntitiesRequest,Operation> importEntitiesSettings()

Returns the builder for the settings used for calls to importEntities.

Returns

listIndexesSettings()

public PagedCallSettings.Builder<ListIndexesRequest,ListIndexesResponse,DatastoreAdminClient.ListIndexesPagedResponse> listIndexesSettings()

Returns the builder for the settings used for calls to listIndexes.

Returns