public class HttpJsonDeveloperConnectStub extends DeveloperConnectStub
REST 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 HttpJsonDeveloperConnectStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDeveloperConnectStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(DeveloperConnectStubSettings settings)
public static final HttpJsonDeveloperConnectStub create(DeveloperConnectStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext)
protected HttpJsonDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDeveloperConnectStub, 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.
HttpJsonDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDeveloperConnectStub, 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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
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