public static class ConnectionServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ConnectionServiceSettings,ConnectionServiceSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ConnectionServiceSettings settings) |
protected |
Builder(ConnectionServiceStubSettings.Builder stubSettings) |
| Modifier and Type | Method and 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.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ConnectionServiceSettings settings)
protected Builder(ConnectionServiceStubSettings.Builder stubSettings)
public ConnectionServiceStubSettings.Builder getStubSettingsBuilder()
public ConnectionServiceSettings.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.
Exceptionpublic com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.CreateConnectionRequest,ConnectionProto.Connection> createConnectionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.GetConnectionRequest,ConnectionProto.Connection> getConnectionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.ListConnectionsRequest,ConnectionProto.ListConnectionsResponse> listConnectionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionRequest,ConnectionProto.Connection> updateConnectionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.UpdateConnectionCredentialRequest,com.google.protobuf.Empty> updateConnectionCredentialSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ConnectionProto.DeleteConnectionRequest,com.google.protobuf.Empty> deleteConnectionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public ConnectionServiceSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<ConnectionServiceSettings,ConnectionServiceSettings.Builder>IOExceptionCopyright © 2020 Google LLC. All rights reserved.