Class RepositoryManagerGrpc.RepositoryManagerBlockingStub (3.45.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
Name Description
request BatchCreateRepositoriesRequest
Returns
Type Description
Operation

build(Channel channel, CallOptions callOptions)

protected RepositoryManagerGrpc.RepositoryManagerBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateConnectionRequest
Returns
Type Description
Operation

createRepository(CreateRepositoryRequest request)

public Operation createRepository(CreateRepositoryRequest request)

Creates a Repository.

Parameter
Name Description
request CreateRepositoryRequest
Returns
Type Description
Operation

deleteConnection(DeleteConnectionRequest request)

public Operation deleteConnection(DeleteConnectionRequest request)

Deletes a single connection.

Parameter
Name Description
request DeleteConnectionRequest
Returns
Type Description
Operation

deleteRepository(DeleteRepositoryRequest request)

public Operation deleteRepository(DeleteRepositoryRequest request)

Deletes a single repository.

Parameter
Name Description
request DeleteRepositoryRequest
Returns
Type Description
Operation

fetchGitRefs(FetchGitRefsRequest request)

public FetchGitRefsResponse fetchGitRefs(FetchGitRefsRequest request)

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

Parameter
Name Description
request FetchGitRefsRequest
Returns
Type Description
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
Name Description
request FetchLinkableRepositoriesRequest
Returns
Type Description
FetchLinkableRepositoriesResponse

fetchReadToken(FetchReadTokenRequest request)

public FetchReadTokenResponse fetchReadToken(FetchReadTokenRequest request)

Fetches read token of a given repository.

Parameter
Name Description
request FetchReadTokenRequest
Returns
Type Description
FetchReadTokenResponse

fetchReadWriteToken(FetchReadWriteTokenRequest request)

public FetchReadWriteTokenResponse fetchReadWriteToken(FetchReadWriteTokenRequest request)

Fetches read/write token of a given repository.

Parameter
Name Description
request FetchReadWriteTokenRequest
Returns
Type Description
FetchReadWriteTokenResponse

getConnection(GetConnectionRequest request)

public Connection getConnection(GetConnectionRequest request)

Gets details of a single connection.

Parameter
Name Description
request GetConnectionRequest
Returns
Type Description
Connection

getRepository(GetRepositoryRequest request)

public Repository getRepository(GetRepositoryRequest request)

Gets details of a single repository.

Parameter
Name Description
request GetRepositoryRequest
Returns
Type Description
Repository

listConnections(ListConnectionsRequest request)

public ListConnectionsResponse listConnections(ListConnectionsRequest request)

Lists Connections in a given project and location.

Parameter
Name Description
request ListConnectionsRequest
Returns
Type Description
ListConnectionsResponse

listRepositories(ListRepositoriesRequest request)

public ListRepositoriesResponse listRepositories(ListRepositoriesRequest request)

Lists Repositories in a given connection.

Parameter
Name Description
request ListRepositoriesRequest
Returns
Type Description
ListRepositoriesResponse

updateConnection(UpdateConnectionRequest request)

public Operation updateConnection(UpdateConnectionRequest request)

Updates a single connection.

Parameter
Name Description
request UpdateConnectionRequest
Returns
Type Description
Operation