Class TelemetryGrpc.TelemetryStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TelemetryGrpc.TelemetryStub>
com.buildless.service.v1.TelemetryGrpc.TelemetryStub
Enclosing class:
TelemetryGrpc

public static final class TelemetryGrpc.TelemetryStub extends io.grpc.stub.AbstractAsyncStub<TelemetryGrpc.TelemetryStub>
A stub to allow clients to do asynchronous rpc calls to service Telemetry.
 Defines the API surface for the Buildless analytics service. This service is used to collect devops analytics, and
 internal analytics for the suite of Buildless extensions, SDKs, and tools.
 
  • 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)
     
    void
    eventEmit(Event request, io.grpc.stub.StreamObserver<EventID> responseObserver)
    ## Emit an Event Emits a single event to the telemetry service.
    io.grpc.stub.StreamObserver<Event>
    eventStream(io.grpc.stub.StreamObserver<EventID> responseObserver)
    ## Emit a Stream of Events Establishes a stream over which events can be reported to the telemetry service efficiently, and in bulk (the event payloads in question are automatically associated).
    void
    ping(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    ## Ping the Service Emits a ping message to the Telemetry API, which the Telemetry API immediately returns.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

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

    Methods inherited from class java.lang.Object

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

    • build

      protected TelemetryGrpc.TelemetryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<TelemetryGrpc.TelemetryStub>
    • ping

      public void ping(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       ## Ping the Service
       Emits a ping message to the Telemetry API, which the Telemetry API immediately returns. Both messages must be empty.
       
    • eventEmit

      public void eventEmit(Event request, io.grpc.stub.StreamObserver<EventID> responseObserver)
       ## Emit an Event
       Emits a single event to the telemetry service. This method is used to emit events which are not part of a series. The event in question is enriched/decorated with additional context, and then acknowledged or rejected.
       
    • eventStream

      public io.grpc.stub.StreamObserver<Event> eventStream(io.grpc.stub.StreamObserver<EventID> responseObserver)
       ## Emit a Stream of Events
       Establishes a stream over which events can be reported to the telemetry service efficiently, and in bulk (the event payloads in question are automatically associated). This method is used to emit events which are part of a series.