- 3.55.0 (latest)
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
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)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonRepositoryManagerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRepositoryManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonRepositoryManagerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(RepositoryManagerStubSettings settings)
public static final HttpJsonRepositoryManagerStub create(RepositoryManagerStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | RepositoryManagerStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonRepositoryManagerStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
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.
Parameters | |
---|---|
Name | Description |
settings | RepositoryManagerStubSettings |
clientContext | ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings | RepositoryManagerStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
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> |
batchCreateRepositoriesOperationCallable()
public OperationCallable<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> batchCreateRepositoriesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> |
close()
public final void close()
createConnectionCallable()
public UnaryCallable<CreateConnectionRequest,Operation> createConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateConnectionRequest,Operation> |
createConnectionOperationCallable()
public OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> |
createRepositoryCallable()
public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRepositoryRequest,Operation> |
createRepositoryOperationCallable()
public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> |
deleteConnectionCallable()
public UnaryCallable<DeleteConnectionRequest,Operation> deleteConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteConnectionRequest,Operation> |
deleteConnectionOperationCallable()
public OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> |
deleteRepositoryCallable()
public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteRepositoryRequest,Operation> |
deleteRepositoryOperationCallable()
public OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> |
fetchGitRefsCallable()
public UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse> fetchGitRefsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchGitRefsRequest,FetchGitRefsResponse> |
fetchLinkableRepositoriesCallable()
public UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse> fetchLinkableRepositoriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse> |
fetchLinkableRepositoriesPagedCallable()
public UnaryCallable<FetchLinkableRepositoriesRequest,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesPagedResponse> |
fetchReadTokenCallable()
public UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> |
fetchReadWriteTokenCallable()
public UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> |
getConnectionCallable()
public UnaryCallable<GetConnectionRequest,Connection> getConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetConnectionRequest,Connection> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getRepositoryCallable()
public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRepositoryRequest,Repository> |
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> |
listConnectionsPagedCallable()
public UnaryCallable<ListConnectionsRequest,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListConnectionsRequest,ListConnectionsPagedResponse> |
listRepositoriesCallable()
public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> |
listRepositoriesPagedCallable()
public UnaryCallable<ListRepositoriesRequest,RepositoryManagerClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRepositoriesRequest,ListRepositoriesPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
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> |
updateConnectionCallable()
public UnaryCallable<UpdateConnectionRequest,Operation> updateConnectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateConnectionRequest,Operation> |
updateConnectionOperationCallable()
public OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> |