Class HttpJsonRepositoryManagerStub (3.38.0)

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.

Inheritance

java.lang.Object > RepositoryManagerStub > HttpJsonRepositoryManagerStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRepositoryManagerStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRepositoryManagerStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRepositoryManagerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonRepositoryManagerStub
Exceptions
TypeDescription
IOException

create(RepositoryManagerStubSettings settings)

public static final HttpJsonRepositoryManagerStub create(RepositoryManagerStubSettings settings)
Parameter
NameDescription
settingsRepositoryManagerStubSettings
Returns
TypeDescription
HttpJsonRepositoryManagerStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsRepositoryManagerStubSettings
clientContextClientContext

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
NameDescription
settingsRepositoryManagerStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

batchCreateRepositoriesCallable()

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

batchCreateRepositoriesOperationCallable()

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

close()

public final void close()
Overrides

createConnectionCallable()

public UnaryCallable<CreateConnectionRequest,Operation> createConnectionCallable()
Returns
TypeDescription
UnaryCallable<CreateConnectionRequest,Operation>
Overrides

createConnectionOperationCallable()

public OperationCallable<CreateConnectionRequest,Connection,OperationMetadata> createConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<CreateConnectionRequest,Connection,OperationMetadata>
Overrides

createRepositoryCallable()

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

createRepositoryOperationCallable()

public OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata> createRepositoryOperationCallable()
Returns
TypeDescription
OperationCallable<CreateRepositoryRequest,Repository,OperationMetadata>
Overrides

deleteConnectionCallable()

public UnaryCallable<DeleteConnectionRequest,Operation> deleteConnectionCallable()
Returns
TypeDescription
UnaryCallable<DeleteConnectionRequest,Operation>
Overrides

deleteConnectionOperationCallable()

public OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata> deleteConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteConnectionRequest,Empty,OperationMetadata>
Overrides

deleteRepositoryCallable()

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

deleteRepositoryOperationCallable()

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

fetchGitRefsCallable()

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

fetchLinkableRepositoriesCallable()

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

fetchLinkableRepositoriesPagedCallable()

public UnaryCallable<FetchLinkableRepositoriesRequest,RepositoryManagerClient.FetchLinkableRepositoriesPagedResponse> fetchLinkableRepositoriesPagedCallable()
Returns
TypeDescription
UnaryCallable<FetchLinkableRepositoriesRequest,FetchLinkableRepositoriesPagedResponse>
Overrides

fetchReadTokenCallable()

public UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse> fetchReadTokenCallable()
Returns
TypeDescription
UnaryCallable<FetchReadTokenRequest,FetchReadTokenResponse>
Overrides

fetchReadWriteTokenCallable()

public UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse> fetchReadWriteTokenCallable()
Returns
TypeDescription
UnaryCallable<FetchReadWriteTokenRequest,FetchReadWriteTokenResponse>
Overrides

getConnectionCallable()

public UnaryCallable<GetConnectionRequest,Connection> getConnectionCallable()
Returns
TypeDescription
UnaryCallable<GetConnectionRequest,Connection>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getRepositoryCallable()

public UnaryCallable<GetRepositoryRequest,Repository> getRepositoryCallable()
Returns
TypeDescription
UnaryCallable<GetRepositoryRequest,Repository>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listConnectionsCallable()

public UnaryCallable<ListConnectionsRequest,ListConnectionsResponse> listConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ListConnectionsRequest,ListConnectionsResponse>
Overrides

listConnectionsPagedCallable()

public UnaryCallable<ListConnectionsRequest,RepositoryManagerClient.ListConnectionsPagedResponse> listConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListConnectionsRequest,ListConnectionsPagedResponse>
Overrides

listRepositoriesCallable()

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

listRepositoriesPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateConnectionCallable()

public UnaryCallable<UpdateConnectionRequest,Operation> updateConnectionCallable()
Returns
TypeDescription
UnaryCallable<UpdateConnectionRequest,Operation>
Overrides

updateConnectionOperationCallable()

public OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata> updateConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateConnectionRequest,Connection,OperationMetadata>
Overrides