public class GrpcDeveloperConnectStub extends DeveloperConnectStub
gRPC stub implementation for the DeveloperConnect service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcDeveloperConnectStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDeveloperConnectStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DeveloperConnectStubSettings settings)
public static final GrpcDeveloperConnectStub create(DeveloperConnectStubSettings settings)
Constructors
GrpcDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext)
protected GrpcDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDeveloperConnectStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDeveloperConnectStub, using the given settings. This is protected
so that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createConnectionCallable()
public UnaryCallable<CreateConnectionRequest,Operation> createConnectionCallable()
Overrides
createConnectionOperationCallable()
public OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationCallable()
Overrides
createGitRepositoryLinkCallable()
public UnaryCallable<CreateGitRepositoryLinkRequest,Operation> createGitRepositoryLinkCallable()
Overrides
createGitRepositoryLinkOperationCallable()
public OperationCallable<CreateGitRepositoryLinkRequest,GitRepositoryLink,OperationMetadata> createGitRepositoryLinkOperationCallable()
Overrides
deleteConnectionCallable()
public UnaryCallable<DeleteConnectionRequest,Operation> deleteConnectionCallable()
Overrides
deleteConnectionOperationCallable()
public OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationCallable()
Overrides
deleteGitRepositoryLinkCallable()
public UnaryCallable<DeleteGitRepositoryLinkRequest,Operation> deleteGitRepositoryLinkCallable()
Overrides
deleteGitRepositoryLinkOperationCallable()
public OperationCallable<DeleteGitRepositoryLinkRequest,Empty,OperationMetadata> deleteGitRepositoryLinkOperationCallable()
Overrides
fetchGitHubInstallationsCallable()
public UnaryCallable<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse> fetchGitHubInstallationsCallable()
Overrides
fetchGitRefsCallable()
public UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse> fetchGitRefsCallable()
Overrides
fetchGitRefsPagedCallable()
public UnaryCallable<FetchGitRefsRequest,DeveloperConnectClient.FetchGitRefsPagedResponse> fetchGitRefsPagedCallable()
Overrides
fetchLinkableGitRepositoriesCallable()
public UnaryCallable<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse> fetchLinkableGitRepositoriesCallable()
Overrides
fetchLinkableGitRepositoriesPagedCallable()
public UnaryCallable<FetchLinkableGitRepositoriesRequest,DeveloperConnectClient.FetchLinkableGitRepositoriesPagedResponse> fetchLinkableGitRepositoriesPagedCallable()
Overrides
fetchReadTokenCallable()
public UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenCallable()
Overrides
fetchReadWriteTokenCallable()
public UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenCallable()
Overrides
getConnectionCallable()
public UnaryCallable<GetConnectionRequest,Connection> getConnectionCallable()
Overrides
getGitRepositoryLinkCallable()
public UnaryCallable<GetGitRepositoryLinkRequest,GitRepositoryLink> getGitRepositoryLinkCallable()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listConnectionsCallable()
public UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> listConnectionsCallable()
Overrides
listConnectionsPagedCallable()
public UnaryCallable<ListConnectionsRequest,DeveloperConnectClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
Overrides
listGitRepositoryLinksCallable()
public UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse> listGitRepositoryLinksCallable()
Overrides
listGitRepositoryLinksPagedCallable()
public UnaryCallable<ListGitRepositoryLinksRequest,DeveloperConnectClient.ListGitRepositoryLinksPagedResponse> listGitRepositoryLinksPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DeveloperConnectClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateConnectionCallable()
public UnaryCallable<UpdateConnectionRequest,Operation> updateConnectionCallable()
Overrides
updateConnectionOperationCallable()
public OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationCallable()
Overrides