Class HttpJsonDebugger2Stub (1.47.0)

public class HttpJsonDebugger2Stub extends Debugger2Stub

REST stub implementation for the Debugger2 service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > Debugger2Stub > HttpJsonDebugger2Stub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDebugger2Stub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonDebugger2Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDebugger2Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonDebugger2Stub
Exceptions
Type Description
IOException

create(Debugger2StubSettings settings)

public static final HttpJsonDebugger2Stub create(Debugger2StubSettings settings)
Parameter
Name Description
settings Debugger2StubSettings
Returns
Type Description
HttpJsonDebugger2Stub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext)

protected HttpJsonDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDebugger2Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings Debugger2StubSettings
clientContext ClientContext

HttpJsonDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDebugger2Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings Debugger2StubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteBreakpointCallable()

public UnaryCallable<DeleteBreakpointRequest,Empty> deleteBreakpointCallable()
Returns
Type Description
UnaryCallable<DeleteBreakpointRequest,Empty>
Overrides

getBreakpointCallable()

public UnaryCallable<GetBreakpointRequest,GetBreakpointResponse> getBreakpointCallable()
Returns
Type Description
UnaryCallable<GetBreakpointRequest,GetBreakpointResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listBreakpointsCallable()

public UnaryCallable<ListBreakpointsRequest,ListBreakpointsResponse> listBreakpointsCallable()
Returns
Type Description
UnaryCallable<ListBreakpointsRequest,ListBreakpointsResponse>
Overrides

listDebuggeesCallable()

public UnaryCallable<ListDebuggeesRequest,ListDebuggeesResponse> listDebuggeesCallable()
Returns
Type Description
UnaryCallable<ListDebuggeesRequest,ListDebuggeesResponse>
Overrides

setBreakpointCallable()

public UnaryCallable<SetBreakpointRequest,SetBreakpointResponse> setBreakpointCallable()
Returns
Type Description
UnaryCallable<SetBreakpointRequest,SetBreakpointResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()