Class DatastoreAdminStubSettings.Builder (2.14.1)

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
NameDescription
clientContextClientContext

Builder(DatastoreAdminStubSettings settings)

protected Builder(DatastoreAdminStubSettings settings)
Parameter
NameDescription
settingsDatastoreAdminStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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