Class RepositoryManagerGrpc.RepositoryManagerFutureStub (3.14.0)

public static final class RepositoryManagerGrpc.RepositoryManagerFutureStub extends AbstractFutureStub<RepositoryManagerGrpc.RepositoryManagerFutureStub>

Manages connections to source code repostiories.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > RepositoryManagerGrpc.RepositoryManagerFutureStub

Methods

batchCreateRepositories(BatchCreateRepositoriesRequest request)

public ListenableFuture<Operation> batchCreateRepositories(BatchCreateRepositoriesRequest request)

Creates multiple repositories inside a connection.

Parameter
NameDescription
requestBatchCreateRepositoriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

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

createConnection(CreateConnectionRequest request)

public ListenableFuture<Operation> createConnection(CreateConnectionRequest request)

Creates a Connection.

Parameter
NameDescription
requestCreateConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createRepository(CreateRepositoryRequest request)

public ListenableFuture<Operation> createRepository(CreateRepositoryRequest request)

Creates a Repository.

Parameter
NameDescription
requestCreateRepositoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteConnection(DeleteConnectionRequest request)

public ListenableFuture<Operation> deleteConnection(DeleteConnectionRequest request)

Deletes a single connection.

Parameter
NameDescription
requestDeleteConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRepository(DeleteRepositoryRequest request)

public ListenableFuture<Operation> deleteRepository(DeleteRepositoryRequest request)

Deletes a single repository.

Parameter
NameDescription
requestDeleteRepositoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

fetchLinkableRepositories(FetchLinkableRepositoriesRequest request)

public ListenableFuture<FetchLinkableRepositoriesResponse> fetchLinkableRepositories(FetchLinkableRepositoriesRequest request)

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

Parameter
NameDescription
requestFetchLinkableRepositoriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<FetchLinkableRepositoriesResponse>

fetchReadToken(FetchReadTokenRequest request)

public ListenableFuture<FetchReadTokenResponse> fetchReadToken(FetchReadTokenRequest request)

Fetches read token of a given repository.

Parameter
NameDescription
requestFetchReadTokenRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<FetchReadTokenResponse>

fetchReadWriteToken(FetchReadWriteTokenRequest request)

public ListenableFuture<FetchReadWriteTokenResponse> fetchReadWriteToken(FetchReadWriteTokenRequest request)

Fetches read/write token of a given repository.

Parameter
NameDescription
requestFetchReadWriteTokenRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<FetchReadWriteTokenResponse>

getConnection(GetConnectionRequest request)

public ListenableFuture<Connection> getConnection(GetConnectionRequest request)

Gets details of a single connection.

Parameter
NameDescription
requestGetConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Connection>

getRepository(GetRepositoryRequest request)

public ListenableFuture<Repository> getRepository(GetRepositoryRequest request)

Gets details of a single repository.

Parameter
NameDescription
requestGetRepositoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Repository>

listConnections(ListConnectionsRequest request)

public ListenableFuture<ListConnectionsResponse> listConnections(ListConnectionsRequest request)

Lists Connections in a given project and location.

Parameter
NameDescription
requestListConnectionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListConnectionsResponse>

listRepositories(ListRepositoriesRequest request)

public ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)

Lists Repositories in a given connection.

Parameter
NameDescription
requestListRepositoriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListRepositoriesResponse>

updateConnection(UpdateConnectionRequest request)

public ListenableFuture<Operation> updateConnection(UpdateConnectionRequest request)

Updates a single connection.

Parameter
NameDescription
requestUpdateConnectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>