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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTestCasesStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TestCasesStubSettings settings)
public static final GrpcTestCasesStub create(TestCasesStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
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
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()
Returns
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