Class ErrorGroupServiceStubSettings.Builder (0.162.0-beta)

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

Builder for ErrorGroupServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ErrorGroupServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ErrorGroupServiceStubSettings settings)

protected Builder(ErrorGroupServiceStubSettings settings)
Parameter
NameDescription
settingsErrorGroupServiceStubSettings

Methods

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

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

build()

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

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

getGroupSettings()

public UnaryCallSettings.Builder<GetGroupRequest,ErrorGroup> getGroupSettings()

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

Returns
TypeDescription
Builder<GetGroupRequest,ErrorGroup>

unaryMethodSettingsBuilders()

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

updateGroupSettings()

public UnaryCallSettings.Builder<UpdateGroupRequest,ErrorGroup> updateGroupSettings()

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

Returns
TypeDescription
Builder<UpdateGroupRequest,ErrorGroup>