Class DatastoreAdminStubSettings.Builder (2.21.3)

public static class DatastoreAdminStubSettings.Builder extends StubSettings.Builder<DatastoreAdminStubSettings,DatastoreAdminStubSettings.Builder>

Builder for DatastoreAdminStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DatastoreAdminStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DatastoreAdminStubSettings settings)

protected Builder(DatastoreAdminStubSettings settings)
Parameter
Name Description
settings DatastoreAdminStubSettings

Methods

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

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

build()

public DatastoreAdminStubSettings build()
Returns
Type Description
DatastoreAdminStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>