public static final class DeveloperConnectGrpc.DeveloperConnectFutureStub extends AbstractFutureStub<DeveloperConnectGrpc.DeveloperConnectFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DeveloperConnect.
Service describing handlers for resources
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
DeveloperConnectGrpc.DeveloperConnectFutureStub
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(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
build(Channel channel, CallOptions callOptions)
protected DeveloperConnectGrpc.DeveloperConnectFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createConnection(CreateConnectionRequest request)
public ListenableFuture<Operation> createConnection(CreateConnectionRequest request)
Creates a new Connection in a given project and location.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
createGitRepositoryLink(CreateGitRepositoryLinkRequest request)
public ListenableFuture<Operation> createGitRepositoryLink(CreateGitRepositoryLinkRequest request)
Creates a GitRepositoryLink. Upon linking a Git Repository, Developer
Connect will configure the Git Repository to send webhook events to
Developer Connect. Connections that use Firebase GitHub Application will
have events forwarded to the Firebase service. All other Connections will
have events forwarded to Cloud Build.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteConnection(DeleteConnectionRequest request)
public ListenableFuture<Operation> deleteConnection(DeleteConnectionRequest request)
Deletes a single Connection.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request)
public ListenableFuture<Operation> deleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request)
Deletes a single GitRepositoryLink.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
fetchGitHubInstallations(FetchGitHubInstallationsRequest request)
public ListenableFuture<FetchGitHubInstallationsResponse> fetchGitHubInstallations(FetchGitHubInstallationsRequest request)
FetchGitHubInstallations returns the list of GitHub Installations that
are available to be added to a Connection.
For github.com, only installations accessible to the authorizer token
are returned. For GitHub Enterprise, all installations are returned.
fetchGitRefs(FetchGitRefsRequest request)
public ListenableFuture<FetchGitRefsResponse> fetchGitRefs(FetchGitRefsRequest request)
Fetch the list of branches or tags for a given repository.
fetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request)
public ListenableFuture<FetchLinkableGitRepositoriesResponse> fetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request)
FetchLinkableGitRepositories returns a list of git repositories from an SCM
that are available to be added to a Connection.
fetchReadToken(FetchReadTokenRequest request)
public ListenableFuture<FetchReadTokenResponse> fetchReadToken(FetchReadTokenRequest request)
Fetches read token of a given gitRepositoryLink.
fetchReadWriteToken(FetchReadWriteTokenRequest request)
public ListenableFuture<FetchReadWriteTokenResponse> fetchReadWriteToken(FetchReadWriteTokenRequest request)
Fetches read/write token of a given gitRepositoryLink.
getConnection(GetConnectionRequest request)
public ListenableFuture<Connection> getConnection(GetConnectionRequest request)
Gets details of a single Connection.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Connection> |
|
getGitRepositoryLink(GetGitRepositoryLinkRequest request)
public ListenableFuture<GitRepositoryLink> getGitRepositoryLink(GetGitRepositoryLinkRequest request)
Gets details of a single GitRepositoryLink.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<GitRepositoryLink> |
|
listConnections(ListConnectionsRequest request)
public ListenableFuture<ListConnectionsResponse> listConnections(ListConnectionsRequest request)
Lists Connections in a given project and location.
listGitRepositoryLinks(ListGitRepositoryLinksRequest request)
public ListenableFuture<ListGitRepositoryLinksResponse> listGitRepositoryLinks(ListGitRepositoryLinksRequest request)
Lists GitRepositoryLinks in a given project, location, and connection.
updateConnection(UpdateConnectionRequest request)
public ListenableFuture<Operation> updateConnection(UpdateConnectionRequest request)
Updates the parameters of a single Connection.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|