public class HttpJsonTestCasesStub extends TestCasesStub
REST stub implementation for the TestCases service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonTestCasesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTestCasesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TestCasesStubSettings settings)
public static final HttpJsonTestCasesStub create(TestCasesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext)
protected HttpJsonTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTestCasesStub, 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
HttpJsonTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTestCasesStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
batchDeleteTestCasesCallable()
public UnaryCallable<BatchDeleteTestCasesRequest,Empty> batchDeleteTestCasesCallable()
Returns
Overrides
batchRunTestCasesCallable()
public UnaryCallable<BatchRunTestCasesRequest,Operation> batchRunTestCasesCallable()
Returns
Overrides
batchRunTestCasesOperationCallable()
public OperationCallable<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata> batchRunTestCasesOperationCallable()
Returns
Overrides
calculateCoverageCallable()
public UnaryCallable<CalculateCoverageRequest,CalculateCoverageResponse> calculateCoverageCallable()
Returns
Overrides
close()
public final void close()
Overrides
createTestCaseCallable()
public UnaryCallable<CreateTestCaseRequest,TestCase> createTestCaseCallable()
Returns
Overrides
exportTestCasesCallable()
public UnaryCallable<ExportTestCasesRequest,Operation> exportTestCasesCallable()
Returns
Overrides
exportTestCasesOperationCallable()
public OperationCallable<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata> exportTestCasesOperationCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getTestCaseCallable()
public UnaryCallable<GetTestCaseRequest,TestCase> getTestCaseCallable()
Returns
Overrides
getTestCaseResultCallable()
public UnaryCallable<GetTestCaseResultRequest,TestCaseResult> getTestCaseResultCallable()
Returns
Overrides
importTestCasesCallable()
public UnaryCallable<ImportTestCasesRequest,Operation> importTestCasesCallable()
Returns
Overrides
importTestCasesOperationCallable()
public OperationCallable<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata> importTestCasesOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type |
Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
|
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,TestCasesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Overrides
listTestCaseResultsCallable()
public UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsResponse> listTestCaseResultsCallable()
Returns
Overrides
listTestCaseResultsPagedCallable()
public UnaryCallable<ListTestCaseResultsRequest,TestCasesClient.ListTestCaseResultsPagedResponse> listTestCaseResultsPagedCallable()
Returns
Overrides
listTestCasesCallable()
public UnaryCallable<ListTestCasesRequest,ListTestCasesResponse> listTestCasesCallable()
Returns
Overrides
listTestCasesPagedCallable()
public UnaryCallable<ListTestCasesRequest,TestCasesClient.ListTestCasesPagedResponse> listTestCasesPagedCallable()
Returns
Overrides
runTestCaseCallable()
public UnaryCallable<RunTestCaseRequest,Operation> runTestCaseCallable()
Returns
Overrides
runTestCaseOperationCallable()
public OperationCallable<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata> runTestCaseOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateTestCaseCallable()
public UnaryCallable<UpdateTestCaseRequest,TestCase> updateTestCaseCallable()
Returns
Overrides