Class GrpcTestCasesStub (0.14.2)

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.

Inheritance

java.lang.Object > TestCasesStub > GrpcTestCasesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcTestCasesStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcTestCasesStub
Exceptions
TypeDescription
IOException

create(TestCasesStubSettings settings)

public static final GrpcTestCasesStub create(TestCasesStubSettings settings)
Parameter
NameDescription
settingsTestCasesStubSettings
Returns
TypeDescription
GrpcTestCasesStub
Exceptions
TypeDescription
IOException

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
NameDescription
settingsTestCasesStubSettings
clientContextClientContext

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
NameDescription
settingsTestCasesStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

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

batchDeleteTestCasesCallable()

public UnaryCallable<BatchDeleteTestCasesRequest,Empty> batchDeleteTestCasesCallable()
Returns
TypeDescription
UnaryCallable<BatchDeleteTestCasesRequest,Empty>
Overrides

batchRunTestCasesCallable()

public UnaryCallable<BatchRunTestCasesRequest,Operation> batchRunTestCasesCallable()
Returns
TypeDescription
UnaryCallable<BatchRunTestCasesRequest,Operation>
Overrides

batchRunTestCasesOperationCallable()

public OperationCallable<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata> batchRunTestCasesOperationCallable()
Returns
TypeDescription
OperationCallable<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata>
Overrides

calculateCoverageCallable()

public UnaryCallable<CalculateCoverageRequest,CalculateCoverageResponse> calculateCoverageCallable()
Returns
TypeDescription
UnaryCallable<CalculateCoverageRequest,CalculateCoverageResponse>
Overrides

close()

public final void close()
Overrides

createTestCaseCallable()

public UnaryCallable<CreateTestCaseRequest,TestCase> createTestCaseCallable()
Returns
TypeDescription
UnaryCallable<CreateTestCaseRequest,TestCase>
Overrides

exportTestCasesCallable()

public UnaryCallable<ExportTestCasesRequest,Operation> exportTestCasesCallable()
Returns
TypeDescription
UnaryCallable<ExportTestCasesRequest,Operation>
Overrides

exportTestCasesOperationCallable()

public OperationCallable<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata> exportTestCasesOperationCallable()
Returns
TypeDescription
OperationCallable<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getTestCaseCallable()

public UnaryCallable<GetTestCaseRequest,TestCase> getTestCaseCallable()
Returns
TypeDescription
UnaryCallable<GetTestCaseRequest,TestCase>
Overrides

getTestCaseResultCallable()

public UnaryCallable<GetTestCaseResultRequest,TestCaseResult> getTestCaseResultCallable()
Returns
TypeDescription
UnaryCallable<GetTestCaseResultRequest,TestCaseResult>
Overrides

importTestCasesCallable()

public UnaryCallable<ImportTestCasesRequest,Operation> importTestCasesCallable()
Returns
TypeDescription
UnaryCallable<ImportTestCasesRequest,Operation>
Overrides

importTestCasesOperationCallable()

public OperationCallable<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata> importTestCasesOperationCallable()
Returns
TypeDescription
OperationCallable<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,TestCasesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listTestCaseResultsCallable()

public UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsResponse> listTestCaseResultsCallable()
Returns
TypeDescription
UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsResponse>
Overrides

listTestCaseResultsPagedCallable()

public UnaryCallable<ListTestCaseResultsRequest,TestCasesClient.ListTestCaseResultsPagedResponse> listTestCaseResultsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsPagedResponse>
Overrides

listTestCasesCallable()

public UnaryCallable<ListTestCasesRequest,ListTestCasesResponse> listTestCasesCallable()
Returns
TypeDescription
UnaryCallable<ListTestCasesRequest,ListTestCasesResponse>
Overrides

listTestCasesPagedCallable()

public UnaryCallable<ListTestCasesRequest,TestCasesClient.ListTestCasesPagedResponse> listTestCasesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTestCasesRequest,ListTestCasesPagedResponse>
Overrides

runTestCaseCallable()

public UnaryCallable<RunTestCaseRequest,Operation> runTestCaseCallable()
Returns
TypeDescription
UnaryCallable<RunTestCaseRequest,Operation>
Overrides

runTestCaseOperationCallable()

public OperationCallable<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata> runTestCaseOperationCallable()
Returns
TypeDescription
OperationCallable<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateTestCaseCallable()

public UnaryCallable<UpdateTestCaseRequest,TestCase> updateTestCaseCallable()
Returns
TypeDescription
UnaryCallable<UpdateTestCaseRequest,TestCase>
Overrides