Class TestCasesStubSettings.Builder (0.52.0)

public static class TestCasesStubSettings.Builder extends StubSettings.Builder<TestCasesStubSettings,TestCasesStubSettings.Builder>

Builder for TestCasesStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TestCasesStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(TestCasesStubSettings settings)

protected Builder(TestCasesStubSettings settings)
Parameter
NameDescription
settingsTestCasesStubSettings

Methods

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

public TestCasesStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TestCasesStubSettings.Builder

batchDeleteTestCasesSettings()

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

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

Returns
TypeDescription
Builder<BatchDeleteTestCasesRequest,Empty>

batchRunTestCasesOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchRunTestCasesRequest,BatchRunTestCasesResponse,BatchRunTestCasesMetadata>

batchRunTestCasesSettings()

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

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

Returns
TypeDescription
Builder<BatchRunTestCasesRequest,Operation>

build()

public TestCasesStubSettings build()
Returns
TypeDescription
TestCasesStubSettings
Overrides
Exceptions
TypeDescription
IOException

calculateCoverageSettings()

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

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

Returns
TypeDescription
Builder<CalculateCoverageRequest,CalculateCoverageResponse>

createTestCaseSettings()

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

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

Returns
TypeDescription
Builder<CreateTestCaseRequest,TestCase>

exportTestCasesOperationSettings()

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

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

Returns
TypeDescription
Builder<ExportTestCasesRequest,ExportTestCasesResponse,ExportTestCasesMetadata>

exportTestCasesSettings()

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

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

Returns
TypeDescription
Builder<ExportTestCasesRequest,Operation>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getLocationSettings()

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

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

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

getTestCaseResultSettings()

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

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

Returns
TypeDescription
Builder<GetTestCaseResultRequest,TestCaseResult>

getTestCaseSettings()

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

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

Returns
TypeDescription
Builder<GetTestCaseRequest,TestCase>

importTestCasesOperationSettings()

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

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

Returns
TypeDescription
Builder<ImportTestCasesRequest,ImportTestCasesResponse,ImportTestCasesMetadata>

importTestCasesSettings()

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

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

Returns
TypeDescription
Builder<ImportTestCasesRequest,Operation>

listLocationsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListTestCasesRequest,ListTestCasesResponse,ListTestCasesPagedResponse>

runTestCaseOperationSettings()

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

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

Returns
TypeDescription
Builder<RunTestCaseRequest,RunTestCaseResponse,RunTestCaseMetadata>

runTestCaseSettings()

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

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

Returns
TypeDescription
Builder<RunTestCaseRequest,Operation>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateTestCaseSettings()

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

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

Returns
TypeDescription
Builder<UpdateTestCaseRequest,TestCase>