Class TraceServiceGrpc.TraceServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TraceServiceGrpc.TraceServiceBlockingV2Stub>
com.google.devtools.cloudtrace.v1.TraceServiceGrpc.TraceServiceBlockingV2Stub
Enclosing class:
TraceServiceGrpc

public static final class TraceServiceGrpc.TraceServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<TraceServiceGrpc.TraceServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service TraceService.
 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.
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    Gets a single trace by its ID.
    Returns of a list of traces that match the specified filter conditions.
    com.google.protobuf.Empty
    Sends new traces to Stackdriver Trace or updates existing traces.

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected TraceServiceGrpc.TraceServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<TraceServiceGrpc.TraceServiceBlockingV2Stub>
    • listTraces

      public ListTracesResponse listTraces(ListTracesRequest request) throws io.grpc.StatusException
       Returns of a list of traces that match the specified filter conditions.
       
      Throws:
      io.grpc.StatusException
    • getTrace

      public Trace getTrace(GetTraceRequest request) throws io.grpc.StatusException
       Gets a single trace by its ID.
       
      Throws:
      io.grpc.StatusException
    • patchTraces

      public com.google.protobuf.Empty patchTraces(PatchTracesRequest request) throws io.grpc.StatusException
       Sends new traces to Stackdriver Trace or updates existing traces. If the ID
       of a trace that you send matches that of an existing trace, any fields
       in the existing trace and its spans are overwritten by the provided values,
       and any new fields provided are merged with the existing trace data. If the
       ID does not match, a new trace is created.
       
      Throws:
      io.grpc.StatusException