Class SampleQueryServiceSettings.Builder (0.48.0)

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

Builder for SampleQueryServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SampleQueryServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SampleQueryServiceSettings settings)

protected Builder(SampleQueryServiceSettings settings)
Parameter
Name Description
settings SampleQueryServiceSettings

Builder(SampleQueryServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createSampleQuerySettings()

public UnaryCallSettings.Builder<CreateSampleQueryRequest,SampleQuery> createSampleQuerySettings()

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

Returns
Type Description
Builder<CreateSampleQueryRequest,SampleQuery>

deleteSampleQuerySettings()

public UnaryCallSettings.Builder<DeleteSampleQueryRequest,Empty> deleteSampleQuerySettings()

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

Returns
Type Description
Builder<DeleteSampleQueryRequest,Empty>

getSampleQuerySettings()

public UnaryCallSettings.Builder<GetSampleQueryRequest,SampleQuery> getSampleQuerySettings()

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

Returns
Type Description
Builder<GetSampleQueryRequest,SampleQuery>

getStubSettingsBuilder()

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

importSampleQueriesOperationSettings()

public OperationCallSettings.Builder<ImportSampleQueriesRequest,ImportSampleQueriesResponse,ImportSampleQueriesMetadata> importSampleQueriesOperationSettings()

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

Returns
Type Description
Builder<ImportSampleQueriesRequest,ImportSampleQueriesResponse,ImportSampleQueriesMetadata>

importSampleQueriesSettings()

public UnaryCallSettings.Builder<ImportSampleQueriesRequest,Operation> importSampleQueriesSettings()

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

Returns
Type Description
Builder<ImportSampleQueriesRequest,Operation>

listSampleQueriesSettings()

public PagedCallSettings.Builder<ListSampleQueriesRequest,ListSampleQueriesResponse,SampleQueryServiceClient.ListSampleQueriesPagedResponse> listSampleQueriesSettings()

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

Returns
Type Description
Builder<ListSampleQueriesRequest,ListSampleQueriesResponse,ListSampleQueriesPagedResponse>

updateSampleQuerySettings()

public UnaryCallSettings.Builder<UpdateSampleQueryRequest,SampleQuery> updateSampleQuerySettings()

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

Returns
Type Description
Builder<UpdateSampleQueryRequest,SampleQuery>