Class RepositoryManagerGrpc.RepositoryManagerStub (3.21.0)

public static final class RepositoryManagerGrpc.RepositoryManagerStub extends AbstractAsyncStub<RepositoryManagerGrpc.RepositoryManagerStub>

A stub to allow clients to do asynchronous rpc calls to service RepositoryManager.

Manages connections to source code repostiories.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > RepositoryManagerGrpc.RepositoryManagerStub

Methods

batchCreateRepositories(BatchCreateRepositoriesRequest request, StreamObserver<Operation> responseObserver)

public void batchCreateRepositories(BatchCreateRepositoriesRequest request, StreamObserver<Operation> responseObserver)

Creates multiple repositories inside a connection.

Parameters
NameDescription
requestBatchCreateRepositoriesRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

protected RepositoryManagerGrpc.RepositoryManagerStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
RepositoryManagerGrpc.RepositoryManagerStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConnection(CreateConnectionRequest request, StreamObserver<Operation> responseObserver)

public void createConnection(CreateConnectionRequest request, StreamObserver<Operation> responseObserver)

Creates a Connection.

Parameters
NameDescription
requestCreateConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)

public void createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)

Creates a Repository.

Parameters
NameDescription
requestCreateRepositoryRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteConnection(DeleteConnectionRequest request, StreamObserver<Operation> responseObserver)

public void deleteConnection(DeleteConnectionRequest request, StreamObserver<Operation> responseObserver)

Deletes a single connection.

Parameters
NameDescription
requestDeleteConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)

public void deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)

Deletes a single repository.

Parameters
NameDescription
requestDeleteRepositoryRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

fetchLinkableRepositories(FetchLinkableRepositoriesRequest request, StreamObserver<FetchLinkableRepositoriesResponse> responseObserver)

public void fetchLinkableRepositories(FetchLinkableRepositoriesRequest request, StreamObserver<FetchLinkableRepositoriesResponse> responseObserver)

FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.

Parameters
NameDescription
requestFetchLinkableRepositoriesRequest
responseObserverio.grpc.stub.StreamObserver<FetchLinkableRepositoriesResponse>

fetchReadToken(FetchReadTokenRequest request, StreamObserver<FetchReadTokenResponse> responseObserver)

public void fetchReadToken(FetchReadTokenRequest request, StreamObserver<FetchReadTokenResponse> responseObserver)

Fetches read token of a given repository.

Parameters
NameDescription
requestFetchReadTokenRequest
responseObserverio.grpc.stub.StreamObserver<FetchReadTokenResponse>

fetchReadWriteToken(FetchReadWriteTokenRequest request, StreamObserver<FetchReadWriteTokenResponse> responseObserver)

public void fetchReadWriteToken(FetchReadWriteTokenRequest request, StreamObserver<FetchReadWriteTokenResponse> responseObserver)

Fetches read/write token of a given repository.

Parameters
NameDescription
requestFetchReadWriteTokenRequest
responseObserverio.grpc.stub.StreamObserver<FetchReadWriteTokenResponse>

getConnection(GetConnectionRequest request, StreamObserver<Connection> responseObserver)

public void getConnection(GetConnectionRequest request, StreamObserver<Connection> responseObserver)

Gets details of a single connection.

Parameters
NameDescription
requestGetConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Connection>

getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

public void getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

Gets details of a single repository.

Parameters
NameDescription
requestGetRepositoryRequest
responseObserverio.grpc.stub.StreamObserver<Repository>

listConnections(ListConnectionsRequest request, StreamObserver<ListConnectionsResponse> responseObserver)

public void listConnections(ListConnectionsRequest request, StreamObserver<ListConnectionsResponse> responseObserver)

Lists Connections in a given project and location.

Parameters
NameDescription
requestListConnectionsRequest
responseObserverio.grpc.stub.StreamObserver<ListConnectionsResponse>

listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

public void listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

Lists Repositories in a given connection.

Parameters
NameDescription
requestListRepositoriesRequest
responseObserverio.grpc.stub.StreamObserver<ListRepositoriesResponse>

updateConnection(UpdateConnectionRequest request, StreamObserver<Operation> responseObserver)

public void updateConnection(UpdateConnectionRequest request, StreamObserver<Operation> responseObserver)

Updates a single connection.

Parameters
NameDescription
requestUpdateConnectionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>