Class TestCasesStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<TestCasesStubSettings,TestCasesStubSettings.Builder>
-
- com.google.cloud.dialogflow.cx.v3beta1.stub.TestCasesStubSettings.Builder
-
- Enclosing class:
- TestCasesStubSettings
public static class TestCasesStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<TestCasesStubSettings,TestCasesStubSettings.Builder>
Builder for TestCasesStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(TestCasesStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TestCasesStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchDeleteTestCasesRequest,com.google.protobuf.Empty>
batchDeleteTestCasesSettings()
Returns the builder for the settings used for calls to batchDeleteTestCases.com.google.api.gax.rpc.OperationCallSettings.Builder<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata>
batchRunTestCasesOperationSettings()
Returns the builder for the settings used for calls to batchRunTestCases.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchRunTestCasesRequest,com.google.longrunning.Operation>
batchRunTestCasesSettings()
Returns the builder for the settings used for calls to batchRunTestCases.TestCasesStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CalculateCoverageRequest,CalculateCoverageResponse>
calculateCoverageSettings()
Returns the builder for the settings used for calls to calculateCoverage.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTestCaseRequest,TestCase>
createTestCaseSettings()
Returns the builder for the settings used for calls to createTestCase.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata>
exportTestCasesOperationSettings()
Returns the builder for the settings used for calls to exportTestCases.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportTestCasesRequest,com.google.longrunning.Operation>
exportTestCasesSettings()
Returns the builder for the settings used for calls to exportTestCases.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTestCaseResultRequest,TestCaseResult>
getTestCaseResultSettings()
Returns the builder for the settings used for calls to getTestCaseResult.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTestCaseRequest,TestCase>
getTestCaseSettings()
Returns the builder for the settings used for calls to getTestCase.com.google.api.gax.rpc.OperationCallSettings.Builder<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata>
importTestCasesOperationSettings()
Returns the builder for the settings used for calls to importTestCases.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportTestCasesRequest,com.google.longrunning.Operation>
importTestCasesSettings()
Returns the builder for the settings used for calls to importTestCases.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,TestCasesClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTestCaseResultsRequest,ListTestCaseResultsResponse,TestCasesClient.ListTestCaseResultsPagedResponse>
listTestCaseResultsSettings()
Returns the builder for the settings used for calls to listTestCaseResults.com.google.api.gax.rpc.PagedCallSettings.Builder<ListTestCasesRequest,ListTestCasesResponse,TestCasesClient.ListTestCasesPagedResponse>
listTestCasesSettings()
Returns the builder for the settings used for calls to listTestCases.com.google.api.gax.rpc.OperationCallSettings.Builder<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata>
runTestCaseOperationSettings()
Returns the builder for the settings used for calls to runTestCase.com.google.api.gax.rpc.UnaryCallSettings.Builder<RunTestCaseRequest,com.google.longrunning.Operation>
runTestCaseSettings()
Returns the builder for the settings used for calls to runTestCase.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTestCaseRequest,TestCase>
updateTestCaseSettings()
Returns the builder for the settings used for calls to updateTestCase.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(TestCasesStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public TestCasesStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listTestCasesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTestCasesRequest,ListTestCasesResponse,TestCasesClient.ListTestCasesPagedResponse> listTestCasesSettings()
Returns the builder for the settings used for calls to listTestCases.
-
batchDeleteTestCasesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchDeleteTestCasesRequest,com.google.protobuf.Empty> batchDeleteTestCasesSettings()
Returns the builder for the settings used for calls to batchDeleteTestCases.
-
getTestCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTestCaseRequest,TestCase> getTestCaseSettings()
Returns the builder for the settings used for calls to getTestCase.
-
createTestCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateTestCaseRequest,TestCase> createTestCaseSettings()
Returns the builder for the settings used for calls to createTestCase.
-
updateTestCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateTestCaseRequest,TestCase> updateTestCaseSettings()
Returns the builder for the settings used for calls to updateTestCase.
-
runTestCaseSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RunTestCaseRequest,com.google.longrunning.Operation> runTestCaseSettings()
Returns the builder for the settings used for calls to runTestCase.
-
runTestCaseOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata> runTestCaseOperationSettings()
Returns the builder for the settings used for calls to runTestCase.
-
batchRunTestCasesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchRunTestCasesRequest,com.google.longrunning.Operation> batchRunTestCasesSettings()
Returns the builder for the settings used for calls to batchRunTestCases.
-
batchRunTestCasesOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata> batchRunTestCasesOperationSettings()
Returns the builder for the settings used for calls to batchRunTestCases.
-
calculateCoverageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CalculateCoverageRequest,CalculateCoverageResponse> calculateCoverageSettings()
Returns the builder for the settings used for calls to calculateCoverage.
-
importTestCasesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportTestCasesRequest,com.google.longrunning.Operation> importTestCasesSettings()
Returns the builder for the settings used for calls to importTestCases.
-
importTestCasesOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata> importTestCasesOperationSettings()
Returns the builder for the settings used for calls to importTestCases.
-
exportTestCasesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportTestCasesRequest,com.google.longrunning.Operation> exportTestCasesSettings()
Returns the builder for the settings used for calls to exportTestCases.
-
exportTestCasesOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata> exportTestCasesOperationSettings()
Returns the builder for the settings used for calls to exportTestCases.
-
listTestCaseResultsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListTestCaseResultsRequest,ListTestCaseResultsResponse,TestCasesClient.ListTestCaseResultsPagedResponse> listTestCaseResultsSettings()
Returns the builder for the settings used for calls to listTestCaseResults.
-
getTestCaseResultSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTestCaseResultRequest,TestCaseResult> getTestCaseResultSettings()
Returns the builder for the settings used for calls to getTestCaseResult.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,TestCasesClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public TestCasesStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<TestCasesStubSettings,TestCasesStubSettings.Builder>
- Throws:
IOException
-
-