Class ConnectionServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ConnectionServiceSettings,ConnectionServiceSettings.Builder>
com.google.cloud.bigquery.connection.v1beta1.ConnectionServiceSettings.Builder
- Enclosing class:
- ConnectionServiceSettings
public static class ConnectionServiceSettings.Builder
extends ClientSettings.Builder<ConnectionServiceSettings,ConnectionServiceSettings.Builder>
Builder for ConnectionServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(ConnectionServiceSettings settings) protectedBuilder(ConnectionServiceStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createConnection.UnaryCallSettings.Builder<ConnectionProto.DeleteConnectionRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteConnection.Returns the builder for the settings used for calls to getConnection.Returns the builder for the settings used for calls to getIamPolicy.UnaryCallSettings.Builder<ConnectionProto.ListConnectionsRequest,ConnectionProto.ListConnectionsResponse> Returns the builder for the settings used for calls to listConnections.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionCredentialRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to updateConnectionCredential.Returns the builder for the settings used for calls to updateConnection.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ConnectionServiceSettings.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.
-
createConnectionSettings
public UnaryCallSettings.Builder<ConnectionProto.CreateConnectionRequest,ConnectionProto.Connection> createConnectionSettings()Returns the builder for the settings used for calls to createConnection. -
getConnectionSettings
public UnaryCallSettings.Builder<ConnectionProto.GetConnectionRequest,ConnectionProto.Connection> getConnectionSettings()Returns the builder for the settings used for calls to getConnection. -
listConnectionsSettings
public UnaryCallSettings.Builder<ConnectionProto.ListConnectionsRequest,ConnectionProto.ListConnectionsResponse> listConnectionsSettings()Returns the builder for the settings used for calls to listConnections. -
updateConnectionSettings
public UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionRequest,ConnectionProto.Connection> updateConnectionSettings()Returns the builder for the settings used for calls to updateConnection. -
updateConnectionCredentialSettings
public UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionCredentialRequest,com.google.protobuf.Empty> updateConnectionCredentialSettings()Returns the builder for the settings used for calls to updateConnectionCredential. -
deleteConnectionSettings
public UnaryCallSettings.Builder<ConnectionProto.DeleteConnectionRequest,com.google.protobuf.Empty> deleteConnectionSettings()Returns the builder for the settings used for calls to deleteConnection. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<ConnectionServiceSettings,ConnectionServiceSettings.Builder> - Throws:
IOException
-