Class GrpcDebugger2Stub (1.17.0)

publicclass GrpcDebugger2StubextendsDebugger2Stub

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)

publicstaticfinalGrpcDebugger2Stubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDebugger2Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

publicstaticfinalGrpcDebugger2Stubcreate(ClientContextclientContext,GrpcStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDebugger2Stub
Exceptions
Type Description
IOException

create(Debugger2StubSettings settings)

publicstaticfinalGrpcDebugger2Stubcreate(Debugger2StubSettingssettings)
Parameter
Name Description
settings Debugger2StubSettings
Returns
Type Description
GrpcDebugger2Stub
Exceptions
Type Description
IOException

Constructors

GrpcDebugger2Stub(Debugger2StubSettings settings, ClientContext clientContext)

protectedGrpcDebugger2Stub(Debugger2StubSettingssettings,ClientContextclientContext)

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)

protectedGrpcDebugger2Stub(Debugger2StubSettingssettings,ClientContextclientContext,GrpcStubCallableFactorycallableFactory)

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)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

deleteBreakpointCallable()

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

getBreakpointCallable()

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

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listBreakpointsCallable()

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

listDebuggeesCallable()

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

setBreakpointCallable()

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

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.