Class AppConnectionsServiceSettings.Builder (0.41.0)

public static class AppConnectionsServiceSettings.Builder extends ClientSettings.Builder<AppConnectionsServiceSettings,AppConnectionsServiceSettings.Builder>

Builder for AppConnectionsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AppConnectionsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext 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
Overrides
Exceptions
Type Description
IOException

createAppConnectionOperationSettings()

public OperationCallSettings.Builder<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> createAppConnectionOperationSettings()

Returns the builder for the settings used for calls to createAppConnection.

Returns
Type Description
Builder<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>

createAppConnectionSettings()

public UnaryCallSettings.Builder<CreateAppConnectionRequest,Operation> createAppConnectionSettings()

Returns the builder for the settings used for calls to createAppConnection.

Returns
Type Description
Builder<CreateAppConnectionRequest,Operation>

deleteAppConnectionOperationSettings()

public OperationCallSettings.Builder<DeleteAppConnectionRequest,Empty,AppConnectionOperationMetadata> deleteAppConnectionOperationSettings()

Returns the builder for the settings used for calls to deleteAppConnection.

Returns
Type Description
Builder<DeleteAppConnectionRequest,Empty,AppConnectionOperationMetadata>

deleteAppConnectionSettings()

public UnaryCallSettings.Builder<DeleteAppConnectionRequest,Operation> deleteAppConnectionSettings()

Returns the builder for the settings used for calls to deleteAppConnection.

Returns
Type Description
Builder<DeleteAppConnectionRequest,Operation>

getAppConnectionSettings()

public UnaryCallSettings.Builder<GetAppConnectionRequest,AppConnection> getAppConnectionSettings()

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()

public PagedCallSettings.Builder<ListAppConnectionsRequest,ListAppConnectionsResponse,AppConnectionsServiceClient.ListAppConnectionsPagedResponse> listAppConnectionsSettings()

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()

public PagedCallSettings.Builder<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse,AppConnectionsServiceClient.ResolveAppConnectionsPagedResponse> resolveAppConnectionsSettings()

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()

public OperationCallSettings.Builder<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata> updateAppConnectionOperationSettings()

Returns the builder for the settings used for calls to updateAppConnection.

Returns
Type Description
Builder<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>

updateAppConnectionSettings()

public UnaryCallSettings.Builder<UpdateAppConnectionRequest,Operation> updateAppConnectionSettings()

Returns the builder for the settings used for calls to updateAppConnection.

Returns
Type Description
Builder<UpdateAppConnectionRequest,Operation>