public static class VersionsSettings.Builder extends ClientSettings.Builder<VersionsSettings,VersionsSettings.Builder>
Builder for VersionsSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(VersionsSettings settings)
protected Builder(VersionsSettings settings)
Builder(VersionsStubSettings.Builder stubSettings)
protected Builder(VersionsStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public VersionsSettings.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 VersionsSettings build()
Overrides
createVersionSettings()
public UnaryCallSettings.Builder<CreateVersionRequest,Version> createVersionSettings()
Returns the builder for the settings used for calls to createVersion.
deleteVersionSettings()
public UnaryCallSettings.Builder<DeleteVersionRequest,Empty> deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns |
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public VersionsStubSettings.Builder getStubSettingsBuilder()
getVersionSettings()
public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,VersionsClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listVersionsSettings()
public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,VersionsClient.ListVersionsPagedResponse> listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
updateVersionSettings()
public UnaryCallSettings.Builder<UpdateVersionRequest,Version> updateVersionSettings()
Returns the builder for the settings used for calls to updateVersion.