Class DataTransferServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder>
com.google.cloud.networkconnectivity.v1.stub.DataTransferServiceStubSettings.Builder
- Enclosing class:
- DataTransferServiceStubSettings
public static class DataTransferServiceStubSettings.Builder
extends StubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder>
Builder for DataTransferServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(DataTransferServiceStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public DataTransferServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<DataTransferServiceStubSettings,DataTransferServiceStubSettings.Builder> - Throws:
IOException
-