
io.envoyproxy.envoy.service.endpoint.v3.LocalityEndpointDiscoveryServiceGrpc.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of envoy-scala-control-plane_2.13 Show documentation
Show all versions of envoy-scala-control-plane_2.13 Show documentation
ScalaPB generated bindings for Envoy
package io.envoyproxy.envoy.service.endpoint.v3
object LocalityEndpointDiscoveryServiceGrpc {
val METHOD_DELTA_LOCALITY_ENDPOINTS: _root_.io.grpc.MethodDescriptor[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryRequest, io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryResponse] =
_root_.io.grpc.MethodDescriptor.newBuilder()
.setType(_root_.io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
.setFullMethodName(_root_.io.grpc.MethodDescriptor.generateFullMethodName("envoy.service.endpoint.v3.LocalityEndpointDiscoveryService", "DeltaLocalityEndpoints"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(_root_.scalapb.grpc.Marshaller.forMessage[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryRequest])
.setResponseMarshaller(_root_.scalapb.grpc.Marshaller.forMessage[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryResponse])
.setSchemaDescriptor(_root_.scalapb.grpc.ConcreteProtoMethodDescriptorSupplier.fromMethodDescriptor(io.envoyproxy.envoy.service.endpoint.v3.LedsProto.javaDescriptor.getServices().get(0).getMethods().get(0)))
.build()
val SERVICE: _root_.io.grpc.ServiceDescriptor =
_root_.io.grpc.ServiceDescriptor.newBuilder("envoy.service.endpoint.v3.LocalityEndpointDiscoveryService")
.setSchemaDescriptor(new _root_.scalapb.grpc.ConcreteProtoFileDescriptorSupplier(io.envoyproxy.envoy.service.endpoint.v3.LedsProto.javaDescriptor))
.addMethod(METHOD_DELTA_LOCALITY_ENDPOINTS)
.build()
trait LocalityEndpointDiscoveryService extends _root_.scalapb.grpc.AbstractService {
override def serviceCompanion = LocalityEndpointDiscoveryService
/** The resource_names_subscribe resource_names_unsubscribe fields in DeltaDiscoveryRequest
* specify a list of glob collections to subscribe to updates for.
*/
def deltaLocalityEndpoints(responseObserver: _root_.io.grpc.stub.StreamObserver[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryResponse]): _root_.io.grpc.stub.StreamObserver[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryRequest]
}
object LocalityEndpointDiscoveryService extends _root_.scalapb.grpc.ServiceCompanion[LocalityEndpointDiscoveryService] {
implicit def serviceCompanion: _root_.scalapb.grpc.ServiceCompanion[LocalityEndpointDiscoveryService] = this
def javaDescriptor: _root_.com.google.protobuf.Descriptors.ServiceDescriptor = io.envoyproxy.envoy.service.endpoint.v3.LedsProto.javaDescriptor.getServices().get(0)
def scalaDescriptor: _root_.scalapb.descriptors.ServiceDescriptor = io.envoyproxy.envoy.service.endpoint.v3.LedsProto.scalaDescriptor.services(0)
def bindService(serviceImpl: LocalityEndpointDiscoveryService, executionContext: scala.concurrent.ExecutionContext): _root_.io.grpc.ServerServiceDefinition =
_root_.io.grpc.ServerServiceDefinition.builder(SERVICE)
.addMethod(
METHOD_DELTA_LOCALITY_ENDPOINTS,
_root_.io.grpc.stub.ServerCalls.asyncBidiStreamingCall(new _root_.io.grpc.stub.ServerCalls.BidiStreamingMethod[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryRequest, io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryResponse] {
override def invoke(observer: _root_.io.grpc.stub.StreamObserver[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryResponse]): _root_.io.grpc.stub.StreamObserver[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryRequest] =
serviceImpl.deltaLocalityEndpoints(observer)
}))
.build()
}
trait LocalityEndpointDiscoveryServiceBlockingClient {
def serviceCompanion = LocalityEndpointDiscoveryService
}
class LocalityEndpointDiscoveryServiceBlockingStub(channel: _root_.io.grpc.Channel, options: _root_.io.grpc.CallOptions = _root_.io.grpc.CallOptions.DEFAULT) extends _root_.io.grpc.stub.AbstractStub[LocalityEndpointDiscoveryServiceBlockingStub](channel, options) with LocalityEndpointDiscoveryServiceBlockingClient {
override def build(channel: _root_.io.grpc.Channel, options: _root_.io.grpc.CallOptions): LocalityEndpointDiscoveryServiceBlockingStub = new LocalityEndpointDiscoveryServiceBlockingStub(channel, options)
}
class LocalityEndpointDiscoveryServiceStub(channel: _root_.io.grpc.Channel, options: _root_.io.grpc.CallOptions = _root_.io.grpc.CallOptions.DEFAULT) extends _root_.io.grpc.stub.AbstractStub[LocalityEndpointDiscoveryServiceStub](channel, options) with LocalityEndpointDiscoveryService {
/** The resource_names_subscribe resource_names_unsubscribe fields in DeltaDiscoveryRequest
* specify a list of glob collections to subscribe to updates for.
*/
override def deltaLocalityEndpoints(responseObserver: _root_.io.grpc.stub.StreamObserver[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryResponse]): _root_.io.grpc.stub.StreamObserver[io.envoyproxy.envoy.service.discovery.v3.DeltaDiscoveryRequest] = {
_root_.scalapb.grpc.ClientCalls.asyncBidiStreamingCall(channel, METHOD_DELTA_LOCALITY_ENDPOINTS, options, responseObserver)
}
override def build(channel: _root_.io.grpc.Channel, options: _root_.io.grpc.CallOptions): LocalityEndpointDiscoveryServiceStub = new LocalityEndpointDiscoveryServiceStub(channel, options)
}
def bindService(serviceImpl: LocalityEndpointDiscoveryService, executionContext: scala.concurrent.ExecutionContext): _root_.io.grpc.ServerServiceDefinition = LocalityEndpointDiscoveryService.bindService(serviceImpl, executionContext)
def blockingStub(channel: _root_.io.grpc.Channel): LocalityEndpointDiscoveryServiceBlockingStub = new LocalityEndpointDiscoveryServiceBlockingStub(channel)
def stub(channel: _root_.io.grpc.Channel): LocalityEndpointDiscoveryServiceStub = new LocalityEndpointDiscoveryServiceStub(channel)
def javaDescriptor: _root_.com.google.protobuf.Descriptors.ServiceDescriptor = io.envoyproxy.envoy.service.endpoint.v3.LedsProto.javaDescriptor.getServices().get(0)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy