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
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
public ListenableFuture<Operation> batchCreateRepositories(BatchCreateRepositoriesRequest request)
Creates multiple repositories inside a connection.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
protected RepositoryManagerGrpc.RepositoryManagerFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public ListenableFuture<Operation> createConnection(CreateConnectionRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Operation> createRepository(CreateRepositoryRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Operation> deleteConnection(DeleteConnectionRequest request)
Deletes a single connection.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Operation> deleteRepository(DeleteRepositoryRequest request)
Deletes a single repository.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<FetchLinkableRepositoriesResponse> fetchLinkableRepositories(FetchLinkableRepositoriesRequest request)
FetchLinkableRepositories get repositories from SCM that are
accessible and could be added to the connection.
Parameter
Returns
public ListenableFuture<FetchReadTokenResponse> fetchReadToken(FetchReadTokenRequest request)
Fetches read token of a given repository.
Parameter
Returns
public ListenableFuture<FetchReadWriteTokenResponse> fetchReadWriteToken(FetchReadWriteTokenRequest request)
Fetches read/write token of a given repository.
Parameter
Returns
public ListenableFuture<Connection> getConnection(GetConnectionRequest request)
Gets details of a single connection.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Connection> | |
public ListenableFuture<Repository> getRepository(GetRepositoryRequest request)
Gets details of a single repository.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Repository> | |
public ListenableFuture<ListConnectionsResponse> listConnections(ListConnectionsRequest request)
Lists Connections in a given project and location.
Parameter
Returns
public ListenableFuture<ListRepositoriesResponse> listRepositories(ListRepositoriesRequest request)
Lists Repositories in a given connection.
Parameter
Returns
public ListenableFuture<Operation> updateConnection(UpdateConnectionRequest request)
Updates a single connection.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |