Package s2.v1alpha
Class AccountServiceGrpc.AccountServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<AccountServiceGrpc.AccountServiceStub>
-
- s2.v1alpha.AccountServiceGrpc.AccountServiceStub
-
- Enclosing class:
- AccountServiceGrpc
public static final class AccountServiceGrpc.AccountServiceStub extends io.grpc.stub.AbstractAsyncStub<AccountServiceGrpc.AccountServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AccountService.Operate on an S2 account.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AccountServiceGrpc.AccountServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createBasin(CreateBasinRequest request, io.grpc.stub.StreamObserver<CreateBasinResponse> responseObserver)
Create a new basin.void
deleteBasin(DeleteBasinRequest request, io.grpc.stub.StreamObserver<DeleteBasinResponse> responseObserver)
Delete a basin.void
getBasinConfig(GetBasinConfigRequest request, io.grpc.stub.StreamObserver<GetBasinConfigResponse> responseObserver)
Get basin configuration.void
listBasins(ListBasinsRequest request, io.grpc.stub.StreamObserver<ListBasinsResponse> responseObserver)
List basins.void
reconfigureBasin(ReconfigureBasinRequest request, io.grpc.stub.StreamObserver<ReconfigureBasinResponse> responseObserver)
Update basin configuration.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected AccountServiceGrpc.AccountServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AccountServiceGrpc.AccountServiceStub>
-
listBasins
public void listBasins(ListBasinsRequest request, io.grpc.stub.StreamObserver<ListBasinsResponse> responseObserver)
List basins.
-
createBasin
public void createBasin(CreateBasinRequest request, io.grpc.stub.StreamObserver<CreateBasinResponse> responseObserver)
Create a new basin. Provide a client request token with the `S2-Request-Token` header for idempotent retry behaviour.
-
deleteBasin
public void deleteBasin(DeleteBasinRequest request, io.grpc.stub.StreamObserver<DeleteBasinResponse> responseObserver)
Delete a basin. Basin deletion is asynchronous, and may take a few minutes to complete.
-
reconfigureBasin
public void reconfigureBasin(ReconfigureBasinRequest request, io.grpc.stub.StreamObserver<ReconfigureBasinResponse> responseObserver)
Update basin configuration.
-
getBasinConfig
public void getBasinConfig(GetBasinConfigRequest request, io.grpc.stub.StreamObserver<GetBasinConfigResponse> responseObserver)
Get basin configuration.
-
-