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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonDeveloperConnectStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDeveloperConnectStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonDeveloperConnectStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(DeveloperConnectStubSettings settings)
public static final HttpJsonDeveloperConnectStub create(DeveloperConnectStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
DeveloperConnectStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonDeveloperConnectStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
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.
Parameters | |
---|---|
Name | Description |
settings |
DeveloperConnectStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
DeveloperConnectStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createConnectionCallable()
public UnaryCallable<CreateConnectionRequest,Operation> createConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateConnectionRequest,Operation> |
createConnectionOperationCallable()
public OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> |
createGitRepositoryLinkCallable()
public UnaryCallable<CreateGitRepositoryLinkRequest,Operation> createGitRepositoryLinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateGitRepositoryLinkRequest,Operation> |
createGitRepositoryLinkOperationCallable()
public OperationCallable<CreateGitRepositoryLinkRequest,GitRepositoryLink,OperationMetadata> createGitRepositoryLinkOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateGitRepositoryLinkRequest,GitRepositoryLink,OperationMetadata> |
deleteConnectionCallable()
public UnaryCallable<DeleteConnectionRequest,Operation> deleteConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteConnectionRequest,Operation> |
deleteConnectionOperationCallable()
public OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> |
deleteGitRepositoryLinkCallable()
public UnaryCallable<DeleteGitRepositoryLinkRequest,Operation> deleteGitRepositoryLinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteGitRepositoryLinkRequest,Operation> |
deleteGitRepositoryLinkOperationCallable()
public OperationCallable<DeleteGitRepositoryLinkRequest,Empty,OperationMetadata> deleteGitRepositoryLinkOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteGitRepositoryLinkRequest,Empty,OperationMetadata> |
fetchGitHubInstallationsCallable()
public UnaryCallable<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse> fetchGitHubInstallationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse> |
fetchGitRefsCallable()
public UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse> fetchGitRefsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse> |
fetchGitRefsPagedCallable()
public UnaryCallable<FetchGitRefsRequest,DeveloperConnectClient.FetchGitRefsPagedResponse> fetchGitRefsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchGitRefsRequest,FetchGitRefsPagedResponse> |
fetchLinkableGitRepositoriesCallable()
public UnaryCallable<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse> fetchLinkableGitRepositoriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse> |
fetchLinkableGitRepositoriesPagedCallable()
public UnaryCallable<FetchLinkableGitRepositoriesRequest,DeveloperConnectClient.FetchLinkableGitRepositoriesPagedResponse> fetchLinkableGitRepositoriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesPagedResponse> |
fetchReadTokenCallable()
public UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> |
fetchReadWriteTokenCallable()
public UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> |
getConnectionCallable()
public UnaryCallable<GetConnectionRequest,Connection> getConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetConnectionRequest,Connection> |
getGitRepositoryLinkCallable()
public UnaryCallable<GetGitRepositoryLinkRequest,GitRepositoryLink> getGitRepositoryLinkCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetGitRepositoryLinkRequest,GitRepositoryLink> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listConnectionsCallable()
public UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> listConnectionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> |
listConnectionsPagedCallable()
public UnaryCallable<ListConnectionsRequest,DeveloperConnectClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListConnectionsRequest,ListConnectionsPagedResponse> |
listGitRepositoryLinksCallable()
public UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse> listGitRepositoryLinksCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse> |
listGitRepositoryLinksPagedCallable()
public UnaryCallable<ListGitRepositoryLinksRequest,DeveloperConnectClient.ListGitRepositoryLinksPagedResponse> listGitRepositoryLinksPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DeveloperConnectClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateConnectionCallable()
public UnaryCallable<UpdateConnectionRequest,Operation> updateConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateConnectionRequest,Operation> |
updateConnectionOperationCallable()
public OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> |