Class SpacesServiceSettings.Builder (0.2.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
NameDescription
clientContextClientContext

Builder(SpacesServiceSettings settings)

protected Builder(SpacesServiceSettings settings)
Parameter
NameDescription
settingsSpacesServiceSettings

Builder(SpacesServiceStubSettings.Builder stubSettings)

protected Builder(SpacesServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsSpacesServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SpacesServiceSettings.Builder

build()

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

createSpaceSettings()

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

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

Returns
TypeDescription
Builder<CreateSpaceRequest,Space>

endActiveConferenceSettings()

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

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

Returns
TypeDescription
Builder<EndActiveConferenceRequest,Empty>

getSpaceSettings()

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

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

Returns
TypeDescription
Builder<GetSpaceRequest,Space>

getStubSettingsBuilder()

public SpacesServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
SpacesServiceStubSettings.Builder

updateSpaceSettings()

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

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

Returns
TypeDescription
Builder<UpdateSpaceRequest,Space>