Class AppConnectionsServiceStubSettings.Builder (0.31.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
NameDescription
clientContextClientContext

Builder(AppConnectionsServiceStubSettings settings)

protected Builder(AppConnectionsServiceStubSettings settings)
Parameter
NameDescription
settingsAppConnectionsServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AppConnectionsServiceStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
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>