Class TeamServiceStubSettings.Builder (0.7.0)

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

Builder for TeamServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TeamServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(TeamServiceStubSettings settings)

protected Builder(TeamServiceStubSettings settings)
Parameter
Name Description
settings TeamServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getTeamSettings()

public UnaryCallSettings.Builder<GetTeamRequest,Team> getTeamSettings()

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

Returns
Type Description
Builder<GetTeamRequest,Team>

listTeamsSettings()

public PagedCallSettings.Builder<ListTeamsRequest,ListTeamsResponse,TeamServiceClient.ListTeamsPagedResponse> listTeamsSettings()

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

Returns
Type Description
Builder<ListTeamsRequest,ListTeamsResponse,ListTeamsPagedResponse>

unaryMethodSettingsBuilders()

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