public static class RegionCommitmentSettings.Builder extends ClientSettings.Builder<RegionCommitmentSettings,RegionCommitmentSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(RegionCommitmentSettings settings) |
protected |
Builder(RegionCommitmentStubSettings.Builder stubSettings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(RegionCommitmentSettings settings)
protected Builder(RegionCommitmentStubSettings.Builder stubSettings)
public RegionCommitmentStubSettings.Builder getStubSettingsBuilder()
public RegionCommitmentSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<AggregatedListRegionCommitmentsHttpRequest,CommitmentAggregatedList,RegionCommitmentClient.AggregatedListRegionCommitmentsPagedResponse> aggregatedListRegionCommitmentsSettings()
public UnaryCallSettings.Builder<GetRegionCommitmentHttpRequest,Commitment> getRegionCommitmentSettings()
public UnaryCallSettings.Builder<InsertRegionCommitmentHttpRequest,Operation> insertRegionCommitmentSettings()
public PagedCallSettings.Builder<ListRegionCommitmentsHttpRequest,CommitmentList,RegionCommitmentClient.ListRegionCommitmentsPagedResponse> listRegionCommitmentsSettings()
public RegionCommitmentSettings build() throws IOException
build
in class ClientSettings.Builder<RegionCommitmentSettings,RegionCommitmentSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.