Class DataTransferServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
com.google.cloud.networkconnectivity.v1.DataTransferServiceSettings.Builder
- Enclosing class:
- DataTransferServiceSettings
public static class DataTransferServiceSettings.Builder
extends ClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder>
Builder for DataTransferServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DataTransferServiceSettings settings) protectedBuilder(DataTransferServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createDestination.Returns the builder for the settings used for calls to createDestination.OperationCallSettings.Builder<CreateMulticloudDataTransferConfigRequest,MulticloudDataTransferConfig, OperationMetadata> Returns the builder for the settings used for calls to createMulticloudDataTransferConfig.Returns the builder for the settings used for calls to createMulticloudDataTransferConfig.OperationCallSettings.Builder<DeleteDestinationRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteDestination.Returns the builder for the settings used for calls to deleteDestination.OperationCallSettings.Builder<DeleteMulticloudDataTransferConfigRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteMulticloudDataTransferConfig.Returns the builder for the settings used for calls to deleteMulticloudDataTransferConfig.Returns the builder for the settings used for calls to getDestination.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getMulticloudDataTransferConfig.UnaryCallSettings.Builder<GetMulticloudDataTransferSupportedServiceRequest,MulticloudDataTransferSupportedService> Returns the builder for the settings used for calls to getMulticloudDataTransferSupportedService.PagedCallSettings.Builder<ListDestinationsRequest,ListDestinationsResponse, DataTransferServiceClient.ListDestinationsPagedResponse> Returns the builder for the settings used for calls to listDestinations.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, DataTransferServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListMulticloudDataTransferConfigsRequest,ListMulticloudDataTransferConfigsResponse, DataTransferServiceClient.ListMulticloudDataTransferConfigsPagedResponse> Returns the builder for the settings used for calls to listMulticloudDataTransferConfigs.PagedCallSettings.Builder<ListMulticloudDataTransferSupportedServicesRequest,ListMulticloudDataTransferSupportedServicesResponse, DataTransferServiceClient.ListMulticloudDataTransferSupportedServicesPagedResponse> Returns the builder for the settings used for calls to listMulticloudDataTransferSupportedServices.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateDestination.Returns the builder for the settings used for calls to updateDestination.OperationCallSettings.Builder<UpdateMulticloudDataTransferConfigRequest,MulticloudDataTransferConfig, OperationMetadata> Returns the builder for the settings used for calls to updateMulticloudDataTransferConfig.Returns the builder for the settings used for calls to updateMulticloudDataTransferConfig.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public DataTransferServiceSettings.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.
-
listMulticloudDataTransferConfigsSettings
public PagedCallSettings.Builder<ListMulticloudDataTransferConfigsRequest,ListMulticloudDataTransferConfigsResponse, listMulticloudDataTransferConfigsSettings()DataTransferServiceClient.ListMulticloudDataTransferConfigsPagedResponse> Returns the builder for the settings used for calls to listMulticloudDataTransferConfigs. -
getMulticloudDataTransferConfigSettings
public UnaryCallSettings.Builder<GetMulticloudDataTransferConfigRequest,MulticloudDataTransferConfig> getMulticloudDataTransferConfigSettings()Returns the builder for the settings used for calls to getMulticloudDataTransferConfig. -
createMulticloudDataTransferConfigSettings
public UnaryCallSettings.Builder<CreateMulticloudDataTransferConfigRequest,Operation> createMulticloudDataTransferConfigSettings()Returns the builder for the settings used for calls to createMulticloudDataTransferConfig. -
createMulticloudDataTransferConfigOperationSettings
public OperationCallSettings.Builder<CreateMulticloudDataTransferConfigRequest,MulticloudDataTransferConfig, createMulticloudDataTransferConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createMulticloudDataTransferConfig. -
updateMulticloudDataTransferConfigSettings
public UnaryCallSettings.Builder<UpdateMulticloudDataTransferConfigRequest,Operation> updateMulticloudDataTransferConfigSettings()Returns the builder for the settings used for calls to updateMulticloudDataTransferConfig. -
updateMulticloudDataTransferConfigOperationSettings
public OperationCallSettings.Builder<UpdateMulticloudDataTransferConfigRequest,MulticloudDataTransferConfig, updateMulticloudDataTransferConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateMulticloudDataTransferConfig. -
deleteMulticloudDataTransferConfigSettings
public UnaryCallSettings.Builder<DeleteMulticloudDataTransferConfigRequest,Operation> deleteMulticloudDataTransferConfigSettings()Returns the builder for the settings used for calls to deleteMulticloudDataTransferConfig. -
deleteMulticloudDataTransferConfigOperationSettings
public OperationCallSettings.Builder<DeleteMulticloudDataTransferConfigRequest,com.google.protobuf.Empty, deleteMulticloudDataTransferConfigOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteMulticloudDataTransferConfig. -
listDestinationsSettings
public PagedCallSettings.Builder<ListDestinationsRequest,ListDestinationsResponse, listDestinationsSettings()DataTransferServiceClient.ListDestinationsPagedResponse> Returns the builder for the settings used for calls to listDestinations. -
getDestinationSettings
Returns the builder for the settings used for calls to getDestination. -
createDestinationSettings
Returns the builder for the settings used for calls to createDestination. -
createDestinationOperationSettings
public OperationCallSettings.Builder<CreateDestinationRequest,Destination, createDestinationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createDestination. -
updateDestinationSettings
Returns the builder for the settings used for calls to updateDestination. -
updateDestinationOperationSettings
public OperationCallSettings.Builder<UpdateDestinationRequest,Destination, updateDestinationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateDestination. -
deleteDestinationSettings
Returns the builder for the settings used for calls to deleteDestination. -
deleteDestinationOperationSettings
public OperationCallSettings.Builder<DeleteDestinationRequest,com.google.protobuf.Empty, deleteDestinationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteDestination. -
getMulticloudDataTransferSupportedServiceSettings
public UnaryCallSettings.Builder<GetMulticloudDataTransferSupportedServiceRequest,MulticloudDataTransferSupportedService> getMulticloudDataTransferSupportedServiceSettings()Returns the builder for the settings used for calls to getMulticloudDataTransferSupportedService. -
listMulticloudDataTransferSupportedServicesSettings
public PagedCallSettings.Builder<ListMulticloudDataTransferSupportedServicesRequest,ListMulticloudDataTransferSupportedServicesResponse, listMulticloudDataTransferSupportedServicesSettings()DataTransferServiceClient.ListMulticloudDataTransferSupportedServicesPagedResponse> Returns the builder for the settings used for calls to listMulticloudDataTransferSupportedServices. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()DataTransferServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<DataTransferServiceSettings,DataTransferServiceSettings.Builder> - Throws:
IOException
-