public static class Controller2StubSettings.Builder extends StubSettings.Builder<Controller2StubSettings,Controller2StubSettings.Builder>
Builder for Controller2StubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(Controller2StubSettings settings)
protected Builder(Controller2StubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | Controller2StubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public Controller2StubSettings.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 |
Controller2StubSettings.Builder |
build()
public Controller2StubSettings build()
Returns | |
---|---|
Type | Description |
Controller2StubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns | |
---|---|
Type | Description |
String |
listActiveBreakpointsSettings()
public UnaryCallSettings.Builder<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse> listActiveBreakpointsSettings()
Returns the builder for the settings used for calls to listActiveBreakpoints.
Returns | |
---|---|
Type | Description |
Builder<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse> |
registerDebuggeeSettings()
public UnaryCallSettings.Builder<RegisterDebuggeeRequest,RegisterDebuggeeResponse> registerDebuggeeSettings()
Returns the builder for the settings used for calls to registerDebuggee.
Returns | |
---|---|
Type | Description |
Builder<RegisterDebuggeeRequest,RegisterDebuggeeResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateActiveBreakpointSettings()
public UnaryCallSettings.Builder<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse> updateActiveBreakpointSettings()
Returns the builder for the settings used for calls to updateActiveBreakpoint.
Returns | |
---|---|
Type | Description |
Builder<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse> |