public static class ReservationsSettings.Builder extends ClientSettings.Builder<ReservationsSettings,ReservationsSettings.Builder>
Builder for ReservationsSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(ReservationsSettings settings)
protected Builder(ReservationsSettings settings)
Parameter
Builder(ReservationsStubSettings.Builder stubSettings)
protected Builder(ReservationsStubSettings.Builder stubSettings)
Parameter
Methods
aggregatedListSettings()
public PagedCallSettings.Builder<AggregatedListReservationsRequest,ReservationAggregatedList,ReservationsClient.AggregatedListPagedResponse> aggregatedListSettings()
Returns the builder for the settings used for calls to aggregatedList.
Returns
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public ReservationsSettings.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
build()
public ReservationsSettings build()
Returns
Overrides
Exceptions
deleteOperationSettings()
public OperationCallSettings.Builder<DeleteReservationRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
Returns
deleteSettings()
public UnaryCallSettings.Builder<DeleteReservationRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
Returns
getIamPolicySettings()
public UnaryCallSettings.Builder<GetIamPolicyReservationRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
getSettings()
public UnaryCallSettings.Builder<GetReservationRequest,Reservation> getSettings()
Returns the builder for the settings used for calls to get.
Returns
getStubSettingsBuilder()
public ReservationsStubSettings.Builder getStubSettingsBuilder()
Returns
insertOperationSettings()
public OperationCallSettings.Builder<InsertReservationRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
Returns
insertSettings()
public UnaryCallSettings.Builder<InsertReservationRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
Returns
listSettings()
public PagedCallSettings.Builder<ListReservationsRequest,ReservationList,ReservationsClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
Returns
resizeOperationSettings()
public OperationCallSettings.Builder<ResizeReservationRequest,Operation,Operation> resizeOperationSettings()
Returns the builder for the settings used for calls to resize.
Returns
resizeSettings()
public UnaryCallSettings.Builder<ResizeReservationRequest,Operation> resizeSettings()
Returns the builder for the settings used for calls to resize.
Returns
setIamPolicySettings()
public UnaryCallSettings.Builder<SetIamPolicyReservationRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
testIamPermissionsSettings()
public UnaryCallSettings.Builder<TestIamPermissionsReservationRequest,TestPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns