Class RepositoryManagerGrpc.RepositoryManagerFutureStub (3.45.0)

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

A stub to allow clients to do ListenableFuture-style rpc calls to service RepositoryManager.

Manages connections to source code repositories.

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
Name Description
request BatchCreateRepositoriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected RepositoryManagerGrpc.RepositoryManagerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createRepository(CreateRepositoryRequest request)

public ListenableFuture<Operation> createRepository(CreateRepositoryRequest request)

Creates a Repository.

Parameter
Name Description
request CreateRepositoryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteConnection(DeleteConnectionRequest request)

public ListenableFuture<Operation> deleteConnection(DeleteConnectionRequest request)

Deletes a single connection.

Parameter
Name Description
request DeleteConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteRepository(DeleteRepositoryRequest request)

public ListenableFuture<Operation> deleteRepository(DeleteRepositoryRequest request)

Deletes a single repository.

Parameter
Name Description
request DeleteRepositoryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

fetchGitRefs(FetchGitRefsRequest request)

public ListenableFuture<FetchGitRefsResponse> fetchGitRefs(FetchGitRefsRequest request)

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

Parameter
Name Description
request FetchGitRefsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchGitRefsResponse>

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
Name Description
request FetchLinkableRepositoriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchLinkableRepositoriesResponse>

fetchReadToken(FetchReadTokenRequest request)

public ListenableFuture<FetchReadTokenResponse> fetchReadToken(FetchReadTokenRequest request)

Fetches read token of a given repository.

Parameter
Name Description
request FetchReadTokenRequest
Returns
Type Description
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
Name Description
request FetchReadWriteTokenRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<FetchReadWriteTokenResponse>

getConnection(GetConnectionRequest request)

public ListenableFuture<Connection> getConnection(GetConnectionRequest request)

Gets details of a single connection.

Parameter
Name Description
request GetConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Connection>

getRepository(GetRepositoryRequest request)

public ListenableFuture<Repository> getRepository(GetRepositoryRequest request)

Gets details of a single repository.

Parameter
Name Description
request GetRepositoryRequest
Returns
Type Description
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
Name Description
request ListConnectionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListConnectionsResponse>

listRepositories(ListRepositoriesRequest request)

public ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)

Lists Repositories in a given connection.

Parameter
Name Description
request ListRepositoriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListRepositoriesResponse>

updateConnection(UpdateConnectionRequest request)

public ListenableFuture<Operation> updateConnection(UpdateConnectionRequest request)

Updates a single connection.

Parameter
Name Description
request UpdateConnectionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>