Interface BranchServiceGrpc.AsyncService (2.49.0)

public static interface BranchServiceGrpc.AsyncService

Service for Branch Management Branches are automatically created when a Catalog is created. There are fixed three branches in each catalog, and may use ListBranches method to get the details of all branches.

Methods

getBranch(GetBranchRequest request, StreamObserver<Branch> responseObserver)

public default void getBranch(GetBranchRequest request, StreamObserver<Branch> responseObserver)

Retrieves a Branch.

Parameters
Name Description
request GetBranchRequest
responseObserver io.grpc.stub.StreamObserver<Branch>

listBranches(ListBranchesRequest request, StreamObserver<ListBranchesResponse> responseObserver)

public default void listBranches(ListBranchesRequest request, StreamObserver<ListBranchesResponse> responseObserver)

Lists all Branchs under the specified parent Catalog.

Parameters
Name Description
request ListBranchesRequest
responseObserver io.grpc.stub.StreamObserver<ListBranchesResponse>