Class XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub>
com.linecorp.centraldogma.xds.cluster.v1.XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub
- Enclosing class:
XdsClusterServiceGrpc
public static final class XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service XdsClusterService.
An XdsClusterService provides methods to manage clusters.
-
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.cluster.v3.ClustercreateCluster(CreateClusterRequest request) Creates a new cluster.com.google.protobuf.EmptydeleteCluster(DeleteClusterRequest request) Deletes a cluster.io.envoyproxy.envoy.config.cluster.v3.ClusterupdateCluster(UpdateClusterRequest request) Updates an existing cluster.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 XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<XdsClusterServiceGrpc.XdsClusterServiceBlockingV2Stub>
-
createCluster
public io.envoyproxy.envoy.config.cluster.v3.Cluster createCluster(CreateClusterRequest request) throws io.grpc.StatusException Creates a new cluster.
- Throws:
io.grpc.StatusException
-
updateCluster
public io.envoyproxy.envoy.config.cluster.v3.Cluster updateCluster(UpdateClusterRequest request) throws io.grpc.StatusException Updates an existing cluster.
- Throws:
io.grpc.StatusException
-
deleteCluster
public com.google.protobuf.Empty deleteCluster(DeleteClusterRequest request) throws io.grpc.StatusException Deletes a cluster.
- Throws:
io.grpc.StatusException
-