public static class RegionCommitmentStubSettings.Builder extends StubSettings.Builder<RegionCommitmentStubSettings,RegionCommitmentStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(RegionCommitmentStubSettings settings) |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(RegionCommitmentStubSettings settings)
public RegionCommitmentStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 RegionCommitmentStubSettings build() throws IOException
build
in class StubSettings.Builder<RegionCommitmentStubSettings,RegionCommitmentStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.