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.
* [#not-implemented-hide:] A tap service to receive incoming taps. Envoy will call
* StreamTaps to deliver captured taps to the server
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.22.1)",
comments = "Source: envoy/service/tap/v3alpha/tap.proto")
public final class TapSinkServiceGrpc {
private TapSinkServiceGrpc() {}
public static final String SERVICE_NAME = "envoy.service.tap.v3alpha.TapSinkService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getStreamTapsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "StreamTaps",
requestType = io.envoyproxy.envoy.service.tap.v3alpha.StreamTapsRequest.class,
responseType = io.envoyproxy.envoy.service.tap.v3alpha.StreamTapsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor getStreamTapsMethod() {
io.grpc.MethodDescriptor getStreamTapsMethod;
if ((getStreamTapsMethod = TapSinkServiceGrpc.getStreamTapsMethod) == null) {
synchronized (TapSinkServiceGrpc.class) {
if ((getStreamTapsMethod = TapSinkServiceGrpc.getStreamTapsMethod) == null) {
TapSinkServiceGrpc.getStreamTapsMethod = getStreamTapsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
.setFullMethodName(generateFullMethodName(
"envoy.service.tap.v3alpha.TapSinkService", "StreamTaps"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.envoyproxy.envoy.service.tap.v3alpha.StreamTapsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
io.envoyproxy.envoy.service.tap.v3alpha.StreamTapsResponse.getDefaultInstance()))
.setSchemaDescriptor(new TapSinkServiceMethodDescriptorSupplier("StreamTaps"))
.build();
}
}
}
return getStreamTapsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static TapSinkServiceStub newStub(io.grpc.Channel channel) {
return new TapSinkServiceStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static TapSinkServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new TapSinkServiceBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static TapSinkServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
return new TapSinkServiceFutureStub(channel);
}
/**
*
* [#not-implemented-hide:] A tap service to receive incoming taps. Envoy will call
* StreamTaps to deliver captured taps to the server
*
*/
public static abstract class TapSinkServiceImplBase implements io.grpc.BindableService {
/**
*
* Envoy will connect and send StreamTapsRequest messages forever. It does not expect any
* response to be sent as nothing would be done in the case of failure. The server should
* disconnect if it expects Envoy to reconnect.
*
*/
public io.grpc.stub.StreamObserver streamTaps(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getStreamTapsMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getStreamTapsMethod(),
asyncClientStreamingCall(
new MethodHandlers<
io.envoyproxy.envoy.service.tap.v3alpha.StreamTapsRequest,
io.envoyproxy.envoy.service.tap.v3alpha.StreamTapsResponse>(
this, METHODID_STREAM_TAPS)))
.build();
}
}
/**
*
* [#not-implemented-hide:] A tap service to receive incoming taps. Envoy will call
* StreamTaps to deliver captured taps to the server
*
*/
public static final class TapSinkServiceStub extends io.grpc.stub.AbstractStub {
private TapSinkServiceStub(io.grpc.Channel channel) {
super(channel);
}
private TapSinkServiceStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TapSinkServiceStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new TapSinkServiceStub(channel, callOptions);
}
/**
*
* Envoy will connect and send StreamTapsRequest messages forever. It does not expect any
* response to be sent as nothing would be done in the case of failure. The server should
* disconnect if it expects Envoy to reconnect.
*