Class DataObjectSearchServiceSettings.Builder (0.1.0)

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

Builder for DataObjectSearchServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataObjectSearchServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(DataObjectSearchServiceSettings settings)

protected Builder(DataObjectSearchServiceSettings settings)
Parameter
Name Description
settings DataObjectSearchServiceSettings

Builder(DataObjectSearchServiceStubSettings.Builder stubSettings)

protected Builder(DataObjectSearchServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings DataObjectSearchServiceStubSettings.Builder

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 DataObjectSearchServiceSettings.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
DataObjectSearchServiceSettings.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 DataObjectSearchServiceSettings build()
Returns
Type Description
DataObjectSearchServiceSettings
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>

getStubSettingsBuilder()

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

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>