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 com.google.api.gax.rpc.ClientSettings.Builder<ConnectionServiceSettings,ConnectionServiceSettings.Builder>
Builder for ConnectionServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConnectionServiceSettings settings)
protected
Builder(ConnectionServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionServiceSettings.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.ConnectionServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.CreateConnectionRequest,ConnectionProto.Connection>
createConnectionSettings()
Returns the builder for the settings used for calls to createConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.DeleteConnectionRequest,com.google.protobuf.Empty>
deleteConnectionSettings()
Returns the builder for the settings used for calls to deleteConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.GetConnectionRequest,ConnectionProto.Connection>
getConnectionSettings()
Returns the builder for the settings used for calls to getConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.ConnectionServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.ListConnectionsRequest,ConnectionProto.ListConnectionsResponse>
listConnectionsSettings()
Returns the builder for the settings used for calls to listConnections.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionCredentialRequest,com.google.protobuf.Empty>
updateConnectionCredentialSettings()
Returns the builder for the settings used for calls to updateConnectionCredential.com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionRequest,ConnectionProto.Connection>
updateConnectionSettings()
Returns the builder for the settings used for calls to updateConnection.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ConnectionServiceSettings settings)
-
Builder
protected Builder(ConnectionServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ConnectionServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ConnectionServiceSettings.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.Note: This method does not support applying settings to streaming methods.
-
createConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.CreateConnectionRequest,ConnectionProto.Connection> createConnectionSettings()
Returns the builder for the settings used for calls to createConnection.
-
getConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.GetConnectionRequest,ConnectionProto.Connection> getConnectionSettings()
Returns the builder for the settings used for calls to getConnection.
-
listConnectionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.ListConnectionsRequest,ConnectionProto.ListConnectionsResponse> listConnectionsSettings()
Returns the builder for the settings used for calls to listConnections.
-
updateConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionRequest,ConnectionProto.Connection> updateConnectionSettings()
Returns the builder for the settings used for calls to updateConnection.
-
updateConnectionCredentialSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionCredentialRequest,com.google.protobuf.Empty> updateConnectionCredentialSettings()
Returns the builder for the settings used for calls to updateConnectionCredential.
-
deleteConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.DeleteConnectionRequest,com.google.protobuf.Empty> deleteConnectionSettings()
Returns the builder for the settings used for calls to deleteConnection.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public ConnectionServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ConnectionServiceSettings,ConnectionServiceSettings.Builder>
- Throws:
IOException
-
-