Class GrpcTestCasesStub
- java.lang.Object
-
- com.google.cloud.dialogflow.cx.v3.stub.TestCasesStub
-
- com.google.cloud.dialogflow.cx.v3.stub.GrpcTestCasesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcTestCasesStub, using the given settings.protected
GrpcTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTestCasesStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
com.google.api.gax.rpc.UnaryCallable<BatchDeleteTestCasesRequest,com.google.protobuf.Empty>
batchDeleteTestCasesCallable()
com.google.api.gax.rpc.UnaryCallable<BatchRunTestCasesRequest,com.google.longrunning.Operation>
batchRunTestCasesCallable()
com.google.api.gax.rpc.OperationCallable<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata>
batchRunTestCasesOperationCallable()
com.google.api.gax.rpc.UnaryCallable<CalculateCoverageRequest,CalculateCoverageResponse>
calculateCoverageCallable()
void
close()
static GrpcTestCasesStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcTestCasesStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcTestCasesStub
create(TestCasesStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateTestCaseRequest,TestCase>
createTestCaseCallable()
com.google.api.gax.rpc.UnaryCallable<ExportTestCasesRequest,com.google.longrunning.Operation>
exportTestCasesCallable()
com.google.api.gax.rpc.OperationCallable<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata>
exportTestCasesOperationCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationCallable()
com.google.longrunning.stub.GrpcOperationsStub
getOperationsStub()
com.google.api.gax.rpc.UnaryCallable<GetTestCaseRequest,TestCase>
getTestCaseCallable()
com.google.api.gax.rpc.UnaryCallable<GetTestCaseResultRequest,TestCaseResult>
getTestCaseResultCallable()
com.google.api.gax.rpc.UnaryCallable<ImportTestCasesRequest,com.google.longrunning.Operation>
importTestCasesCallable()
com.google.api.gax.rpc.OperationCallable<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata>
importTestCasesOperationCallable()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
listLocationsCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,TestCasesClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsResponse>
listTestCaseResultsCallable()
com.google.api.gax.rpc.UnaryCallable<ListTestCaseResultsRequest,TestCasesClient.ListTestCaseResultsPagedResponse>
listTestCaseResultsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListTestCasesRequest,ListTestCasesResponse>
listTestCasesCallable()
com.google.api.gax.rpc.UnaryCallable<ListTestCasesRequest,TestCasesClient.ListTestCasesPagedResponse>
listTestCasesPagedCallable()
com.google.api.gax.rpc.UnaryCallable<RunTestCaseRequest,com.google.longrunning.Operation>
runTestCaseCallable()
com.google.api.gax.rpc.OperationCallable<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata>
runTestCaseOperationCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<UpdateTestCaseRequest,TestCase>
updateTestCaseCallable()
-
Methods inherited from class com.google.cloud.dialogflow.cx.v3.stub.TestCasesStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcTestCasesStub
protected GrpcTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
GrpcTestCasesStub
protected GrpcTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final GrpcTestCasesStub create(TestCasesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcTestCasesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcTestCasesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStub
in classTestCasesStub
-
listTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCasesRequest,ListTestCasesResponse> listTestCasesCallable()
- Overrides:
listTestCasesCallable
in classTestCasesStub
-
listTestCasesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCasesRequest,TestCasesClient.ListTestCasesPagedResponse> listTestCasesPagedCallable()
- Overrides:
listTestCasesPagedCallable
in classTestCasesStub
-
batchDeleteTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchDeleteTestCasesRequest,com.google.protobuf.Empty> batchDeleteTestCasesCallable()
- Overrides:
batchDeleteTestCasesCallable
in classTestCasesStub
-
getTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<GetTestCaseRequest,TestCase> getTestCaseCallable()
- Overrides:
getTestCaseCallable
in classTestCasesStub
-
createTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTestCaseRequest,TestCase> createTestCaseCallable()
- Overrides:
createTestCaseCallable
in classTestCasesStub
-
updateTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTestCaseRequest,TestCase> updateTestCaseCallable()
- Overrides:
updateTestCaseCallable
in classTestCasesStub
-
runTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<RunTestCaseRequest,com.google.longrunning.Operation> runTestCaseCallable()
- Overrides:
runTestCaseCallable
in classTestCasesStub
-
runTestCaseOperationCallable
public com.google.api.gax.rpc.OperationCallable<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata> runTestCaseOperationCallable()
- Overrides:
runTestCaseOperationCallable
in classTestCasesStub
-
batchRunTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchRunTestCasesRequest,com.google.longrunning.Operation> batchRunTestCasesCallable()
- Overrides:
batchRunTestCasesCallable
in classTestCasesStub
-
batchRunTestCasesOperationCallable
public com.google.api.gax.rpc.OperationCallable<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata> batchRunTestCasesOperationCallable()
- Overrides:
batchRunTestCasesOperationCallable
in classTestCasesStub
-
calculateCoverageCallable
public com.google.api.gax.rpc.UnaryCallable<CalculateCoverageRequest,CalculateCoverageResponse> calculateCoverageCallable()
- Overrides:
calculateCoverageCallable
in classTestCasesStub
-
importTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<ImportTestCasesRequest,com.google.longrunning.Operation> importTestCasesCallable()
- Overrides:
importTestCasesCallable
in classTestCasesStub
-
importTestCasesOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata> importTestCasesOperationCallable()
- Overrides:
importTestCasesOperationCallable
in classTestCasesStub
-
exportTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<ExportTestCasesRequest,com.google.longrunning.Operation> exportTestCasesCallable()
- Overrides:
exportTestCasesCallable
in classTestCasesStub
-
exportTestCasesOperationCallable
public com.google.api.gax.rpc.OperationCallable<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata> exportTestCasesOperationCallable()
- Overrides:
exportTestCasesOperationCallable
in classTestCasesStub
-
listTestCaseResultsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsResponse> listTestCaseResultsCallable()
- Overrides:
listTestCaseResultsCallable
in classTestCasesStub
-
listTestCaseResultsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCaseResultsRequest,TestCasesClient.ListTestCaseResultsPagedResponse> listTestCaseResultsPagedCallable()
- Overrides:
listTestCaseResultsPagedCallable
in classTestCasesStub
-
getTestCaseResultCallable
public com.google.api.gax.rpc.UnaryCallable<GetTestCaseResultRequest,TestCaseResult> getTestCaseResultCallable()
- Overrides:
getTestCaseResultCallable
in classTestCasesStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classTestCasesStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,TestCasesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classTestCasesStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classTestCasesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classTestCasesStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-