Class GrpcRepositoryManagerStub (3.50.0)

public class GrpcRepositoryManagerStub extends RepositoryManagerStub

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

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(RepositoryManagerStubSettings settings)

public static final GrpcRepositoryManagerStub create(RepositoryManagerStubSettings settings)
Parameter
Name Description
settings RepositoryManagerStubSettings
Returns
Type Description
GrpcRepositoryManagerStub
Exceptions
Type Description
IOException

Constructors

GrpcRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext)

protected GrpcRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext)

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)

protected GrpcRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchCreateRepositoriesCallable()

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

batchCreateRepositoriesOperationCallable()

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

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

createRepositoryCallable()

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

createRepositoryOperationCallable()

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

deleteRepositoryCallable()

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

deleteRepositoryOperationCallable()

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

fetchGitRefsCallable()

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

fetchLinkableRepositoriesCallable()

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

fetchLinkableRepositoriesPagedCallable()

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

getIamPolicyCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getRepositoryCallable()

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

listRepositoriesCallable()

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

listRepositoriesPagedCallable()

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

setIamPolicyCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

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

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