Class AppConnectionsServiceStubSettings.Builder (0.45.0)

public static class AppConnectionsServiceStubSettings.Builder extends StubSettings.Builder<AppConnectionsServiceStubSettings,AppConnectionsServiceStubSettings.Builder>

Builder for AppConnectionsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AppConnectionsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AppConnectionsServiceStubSettings settings)

protected Builder(AppConnectionsServiceStubSettings settings)
Parameter
Name Description
settings AppConnectionsServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AppConnectionsServiceStubSettings.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
AppConnectionsServiceStubSettings.Builder

build()

public AppConnectionsServiceStubSettings build()
Returns
Type Description
AppConnectionsServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

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>