Class HttpJsonTestCasesStub
- java.lang.Object
-
- com.google.cloud.dialogflow.cx.v3.stub.TestCasesStub
-
- com.google.cloud.dialogflow.cx.v3.stub.HttpJsonTestCasesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonTestCasesStub, using the given settings.protectedHttpJsonTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonTestCasesStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(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()voidclose()static HttpJsonTestCasesStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonTestCasesStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonTestCasesStubcreate(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.httpjson.longrunning.stub.HttpJsonOperationsStubgetHttpJsonOperationsStub()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()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()booleanisShutdown()booleanisTerminated()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()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<UpdateTestCaseRequest,TestCase>updateTestCaseCallable()-
Methods inherited from class com.google.cloud.dialogflow.cx.v3.stub.TestCasesStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonTestCasesStub
protected HttpJsonTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
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.- Throws:
IOException
-
HttpJsonTestCasesStub
protected HttpJsonTestCasesStub(TestCasesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonTestCasesStub create(TestCasesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonTestCasesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonTestCasesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStubin classTestCasesStub
-
listTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCasesRequest,ListTestCasesResponse> listTestCasesCallable()
- Overrides:
listTestCasesCallablein classTestCasesStub
-
listTestCasesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCasesRequest,TestCasesClient.ListTestCasesPagedResponse> listTestCasesPagedCallable()
- Overrides:
listTestCasesPagedCallablein classTestCasesStub
-
batchDeleteTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchDeleteTestCasesRequest,com.google.protobuf.Empty> batchDeleteTestCasesCallable()
- Overrides:
batchDeleteTestCasesCallablein classTestCasesStub
-
getTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<GetTestCaseRequest,TestCase> getTestCaseCallable()
- Overrides:
getTestCaseCallablein classTestCasesStub
-
createTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTestCaseRequest,TestCase> createTestCaseCallable()
- Overrides:
createTestCaseCallablein classTestCasesStub
-
updateTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTestCaseRequest,TestCase> updateTestCaseCallable()
- Overrides:
updateTestCaseCallablein classTestCasesStub
-
runTestCaseCallable
public com.google.api.gax.rpc.UnaryCallable<RunTestCaseRequest,com.google.longrunning.Operation> runTestCaseCallable()
- Overrides:
runTestCaseCallablein classTestCasesStub
-
runTestCaseOperationCallable
public com.google.api.gax.rpc.OperationCallable<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata> runTestCaseOperationCallable()
- Overrides:
runTestCaseOperationCallablein classTestCasesStub
-
batchRunTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchRunTestCasesRequest,com.google.longrunning.Operation> batchRunTestCasesCallable()
- Overrides:
batchRunTestCasesCallablein classTestCasesStub
-
batchRunTestCasesOperationCallable
public com.google.api.gax.rpc.OperationCallable<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata> batchRunTestCasesOperationCallable()
- Overrides:
batchRunTestCasesOperationCallablein classTestCasesStub
-
calculateCoverageCallable
public com.google.api.gax.rpc.UnaryCallable<CalculateCoverageRequest,CalculateCoverageResponse> calculateCoverageCallable()
- Overrides:
calculateCoverageCallablein classTestCasesStub
-
importTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<ImportTestCasesRequest,com.google.longrunning.Operation> importTestCasesCallable()
- Overrides:
importTestCasesCallablein classTestCasesStub
-
importTestCasesOperationCallable
public com.google.api.gax.rpc.OperationCallable<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata> importTestCasesOperationCallable()
- Overrides:
importTestCasesOperationCallablein classTestCasesStub
-
exportTestCasesCallable
public com.google.api.gax.rpc.UnaryCallable<ExportTestCasesRequest,com.google.longrunning.Operation> exportTestCasesCallable()
- Overrides:
exportTestCasesCallablein classTestCasesStub
-
exportTestCasesOperationCallable
public com.google.api.gax.rpc.OperationCallable<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata> exportTestCasesOperationCallable()
- Overrides:
exportTestCasesOperationCallablein classTestCasesStub
-
listTestCaseResultsCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCaseResultsRequest,ListTestCaseResultsResponse> listTestCaseResultsCallable()
- Overrides:
listTestCaseResultsCallablein classTestCasesStub
-
listTestCaseResultsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTestCaseResultsRequest,TestCasesClient.ListTestCaseResultsPagedResponse> listTestCaseResultsPagedCallable()
- Overrides:
listTestCaseResultsPagedCallablein classTestCasesStub
-
getTestCaseResultCallable
public com.google.api.gax.rpc.UnaryCallable<GetTestCaseResultRequest,TestCaseResult> getTestCaseResultCallable()
- Overrides:
getTestCaseResultCallablein classTestCasesStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallablein classTestCasesStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,TestCasesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallablein classTestCasesStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallablein classTestCasesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-