Class GrpcDeveloperConnectStub (0.1.0)

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.

Inheritance

java.lang.Object > DeveloperConnectStub > GrpcDeveloperConnectStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDeveloperConnectStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDeveloperConnectStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDeveloperConnectStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDeveloperConnectStub
Exceptions
Type Description
IOException

create(DeveloperConnectStubSettings settings)

public static final GrpcDeveloperConnectStub create(DeveloperConnectStubSettings settings)
Parameter
Name Description
settings DeveloperConnectStubSettings
Returns
Type Description
GrpcDeveloperConnectStub
Exceptions
Type Description
IOException

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.

Parameters
Name Description
settings DeveloperConnectStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings DeveloperConnectStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

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

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()
Returns
Type Description
GrpcOperationsStub
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