Class TraceServiceGrpc (2.44.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
Type Description
String

Static Methods

bindService(TraceServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TraceServiceGrpc.AsyncService service)
Parameter
Name Description
service TraceServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetTraceMethod()

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

getListTracesMethod()

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

getPatchTracesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
TraceServiceGrpc.TraceServiceStub