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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDebugger2Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDebugger2Stub
Exceptions
TypeDescription
IOException

create(Debugger2StubSettings settings)

public static final GrpcDebugger2Stub create(Debugger2StubSettings settings)
Parameter
NameDescription
settingsDebugger2StubSettings
Returns
TypeDescription
GrpcDebugger2Stub
Exceptions
TypeDescription
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
NameDescription
settingsDebugger2StubSettings
clientContextClientContext

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

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

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