Class RepositoryManagerGrpc.RepositoryManagerImplBase (3.13.0)

public abstract static class RepositoryManagerGrpc.RepositoryManagerImplBase implements BindableService

Manages connections to source code repostiories.

Inheritance

java.lang.Object > RepositoryManagerGrpc.RepositoryManagerImplBase

Implements

io.grpc.BindableService

Constructors

RepositoryManagerImplBase()

public RepositoryManagerImplBase()

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>

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

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>