public static class AppConnectionsServiceSettings.Builder extends ClientSettings.Builder<AppConnectionsServiceSettings,AppConnectionsServiceSettings.Builder>Builder for AppConnectionsServiceSettings.
Constructors
Builder()
protected Builder()Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)| Parameter | |
|---|---|
| Name | Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext |
Builder(AppConnectionsServiceSettings settings)
protected Builder(AppConnectionsServiceSettings settings)| Parameter | |
|---|---|
| Name | Description |
settings |
AppConnectionsServiceSettings |
Builder(AppConnectionsServiceStubSettings.Builder stubSettings)
protected Builder(AppConnectionsServiceStubSettings.Builder stubSettings)| Parameter | |
|---|---|
| Name | Description |
stubSettings |
AppConnectionsServiceStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AppConnectionsServiceSettings.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.
| Parameter | |
|---|---|
| Name | Description |
settingsUpdater |
ApiFunction<Builder<?,?>,java.lang.Void> |
| Returns | |
|---|---|
| Type | Description |
AppConnectionsServiceSettings.Builder |
|
build()
public AppConnectionsServiceSettings build()| Returns | |
|---|---|
| Type | Description |
AppConnectionsServiceSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
createAppConnectionOperationSettings() (deprecated)
public OperationCallSettings.Builder<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> createAppConnectionOperationSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to createAppConnection.
| Returns | |
|---|---|
| Type | Description |
Builder<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> |
|
createAppConnectionSettings() (deprecated)
public UnaryCallSettings.Builder<CreateAppConnectionRequest,Operation> createAppConnectionSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to createAppConnection.
| Returns | |
|---|---|
| Type | Description |
Builder<CreateAppConnectionRequest,Operation> |
|
deleteAppConnectionOperationSettings() (deprecated)
public OperationCallSettings.Builder<DeleteAppConnectionRequest,Empty,AppConnectionOperationMetadata> deleteAppConnectionOperationSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to deleteAppConnection.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteAppConnectionRequest,Empty,AppConnectionOperationMetadata> |
|
deleteAppConnectionSettings() (deprecated)
public UnaryCallSettings.Builder<DeleteAppConnectionRequest,Operation> deleteAppConnectionSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to deleteAppConnection.
| Returns | |
|---|---|
| Type | Description |
Builder<DeleteAppConnectionRequest,Operation> |
|
getAppConnectionSettings() (deprecated)
public UnaryCallSettings.Builder<GetAppConnectionRequest,AppConnection> getAppConnectionSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to getAppConnection.
| Returns | |
|---|---|
| Type | Description |
Builder<GetAppConnectionRequest,AppConnection> |
|
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()Returns the builder for the settings used for calls to getIamPolicy.
| Returns | |
|---|---|
| Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
|
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()Returns the builder for the settings used for calls to getLocation.
| Returns | |
|---|---|
| Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public AppConnectionsServiceStubSettings.Builder getStubSettingsBuilder()| Returns | |
|---|---|
| Type | Description |
AppConnectionsServiceStubSettings.Builder |
|
listAppConnectionsSettings() (deprecated)
public PagedCallSettings.Builder<ListAppConnectionsRequest,ListAppConnectionsResponse,AppConnectionsServiceClient.ListAppConnectionsPagedResponse> listAppConnectionsSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to listAppConnections.
| Returns | |
|---|---|
| Type | Description |
Builder<ListAppConnectionsRequest,ListAppConnectionsResponse,ListAppConnectionsPagedResponse> |
|
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AppConnectionsServiceClient.ListLocationsPagedResponse> listLocationsSettings()Returns the builder for the settings used for calls to listLocations.
| Returns | |
|---|---|
| Type | Description |
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse> |
|
resolveAppConnectionsSettings() (deprecated)
public PagedCallSettings.Builder<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse,AppConnectionsServiceClient.ResolveAppConnectionsPagedResponse> resolveAppConnectionsSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to resolveAppConnections.
| Returns | |
|---|---|
| Type | Description |
Builder<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse,ResolveAppConnectionsPagedResponse> |
|
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()Returns the builder for the settings used for calls to setIamPolicy.
| Returns | |
|---|---|
| Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions.
| Returns | |
|---|---|
| Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
|
updateAppConnectionOperationSettings() (deprecated)
public OperationCallSettings.Builder<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> updateAppConnectionOperationSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to updateAppConnection.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> |
|
updateAppConnectionSettings() (deprecated)
public UnaryCallSettings.Builder<UpdateAppConnectionRequest,Operation> updateAppConnectionSettings()Deprecated. This method is deprecated and will be removed in the next major version update.
Returns the builder for the settings used for calls to updateAppConnection.
| Returns | |
|---|---|
| Type | Description |
Builder<UpdateAppConnectionRequest,Operation> |
|