Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonRepositoryManagerStub extends RepositoryManagerStub
REST 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 HttpJsonRepositoryManagerStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRepositoryManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRepositoryManagerStub create(RepositoryManagerStubSettings settings)
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext)
protected HttpJsonRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRepositoryManagerStub, 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.
HttpJsonRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRepositoryManagerStub(RepositoryManagerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRepositoryManagerStub, 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 HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns Type Description UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy >
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