Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
* Service for streaming traces to server that consumes the trace data. It
* uses OpenCensus data model as a standard to represent trace information.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.22.1)",
comments = "Source: envoy/service/trace/v3alpha/trace_service.proto")
public final class TraceServiceGrpc {
private TraceServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.trace.v3alpha.TraceService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getStreamTracesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "StreamTraces",
requestType = io.envoyproxy.envoy.service.trace.v3alpha.StreamTracesMessage.class,
responseType = io.envoyproxy.envoy.service.trace.v3alpha.StreamTracesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor getStreamTracesMethod() {
io.grpc.MethodDescriptor getStreamTracesMethod;
if ((getStreamTracesMethod = TraceServiceGrpc.getStreamTracesMethod) == null) {
synchronized (TraceServiceGrpc.class) {
if ((getStreamTracesMethod = TraceServiceGrpc.getStreamTracesMethod) == null) {
TraceServiceGrpc.getStreamTracesMethod = getStreamTracesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
.setFullMethodName(generateFullMethodName(
"envoy.service.trace.v3alpha.TraceService", "StreamTraces"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.envoyproxy.envoy.service.trace.v3alpha.StreamTracesMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.envoyproxy.envoy.service.trace.v3alpha.StreamTracesResponse.getDefaultInstance()))
.setSchemaDescriptor(new TraceServiceMethodDescriptorSupplier("StreamTraces"))
.build();
}
}
}
return getStreamTracesMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static TraceServiceStub newStub(io.grpc.Channel channel) {
return new TraceServiceStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static TraceServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new TraceServiceBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static TraceServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
return new TraceServiceFutureStub(channel);
}
/**
*
* Service for streaming traces to server that consumes the trace data. It
* uses OpenCensus data model as a standard to represent trace information.
*
*/
public static abstract class TraceServiceImplBase implements io.grpc.BindableService {
/**
*
* Envoy will connect and send StreamTracesMessage messages forever. It does
* not expect any response to be sent as nothing would be done in the case
* of failure.
*
*/
public io.grpc.stub.StreamObserver streamTraces(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getStreamTracesMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getStreamTracesMethod(),
asyncClientStreamingCall(
new MethodHandlers<
io.envoyproxy.envoy.service.trace.v3alpha.StreamTracesMessage,
io.envoyproxy.envoy.service.trace.v3alpha.StreamTracesResponse>(
this, METHODID_STREAM_TRACES)))
.build();
}
}
/**
*
* Service for streaming traces to server that consumes the trace data. It
* uses OpenCensus data model as a standard to represent trace information.
*
*/
public static final class TraceServiceStub extends io.grpc.stub.AbstractStub {
private TraceServiceStub(io.grpc.Channel channel) {
super(channel);
}
private TraceServiceStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TraceServiceStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new TraceServiceStub(channel, callOptions);
}
/**
*
* Envoy will connect and send StreamTracesMessage messages forever. It does
* not expect any response to be sent as nothing would be done in the case
* of failure.
*