public static class AccessApprovalStubSettings.Builder extends StubSettings.Builder<AccessApprovalStubSettings,AccessApprovalStubSettings.Builder>
Builder for AccessApprovalStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(AccessApprovalStubSettings settings)
protected Builder(AccessApprovalStubSettings settings)
Parameter
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
Returns
approveApprovalRequestSettings()
public UnaryCallSettings.Builder<ApproveApprovalRequestMessage,ApprovalRequest> approveApprovalRequestSettings()
Returns the builder for the settings used for calls to approveApprovalRequest.
Returns
build()
public AccessApprovalStubSettings build()
Returns
Overrides
Exceptions
deleteAccessApprovalSettingsSettings()
public UnaryCallSettings.Builder<DeleteAccessApprovalSettingsMessage,Empty> deleteAccessApprovalSettingsSettings()
Returns the builder for the settings used for calls to deleteAccessApprovalSettings.
Returns
dismissApprovalRequestSettings()
public UnaryCallSettings.Builder<DismissApprovalRequestMessage,ApprovalRequest> dismissApprovalRequestSettings()
Returns the builder for the settings used for calls to dismissApprovalRequest.
Returns
getAccessApprovalSettingsSettings()
public UnaryCallSettings.Builder<GetAccessApprovalSettingsMessage,AccessApprovalSettings> getAccessApprovalSettingsSettings()
Returns the builder for the settings used for calls to getAccessApprovalSettings.
Returns
getApprovalRequestSettings()
public UnaryCallSettings.Builder<GetApprovalRequestMessage,ApprovalRequest> getApprovalRequestSettings()
Returns the builder for the settings used for calls to getApprovalRequest.
Returns
listApprovalRequestsSettings()
public PagedCallSettings.Builder<ListApprovalRequestsMessage,ListApprovalRequestsResponse,AccessApprovalAdminClient.ListApprovalRequestsPagedResponse> listApprovalRequestsSettings()
Returns the builder for the settings used for calls to listApprovalRequests.
Returns
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