Interface RepositoryManagerGrpc.AsyncService (3.45.0)

public static interface RepositoryManagerGrpc.AsyncService

Manages connections to source code repositories.

Methods

batchCreateRepositories(BatchCreateRepositoriesRequest request, StreamObserver<Operation> responseObserver)

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

Creates multiple repositories inside a connection.

Parameters
Name Description
request BatchCreateRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createConnection(CreateConnectionRequest request, StreamObserver<Operation> responseObserver)

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

Creates a Connection.

Parameters
Name Description
request CreateConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)

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

Creates a Repository.

Parameters
Name Description
request CreateRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteConnection(DeleteConnectionRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single connection.

Parameters
Name Description
request DeleteConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single repository.

Parameters
Name Description
request DeleteRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

fetchGitRefs(FetchGitRefsRequest request, StreamObserver<FetchGitRefsResponse> responseObserver)

public default void fetchGitRefs(FetchGitRefsRequest request, StreamObserver<FetchGitRefsResponse> responseObserver)

Fetch the list of branches or tags for a given repository.

Parameters
Name Description
request FetchGitRefsRequest
responseObserver io.grpc.stub.StreamObserver<FetchGitRefsResponse>

fetchLinkableRepositories(FetchLinkableRepositoriesRequest request, StreamObserver<FetchLinkableRepositoriesResponse> responseObserver)

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

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

Parameters
Name Description
request FetchLinkableRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<FetchLinkableRepositoriesResponse>

fetchReadToken(FetchReadTokenRequest request, StreamObserver<FetchReadTokenResponse> responseObserver)

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

Fetches read token of a given repository.

Parameters
Name Description
request FetchReadTokenRequest
responseObserver io.grpc.stub.StreamObserver<FetchReadTokenResponse>

fetchReadWriteToken(FetchReadWriteTokenRequest request, StreamObserver<FetchReadWriteTokenResponse> responseObserver)

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

Fetches read/write token of a given repository.

Parameters
Name Description
request FetchReadWriteTokenRequest
responseObserver io.grpc.stub.StreamObserver<FetchReadWriteTokenResponse>

getConnection(GetConnectionRequest request, StreamObserver<Connection> responseObserver)

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

Gets details of a single connection.

Parameters
Name Description
request GetConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Connection>

getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

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

Gets details of a single repository.

Parameters
Name Description
request GetRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Repository>

listConnections(ListConnectionsRequest request, StreamObserver<ListConnectionsResponse> responseObserver)

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

Lists Connections in a given project and location.

Parameters
Name Description
request ListConnectionsRequest
responseObserver io.grpc.stub.StreamObserver<ListConnectionsResponse>

listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

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

Lists Repositories in a given connection.

Parameters
Name Description
request ListRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<ListRepositoriesResponse>

updateConnection(UpdateConnectionRequest request, StreamObserver<Operation> responseObserver)

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

Updates a single connection.

Parameters
Name Description
request UpdateConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>