Class XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub>
com.linecorp.centraldogma.xds.route.v1.XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub
- Enclosing class:
XdsRouteServiceGrpc
public static final class XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service XdsRouteService.
An XdsRouteService provides methods to manage routes.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.envoyproxy.envoy.config.route.v3.RouteConfigurationcreateRoute(CreateRouteRequest request) Creates a new route.com.google.protobuf.EmptydeleteRoute(DeleteRouteRequest request) Deletes a route.io.envoyproxy.envoy.config.route.v3.RouteConfigurationupdateRoute(UpdateRouteRequest request) Updates an existing route.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<XdsRouteServiceGrpc.XdsRouteServiceBlockingV2Stub>
-
createRoute
public io.envoyproxy.envoy.config.route.v3.RouteConfiguration createRoute(CreateRouteRequest request) throws io.grpc.StatusException Creates a new route.
- Throws:
io.grpc.StatusException
-
updateRoute
public io.envoyproxy.envoy.config.route.v3.RouteConfiguration updateRoute(UpdateRouteRequest request) throws io.grpc.StatusException Updates an existing route.
- Throws:
io.grpc.StatusException
-
deleteRoute
public com.google.protobuf.Empty deleteRoute(DeleteRouteRequest request) throws io.grpc.StatusException Deletes a route.
- Throws:
io.grpc.StatusException
-