Class TraceServiceGrpc (2.41.0)

public final class TraceServiceGrpc

This file describes an API for collecting and viewing traces and spans within a trace. A Trace is a collection of spans corresponding to a single operation or set of operations for an application. A span is an individual timed event which forms a node of the trace tree. Spans for a single trace may span multiple services.

Inheritance

java.lang.Object > TraceServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(TraceServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TraceServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceTraceServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getGetTraceMethod()

public static MethodDescriptor<GetTraceRequest,Trace> getGetTraceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetTraceRequest,Trace>

getListTracesMethod()

public static MethodDescriptor<ListTracesRequest,ListTracesResponse> getListTracesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListTracesRequest,ListTracesResponse>

getPatchTracesMethod()

public static MethodDescriptor<PatchTracesRequest,Empty> getPatchTracesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<PatchTracesRequest,Empty>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static TraceServiceGrpc.TraceServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TraceServiceGrpc.TraceServiceBlockingStub

newFutureStub(Channel channel)

public static TraceServiceGrpc.TraceServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TraceServiceGrpc.TraceServiceFutureStub

newStub(Channel channel)

public static TraceServiceGrpc.TraceServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TraceServiceGrpc.TraceServiceStub