Class GrpcDebugger2Stub (1.52.0)

public class GrpcDebugger2Stub extends Debugger2Stub

gRPC stub implementation for the Debugger2 service API.

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

Inheritance

java.lang.Object > Debugger2Stub > GrpcDebugger2Stub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(Debugger2StubSettings settings)

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

Constructors

GrpcDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext)

protected GrpcDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDebugger2Stub, 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

GrpcDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDebugger2Stub, 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 GrpcStubCallableFactory

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

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()