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
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRepositoryManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
public static final HttpJsonRepositoryManagerStub create(RepositoryManagerStubSettings settings)
Parameter
Returns
Exceptions
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
public UnaryCallable<BatchCreateRepositoriesRequest,Operation> batchCreateRepositoriesCallable()
Returns
Overrides
public OperationCallable<BatchCreateRepositoriesRequest,BatchCreateRepositoriesResponse,OperationMetadata> batchCreateRepositoriesOperationCallable()
Returns
Overrides
public final void close()
Overrides
public UnaryCallable<CreateConnectionRequest,Operation> createConnectionCallable()
Returns
Overrides
public OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationCallable()
Returns
Overrides
public UnaryCallable<CreateRepositoryRequest,Operation> createRepositoryCallable()
Returns
Overrides
public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Returns
Overrides
public UnaryCallable<DeleteConnectionRequest,Operation> deleteConnectionCallable()
Returns
Overrides
public OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationCallable()
Returns
Overrides
public UnaryCallable<DeleteRepositoryRequest,Operation> deleteRepositoryCallable()
Returns
Overrides
public OperationCallable<DeleteRepositoryRequest,Empty,OperationMetadata> deleteRepositoryOperationCallable()
Returns
Overrides
public UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesResponse> fetchLinkableRepositoriesCallable()
Returns
Overrides
fetchLinkableRepositoriesPagedCallable()
public UnaryCallable<FetchLinkableRepositoriesRequest,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesPagedCallable()
Returns
Overrides
public UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenCallable()
Returns
Overrides
public UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenCallable()
Returns
Overrides
public UnaryCallable<GetConnectionRequest,Connection> getConnectionCallable()
Returns
Overrides
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
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()
Returns
Overrides
public boolean isShutdown()
Returns
public boolean isTerminated()
Returns
public UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> listConnectionsCallable()
Returns
Overrides
listConnectionsPagedCallable()
public UnaryCallable<ListConnectionsRequest,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
Returns
Overrides
public UnaryCallable<ListRepositoriesRequest,ListRepositoriesResponse> listRepositoriesCallable()
Returns
Overrides
listRepositoriesPagedCallable()
public UnaryCallable<ListRepositoriesRequest,RepositoryManagerClient.ListRepositoriesPagedResponse> listRepositoriesPagedCallable()
Returns
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()
Returns
Overrides
public OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationCallable()
Returns
Overrides