Class ConnectionServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ConnectionServiceStubSettings,ConnectionServiceStubSettings.Builder>
-
- com.google.cloud.bigqueryconnection.v1.stub.ConnectionServiceStubSettings.Builder
-
- Enclosing class:
- ConnectionServiceStubSettings
public static class ConnectionServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ConnectionServiceStubSettings,ConnectionServiceStubSettings.Builder>
Builder for ConnectionServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ConnectionServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionServiceStubSettings.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.ConnectionServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConnectionRequest,Connection>
createConnectionSettings()
Returns the builder for the settings used for calls to createConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConnectionRequest,com.google.protobuf.Empty>
deleteConnectionSettings()
Returns the builder for the settings used for calls to deleteConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConnectionRequest,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.com.google.api.gax.rpc.PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,ConnectionServiceClient.ListConnectionsPagedResponse>
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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConnectionRequest,Connection>
updateConnectionSettings()
Returns the builder for the settings used for calls to updateConnection.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ConnectionServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ConnectionServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConnectionRequest,Connection> createConnectionSettings()
Returns the builder for the settings used for calls to createConnection.
-
getConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConnectionRequest,Connection> getConnectionSettings()
Returns the builder for the settings used for calls to getConnection.
-
listConnectionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListConnectionsRequest,ListConnectionsResponse,ConnectionServiceClient.ListConnectionsPagedResponse> listConnectionsSettings()
Returns the builder for the settings used for calls to listConnections.
-
updateConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConnectionRequest,Connection> updateConnectionSettings()
Returns the builder for the settings used for calls to updateConnection.
-
deleteConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<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 ConnectionServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ConnectionServiceStubSettings,ConnectionServiceStubSettings.Builder>
- Throws:
IOException
-
-