Class DeveloperConnectGrpc.DeveloperConnectFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<DeveloperConnectGrpc.DeveloperConnectFutureStub>
com.google.cloud.developerconnect.v1.DeveloperConnectGrpc.DeveloperConnectFutureStub
- Enclosing class:
- DeveloperConnectGrpc
public static final class DeveloperConnectGrpc.DeveloperConnectFutureStub
extends io.grpc.stub.AbstractFutureStub<DeveloperConnectGrpc.DeveloperConnectFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DeveloperConnect.
Service describing handlers for resources
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Operation>Creates a new AccountConnector in a given project and location.com.google.common.util.concurrent.ListenableFuture<Operation>createConnection(CreateConnectionRequest request) Creates a new Connection in a given project and location.com.google.common.util.concurrent.ListenableFuture<Operation>Creates a GitRepositoryLink.com.google.common.util.concurrent.ListenableFuture<Operation>Deletes a single AccountConnector.com.google.common.util.concurrent.ListenableFuture<Operation>deleteConnection(DeleteConnectionRequest request) Deletes a single Connection.com.google.common.util.concurrent.ListenableFuture<Operation>Deletes a single GitRepositoryLink.com.google.common.util.concurrent.ListenableFuture<Operation>deleteSelf(DeleteSelfRequest request) Delete the User based on the user credentials.com.google.common.util.concurrent.ListenableFuture<Operation>deleteUser(DeleteUserRequest request) Deletes a single User.com.google.common.util.concurrent.ListenableFuture<FetchAccessTokenResponse>fetchAccessToken(FetchAccessTokenRequest request) Fetches OAuth access token based on end user credentials.com.google.common.util.concurrent.ListenableFuture<FetchGitHubInstallationsResponse>FetchGitHubInstallations returns the list of GitHub Installations that are available to be added to a Connection.com.google.common.util.concurrent.ListenableFuture<FetchGitRefsResponse>fetchGitRefs(FetchGitRefsRequest request) Fetch the list of branches or tags for a given repository.com.google.common.util.concurrent.ListenableFuture<FetchLinkableGitRepositoriesResponse>FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.com.google.common.util.concurrent.ListenableFuture<FetchReadTokenResponse>fetchReadToken(FetchReadTokenRequest request) Fetches read token of a given gitRepositoryLink.com.google.common.util.concurrent.ListenableFuture<FetchReadWriteTokenResponse>Fetches read/write token of a given gitRepositoryLink.com.google.common.util.concurrent.ListenableFuture<User>fetchSelf(FetchSelfRequest request) Fetch the User based on the user credentials.com.google.common.util.concurrent.ListenableFuture<FinishOAuthResponse>finishOAuth(FinishOAuthRequest request) Finishes OAuth flow for an account connector.com.google.common.util.concurrent.ListenableFuture<AccountConnector>Gets details of a single AccountConnector.com.google.common.util.concurrent.ListenableFuture<Connection>getConnection(GetConnectionRequest request) Gets details of a single Connection.com.google.common.util.concurrent.ListenableFuture<GitRepositoryLink>Gets details of a single GitRepositoryLink.com.google.common.util.concurrent.ListenableFuture<ListAccountConnectorsResponse>Lists AccountConnectors in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListConnectionsResponse>listConnections(ListConnectionsRequest request) Lists Connections in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListGitRepositoryLinksResponse>Lists GitRepositoryLinks in a given project, location, and connection.com.google.common.util.concurrent.ListenableFuture<ListUsersResponse>listUsers(ListUsersRequest request) Lists Users in a given project, location, and account_connector.com.google.common.util.concurrent.ListenableFuture<StartOAuthResponse>startOAuth(StartOAuthRequest request) Starts OAuth flow for an account connector.com.google.common.util.concurrent.ListenableFuture<Operation>Updates the parameters of a single AccountConnector.com.google.common.util.concurrent.ListenableFuture<Operation>updateConnection(UpdateConnectionRequest request) Updates the parameters of a single Connection.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DeveloperConnectGrpc.DeveloperConnectFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DeveloperConnectGrpc.DeveloperConnectFutureStub>
-
listConnections
public com.google.common.util.concurrent.ListenableFuture<ListConnectionsResponse> listConnections(ListConnectionsRequest request) Lists Connections in a given project and location.
-
getConnection
public com.google.common.util.concurrent.ListenableFuture<Connection> getConnection(GetConnectionRequest request) Gets details of a single Connection.
-
createConnection
public com.google.common.util.concurrent.ListenableFuture<Operation> createConnection(CreateConnectionRequest request) Creates a new Connection in a given project and location.
-
updateConnection
public com.google.common.util.concurrent.ListenableFuture<Operation> updateConnection(UpdateConnectionRequest request) Updates the parameters of a single Connection.
-
deleteConnection
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteConnection(DeleteConnectionRequest request) Deletes a single Connection.
-
createGitRepositoryLink
public com.google.common.util.concurrent.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. Connections that use Gemini Code Assist will have events forwarded to Gemini Code Assist service. All other Connections will have events forwarded to Cloud Build.
-
deleteGitRepositoryLink
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteGitRepositoryLink(DeleteGitRepositoryLinkRequest request) Deletes a single GitRepositoryLink.
-
listGitRepositoryLinks
public com.google.common.util.concurrent.ListenableFuture<ListGitRepositoryLinksResponse> listGitRepositoryLinks(ListGitRepositoryLinksRequest request) Lists GitRepositoryLinks in a given project, location, and connection.
-
getGitRepositoryLink
public com.google.common.util.concurrent.ListenableFuture<GitRepositoryLink> getGitRepositoryLink(GetGitRepositoryLinkRequest request) Gets details of a single GitRepositoryLink.
-
fetchReadWriteToken
public com.google.common.util.concurrent.ListenableFuture<FetchReadWriteTokenResponse> fetchReadWriteToken(FetchReadWriteTokenRequest request) Fetches read/write token of a given gitRepositoryLink.
-
fetchReadToken
public com.google.common.util.concurrent.ListenableFuture<FetchReadTokenResponse> fetchReadToken(FetchReadTokenRequest request) Fetches read token of a given gitRepositoryLink.
-
fetchLinkableGitRepositories
public com.google.common.util.concurrent.ListenableFuture<FetchLinkableGitRepositoriesResponse> fetchLinkableGitRepositories(FetchLinkableGitRepositoriesRequest request) FetchLinkableGitRepositories returns a list of git repositories from an SCM that are available to be added to a Connection.
-
fetchGitHubInstallations
public com.google.common.util.concurrent.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
public com.google.common.util.concurrent.ListenableFuture<FetchGitRefsResponse> fetchGitRefs(FetchGitRefsRequest request) Fetch the list of branches or tags for a given repository.
-
listAccountConnectors
public com.google.common.util.concurrent.ListenableFuture<ListAccountConnectorsResponse> listAccountConnectors(ListAccountConnectorsRequest request) Lists AccountConnectors in a given project and location.
-
getAccountConnector
public com.google.common.util.concurrent.ListenableFuture<AccountConnector> getAccountConnector(GetAccountConnectorRequest request) Gets details of a single AccountConnector.
-
createAccountConnector
public com.google.common.util.concurrent.ListenableFuture<Operation> createAccountConnector(CreateAccountConnectorRequest request) Creates a new AccountConnector in a given project and location.
-
updateAccountConnector
public com.google.common.util.concurrent.ListenableFuture<Operation> updateAccountConnector(UpdateAccountConnectorRequest request) Updates the parameters of a single AccountConnector.
-
deleteAccountConnector
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteAccountConnector(DeleteAccountConnectorRequest request) Deletes a single AccountConnector.
-
fetchAccessToken
public com.google.common.util.concurrent.ListenableFuture<FetchAccessTokenResponse> fetchAccessToken(FetchAccessTokenRequest request) Fetches OAuth access token based on end user credentials.
-
listUsers
public com.google.common.util.concurrent.ListenableFuture<ListUsersResponse> listUsers(ListUsersRequest request) Lists Users in a given project, location, and account_connector.
-
deleteUser
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteUser(DeleteUserRequest request) Deletes a single User.
-
fetchSelf
Fetch the User based on the user credentials.
-
deleteSelf
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteSelf(DeleteSelfRequest request) Delete the User based on the user credentials.
-
startOAuth
public com.google.common.util.concurrent.ListenableFuture<StartOAuthResponse> startOAuth(StartOAuthRequest request) Starts OAuth flow for an account connector.
-
finishOAuth
public com.google.common.util.concurrent.ListenableFuture<FinishOAuthResponse> finishOAuth(FinishOAuthRequest request) Finishes OAuth flow for an account connector.
-