Class AppConnectionsServiceSettings.Builder (0.21.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
NameDescription
clientContextClientContext

Builder(AppConnectionsServiceSettings settings)

protected Builder(AppConnectionsServiceSettings settings)
Parameter
NameDescription
settingsAppConnectionsServiceSettings

Builder(AppConnectionsServiceStubSettings.Builder stubSettings)

protected Builder(AppConnectionsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAppConnectionsServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AppConnectionsServiceSettings.Builder

build()

public AppConnectionsServiceSettings build()
Returns
TypeDescription
AppConnectionsServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createAppConnectionOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>

createAppConnectionSettings()

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

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

Returns
TypeDescription
Builder<CreateAppConnectionRequest,Operation>

deleteAppConnectionOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteAppConnectionRequest,Empty,AppConnectionOperationMetadata>

deleteAppConnectionSettings()

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

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

Returns
TypeDescription
Builder<DeleteAppConnectionRequest,Operation>

getAppConnectionSettings()

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

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

Returns
TypeDescription
Builder<GetAppConnectionRequest,AppConnection>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public AppConnectionsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
AppConnectionsServiceStubSettings.Builder

listAppConnectionsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ResolveAppConnectionsRequest,ResolveAppConnectionsResponse,ResolveAppConnectionsPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<UpdateAppConnectionRequest,AppConnection,AppConnectionOperationMetadata>

updateAppConnectionSettings()

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

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

Returns
TypeDescription
Builder<UpdateAppConnectionRequest,Operation>