Class GrpcRepositoryManagerStub (3.58.0)

publicclass GrpcRepositoryManagerStubextendsRepositoryManagerStub

gRPC stub implementation for the RepositoryManager service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > RepositoryManagerStub > GrpcRepositoryManagerStub

Inherited Members

Static Methods

create(ClientContext clientContext)

publicstaticfinalGrpcRepositoryManagerStubcreate(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcRepositoryManagerStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(RepositoryManagerStubSettings settings)

publicstaticfinalGrpcRepositoryManagerStubcreate(RepositoryManagerStubSettingssettings)
Parameter
Name Description
settings RepositoryManagerStubSettings
Returns
Type Description
GrpcRepositoryManagerStub
Exceptions
Type Description
IOException

Constructors

GrpcRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext)

protectedGrpcRepositoryManagerStub(RepositoryManagerStubSettingssettings,ClientContextclientContext)

Constructs an instance of GrpcRepositoryManagerStub, 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 RepositoryManagerStubSettings
clientContext ClientContext

GrpcRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protectedGrpcRepositoryManagerStub(RepositoryManagerStubSettingssettings,ClientContextclientContext,GrpcStubCallableFactorycallableFactory)

Constructs an instance of GrpcRepositoryManagerStub, 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 RepositoryManagerStubSettings
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

batchCreateRepositoriesCallable()

publicUnaryCallable<BatchCreateRepositoriesRequest,Operation>batchCreateRepositoriesCallable()
Returns
Type Description
UnaryCallable<BatchCreateRepositoriesRequest,Operation>
Overrides

batchCreateRepositoriesOperationCallable()

publicOperationCallable<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata>batchCreateRepositoriesOperationCallable()
Returns
Type Description
OperationCallable<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata>
Overrides

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

createRepositoryCallable()

publicUnaryCallable<CreateRepositoryRequest,Operation>createRepositoryCallable()
Returns
Type Description
UnaryCallable<CreateRepositoryRequest,Operation>
Overrides

createRepositoryOperationCallable()

publicOperationCallable<CreateRepositoryRequest,Repository,OperationMetadata>createRepositoryOperationCallable()
Returns
Type Description
OperationCallable<CreateRepositoryRequest,Repository,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

deleteRepositoryCallable()

publicUnaryCallable<DeleteRepositoryRequest,Operation>deleteRepositoryCallable()
Returns
Type Description
UnaryCallable<DeleteRepositoryRequest,Operation>
Overrides

deleteRepositoryOperationCallable()

publicOperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata>deleteRepositoryOperationCallable()
Returns
Type Description
OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata>
Overrides

fetchGitRefsCallable()

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

fetchLinkableRepositoriesCallable()

publicUnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse>fetchLinkableRepositoriesCallable()
Returns
Type Description
UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse>
Overrides

fetchLinkableRepositoriesPagedCallable()

publicUnaryCallable<FetchLinkableRepositoriesRequest,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse>fetchLinkableRepositoriesPagedCallable()
Returns
Type Description
UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesPagedResponse>
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

getIamPolicyCallable()

publicUnaryCallable<GetIamPolicyRequest,Policy>getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getOperationsStub()

publicGrpcOperationsStubgetOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getRepositoryCallable()

publicUnaryCallable<GetRepositoryRequest,Repository>getRepositoryCallable()
Returns
Type Description
UnaryCallable<GetRepositoryRequest,Repository>
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,RepositoryManagerClient.ListConnectionsPagedResponse>listConnectionsPagedCallable()
Returns
Type Description
UnaryCallable<ListConnectionsRequest,ListConnectionsPagedResponse>
Overrides

listRepositoriesCallable()

publicUnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse>listRepositoriesCallable()
Returns
Type Description
UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse>
Overrides

listRepositoriesPagedCallable()

publicUnaryCallable<ListRepositoriesRequest,RepositoryManagerClient.ListRepositoriesPagedResponse>listRepositoriesPagedCallable()
Returns
Type Description
UnaryCallable<ListRepositoriesRequest,ListRepositoriesPagedResponse>
Overrides

setIamPolicyCallable()

publicUnaryCallable<SetIamPolicyRequest,Policy>setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

publicvoidshutdown()

shutdownNow()

publicvoidshutdownNow()

testIamPermissionsCallable()

publicUnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse>testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

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.