Class DatastoreAdminSettings.Builder (2.17.6)

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
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
TypeDescription
DatastoreAdminSettings.Builder

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
TypeDescription
Builder<CreateIndexRequest,Index,IndexOperationMetadata>

createIndexSettings()

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

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

Returns
TypeDescription
Builder<CreateIndexRequest,Operation>

deleteIndexOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteIndexRequest,Index,IndexOperationMetadata>

deleteIndexSettings()

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

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

Returns
TypeDescription
Builder<DeleteIndexRequest,Operation>

exportEntitiesOperationSettings()

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

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

Returns
TypeDescription
Builder<ExportEntitiesRequest,ExportEntitiesResponse,ExportEntitiesMetadata>

exportEntitiesSettings()

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

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

Returns
TypeDescription
Builder<ExportEntitiesRequest,Operation>

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
TypeDescription
DatastoreAdminStubSettings.Builder

importEntitiesOperationSettings()

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

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

Returns
TypeDescription
Builder<ImportEntitiesRequest,Empty,ImportEntitiesMetadata>

importEntitiesSettings()

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

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

Returns
TypeDescription
Builder<ImportEntitiesRequest,Operation>

listIndexesSettings()

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

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

Returns
TypeDescription
Builder<ListIndexesRequest,ListIndexesResponse,ListIndexesPagedResponse>