Class RepositoryManagerGrpc.RepositoryManagerBlockingStub (3.37.0)

public static final class RepositoryManagerGrpc.RepositoryManagerBlockingStub extends AbstractBlockingStub<RepositoryManagerGrpc.RepositoryManagerBlockingStub>

A stub to allow clients to do synchronous rpc calls to service RepositoryManager.

Manages connections to source code repositories.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > RepositoryManagerGrpc.RepositoryManagerBlockingStub

Methods

batchCreateRepositories(BatchCreateRepositoriesRequest request)

public Operation batchCreateRepositories(BatchCreateRepositoriesRequest request)

Creates multiple repositories inside a connection.

Parameter
NameDescription
requestBatchCreateRepositoriesRequest
Returns
TypeDescription
Operation

build(Channel channel, CallOptions callOptions)

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

createConnection(CreateConnectionRequest request)

public Operation createConnection(CreateConnectionRequest request)

Creates a Connection.

Parameter
NameDescription
requestCreateConnectionRequest
Returns
TypeDescription
Operation

createRepository(CreateRepositoryRequest request)

public Operation createRepository(CreateRepositoryRequest request)

Creates a Repository.

Parameter
NameDescription
requestCreateRepositoryRequest
Returns
TypeDescription
Operation

deleteConnection(DeleteConnectionRequest request)

public Operation deleteConnection(DeleteConnectionRequest request)

Deletes a single connection.

Parameter
NameDescription
requestDeleteConnectionRequest
Returns
TypeDescription
Operation

deleteRepository(DeleteRepositoryRequest request)

public Operation deleteRepository(DeleteRepositoryRequest request)

Deletes a single repository.

Parameter
NameDescription
requestDeleteRepositoryRequest
Returns
TypeDescription
Operation

fetchGitRefs(FetchGitRefsRequest request)

public FetchGitRefsResponse fetchGitRefs(FetchGitRefsRequest request)

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

Parameter
NameDescription
requestFetchGitRefsRequest
Returns
TypeDescription
FetchGitRefsResponse

fetchLinkableRepositories(FetchLinkableRepositoriesRequest request)

public FetchLinkableRepositoriesResponse fetchLinkableRepositories(FetchLinkableRepositoriesRequest request)

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

Parameter
NameDescription
requestFetchLinkableRepositoriesRequest
Returns
TypeDescription
FetchLinkableRepositoriesResponse

fetchReadToken(FetchReadTokenRequest request)

public FetchReadTokenResponse fetchReadToken(FetchReadTokenRequest request)

Fetches read token of a given repository.

Parameter
NameDescription
requestFetchReadTokenRequest
Returns
TypeDescription
FetchReadTokenResponse

fetchReadWriteToken(FetchReadWriteTokenRequest request)

public FetchReadWriteTokenResponse fetchReadWriteToken(FetchReadWriteTokenRequest request)

Fetches read/write token of a given repository.

Parameter
NameDescription
requestFetchReadWriteTokenRequest
Returns
TypeDescription
FetchReadWriteTokenResponse

getConnection(GetConnectionRequest request)

public Connection getConnection(GetConnectionRequest request)

Gets details of a single connection.

Parameter
NameDescription
requestGetConnectionRequest
Returns
TypeDescription
Connection

getRepository(GetRepositoryRequest request)

public Repository getRepository(GetRepositoryRequest request)

Gets details of a single repository.

Parameter
NameDescription
requestGetRepositoryRequest
Returns
TypeDescription
Repository

listConnections(ListConnectionsRequest request)

public ListConnectionsResponse listConnections(ListConnectionsRequest request)

Lists Connections in a given project and location.

Parameter
NameDescription
requestListConnectionsRequest
Returns
TypeDescription
ListConnectionsResponse

listRepositories(ListRepositoriesRequest request)

public ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)

Lists Repositories in a given connection.

Parameter
NameDescription
requestListRepositoriesRequest
Returns
TypeDescription
ListRepositoriesResponse

updateConnection(UpdateConnectionRequest request)

public Operation updateConnection(UpdateConnectionRequest request)

Updates a single connection.

Parameter
NameDescription
requestUpdateConnectionRequest
Returns
TypeDescription
Operation