Class HttpJsonDeveloperConnectStub (0.6.0)

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.

Inheritance

java.lang.Object > DeveloperConnectStub > HttpJsonDeveloperConnectStub

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()
Overrides

createConnectionCallable()

public UnaryCallable<CreateConnectionRequest,Operation> createConnectionCallable()
Returns
Type Description
UnaryCallable<CreateConnectionRequest,Operation>
Overrides

createConnectionOperationCallable()

public OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationCallable()
Returns
Type Description
OperationCallable<CreateConnectionRequest,Connection,OperationMetadata>
Overrides

createGitRepositoryLinkCallable()

public UnaryCallable<CreateGitRepositoryLinkRequest,Operation> createGitRepositoryLinkCallable()
Returns
Type Description
UnaryCallable<CreateGitRepositoryLinkRequest,Operation>
Overrides

createGitRepositoryLinkOperationCallable()

public OperationCallable<CreateGitRepositoryLinkRequest,GitRepositoryLink,OperationMetadata> createGitRepositoryLinkOperationCallable()
Returns
Type Description
OperationCallable<CreateGitRepositoryLinkRequest,GitRepositoryLink,OperationMetadata>
Overrides

deleteConnectionCallable()

public UnaryCallable<DeleteConnectionRequest,Operation> deleteConnectionCallable()
Returns
Type Description
UnaryCallable<DeleteConnectionRequest,Operation>
Overrides

deleteConnectionOperationCallable()

public OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationCallable()
Returns
Type Description
OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata>
Overrides

deleteGitRepositoryLinkCallable()

public UnaryCallable<DeleteGitRepositoryLinkRequest,Operation> deleteGitRepositoryLinkCallable()
Returns
Type Description
UnaryCallable<DeleteGitRepositoryLinkRequest,Operation>
Overrides

deleteGitRepositoryLinkOperationCallable()

public OperationCallable<DeleteGitRepositoryLinkRequest,Empty,OperationMetadata> deleteGitRepositoryLinkOperationCallable()
Returns
Type Description
OperationCallable<DeleteGitRepositoryLinkRequest,Empty,OperationMetadata>
Overrides

fetchGitHubInstallationsCallable()

public UnaryCallable<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse> fetchGitHubInstallationsCallable()
Returns
Type Description
UnaryCallable<FetchGitHubInstallationsRequest,FetchGitHubInstallationsResponse>
Overrides

fetchGitRefsCallable()

public UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse> fetchGitRefsCallable()
Returns
Type Description
UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse>
Overrides

fetchGitRefsPagedCallable()

public UnaryCallable<FetchGitRefsRequest,DeveloperConnectClient.FetchGitRefsPagedResponse> fetchGitRefsPagedCallable()
Returns
Type Description
UnaryCallable<FetchGitRefsRequest,FetchGitRefsPagedResponse>
Overrides

fetchLinkableGitRepositoriesCallable()

public UnaryCallable<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse> fetchLinkableGitRepositoriesCallable()
Returns
Type Description
UnaryCallable<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesResponse>
Overrides

fetchLinkableGitRepositoriesPagedCallable()

public UnaryCallable<FetchLinkableGitRepositoriesRequest,DeveloperConnectClient.FetchLinkableGitRepositoriesPagedResponse> fetchLinkableGitRepositoriesPagedCallable()
Returns
Type Description
UnaryCallable<FetchLinkableGitRepositoriesRequest,FetchLinkableGitRepositoriesPagedResponse>
Overrides

fetchReadTokenCallable()

public UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenCallable()
Returns
Type Description
UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse>
Overrides

fetchReadWriteTokenCallable()

public UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenCallable()
Returns
Type Description
UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse>
Overrides

getConnectionCallable()

public UnaryCallable<GetConnectionRequest,Connection> getConnectionCallable()
Returns
Type Description
UnaryCallable<GetConnectionRequest,Connection>
Overrides

getGitRepositoryLinkCallable()

public UnaryCallable<GetGitRepositoryLinkRequest,GitRepositoryLink> getGitRepositoryLinkCallable()
Returns
Type Description
UnaryCallable<GetGitRepositoryLinkRequest,GitRepositoryLink>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listConnectionsCallable()

public UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> listConnectionsCallable()
Returns
Type Description
UnaryCallable<ListConnectionsRequest,ListConnectionsResponse>
Overrides

listConnectionsPagedCallable()

public UnaryCallable<ListConnectionsRequest,DeveloperConnectClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
Returns
Type Description
UnaryCallable<ListConnectionsRequest,ListConnectionsPagedResponse>
Overrides

listGitRepositoryLinksCallable()

public UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse> listGitRepositoryLinksCallable()
Returns
Type Description
UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksResponse>
Overrides

listGitRepositoryLinksPagedCallable()

public UnaryCallable<ListGitRepositoryLinksRequest,DeveloperConnectClient.ListGitRepositoryLinksPagedResponse> listGitRepositoryLinksPagedCallable()
Returns
Type Description
UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksPagedResponse>
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()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateConnectionCallable()

public UnaryCallable<UpdateConnectionRequest,Operation> updateConnectionCallable()
Returns
Type Description
UnaryCallable<UpdateConnectionRequest,Operation>
Overrides

updateConnectionOperationCallable()

public OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationCallable()
Returns
Type Description
OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata>
Overrides