@io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "BatchWriteSpans",
      requestType = com.google.devtools.cloudtrace.v2.BatchWriteSpansRequest.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<
          com.google.devtools.cloudtrace.v2.BatchWriteSpansRequest, com.google.protobuf.Empty>
      getBatchWriteSpansMethod() {
    io.grpc.MethodDescriptor<
            com.google.devtools.cloudtrace.v2.BatchWriteSpansRequest, com.google.protobuf.Empty>
        getBatchWriteSpansMethod;
    if ((getBatchWriteSpansMethod = TraceServiceGrpc.getBatchWriteSpansMethod) == null) {
      synchronized (TraceServiceGrpc.class) {
        if ((getBatchWriteSpansMethod = TraceServiceGrpc.getBatchWriteSpansMethod) == null) {
          TraceServiceGrpc.getBatchWriteSpansMethod =
              getBatchWriteSpansMethod =
                  io.grpc.MethodDescriptor
                      .<com.google.devtools.cloudtrace.v2.BatchWriteSpansRequest,
                          com.google.protobuf.Empty>
                          newBuilder()
                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchWriteSpans"))
                      .setSampledToLocalTracing(true)
                      .setRequestMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.devtools.cloudtrace.v2.BatchWriteSpansRequest
                                  .getDefaultInstance()))
                      .setResponseMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.protobuf.Empty.getDefaultInstance()))
                      .setSchemaDescriptor(
                          new TraceServiceMethodDescriptorSupplier("BatchWriteSpans"))
                      .build();
        }
      }
    }
    return getBatchWriteSpansMethod;
  }
<pre>
Service for collecting and viewing traces and spans within a trace.
A trace is a collection of spans corresponding to a single
operation or a set of operations in an application.
A span is an individual timed event which forms a node of the trace tree.
A single trace can contain spans from multiple services.
</pre>
java-trace/grpc-google-cloud-trace-v2/src/main/java/com/google/devtools/cloudtrace/v2/TraceServiceGrpc.java