Class TestCasesSettings.Builder (0.106.0)

public static class TestCasesSettings.Builder extends ClientSettings.Builder<TestCasesSettings,TestCasesSettings.Builder>

Builder for TestCasesSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TestCasesSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(TestCasesSettings settings)

protected Builder(TestCasesSettings settings)
Parameter
Name Description
settings TestCasesSettings

Builder(TestCasesStubSettings.Builder stubSettings)

protected Builder(TestCasesStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings TestCasesStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public TestCasesSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
TestCasesSettings.Builder

batchDeleteTestCasesSettings()

public UnaryCallSettings.Builder<BatchDeleteTestCasesRequest,Empty> batchDeleteTestCasesSettings()

Returns the builder for the settings used for calls to batchDeleteTestCases.

Returns
Type Description
Builder<BatchDeleteTestCasesRequest,Empty>

batchRunTestCasesOperationSettings()

public OperationCallSettings.Builder<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata> batchRunTestCasesOperationSettings()

Returns the builder for the settings used for calls to batchRunTestCases.

Returns
Type Description
Builder<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata>

batchRunTestCasesSettings()

public UnaryCallSettings.Builder<BatchRunTestCasesRequest,Operation> batchRunTestCasesSettings()

Returns the builder for the settings used for calls to batchRunTestCases.

Returns
Type Description
Builder<BatchRunTestCasesRequest,Operation>

build()

public TestCasesSettings build()
Returns
Type Description
TestCasesSettings
Overrides
Exceptions
Type Description
IOException

calculateCoverageSettings()

public UnaryCallSettings.Builder<CalculateCoverageRequest,CalculateCoverageResponse> calculateCoverageSettings()

Returns the builder for the settings used for calls to calculateCoverage.

Returns
Type Description
Builder<CalculateCoverageRequest,CalculateCoverageResponse>

createTestCaseSettings()

public UnaryCallSettings.Builder<CreateTestCaseRequest,TestCase> createTestCaseSettings()

Returns the builder for the settings used for calls to createTestCase.

Returns
Type Description
Builder<CreateTestCaseRequest,TestCase>

exportTestCasesOperationSettings()

public OperationCallSettings.Builder<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata> exportTestCasesOperationSettings()

Returns the builder for the settings used for calls to exportTestCases.

Returns
Type Description
Builder<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata>

exportTestCasesSettings()

public UnaryCallSettings.Builder<ExportTestCasesRequest,Operation> exportTestCasesSettings()

Returns the builder for the settings used for calls to exportTestCases.

Returns
Type Description
Builder<ExportTestCasesRequest,Operation>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public TestCasesStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
TestCasesStubSettings.Builder

getTestCaseResultSettings()

public UnaryCallSettings.Builder<GetTestCaseResultRequest,TestCaseResult> getTestCaseResultSettings()

Returns the builder for the settings used for calls to getTestCaseResult.

Returns
Type Description
Builder<GetTestCaseResultRequest,TestCaseResult>

getTestCaseSettings()

public UnaryCallSettings.Builder<GetTestCaseRequest,TestCase> getTestCaseSettings()

Returns the builder for the settings used for calls to getTestCase.

Returns
Type Description
Builder<GetTestCaseRequest,TestCase>

importTestCasesOperationSettings()

public OperationCallSettings.Builder<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata> importTestCasesOperationSettings()

Returns the builder for the settings used for calls to importTestCases.

Returns
Type Description
Builder<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata>

importTestCasesSettings()

public UnaryCallSettings.Builder<ImportTestCasesRequest,Operation> importTestCasesSettings()

Returns the builder for the settings used for calls to importTestCases.

Returns
Type Description
Builder<ImportTestCasesRequest,Operation>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,TestCasesClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listTestCaseResultsSettings()

public PagedCallSettings.Builder<ListTestCaseResultsRequest,ListTestCaseResultsResponse,TestCasesClient.ListTestCaseResultsPagedResponse> listTestCaseResultsSettings()

Returns the builder for the settings used for calls to listTestCaseResults.

Returns
Type Description
Builder<ListTestCaseResultsRequest,ListTestCaseResultsResponse,ListTestCaseResultsPagedResponse>

listTestCasesSettings()

public PagedCallSettings.Builder<ListTestCasesRequest,ListTestCasesResponse,TestCasesClient.ListTestCasesPagedResponse> listTestCasesSettings()

Returns the builder for the settings used for calls to listTestCases.

Returns
Type Description
Builder<ListTestCasesRequest,ListTestCasesResponse,ListTestCasesPagedResponse>

runTestCaseOperationSettings()

public OperationCallSettings.Builder<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata> runTestCaseOperationSettings()

Returns the builder for the settings used for calls to runTestCase.

Returns
Type Description
Builder<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata>

runTestCaseSettings()

public UnaryCallSettings.Builder<RunTestCaseRequest,Operation> runTestCaseSettings()

Returns the builder for the settings used for calls to runTestCase.

Returns
Type Description
Builder<RunTestCaseRequest,Operation>

updateTestCaseSettings()

public UnaryCallSettings.Builder<UpdateTestCaseRequest,TestCase> updateTestCaseSettings()

Returns the builder for the settings used for calls to updateTestCase.

Returns
Type Description
Builder<UpdateTestCaseRequest,TestCase>