Class SampleQueryServiceStubSettings.Builder (0.47.0)

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

Builder for SampleQueryServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SampleQueryServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SampleQueryServiceStubSettings settings)

protected Builder(SampleQueryServiceStubSettings settings)
Parameter
Name Description
settings SampleQueryServiceStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

updateSampleQuerySettings()

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

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

Returns
Type Description
Builder<UpdateSampleQueryRequest,SampleQuery>