Class SpacesServiceSettings.Builder (0.20.0)

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

Builder for SpacesServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SpacesServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SpacesServiceSettings settings)

protected Builder(SpacesServiceSettings settings)
Parameter
Name Description
settings SpacesServiceSettings

Builder(SpacesServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public SpacesServiceSettings build()
Returns
Type Description
SpacesServiceSettings
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>

getStubSettingsBuilder()

public SpacesServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
SpacesServiceStubSettings.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>