Class TraceServiceStubSettings.Builder (2.3.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
NameDescription
clientContextClientContext

Builder(TraceServiceStubSettings settings)

protected Builder(TraceServiceStubSettings settings)
Parameter
NameDescription
settingsTraceServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TraceServiceStubSettings.Builder

build()

public TraceServiceStubSettings build()
Returns
TypeDescription
TraceServiceStubSettings
Overrides Exceptions
TypeDescription
IOException

getTraceSettings()

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

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

Returns
TypeDescription
Builder<GetTraceRequest,Trace>

listTracesSettings()

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

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

Returns
TypeDescription
Builder<ListTracesRequest,ListTracesResponse,ListTracesPagedResponse>

patchTracesSettings()

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

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

Returns
TypeDescription
Builder<PatchTracesRequest,Empty>

unaryMethodSettingsBuilders()

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