Class DatastoreAdminSettings.Builder (2.22.0)

public static class DatastoreAdminSettings.Builder extends ClientSettings.Builder<DatastoreAdminSettings,DatastoreAdminSettings.Builder>

Builder for DatastoreAdminSettings.

Inheritance

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

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DatastoreAdminSettings settings)

protected Builder(DatastoreAdminSettings settings)
Parameter
Name Description
settings DatastoreAdminSettings

Builder(DatastoreAdminStubSettings.Builder stubSettings)

protected Builder(DatastoreAdminStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DatastoreAdminStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>
Returns
Type Description
DatastoreAdminSettings.Builder

build()

public DatastoreAdminSettings build()
Returns
Type Description
DatastoreAdminSettings
Overrides
Exceptions
Type Description
IOException

createIndexOperationSettings()

public OperationCallSettings.Builder<CreateIndexRequest,Index,IndexOperationMetadata> createIndexOperationSettings()

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

Returns
Type Description
Builder<CreateIndexRequest,Index,IndexOperationMetadata>

createIndexSettings()

public UnaryCallSettings.Builder<CreateIndexRequest,Operation> createIndexSettings()

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

Returns
Type Description
Builder<CreateIndexRequest,Operation>

deleteIndexOperationSettings()

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

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

Returns
Type Description
Builder<DeleteIndexRequest,Index,IndexOperationMetadata>

deleteIndexSettings()

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

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

Returns
Type Description
Builder<DeleteIndexRequest,Operation>

exportEntitiesOperationSettings()

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

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

Returns
Type Description
Builder<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata>

exportEntitiesSettings()

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

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

Returns
Type Description
Builder<ExportEntitiesRequest,Operation>

getIndexSettings()

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

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

Returns
Type Description
Builder<GetIndexRequest,Index>

getStubSettingsBuilder()

public DatastoreAdminStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
DatastoreAdminStubSettings.Builder

importEntitiesOperationSettings()

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

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

Returns
Type Description
Builder<ImportEntitiesRequest,Empty,ImportEntitiesMetadata>

importEntitiesSettings()

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

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

Returns
Type Description
Builder<ImportEntitiesRequest,Operation>

listIndexesSettings()

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

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

Returns
Type Description
Builder<ListIndexesRequest,ListIndexesResponse,ListIndexesPagedResponse>