public static class BatchControllerStubSettings.Builder extends StubSettings.Builder<BatchControllerStubSettings,BatchControllerStubSettings.Builder>
Builder for BatchControllerStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(BatchControllerStubSettings settings)
protected Builder(BatchControllerStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public BatchControllerStubSettings.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.
build()
public BatchControllerStubSettings build()
Overrides
createBatchOperationSettings()
public OperationCallSettings.Builder<CreateBatchRequest,Batch,BatchOperationMetadata> createBatchOperationSettings()
Returns the builder for the settings used for calls to createBatch.
createBatchSettings()
public UnaryCallSettings.Builder<CreateBatchRequest,Operation> createBatchSettings()
Returns the builder for the settings used for calls to createBatch.
deleteBatchSettings()
public UnaryCallSettings.Builder<DeleteBatchRequest,Empty> deleteBatchSettings()
Returns the builder for the settings used for calls to deleteBatch.
getBatchSettings()
public UnaryCallSettings.Builder<GetBatchRequest,Batch> getBatchSettings()
Returns the builder for the settings used for calls to getBatch.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns |
---|
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
listBatchesSettings()
public PagedCallSettings.Builder<ListBatchesRequest,ListBatchesResponse,BatchControllerClient.ListBatchesPagedResponse> listBatchesSettings()
Returns the builder for the settings used for calls to listBatches.
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns |
---|
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns |
---|
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> | |