Class SpacesServiceStubSettings.Builder (0.15.0)

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

Builder for SpacesServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SpacesServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SpacesServiceStubSettings settings)

protected Builder(SpacesServiceStubSettings settings)
Parameter
Name Description
settings SpacesServiceStubSettings

Methods

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

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

build()

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

createSpaceSettings()

public UnaryCallSettings.Builder<CreateSpaceRequest,Space> createSpaceSettings()

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

Returns
Type Description
Builder<CreateSpaceRequest,Space>

endActiveConferenceSettings()

public UnaryCallSettings.Builder<EndActiveConferenceRequest,Empty> endActiveConferenceSettings()

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

Returns
Type Description
Builder<EndActiveConferenceRequest,Empty>

getSpaceSettings()

public UnaryCallSettings.Builder<GetSpaceRequest,Space> getSpaceSettings()

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

Returns
Type Description
Builder<GetSpaceRequest,Space>

unaryMethodSettingsBuilders()

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

updateSpaceSettings()

public UnaryCallSettings.Builder<UpdateSpaceRequest,Space> updateSpaceSettings()

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

Returns
Type Description
Builder<UpdateSpaceRequest,Space>