Class TeamServiceSettings.Builder (0.6.0)

public static class TeamServiceSettings.Builder extends ClientSettings.Builder<TeamServiceSettings,TeamServiceSettings.Builder>

Builder for TeamServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TeamServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(TeamServiceSettings settings)

protected Builder(TeamServiceSettings settings)
Parameter
Name Description
settings TeamServiceSettings

Builder(TeamServiceStubSettings.Builder stubSettings)

protected Builder(TeamServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TeamServiceStubSettings.Builder

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getStubSettingsBuilder()

public TeamServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TeamServiceStubSettings.Builder

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>