Class DataObjectSearchServiceStubSettings.Builder (0.1.0)

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

Builder for DataObjectSearchServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > DataObjectSearchServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataObjectSearchServiceStubSettings settings)

protected Builder(DataObjectSearchServiceStubSettings settings)
Parameter
Name Description
settings DataObjectSearchServiceStubSettings

Methods

aggregateDataObjectsSettings()

public UnaryCallSettings.Builder<AggregateDataObjectsRequest,AggregateDataObjectsResponse> aggregateDataObjectsSettings()

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

Returns
Type Description
Builder<AggregateDataObjectsRequest,AggregateDataObjectsResponse>

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

public DataObjectSearchServiceStubSettings.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<?,?>,java.lang.Void>
Returns
Type Description
DataObjectSearchServiceStubSettings.Builder

batchSearchDataObjectsSettings()

public UnaryCallSettings.Builder<BatchSearchDataObjectsRequest,BatchSearchDataObjectsResponse> batchSearchDataObjectsSettings()

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

Returns
Type Description
Builder<BatchSearchDataObjectsRequest,BatchSearchDataObjectsResponse>

build()

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

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,DataObjectSearchServiceClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

queryDataObjectsSettings()

public PagedCallSettings.Builder<QueryDataObjectsRequest,QueryDataObjectsResponse,DataObjectSearchServiceClient.QueryDataObjectsPagedResponse> queryDataObjectsSettings()

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

Returns
Type Description
Builder<QueryDataObjectsRequest,QueryDataObjectsResponse,QueryDataObjectsPagedResponse>

searchDataObjectsSettings()

public PagedCallSettings.Builder<SearchDataObjectsRequest,SearchDataObjectsResponse,DataObjectSearchServiceClient.SearchDataObjectsPagedResponse> searchDataObjectsSettings()

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

Returns
Type Description
Builder<SearchDataObjectsRequest,SearchDataObjectsResponse,SearchDataObjectsPagedResponse>

unaryMethodSettingsBuilders()

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