public static final class ChannelzGrpc.ChannelzBlockingStub extends AbstractBlockingStub<ChannelzGrpc.ChannelzBlockingStub>
Channelz is a service exposed by gRPC servers that provides detailed debug information.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected ChannelzGrpc.ChannelzBlockingStub |
build(Channel channel,
CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.
|
GetChannelResponse |
getChannel(GetChannelRequest request)
Returns a single Channel, or else a NOT_FOUND code.
|
GetServerResponse |
getServer(GetServerRequest request)
Returns a single Server, or else a NOT_FOUND code.
|
GetServersResponse |
getServers(GetServersRequest request)
Gets all servers that exist in the process.
|
GetServerSocketsResponse |
getServerSockets(GetServerSocketsRequest request)
Gets all server sockets that exist in the process.
|
GetSocketResponse |
getSocket(GetSocketRequest request)
Returns a single Socket or else a NOT_FOUND code.
|
GetSubchannelResponse |
getSubchannel(GetSubchannelRequest request)
Returns a single Subchannel, or else a NOT_FOUND code.
|
GetTopChannelsResponse |
getTopChannels(GetTopChannelsRequest request)
Gets all root channels (i.e.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected ChannelzGrpc.ChannelzBlockingStub build(Channel channel, CallOptions callOptions)
AbstractStub
build
in class AbstractStub<ChannelzGrpc.ChannelzBlockingStub>
channel
- the channel that this stub will use to do communicationscallOptions
- the runtime call options to be applied to every call on this stubpublic GetTopChannelsResponse getTopChannels(GetTopChannelsRequest request)
Gets all root channels (i.e. channels the application has directly created). This does not include subchannels nor non-top level channels.
public GetServersResponse getServers(GetServersRequest request)
Gets all servers that exist in the process.
public GetServerResponse getServer(GetServerRequest request)
Returns a single Server, or else a NOT_FOUND code.
public GetServerSocketsResponse getServerSockets(GetServerSocketsRequest request)
Gets all server sockets that exist in the process.
public GetChannelResponse getChannel(GetChannelRequest request)
Returns a single Channel, or else a NOT_FOUND code.
public GetSubchannelResponse getSubchannel(GetSubchannelRequest request)
Returns a single Subchannel, or else a NOT_FOUND code.
public GetSocketResponse getSocket(GetSocketRequest request)
Returns a single Socket or else a NOT_FOUND code.