public static class GlobalOperationStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<GlobalOperationStubSettings,GlobalOperationStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(GlobalOperationStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListGlobalOperationsHttpRequest,OperationAggregatedList,GlobalOperationClient.AggregatedListGlobalOperationsPagedResponse> |
aggregatedListGlobalOperationsSettings()
Returns the builder for the settings used for calls to aggregatedListGlobalOperations.
|
GlobalOperationStubSettings.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.
|
GlobalOperationStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGlobalOperationHttpRequest,Void> |
deleteGlobalOperationSettings()
Returns the builder for the settings used for calls to deleteGlobalOperation.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGlobalOperationHttpRequest,Operation> |
getGlobalOperationSettings()
Returns the builder for the settings used for calls to getGlobalOperation.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListGlobalOperationsHttpRequest,OperationList,GlobalOperationClient.ListGlobalOperationsPagedResponse> |
listGlobalOperationsSettings()
Returns the builder for the settings used for calls to listGlobalOperations.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(GlobalOperationStubSettings settings)
public GlobalOperationStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.PagedCallSettings.Builder<AggregatedListGlobalOperationsHttpRequest,OperationAggregatedList,GlobalOperationClient.AggregatedListGlobalOperationsPagedResponse> aggregatedListGlobalOperationsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteGlobalOperationHttpRequest,Void> deleteGlobalOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetGlobalOperationHttpRequest,Operation> getGlobalOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListGlobalOperationsHttpRequest,OperationList,GlobalOperationClient.ListGlobalOperationsPagedResponse> listGlobalOperationsSettings()
public GlobalOperationStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<GlobalOperationStubSettings,GlobalOperationStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.