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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTestCasesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(TestCasesStubSettings settings)
public static final HttpJsonTestCasesStub create(TestCasesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
batchDeleteTestCasesCallable()
public UnaryCallable<BatchDeleteTestCasesRequest,Empty> batchDeleteTestCasesCallable()
Overrides
batchRunTestCasesCallable()
public UnaryCallable<BatchRunTestCasesRequest,Operation> batchRunTestCasesCallable()
Overrides
batchRunTestCasesOperationCallable()
public OperationCallable<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata> batchRunTestCasesOperationCallable()
Overrides
calculateCoverageCallable()
public UnaryCallable<CalculateCoverageRequest,CalculateCoverageResponse> calculateCoverageCallable()
Overrides
close()
public final void close()
Overrides
createTestCaseCallable()
public UnaryCallable<CreateTestCaseRequest,TestCase> createTestCaseCallable()
Overrides
exportTestCasesCallable()
public UnaryCallable<ExportTestCasesRequest,Operation> exportTestCasesCallable()
Overrides
exportTestCasesOperationCallable()
public OperationCallable<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata> exportTestCasesOperationCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
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()
Overrides
getTestCaseResultCallable()
public UnaryCallable<GetTestCaseResultRequest,TestCaseResult> getTestCaseResultCallable()
Overrides
importTestCasesCallable()
public UnaryCallable<ImportTestCasesRequest,Operation> importTestCasesCallable()
Overrides
importTestCasesOperationCallable()
public OperationCallable<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata> importTestCasesOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
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()
Overrides
listTestCaseResultsCallable()
public UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsResponse> listTestCaseResultsCallable()
Overrides
listTestCaseResultsPagedCallable()
public UnaryCallable<ListTestCaseResultsRequest,TestCasesClient.ListTestCaseResultsPagedResponse> listTestCaseResultsPagedCallable()
Overrides
listTestCasesCallable()
public UnaryCallable<ListTestCasesRequest,ListTestCasesResponse> listTestCasesCallable()
Overrides
listTestCasesPagedCallable()
public UnaryCallable<ListTestCasesRequest,TestCasesClient.ListTestCasesPagedResponse> listTestCasesPagedCallable()
Overrides
runTestCaseCallable()
public UnaryCallable<RunTestCaseRequest,Operation> runTestCaseCallable()
Overrides
runTestCaseOperationCallable()
public OperationCallable<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata> runTestCaseOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateTestCaseCallable()
public UnaryCallable<UpdateTestCaseRequest,TestCase> updateTestCaseCallable()
Overrides