public class GrpcTestCasesStub extends TestCasesStub
gRPC 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 GrpcTestCasesStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTestCasesStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(TestCasesStubSettings settings)
public static final GrpcTestCasesStub create(TestCasesStubSettings settings)
Constructors
GrpcTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext)
protected GrpcTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcTestCasesStub, 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.
GrpcTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcTestCasesStub(TestCasesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTestCasesStub, 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
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns |
Type |
Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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