Class AccessApprovalStubSettings.Builder (2.53.0)

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

Builder for AccessApprovalStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AccessApprovalStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AccessApprovalStubSettings settings)

protected Builder(AccessApprovalStubSettings settings)
Parameter
Name Description
settings AccessApprovalStubSettings

Methods

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

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

approveApprovalRequestSettings()

public UnaryCallSettings.Builder<ApproveApprovalRequestMessage,ApprovalRequest> approveApprovalRequestSettings()

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

Returns
Type Description
Builder<ApproveApprovalRequestMessage,ApprovalRequest>

build()

public AccessApprovalStubSettings build()
Returns
Type Description
AccessApprovalStubSettings
Overrides
Exceptions
Type Description
IOException

deleteAccessApprovalSettingsSettings()

public UnaryCallSettings.Builder<DeleteAccessApprovalSettingsMessage,Empty> deleteAccessApprovalSettingsSettings()

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

Returns
Type Description
Builder<DeleteAccessApprovalSettingsMessage,Empty>

dismissApprovalRequestSettings()

public UnaryCallSettings.Builder<DismissApprovalRequestMessage,ApprovalRequest> dismissApprovalRequestSettings()

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

Returns
Type Description
Builder<DismissApprovalRequestMessage,ApprovalRequest>

getAccessApprovalServiceAccountSettings()

public UnaryCallSettings.Builder<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount> getAccessApprovalServiceAccountSettings()

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

Returns
Type Description
Builder<GetAccessApprovalServiceAccountMessage,AccessApprovalServiceAccount>

getAccessApprovalSettingsSettings()

public UnaryCallSettings.Builder<GetAccessApprovalSettingsMessage,AccessApprovalSettings> getAccessApprovalSettingsSettings()

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

Returns
Type Description
Builder<GetAccessApprovalSettingsMessage,AccessApprovalSettings>

getApprovalRequestSettings()

public UnaryCallSettings.Builder<GetApprovalRequestMessage,ApprovalRequest> getApprovalRequestSettings()

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

Returns
Type Description
Builder<GetApprovalRequestMessage,ApprovalRequest>

invalidateApprovalRequestSettings()

public UnaryCallSettings.Builder<InvalidateApprovalRequestMessage,ApprovalRequest> invalidateApprovalRequestSettings()

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

Returns
Type Description
Builder<InvalidateApprovalRequestMessage,ApprovalRequest>

listApprovalRequestsSettings()

public PagedCallSettings.Builder<ListApprovalRequestsMessage,ListApprovalRequestsResponse,AccessApprovalAdminClient.ListApprovalRequestsPagedResponse> listApprovalRequestsSettings()

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

Returns
Type Description
Builder<ListApprovalRequestsMessage,ListApprovalRequestsResponse,ListApprovalRequestsPagedResponse>

unaryMethodSettingsBuilders()

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

updateAccessApprovalSettingsSettings()

public UnaryCallSettings.Builder<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings> updateAccessApprovalSettingsSettings()

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

Returns
Type Description
Builder<UpdateAccessApprovalSettingsMessage,AccessApprovalSettings>