Class HttpJsonDebugger2Stub (1.27.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonDebugger2Stub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDebugger2Stub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDebugger2Stub
Exceptions
TypeDescription
IOException

create(Debugger2StubSettings settings)

public static final HttpJsonDebugger2Stub create(Debugger2StubSettings settings)
Parameter
NameDescription
settingsDebugger2StubSettings
Returns
TypeDescription
HttpJsonDebugger2Stub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsDebugger2StubSettings
clientContextClientContext

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
NameDescription
settingsDebugger2StubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteBreakpointCallable()

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

getBreakpointCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listBreakpointsCallable()

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

listDebuggeesCallable()

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

setBreakpointCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()