Class SpacesServiceStubSettings.Builder (0.3.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
NameDescription
clientContextClientContext

Builder(SpacesServiceStubSettings settings)

protected Builder(SpacesServiceStubSettings settings)
Parameter
NameDescription
settingsSpacesServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
SpacesServiceStubSettings.Builder

build()

public SpacesServiceStubSettings build()
Returns
TypeDescription
SpacesServiceStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getSpaceSettings()

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

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

Returns
TypeDescription
Builder<GetSpaceRequest,Space>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateSpaceRequest,Space>