Package com.buildless.service.v1
Class TelemetryGrpc.TelemetryFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<TelemetryGrpc.TelemetryFutureStub>
com.buildless.service.v1.TelemetryGrpc.TelemetryFutureStub
- Enclosing class:
TelemetryGrpc
public static final class TelemetryGrpc.TelemetryFutureStub
extends io.grpc.stub.AbstractFutureStub<TelemetryGrpc.TelemetryFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptionprotected TelemetryGrpc.TelemetryFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<EventID>## Emit an Event Emits a single event to the telemetry service.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>ping(com.google.protobuf.Empty request) ## Ping the Service Emits a ping message to the Telemetry API, which the Telemetry API immediately returns.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected TelemetryGrpc.TelemetryFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TelemetryGrpc.TelemetryFutureStub>
-
ping
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> ping(com.google.protobuf.Empty request) ## Ping the Service Emits a ping message to the Telemetry API, which the Telemetry API immediately returns. Both messages must be empty.
-
eventEmit
## 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.
-