Class SampleQuerySetServiceStubSettings.Builder (0.50.0)

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

Builder for SampleQuerySetServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SampleQuerySetServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SampleQuerySetServiceStubSettings settings)

protected Builder(SampleQuerySetServiceStubSettings settings)
Parameter
Name Description
settings SampleQuerySetServiceStubSettings

Methods

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

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

build()

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

createSampleQuerySetSettings()

public UnaryCallSettings.Builder<CreateSampleQuerySetRequest,SampleQuerySet> createSampleQuerySetSettings()

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

Returns
Type Description
Builder<CreateSampleQuerySetRequest,SampleQuerySet>

deleteSampleQuerySetSettings()

public UnaryCallSettings.Builder<DeleteSampleQuerySetRequest,Empty> deleteSampleQuerySetSettings()

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

Returns
Type Description
Builder<DeleteSampleQuerySetRequest,Empty>

getSampleQuerySetSettings()

public UnaryCallSettings.Builder<GetSampleQuerySetRequest,SampleQuerySet> getSampleQuerySetSettings()

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

Returns
Type Description
Builder<GetSampleQuerySetRequest,SampleQuerySet>

listSampleQuerySetsSettings()

public PagedCallSettings.Builder<ListSampleQuerySetsRequest,ListSampleQuerySetsResponse,SampleQuerySetServiceClient.ListSampleQuerySetsPagedResponse> listSampleQuerySetsSettings()

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

Returns
Type Description
Builder<ListSampleQuerySetsRequest,ListSampleQuerySetsResponse,ListSampleQuerySetsPagedResponse>

unaryMethodSettingsBuilders()

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

updateSampleQuerySetSettings()

public UnaryCallSettings.Builder<UpdateSampleQuerySetRequest,SampleQuerySet> updateSampleQuerySetSettings()

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

Returns
Type Description
Builder<UpdateSampleQuerySetRequest,SampleQuerySet>