public static class ConnectionServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ConnectionServiceStubSettings,ConnectionServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(ConnectionServiceStubSettings settings) |
| Modifier and Type | Method and 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<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.
|
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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ConnectionServiceStubSettings settings)
public ConnectionServiceStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public 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 ConnectionServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<ConnectionServiceStubSettings,ConnectionServiceStubSettings.Builder>IOExceptionCopyright © 2020 Google LLC. All rights reserved.