Class RepositoryManagerGrpc.RepositoryManagerStub (3.66.0)

publicstaticfinalclass RepositoryManagerGrpc.RepositoryManagerStubextendsAbstractAsyncStub<RepositoryManagerGrpc.RepositoryManagerStub>

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

Manages connections to source code repositories.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > RepositoryManagerGrpc.RepositoryManagerStub

Inherited Members

io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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(java.time.Duration)
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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

batchCreateRepositories(BatchCreateRepositoriesRequest request, StreamObserver<Operation> responseObserver)

publicvoidbatchCreateRepositories(BatchCreateRepositoriesRequestrequest,StreamObserver<Operation>responseObserver)

Creates multiple repositories inside a connection.

Parameters
Name Description
request BatchCreateRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

protectedRepositoryManagerGrpc.RepositoryManagerStubbuild(Channelchannel,CallOptionscallOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
RepositoryManagerGrpc.RepositoryManagerStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createConnection(CreateConnectionRequest request, StreamObserver<Operation> responseObserver)

publicvoidcreateConnection(CreateConnectionRequestrequest,StreamObserver<Operation>responseObserver)

Creates a Connection.

Parameters
Name Description
request CreateConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createRepository(CreateRepositoryRequest request, StreamObserver<Operation> responseObserver)

publicvoidcreateRepository(CreateRepositoryRequestrequest,StreamObserver<Operation>responseObserver)

Creates a Repository.

Parameters
Name Description
request CreateRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteConnection(DeleteConnectionRequest request, StreamObserver<Operation> responseObserver)

publicvoiddeleteConnection(DeleteConnectionRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single connection.

Parameters
Name Description
request DeleteConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteRepository(DeleteRepositoryRequest request, StreamObserver<Operation> responseObserver)

publicvoiddeleteRepository(DeleteRepositoryRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single repository.

Parameters
Name Description
request DeleteRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

fetchGitRefs(FetchGitRefsRequest request, StreamObserver<FetchGitRefsResponse> responseObserver)

publicvoidfetchGitRefs(FetchGitRefsRequestrequest,StreamObserver<FetchGitRefsResponse>responseObserver)

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

Parameters
Name Description
request FetchGitRefsRequest
responseObserver io.grpc.stub.StreamObserver<FetchGitRefsResponse>

fetchLinkableRepositories(FetchLinkableRepositoriesRequest request, StreamObserver<FetchLinkableRepositoriesResponse> responseObserver)

publicvoidfetchLinkableRepositories(FetchLinkableRepositoriesRequestrequest,StreamObserver<FetchLinkableRepositoriesResponse>responseObserver)

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

Parameters
Name Description
request FetchLinkableRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<FetchLinkableRepositoriesResponse>

fetchReadToken(FetchReadTokenRequest request, StreamObserver<FetchReadTokenResponse> responseObserver)

publicvoidfetchReadToken(FetchReadTokenRequestrequest,StreamObserver<FetchReadTokenResponse>responseObserver)

Fetches read token of a given repository.

Parameters
Name Description
request FetchReadTokenRequest
responseObserver io.grpc.stub.StreamObserver<FetchReadTokenResponse>

fetchReadWriteToken(FetchReadWriteTokenRequest request, StreamObserver<FetchReadWriteTokenResponse> responseObserver)

publicvoidfetchReadWriteToken(FetchReadWriteTokenRequestrequest,StreamObserver<FetchReadWriteTokenResponse>responseObserver)

Fetches read/write token of a given repository.

Parameters
Name Description
request FetchReadWriteTokenRequest
responseObserver io.grpc.stub.StreamObserver<FetchReadWriteTokenResponse>

getConnection(GetConnectionRequest request, StreamObserver<Connection> responseObserver)

publicvoidgetConnection(GetConnectionRequestrequest,StreamObserver<Connection>responseObserver)

Gets details of a single connection.

Parameters
Name Description
request GetConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Connection>

getRepository(GetRepositoryRequest request, StreamObserver<Repository> responseObserver)

publicvoidgetRepository(GetRepositoryRequestrequest,StreamObserver<Repository>responseObserver)

Gets details of a single repository.

Parameters
Name Description
request GetRepositoryRequest
responseObserver io.grpc.stub.StreamObserver<Repository>

listConnections(ListConnectionsRequest request, StreamObserver<ListConnectionsResponse> responseObserver)

publicvoidlistConnections(ListConnectionsRequestrequest,StreamObserver<ListConnectionsResponse>responseObserver)

Lists Connections in a given project and location.

Parameters
Name Description
request ListConnectionsRequest
responseObserver io.grpc.stub.StreamObserver<ListConnectionsResponse>

listRepositories(ListRepositoriesRequest request, StreamObserver<ListRepositoriesResponse> responseObserver)

publicvoidlistRepositories(ListRepositoriesRequestrequest,StreamObserver<ListRepositoriesResponse>responseObserver)

Lists Repositories in a given connection.

Parameters
Name Description
request ListRepositoriesRequest
responseObserver io.grpc.stub.StreamObserver<ListRepositoriesResponse>

updateConnection(UpdateConnectionRequest request, StreamObserver<Operation> responseObserver)

publicvoidupdateConnection(UpdateConnectionRequestrequest,StreamObserver<Operation>responseObserver)

Updates a single connection.

Parameters
Name Description
request UpdateConnectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.