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.
Static Methods
create(ClientContext clientContext)
public static final GrpcRepositoryManagerStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRepositoryManagerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRepositoryManagerStub create(RepositoryManagerStubSettings settings)
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.
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.
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
public UnaryCallable<BatchCreateRepositoriesRequest,Operation> batchCreateRepositoriesCallable()
Overrides
public OperationCallable<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> batchCreateRepositoriesOperationCallable()
Overrides
public final void close()
Overrides
public UnaryCallable<CreateConnectionRequest,Operation> createConnectionCallable()
Overrides
public OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationCallable()
Overrides
public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Overrides
public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Overrides
public UnaryCallable<DeleteConnectionRequest,Operation> deleteConnectionCallable()
Overrides
public OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationCallable()
Overrides
public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Overrides
public OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationCallable()
Overrides
public UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse> fetchGitRefsCallable()
Overrides
public UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse> fetchLinkableRepositoriesCallable()
Overrides
fetchLinkableRepositoriesPagedCallable()
public UnaryCallable<FetchLinkableRepositoriesRequest,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesPagedCallable()
Overrides
public UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenCallable()
Overrides
public UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenCallable()
Overrides
public UnaryCallable<GetConnectionRequest,Connection> getConnectionCallable()
Overrides
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
public GrpcOperationsStub getOperationsStub()
Overrides
public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Overrides
public boolean isShutdown()
public boolean isTerminated()
public UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> listConnectionsCallable()
Overrides
listConnectionsPagedCallable()
public UnaryCallable<ListConnectionsRequest,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
Overrides
public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Overrides
listRepositoriesPagedCallable()
public UnaryCallable<ListRepositoriesRequest,RepositoryManagerClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Overrides
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Overrides
public void shutdownNow()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
Overrides
public UnaryCallable<UpdateConnectionRequest,Operation> updateConnectionCallable()
Overrides
public OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationCallable()
Overrides