Package com.google.cloud.optimization.v1
Class FleetRoutingSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<FleetRoutingSettings,FleetRoutingSettings.Builder>
-
- com.google.cloud.optimization.v1.FleetRoutingSettings.Builder
-
- Enclosing class:
- FleetRoutingSettings
public static class FleetRoutingSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<FleetRoutingSettings,FleetRoutingSettings.Builder>
Builder for FleetRoutingSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)protectedBuilder(FleetRoutingSettings settings)protectedBuilder(FleetRoutingStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FleetRoutingSettings.BuilderapplyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)Applies the given settings updater function to all of the unary API methods in this service.com.google.api.gax.rpc.OperationCallSettings.Builder<BatchOptimizeToursRequest,BatchOptimizeToursResponse,AsyncModelMetadata>batchOptimizeToursOperationSettings()Returns the builder for the settings used for calls to batchOptimizeTours.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchOptimizeToursRequest,com.google.longrunning.Operation>batchOptimizeToursSettings()Returns the builder for the settings used for calls to batchOptimizeTours.FleetRoutingSettingsbuild()FleetRoutingStubSettings.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.UnaryCallSettings.Builder<OptimizeToursRequest,OptimizeToursResponse>optimizeToursSettings()Returns the builder for the settings used for calls to optimizeTours.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(FleetRoutingSettings settings)
-
Builder
protected Builder(FleetRoutingStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public FleetRoutingStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public FleetRoutingSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
optimizeToursSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<OptimizeToursRequest,OptimizeToursResponse> optimizeToursSettings()
Returns the builder for the settings used for calls to optimizeTours.
-
batchOptimizeToursSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchOptimizeToursRequest,com.google.longrunning.Operation> batchOptimizeToursSettings()
Returns the builder for the settings used for calls to batchOptimizeTours.
-
batchOptimizeToursOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchOptimizeToursRequest,BatchOptimizeToursResponse,AsyncModelMetadata> batchOptimizeToursOperationSettings()
Returns the builder for the settings used for calls to batchOptimizeTours.
-
build
public FleetRoutingSettings build() throws IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<FleetRoutingSettings,FleetRoutingSettings.Builder>- Throws:
IOException
-
-