Class TraceServiceStubSettings.Builder (2.53.0)

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

Builder for TraceServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TraceServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TraceServiceStubSettings settings)

protected Builder(TraceServiceStubSettings settings)
Parameter
Name Description
settings TraceServiceStubSettings

Methods

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

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

build()

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

getTraceSettings()

public UnaryCallSettings.Builder<GetTraceRequest,Trace> getTraceSettings()

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

Returns
Type Description
Builder<GetTraceRequest,Trace>

listTracesSettings()

public PagedCallSettings.Builder<ListTracesRequest,ListTracesResponse,TraceServiceClient.ListTracesPagedResponse> listTracesSettings()

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

Returns
Type Description
Builder<ListTracesRequest,ListTracesResponse,ListTracesPagedResponse>

patchTracesSettings()

public UnaryCallSettings.Builder<PatchTracesRequest,Empty> patchTracesSettings()

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

Returns
Type Description
Builder<PatchTracesRequest,Empty>

unaryMethodSettingsBuilders()

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