Class GrpcDeveloperConnectStub (0.4.0)

publicclass GrpcDeveloperConnectStubextendsDeveloperConnectStub

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

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalGrpcDeveloperConnectStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDeveloperConnectStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

publicstaticfinalGrpcDeveloperConnectStubcreate(ClientContextclientContext,GrpcStubCallableFactorycallableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDeveloperConnectStub
Exceptions
Type Description
IOException

create(DeveloperConnectStubSettings settings)

publicstaticfinalGrpcDeveloperConnectStubcreate(DeveloperConnectStubSettingssettings)
Parameter
Name Description
settings DeveloperConnectStubSettings
Returns
Type Description
GrpcDeveloperConnectStub
Exceptions
Type Description
IOException

Constructors

GrpcDeveloperConnectStub(DeveloperConnectStubSettings settings, ClientContext clientContext)

protectedGrpcDeveloperConnectStub(DeveloperConnectStubSettingssettings,ClientContextclientContext)

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)

protectedGrpcDeveloperConnectStub(DeveloperConnectStubSettingssettings,ClientContextclientContext,GrpcStubCallableFactorycallableFactory)

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)

publicbooleanawaitTermination(longduration,TimeUnitunit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

publicfinalvoidclose()
Overrides

createConnectionCallable()

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

createConnectionOperationCallable()

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

createGitRepositoryLinkCallable()

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

createGitRepositoryLinkOperationCallable()

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

deleteConnectionCallable()

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

deleteConnectionOperationCallable()

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

deleteGitRepositoryLinkCallable()

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

deleteGitRepositoryLinkOperationCallable()

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

fetchGitHubInstallationsCallable()

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

fetchGitRefsCallable()

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

fetchGitRefsPagedCallable()

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

fetchLinkableGitRepositoriesCallable()

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

fetchLinkableGitRepositoriesPagedCallable()

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

fetchReadTokenCallable()

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

fetchReadWriteTokenCallable()

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

getConnectionCallable()

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

getGitRepositoryLinkCallable()

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

getLocationCallable()

publicUnaryCallable<GetLocationRequest,Location>getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

isShutdown()

publicbooleanisShutdown()
Returns
Type Description
boolean

isTerminated()

publicbooleanisTerminated()
Returns
Type Description
boolean

listConnectionsCallable()

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

listConnectionsPagedCallable()

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

listGitRepositoryLinksCallable()

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

listGitRepositoryLinksPagedCallable()

publicUnaryCallable<ListGitRepositoryLinksRequest,DeveloperConnectClient.ListGitRepositoryLinksPagedResponse>listGitRepositoryLinksPagedCallable()
Returns
Type Description
UnaryCallable<ListGitRepositoryLinksRequest,ListGitRepositoryLinksPagedResponse>
Overrides

listLocationsCallable()

publicUnaryCallable<ListLocationsRequest,ListLocationsResponse>listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

publicUnaryCallable<ListLocationsRequest,DeveloperConnectClient.ListLocationsPagedResponse>listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

updateConnectionCallable()

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

updateConnectionOperationCallable()

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.